L
L
Lakalut222021-08-15 18:01:16
Arduino
Lakalut22, 2021-08-15 18:01:16

How to implement a phone charge controller based on Arduino?

Hello!
I wondered whether it is realistic to track the percentage charge of the phone using arduino, that is, to make sure that the phone does not go beyond "safe" charging (30-80%) so as not to waste battery life.

I found several articles that describe control by calculating voltage, but this is not the right way, because there is a big error.

So the question is, are there any solutions to control the charge of the phone (s) using arduino in percentage form?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Armenian Radio, 2021-08-15
@gbg

If you really want to, you need to install an application on your phone that will turn off charging when the charge is correct from your point of view .
The arduina is not at all in business here, to be honest.

B
Borys Latysh, 2021-08-16
@nava2002

Android has access to battery status data (it shows the result on the screen). That is, the phone has a controller that analyzes the state of the battery and access to this information can be obtained using the Android OS.
Through an external connector past Android, you most likely will not be able to access these systems.
Charge information can only be obtained by connecting directly to the phone's battery. In this case, Arduino will easily track the charge level. In principle, all the "fashionable" chargers available on the market are organized this way.

E
evgeniy_lm, 2021-08-16
@evgeniy_lm

is it possible to track the percentage charge of the phone using arduino

Unreal. Such an operation requires connecting a relatively bulky MK to the battery, but this is technically impossible even for most modern phones.
make sure that the phone does not go beyond the "safe" charging

This function is already provided in the design of the phone. Your task is to regularly charge the battery, in general, if possible, keep the charge 100%. If, nevertheless, the battery is completely discharged (the device has turned off), immediately put it on charge, otherwise it will go into protection through self-discharge and it will be problematic to charge it and this will seriously affect the service life
I found several articles that describe control by calculating voltage,

Well, the error there may be large, but your task is to measure the consumed energy, and not to allow a deep discharge of the battery. El this similar algorithm is very simple but effective

A
AntHTML, 2021-08-16
@anthtml

Well, the simplest thing is a program on android that monitors the level of charge and, when it goes beyond the set limits, sends a signal to turn on / off the power of the charger.
And what will the power control relay be connected to: arduino / esp / raspberry / sonoff, etc. and how: wifi / bt / otg choose to your taste and color (skills / capabilities / availability)

L
lonelymyp, 2021-08-16
@lonelymyp

It is impossible to shove your charge controller into the phone bypassing the regular one.
You can try to limit the upper limit programmatically, look for a program that turns off charging at the desired percentage.
Also from household methods - use a weak charger, 500 mA or less, fast charging with high current is harmful to the battery. But you have to put the phone on charge all night, because. it will take a long time to charge.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question