I think you have multiple errors:The transistor (y) won't work with it's collector connected to the -ve supply.I'm not sure that changing the left hand regulator from a constant current source to a voltage source will work as you anticipate, when there is an unknown voltage across the right hand regulator.Look at your ground connections:The emitter of each transistor is grounded, but the emitter of transistor (x) is connected to the collector of transistor (y)......so transistor (y) has both it's emitter and collector grounded.The battery has both it's positive and negative terminals grounded!
Are you using LM317 in a steel can mounted to a really big heat sink with thermal paste and possibly a cooling fan?http://www.digikey.com/product-detail/en/LM317K%20STEEL%2FNOPB/LM317K%20STEEL%2FNOPB-ND/6176That's the only way its going to survive dissipating (32V - 14.2V) * 0.24A of power dissipation.I think you'd be better off with a switching regulator.
What it "looks" like he's doing it using multiple lm317 to drop the voltages in steps vs just one large drop. But wired incorrectly, the second lm317 needs another resistor to set the regulation voltage and be grounded. If you want 12V use a 7812, and ground it.The X npn looks like a switch to turn on the regulators? The Y npn, looks like another on/off switch but more direct, both will have a similar effect if wired correctly.Why is the + side of the battery shorted to ground? I think what your doing is trying to measure the voltage of the battery and dividing it so you can read it from the arduino. You can move the wire connected to batteries - and connect it to the batteries + but must remove that connection between the + and the 5.4K .
What it "looks" like he's doing it using multiple lm317 to drop the voltages in steps vs just one large drop.
So are you guys telling me I cannot use LM317's to charge a 12v battery?
Quote from: calvingloster on May 27, 2014, 07:03 pmSo are you guys telling me I cannot use LM317's to charge a 12v battery?Basically, "Yes".I mean, it could be made to work but you probably won't be happy with the result.It will be much easier/cheaper/safer to just get a battery charger, eg.: http://www.ebay.com/itm/371059092051