Posted: Wed Dec 02, 2009 12:42 pm
I've started tinkering with some remote command software for the slaves, comms at 9600 baud from and to Master. Master just sends a high signal on slave data bus then waits until slave ready say 2-5ms then it sends one serial command byte 0-255 (commands) this propogates through slaves in exactly same was as now.
Sending a 1 causes slaves to dump cell voltage on Master Bus
Sending a 2 increases load cut in voltage my 10 mv
etc etc.
Nothing tested yet just writing.
For the next generation Master & multi Slave boardsI would like to include one further opto so the slave bus returns to the Master and the Master can compare the data (command) it sent out, to the data (command) the last slave sends it back. Just good for data integrity. We know then that each slave has received and passed on the correct byte/command.
Sending a 1 causes slaves to dump cell voltage on Master Bus
Sending a 2 increases load cut in voltage my 10 mv
etc etc.
Nothing tested yet just writing.
For the next generation Master & multi Slave boardsI would like to include one further opto so the slave bus returns to the Master and the Master can compare the data (command) it sent out, to the data (command) the last slave sends it back. Just good for data integrity. We know then that each slave has received and passed on the correct byte/command.