Electronic – Arduino Runing On && Charging NiMH batteries

arduinobattery-chargingnimh

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?


Edit

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:

http://www.ti.com/lit/ds/symlink/lm317l.pdf

http://www.learningelectronics.net/circuits/float-charger-for-nimh-cells.html

And was using the following for battery charging information:

http://www.ti.com/lit/an/snva557/snva557.pdf

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.

schematic

simulate this circuit – Schematic created using CircuitLab

Best Answer

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.