Charging Timer For R/C Batteries

arduino_controlled_socket

Santa brought [Quinten’s] son a shiny R/C truck for Christmas, but this new toy had one drawback – its batteries could only be connected to the charger for a maximum of 6 hours, lest he turn his house into a pile of smoldering ash.  With grave warnings from the manufacturer dancing in his head, he searched around for a timer that would allow him to cut power to the battery after charging for its allotted time.  Coming up empty, he decided to create his own timed electric socket regulated by an Arduino he had sitting around.  He grabbed a project box and wired up a nice looking socket timer, complete with an LCD status display.  To make things easy for his son, he added two buttons to the front of the controller – one for selecting the amount of charging time, and one to set the timer in motion.  As with his previous hacks, [Quinten] has provided plenty of documentation in the form of pictures, code, and even a video of the timer in action.

27 thoughts on “Charging Timer For R/C Batteries

  1. With a lot of chargers, the battery will discharge back through it when it is turned off and the battery left plugged in.

    Switching the supply to the battery off and leaving the mains on would have been better, and safer, and cheaper, and smaller…

  2. Seconding arfink: a $5 plug-in timer would’ve done just fine for this. It’d also entail less risk of accident or error when dealing with mains power, which is always a plus.

    On the other hand, it’d probably be hard for a younger kid to operate one of those, and this is inarguably nifty.

  3. A fine project and great documentation! I did something similar with PowerSwitchTail to keep a dehumidifier under control. (Though no LCD. And no documentation…)

    However it seems like it would have been a better effort to fix in the charger to keep it from being a freaking fire trap. I can’t believe that a charger like that is allowed to be sold. Especially in what’s ostensably a children’s toy.

  4. Just get a time delay relay. Purpose built for this and would turn off power post mains rather than the whole system although that wouldn’t hurt either – time delay relays are rated to carry that much current (which in this case is very small by most industrial standards where 10 – 20 amp is considered small).

  5. dont get me wrong i love the arduino but i would not trust it to prevent my house from becoming a pile of ash

    i have atleast 6 projects that run off of an arduino and not one has messed up tho

    but yeah there are TONS of off the shelf timers that do the same thing
    and how about you buy a new charger that does NOT have the turn your house in to ash warning? XD

  6. I built a similar device for my brother.

    One night we found he had fallen asleep on the carpet and had forgotten to turn off his hot glue gun, which was lying on the bed.

    So I built him a similar device (similar in function, not design) that would stay on for about 10 minutes unless he kept hitting the reset button.

  7. yeah this thing is a good way to destroy your batteries charge for 6 hours, ignore for 20 while the battery discharges back in to the transformer, drive car for 2 seconds, rinse, repeat.

    You can buy smart chargers with over charge prevention for less than the cost of an arduino or you can spend 300 for the nice ones(that will even do maintenance operations for you) but this is by no means a hard to find feature just google “NiMH smart charger 7.2v” I own the same RC you can use the same chargers as the big 7.2 packs it should have came with a molex adapter.

    Or to fix your design put the relay in line battery on the low voltage side of the charger and add a voltage sensor stop charging take a reading if its under 8.4V continue charging.

  8. 1. I would have only worked on the low voltage side.
    2. A thermal sensor for the battery overheating would be nice if you really don’t want to start a fire!
    3. A smart charging circuit to see when you’re over charging the battery.
    4. And a relay disconnect to take the battery out of the loop completely when its charged or becomes too hot.

    But, I give props for getting it done, its too easy to arm-chair engineer :)

  9. Reposting here what I posted in his site…

    If the truck is using a nickel-based battery, then leaving it on for more than 6 hours isn’t going to explode anything. If it uses a Lithium-polymer battery, then it most certainly has a charger capable of figuring out when the battery is full, because otherwise it’d catch fire long before six hours passed. My guess is simply that whoever told you the six hours thing doesn’t know a charger from an iron. At least, I surely hope so – the alternative is that they’re knowingly selling a LiPo-powered truck with a dumb charger, which is probably grounds for dragging them into a criminal court.

    All that said, if you want to charge LiPo batteries in the safest way possible, a smart charger (available for as low as €40, though better ones cost more and are a good idea) is a much wiser investment than any homemade contraption.

    Note that in a pinch it’s possible to charge LiPo batteries safely using a bench power supply that can be regulated in both voltage (set it to precisely 4.2V; if precise settings are not available set it to 4.1 – better safe than sorry) and current (set it to half the battery’s capacity for a nice and safe 1/2C charge level).

  10. @DemonicSandwich
    i dont think a glue gun could burn anything but glue and i doubt it would ever catch even a match on fire

    people tend to think that glue guns and soldering irons start fires but short of a butane soldering iron or a 120W iron i doubt it would ever cause a fire
    i could be wrong tho *shrug*

  11. Sleek build dude.
    But the real issue at hand is overcharging the batteries. A time-limited charging device does not prevent overcharging unless the batteries are drained to a safe level.

    You need to read the voltage that is ramping up while charging, and cut it when you reach a prescribed maximum.

    just sayin’

  12. Given the fact that the charger/batteries have no sensing circuit to prevent over charging, it’s a safe bet that the batteries will discharge through the charger, and at a much faster rate than actually using the batteries in the intended device. Nice project, but would of been better applied to the line between the batteries and the charger.

  13. @CutThroughStuffGuy
    i just turned my 80W soldering station to 800*f and there was blackening of the paper and a bit of smell but no fire

    for one you should never have an iron in direct contact with your work space by any means but i odnt think a soldering iron at standard soldering temps (i use 350 for silver solder 300 for led) you cant ignite much if anything

  14. Pretty good chargers with built in sensors are cheaper than the Arduino he used.
    If the battery is half empty then it will start to heat up after only 3 hours of charging. Those slow chargers (everything that takes more than hour or two to charge a battery) can not under normal circumstances turn his house into a pile of ash.
    The smartest thing would’ve been to build voltage detecting charger from the arduino. :)

  15. nice job , timer chargers for various battery types nice ones run about 50$. You should also consider checking out your local hobby shop and inquire about peak chargers. You will need to know the type of battery chemistry you have (nicad lion etc).

    Depending on what batteries you have there are opposing rules on how to care for them.
    For instance if they are nicad you should have a discharge bar (light bulbs soldered together with a battery clip on it) and discharge it after draining it with the car. Then you should run it threw a nicad peak charger, and probably not more then once per day. Other types of batteries are the exact opposite where you should never ever drain them completely.
    PS regardless of what type of batteries you have invest in a small fan to cool it down after each discharge/charge/run Heat is the biggest threat to battery life time and or performance.
    Ive been racing those rc cars for about 15 years hehe.

  16. Ps inquire whether your battery chemistry should be stored (1 month periods) charged or discharged. This is also an opposing rule depending on what type of battery you have and can dramatically effect the performance of the pack.

  17. What you built here will actually make a great start to a reflow oven controller. Though this isnt effective for what you intended it for its still got a great use. (dont trust your batteries to this device. )

  18. Not to troll or anything, but I really think that building a nice custom charger would have been better than building a timer for the included crap charger. There are already plenty of smart battery charging ICs out there.

  19. A lamp timer with a splitter.
    One outlet powers the charger, the other an AC relay.

    Connect the relay contacts to the charging circuit.

    When the timer trips it opens up the mains as well as the charging line and isolates everybody from each other.

  20. @biozz

    Ya I know how that the glue gun won’t start a fire under most circumstances.
    A little 25W soldering iron comes closer but usually burns and chars instead.

    It’s the fact that he left it powered on on his bed scared my parents.

    So I built a timer with what was effectively a dead-man’s switch.
    (Pressing ON resets the countdown, otherwise it turns off)

  21. agree with arfink, a $5 timer would have done the same thing. Just pull out 6 hrs worth of notches, and then spin the dial to the top to start the charge.

    I still like the idea though.

  22. The quality of the writeup is good, more projects on here should be this thoroughly documented.

    Now if all the insecure alpha-nerds could calm down in the audience, that’d be great. Show us how to make an intelligent battery charger rather than vaguely waffling about it. Be specific, using as much detail as this project did.

Leave a Reply to SammyCancel reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.