I have a project I'm working on that will have an Arduino running on 2 or 4 rechargeable NiMH AA batteries. I say 2 because I might boost up the voltage to what's needed. My problem is that this project will sometimes be plugged in and I would like the batteries to be able to charge during that time. These batteries will each have a capacity of around 2000-2400 mAh.

I must have done half a days amount of research on this topic and although I feel much more informed I still don't know how to proceed. Based on what I've read the most important thing is a constant current, with < .1c trickle charge for NiMH batteries and ~2c 1.2cSource linked below for a fast charge.

First off, is there a way to make a crude 'dumb' charger with say an external 12v power supply and the Arduino reading the battery voltage and shut off accordingly? If so where should the voltage be read at along the circuit for it to properly read.

I'd like to know that last bit the most, because regardless of what charging mechanism in the end is selected, I wish to know whether the Arduino can read the battery voltage while the batteries are plugged in.

Also, should I in the end use an IC like http://www.digikey.com/product-detail/en/BQ2002PN/296-9326-5-ND/379871 and let it take care of the entire situation. If so is the one I have selected a good one for this particular application?


I have tried to continue research and attempt to present a circuit. I will say this is the most complicated circuit I have attempted to design. Besides the couple dozen schematics I had looked at, I mostly used the following:



And was using the following for battery charging information:


I now have a general understanding of the LM317 and adjustable voltage regulators in general (a big thanks to the above LM317 datasheet), but the additional complications slightly confuse me. To be specific Figure 7 in the datasheet I understand, but Figure 8 (which gave the most to this schematic) I only slightly understand the resistors with the transistor, and how it ties in with the adjustment on the regulator. Perhaps because of that the 6V used in the figure title somewhat eludes me, as does the ICHG.

The second link, I mostly used for the placement of the LED's which I am not sure will actually turn on/off accordingly. But it also mentions how the resistors stop the charge after a voltage set with the trim Pot, and I question whether mine also does that; I think so, but I'm not sure.

With that said if any of my confusion could be explained I feel that would help me to adjust the schematic accordingly. I would still like to incorporate this with an Arduino in the end, but that can be a next step.


simulate this circuit – Schematic created using CircuitLab

  • \$\begingroup\$ Capacity is 2000mA or 2000mAh? What is "<.1C"? \$\endgroup\$
    – Andy aka
    Commented May 18, 2013 at 11:27
  • \$\begingroup\$ Edited for mAh. The C is battery capacity. \$\endgroup\$
    – Adam Dally
    Commented May 18, 2013 at 15:47

1 Answer 1


See Smart charging circuit for NiMH battery pack where the answer states

In such cases a very reasonable charging strategy is to terminate charge at 1.45V per cell.

It is reasonable to believe he is referring to "at the cell".

It is worth noting that BQ2002PN is a FAST charge. You need to ensure it will not burn out your Cells. A good charger will switch between slow and fast. In-circuit application charging should design the charge rate to exceed the discharge rate of the applications load and consider the margins. It is more then acceptable to use a fixed supply voltage and resistance to supply a minimal charge rate. Assuming it is not too high, a small trickle small enough not to exceed self heating, works.

Before Low Self Discharge Cells we made a +12V with Diode drop and Resistor to slow charger for a dozen parallel Cells, (i.e "Hot and Ready", not really hot). It is cheaper than a smart charger. And we could keep the charge rate very low. Lower then most chargers slow rate as they are still higher (enough for larger capacities) than needed and wasteful.

In fact I have several Maha and LaCrosse (nice chargers) for NiMH, but they are too smart. When using more than one cell, on a load, in series (typical 3 and higher) they UN-evenly discharge. Where one gets below the Under Voltage sense and considers it a failed cell. But putting it on a 5ma source for a minute kicks it up and then it works on the Smart Chargers.

You should refer Ada's page on Minty Boost. LiPo's are the in spot for in circuit charging and plenty of chargers for them. Such as SFE's Lipo Charge Boost. There are plenty of examples out there.

  • \$\begingroup\$ Thank you for your answer @mpflaga. I had looked at a couple of those links before, but I will be sure to keep them in mind as I continue this venture. \$\endgroup\$
    – Adam Dally
    Commented May 19, 2013 at 6:29
  • \$\begingroup\$ If you look at the BQ2002PN datasheet it has both temperature and voltage inputs for regulation. The IC does have 3 fast charge speeds though, and the lowest one being .5c might not require a temperature sensor. I have also added to my question a schematic that I've tried to formulate not using a dedicated IC but an LM317. This would be a slow charge. Hopefully my updates help narrow what I'm asking about. \$\endgroup\$
    – Adam Dally
    Commented May 19, 2013 at 6:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.