Is there any alternative of this battery charger module for homemade arduino?
The linked one looks very smart and it should handle everything. It would be fantastice if I can charge my homemade arduboy while plug it into USB for uploading new games or so.
I am searching but have never found good one for my pro micro. Most modules just handle charging.
Charging while playing (while it is plugged)
Charging while turned off (while it is plugged)
Auto switch to battery mode when unplugged
Auto switch to charge mode when plugged
These are the functions I would like to have.
Any information is very welcome!
@crait, It could but you would lose some efficiency boosting to 5V then having the 101’s on-board regulator dropping it back down to 3.3V. You would have to make sure that the boost converter provides a properly regulated and clean 5V output.
Also, it may be necessary (or at least advisable) to make sure that you never power the 101 from both the 101’s USB connector and the boost converter at the same time.
No, you need to separate that input. But that depends on the pro micro you are using.
Not really, what I would do is:
Look for the trace from the USB VCC pin and cut it in the pro micro (the following image is just an example, I think in the pro micro is in the backside of the PCB)
Attach the VCC from the USB to the input of the charger module.
Attach the charger module to the lipo
Attach the DC DC step-up to the lipo, wire that module to VIN in the Pro Micro (it would be ideal to remove the Pro Micro regulator, and just place a step-up to 3.3V directly, but I think the screen needs 5V, so this is a lazy wasteful solution)
No need for “switching”. I am not sure how healthy is that for the lipo, because when you are connected to usb, you will draw and recharge the lipo at the same time. But how often do you intend to play connected for a long time?
I have never thought about cutting USB Vcc line of my Pro Micro! It’s smart!
Regarding to No.4, why do we need to remove the Pro Micro’s regulator? Mine is 5V 16mhz version and it seems there is no 3.3v output/input pin on the board.
Not sure how often I play it connected for a long time but I think I can add a hardware on/off switch between step-up and Vcc of Pro Micro. Then I think I can charge the lipo and play games at the same time when the switch is on. I can charge the lipo and turn other systems off by switching off. Am I correct?
does it need to be boosted to 5V?
so far I made homemade arduboy with 3.7V lipo battery connected directly to Raw pin on Pro Micro and it works fine for months. I even Tried it with 2 AA/AAA 1.5V battery and strangely it still work.
But still I don’t have a protection/switching circuit and it still a bit dangerous. And this problem @gedo831 are also my problem that keeps bugging me until now. Fortunately I have few alternative now thanks to this thread
No, you’ve got it backwards. The Pro Micro should be run a 5V (for the required 5V/16MHz version) and the display is better run at 3.3V (although most display modules claim to be 5V tolerant but many “cheat” by just using resistors instead of proper level converters).