Close

Alpha code uploaded

A project log for BattMan Pi

A project to update BattMan II with a Raspberry Pi.

andrewAndrew 02/03/2017 at 01:060 Comments

I uploaded the first rough draft of the code to GitHub yesterday. It contains the basic framework for everything, but the bulk of the functions in the main core are missing.

Items present:

One function is implemented, and that is the voltage measurement function. If no hardware is present it will record 0V forever.

To integrate the long-running data collection tasks with the TKinter main loop I am using after() to schedule the next step of the data collection. In the more complex routines I will implement a state machine, so that each time after() is executed the process will move on to the next state.

Discussions