GregsGarage wrote:retepsnikrep wrote:Anyway, I've adapted the Slave boards to be dual purpose.
Depending on how you assemble the Slaves (using the same components
) you can have the Analogue style solution with an opto for over and under V and on board balancing load, or they can be configured for use with the Master Board, with Master Data Bus, Slave Command Bus and on board balancing/bypass load.
Would it be possible to build the slaves with both options (ie, J2, R1, U3
and J5, U4, R11) and then load the correct program (and maybe set a jumper)? I am thinking that the analogue version would work with what I am trying to do and since I just "let the smoke out" of one of my boards, I might explore that option.
Greg
Sad you had a smoke issue
Please let us know what you were doing, trying to do, what went wrong and why? I/we need to learn from your experience as well. I am keen to see you efforts.
Anyway the software is not affected if you decide to include both sets of components, (It may make the data output to the next slave slightly less effcient at low voltages however) but what you could do is put a socket on the board for U4 & U3 and then just move the optocoupler from one socket to the other to suit your setup.
Opto in U3 is the digital option.
Opto in U4 is the analogue option.
I did try to make it flexible, just hope it works!!!
If you had both sets installed and used the Slave in the digital configuration the Sink Input on P4 (pin3) would be trying to sink the power for 3 leds
U4, D2 and the led opto on the next slave in the chain. The PIC current limit is 20ma but the lower the voltage the less drive current available, so fewer led's to drive is better.
The eagle eyed amongst you will have noted that the Master Bus Output is now on Pic P2 (pin5) on the latest Slave Schematic. This is because the Pic has a pwm out function available on that pin, and I may want to use that for variable charger control in Analogue mode
At the moment in Analogue mode the the pic simply turns the opto full on when Cell V > Abs Max Cell V, however some sort of gradual change is probably better, but I haven't included that in the Analogue software yet