Oops charger did not switch off when cell went over abs cellV max I was monitoring it at the time though!Caused by the new master code. The alarms normally need to occur for a number of consecutive loops to avoid glitches driving you mad (3 currently), as we are bypassing loops when charging the alarms got cancelled Duh!!
I have now added a line of code which causes alarms to trigger on first occurence if charge bit is set. This makes it more sensitive during charging which is better IMO.
Only when chg bit is off (when driving) are a number of consecutive alarms reqd for master to trigger warning.
We should be able to add a few more functions now we have the timer working. Things like
1) Estimated time to complete charge.
2) Charger time limit.
3) Charge duration.
4) WHr /Ah charged.
Edit Seems OK nowFYI for my A123 20ah cells I have set slave balance cut in voltage as >3.55v and abs max cell voltage as >3.66V.
The charge cutback opto operates at >3.60
Remember the slave and master cut in voltages must be the same. The master uses the slave load turn on point to set a bit saying that cell is charged. Once all cells reach the load voltage then charge will terminate. #
So if you adjust the load turn on point in the master you must use the command system to adjust the load turn on point in the slaves. I did this by sending the set default voltage command 6 which is 3.65v so all slaves are reset, and then sending command 5 twice which reduces the cut in point by 50mv each time.