Picaxe Operation

        The Picaxe is always on and looping with a period which depend on its system state.

State “S”  in mostly naming at a speed of 31 KHz. which is low power (25 uA).

For the other 3 states at is goes at 250 KHz, or up to 16 MHz for 2-way serial communications with the Teensy at 9600 baud.

It has two functions:

    * Measure the battery voltage, convert it to ASCII and transmit this value to the Teensy.

    * Turn the Teensy (and receiver) power on and off using the enable pin on the DC-DC converter.:

“B” state to allow time for the Teensy to boot.

“R” state for normal Teensy operations.

“O” state before turning off power to allow recording to complete.

In these three states the Picaxe sends a message to the Teensy once per loop which contains a measurement of battery voltage and its State.

The Picaxe receives periodic messages from the Teensy via the interrupt, but does not use their contents.

To re-program the Picaxe the cover has to be removed and an adapter plugged into a 4-pin header. Replace the jumper after programming.

This operation is entirely different from the spring ’23 version, because that version had very bad human impact.