Software Status on Project Curacao (11/25/13)

As of today, the current state of the software in Project Curacao is as follows:

– Arduino Battery Watchdog:  The watchdog is reading and reporting data back to the main software in the Pi via a serial link through level shifters.  The read fails occasionally (and is logged on the Pi) but not often enough to worry about at this point.  The next three things to be implemented:

  1.  Pi power control – The Arduino switching the Pi on and off according to power and time criteria.  Right now the “action” code is commented out and just prints “Pi On” or “Pi Off” to the serial port
  2. Watchdog logging – the Arduino will log major events in EEPROM and then transmit the log, when asked, to the Pi for storage
  3. The Watchdog function – The Arduino will listen for a WD input from the Pi every 5 minutes.  If the Pi misses three sends in a row, the Arduino will send a Reboot command to the Pi and the power cycle the Pi.
 
– Project Curacao Pi main program:  The main program is generating all the graphs, camera pictures, environment sensing as required.  It is also regulating the Fan automatically now.  Not sending Watchdog to the BatteryWatchdog yet.  Nor reading log files from the Arduino Watchdog.  Next three things to be implemented:
 
  1. Watchdog implementation
  2. Logging Arduino Watchdog Data
  3. Improving sensor error detection



 
– RasPiConnect:  We have a few more graphs and dials and buttons to implement on the RasPiConnect software, but it’s pretty close to final.  We use this all the time now to monitor what is going on in the project remotely.   We are thinking it might be good to put in a process monitor graph and reboot function.  Both are easily done.  Here’s the new main screen (1 of 6 at this point).:

Summary Page for Project Curacao on RasPiConnect