I'm working with arduino mega2560 and I have a ion lithium battery of 3.7 V. It works perfectly until battery is discharged.
So, I have a doubt, how can I do to charge the battery through the arduino??
I'd like to use it autonomously.
- Now, I connect the battery to arduino by external reference pins.