wired connection for multiple boards

boards will be stacked like shields.

each board will be running an ADC for the 10 lines
the ADC lines are for current sensing of AC electrical lines (45 CT's)

the master will run the LCD, poll the boards and data log.
I will test logging at 60 second intervals to see if that is enough. or too much.

the data from the board will be AMPs,
the data will be the smoothed version of Amps, elevated to an integer (2 decimal places) so 645 will be 6.45 amp.
8854 will be 88.54 amps

I am hoping that I can have the master :

  • poll a board, get the 10 values
  • poll next board, get the 10 values, ( 5 boards)
    then data log the results.

PHASE II

once the above is working well, each board will watch the sampling, and if there is a spike, the local processor will store that spiked data. an example is a motor staring and the current jumping 3 times over the running amps of the motor for the first 2-3 seconds.

the master would do it's magic, but when it polled this board, the board will show that there was an 'event' and the event data will be dumped as a separate file.
the routine amp reading would be posted for the regular logging.

an alternative is that when an event occurs, the board will signal the master that an event is occurring, and transfer the data for the duration of the event. during the course of the event, the other boards would be saving the data for a future dump of the data, up to 5 seconds or so.