Thread: Low cost BMS
View Single Post
Old 02-16-2013, 11:31 PM   #79 (permalink)
harlequin2
EcoModder
 
Join Date: Mar 2010
Location: New Zealand
Posts: 181
Thanks: 0
Thanked 33 Times in 20 Posts
Quote:
Originally Posted by filip View Post

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!
__________________
Sometimes I sits and thinks and sometimes I just sits.
  Reply With Quote