It's Alive
I built up a second Master board at 04:00hrs this morning
![Shocked :shock:](./images/smilies/icon_eek.gif)
after laying awake fidgeting in bed with it all going round in my mind, it worked straight away, indicating a duff main pic on the first one which is damn annoying. Might be able to unsolder that and replace it.
Spent the next few hours getting it to talk to the single slave built so far and just got succesful comms. Failure to talk straight away was due to my bad choice of resistor value, I went for a 100k pull down and it was too feeble, changed to a more normal TTL 4k7 and works fine
![Embarassed :oops:](./images/smilies/icon_redface.gif)
As usual, spent a lot of time arseing about with the scope looking at serial signals and scratching head
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
Think that's sorted now. Must remember to tweak the schematics to reflect new values.
Current consumption of digital mode Slave running at 8mhz with no speed/current reduction implemented is 800ua. Should be able to slash that when proper software back up and running. That's not bad though and could run slave for 1000hrs for 1Ah drain. Digital Slave current drain with beta power reducing slow speed software is 200ua, 5000hrs for 1Ah.
The slow speed cpu setting is fine for the Analogue Slave versions as it doesn't have the comms issues.
I shall build up another 3 slaves, wire them up and start working on building up functioning subpacks. All the little glitches in the software are comming out now of course
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
Display alignment is all over the place. Hope to have a pic/vid of 5 slaves and master working together by tuesday
Just a teaser here are two Slaves (cut down pcbs) and the Master connected and running, ran out of 3mm led's whilst building
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
good job I opened an account with Farnell
www.solarvan.co.uk/bms/Master&Slaves.jpg