I've made some progress.
I breadboarded a two cell circuit where one cell is the master. The master regularly sends a message to the slave to have it send it's battery voltage. The cascading programming is in place so that the slave will send it's voltage to the next slave and so on, but I only have one slave set up currently. When the data gets back to the master, it adds it's own cell's data and displays the lowest cell's data. I had the display working, but I burned it up, so now I'm just turning on and off a LED until I get a new display.
Currently, both processors are running on the same voltage, but they are doing all communication through optocouplers, so I don't see any reason why they wouldn't work at normal cell voltage.
The internal voltage references aren't very accurate, so i have a calibration routine where I calibrate each processor at 3 volts and save the calibration data in EEPROM.
So, it looks like the concept works. It requires for each cell:
(1) ATmega 48 $1.69
(1) Opto $0.16
(2) Resistors
I'm pretty close to wiring up 20 processors.
- Brad
I breadboarded a two cell circuit where one cell is the master. The master regularly sends a message to the slave to have it send it's battery voltage. The cascading programming is in place so that the slave will send it's voltage to the next slave and so on, but I only have one slave set up currently. When the data gets back to the master, it adds it's own cell's data and displays the lowest cell's data. I had the display working, but I burned it up, so now I'm just turning on and off a LED until I get a new display.
Currently, both processors are running on the same voltage, but they are doing all communication through optocouplers, so I don't see any reason why they wouldn't work at normal cell voltage.
The internal voltage references aren't very accurate, so i have a calibration routine where I calibrate each processor at 3 volts and save the calibration data in EEPROM.
So, it looks like the concept works. It requires for each cell:
(1) ATmega 48 $1.69
(1) Opto $0.16
(2) Resistors
I'm pretty close to wiring up 20 processors.
- Brad