donperry:
here is why positive responses are more welcomed:My cell phone's charging port is currently damaged, and i can only charge the batt by applying current directly to the terminals. Now, if we can use an sketch to charge the phone external to the battery then we have a practical application for an arduino charger.
The arduino can send +5v and can read up to 5V from the same leads. The LiIon battery is supposed to be at a specific voltage during and after charge. If we know this we can pulse the battery and read after every (n) cycle until it reaches the correct voltage.
I'll be pursuing this this morning, I'll use this thread but will create a new one if and when it's complete
Its way more complex than you think.
Remember that if you get the charging wrong, the phone might blow up in your pocket.
Now if you add a pile of electronics to your Arduino, as it cannot charge your phone on its own, then maybe you could do it. But the code and electronics would need to be perfect, no bugs allowed, because of the danger if you get the charging wrong. Which all seems extremly pointless when you can get a ready built charger for around 20p that is actually designed for the job.
What is your experience level in electronics, coding and Lthium batteries in particular ?