...for nothing. From parts I had lying around -- and one of my mother's pencils.
Yep, a pencil.
I had a spare SLA battery from a (very much) broken outdoor motion-sensitive lamp. Date on the battery is 9/2004, so that explains why the PCB in the lamp was starting to come apart. We've probably had that lamp since '05.
Battery is made by a Sanshui Samtech Battery Co., Ltd., model # JL3-XM-4.5 and the datasheet for it is a little hard to find. I've put it up here, if anyone cares: http://www.datafilehost.com/download-12b9893e.html
Source for the datasheet, in case that gets deleted, is here: http://www.ajcbattery.com/products/sanshui-jl3-xm-4-6v-4-5ah-emergency-light-battery.html
OK, so it's a 6V, 4.5AH battery. Nice. According to the datasheet, I can pump up to 7.5v into it at once to charge it. Trouble is, I don't have an SLA battery charger...
...but I do have a 7.5v 1a wall wart, courtesy of a friend of mine who likes to give me all sorts of stuff that he can't really use. A check with the multimeter revealed a working 7.5v output when that wall wart was plugged in.
So I google around, and I find this page: http://sparksandflames.com/p6.html
On this page of that site is a very simple adaptation. All one needs is a resistor and Ohm's Law.
R = E / I
R = resistance desired
E = energy in volts (more precisely, difference in voltage between wall wart and battery output)
I = desired current in amperes (amps)
A note before the (rest of the) math: on this other page here, it's stated that the safest way to charge a battery is to charge it at 1/10 of its rated capacity, for 14 hours. That's the method I'm using.
R = (7.5-6) / (0.1*4.5)
R = 1.5 / 0.45
R = 3.333...
Actually, 3-1/3 ohms is the exact amount needed. Tricky bit here is that I don't have a 3.3ohm resistor, particularly one that can take 3+W (7.5*0.45 = 3.375). So I made one.
Googling around for a way to make a resistor gets you a lot of stuff about smearing pencil lead on paper and measuring it with a multimeter. I also got lots of stuff about resistors needed for airbags in cars. None of it was useful. Even HackaDay didn't help much.
Then I had an idea. My mother insists on using #1/B pencils because they somehow are easier to read (never mind that they must be sharpened insanely frequently -- which is why I use mechanical). She has what amounts to a lifetime supply (and then some) of them from Ticonderoga.
So I asked Mom if she would let me have one. She was quite willing to share. This page right here gives all sorts of helpful info. For a 125mm length of #1/B pencil, the resistance is 7ohms.
3/7 = 0.428571...
(3/7)*125=53.571428...
53.6mm = 2.1"
So I cut the pencil up into a 2-1/4" length. That's the teeniest bit over 3.2ohms --
2.25" = 57.15mm
57.15 / 125 = 0.4572
0.4572*7 = 3.2004.
So there we go. I cut the barrel jack off the wall wart, and separated the two wires. One got a wire nut to the black wire off the old lamp -- ending in a spade connector. The other wire (the positive lead off the wall wart) got an alligator clip for interfacing with the makeshift resistor. The red wire from the old lamp (with a different size spade connector) got an alligator clip as well.
So the circuit is:
positive lead of wall wart -> resistor -> battery -> negative (ground) lead of wall wart
Simple.
Here, have some pictures. These are all clickable thumbnails.
BTW, it's been plugged in for the ~30min it took me to write this. That pencil ain't even warm. I'd call this one a success.
Comments, anyone?
Yep, a pencil.
I had a spare SLA battery from a (very much) broken outdoor motion-sensitive lamp. Date on the battery is 9/2004, so that explains why the PCB in the lamp was starting to come apart. We've probably had that lamp since '05.
Battery is made by a Sanshui Samtech Battery Co., Ltd., model # JL3-XM-4.5 and the datasheet for it is a little hard to find. I've put it up here, if anyone cares: http://www.datafilehost.com/download-12b9893e.html
Source for the datasheet, in case that gets deleted, is here: http://www.ajcbattery.com/products/sanshui-jl3-xm-4-6v-4-5ah-emergency-light-battery.html
OK, so it's a 6V, 4.5AH battery. Nice. According to the datasheet, I can pump up to 7.5v into it at once to charge it. Trouble is, I don't have an SLA battery charger...
...but I do have a 7.5v 1a wall wart, courtesy of a friend of mine who likes to give me all sorts of stuff that he can't really use. A check with the multimeter revealed a working 7.5v output when that wall wart was plugged in.
So I google around, and I find this page: http://sparksandflames.com/p6.html
sparksandflames.com said:Do not connect the wall wart directly to the battery.
<snip>
...if there is no current limiting circuitry in the wall wart, it will provide much, much more current for a short period of time, and burn itself out, start the wires on fire, or cause the battery to explode.
On this page of that site is a very simple adaptation. All one needs is a resistor and Ohm's Law.
R = E / I
R = resistance desired
E = energy in volts (more precisely, difference in voltage between wall wart and battery output)
I = desired current in amperes (amps)
A note before the (rest of the) math: on this other page here, it's stated that the safest way to charge a battery is to charge it at 1/10 of its rated capacity, for 14 hours. That's the method I'm using.
R = (7.5-6) / (0.1*4.5)
R = 1.5 / 0.45
R = 3.333...
Actually, 3-1/3 ohms is the exact amount needed. Tricky bit here is that I don't have a 3.3ohm resistor, particularly one that can take 3+W (7.5*0.45 = 3.375). So I made one.
Googling around for a way to make a resistor gets you a lot of stuff about smearing pencil lead on paper and measuring it with a multimeter. I also got lots of stuff about resistors needed for airbags in cars. None of it was useful. Even HackaDay didn't help much.
Then I had an idea. My mother insists on using #1/B pencils because they somehow are easier to read (never mind that they must be sharpened insanely frequently -- which is why I use mechanical). She has what amounts to a lifetime supply (and then some) of them from Ticonderoga.
So I asked Mom if she would let me have one. She was quite willing to share. This page right here gives all sorts of helpful info. For a 125mm length of #1/B pencil, the resistance is 7ohms.
3/7 = 0.428571...
(3/7)*125=53.571428...
53.6mm = 2.1"
So I cut the pencil up into a 2-1/4" length. That's the teeniest bit over 3.2ohms --
2.25" = 57.15mm
57.15 / 125 = 0.4572
0.4572*7 = 3.2004.
So there we go. I cut the barrel jack off the wall wart, and separated the two wires. One got a wire nut to the black wire off the old lamp -- ending in a spade connector. The other wire (the positive lead off the wall wart) got an alligator clip for interfacing with the makeshift resistor. The red wire from the old lamp (with a different size spade connector) got an alligator clip as well.
So the circuit is:
positive lead of wall wart -> resistor -> battery -> negative (ground) lead of wall wart
Simple.
Here, have some pictures. These are all clickable thumbnails.
BTW, it's been plugged in for the ~30min it took me to write this. That pencil ain't even warm. I'd call this one a success.
Comments, anyone?