Quote:
Originally Posted by filip
We start with assigning a one or two byte integer to each board as an address and then query them one by one in a loop (M - battery module, C - main controller):
|
Yes, that "assigning" might be the difficult part. You might be able to do it by having a jumper on each board to control the power - the controller would assign the next vacant address to the next module to respond and you would control that by powering them up via the jumper, one at a time. You'd need to make a map. The modules would need to store their own addresses in eeprom.
With the wired system, the connection order determines the address. There is no need to store any addresses and all modules are identical, its just the order in the daisy chain that determines the address.
Anyway, keep on thinking; good, new ideas are always welcome!