LegoTekFan486
New Member
I want to charge a NiMH battery pack, using a temperature sensor, and once I'm done fast charging it, wait until it cools down, then top it off with trickle charge for a limited amount of time.
What kind of circuit can regulate current based on PWM? Not constant current by itself: the Arduino would do that via feedback from a current-sense circuit I will have.
For safety, I will have a watchdog that cuts off charging if the Arduino fails for some reason, two temperature sensors where charging will only be done if they "agree" i.e. if one sensor fails, they wouldn't match anymore and the Arduino would see that and refuse to charge. I'll program it to also shut down the load if the battery gets overly hot while powering the load. Finally, I'll have a thermal fuse in series with the battery pack itself, mounted against it on top. (Crimped onto the wires, not soldered)
That way, even if all else fails and the battery does get dangerously hot, the thermal fuse breaks.
What kind of circuit can regulate current based on PWM? Not constant current by itself: the Arduino would do that via feedback from a current-sense circuit I will have.
For safety, I will have a watchdog that cuts off charging if the Arduino fails for some reason, two temperature sensors where charging will only be done if they "agree" i.e. if one sensor fails, they wouldn't match anymore and the Arduino would see that and refuse to charge. I'll program it to also shut down the load if the battery gets overly hot while powering the load. Finally, I'll have a thermal fuse in series with the battery pack itself, mounted against it on top. (Crimped onto the wires, not soldered)
That way, even if all else fails and the battery does get dangerously hot, the thermal fuse breaks.