Information if expansion board is charging battery
-
Hello!
Does any one could tell me please if there is a way with micropython to retrieve the information if the expansion board is charging the battery (red led lit) or not (red led off)? -
Great question. This is not possible with the stock hardware, and I cannot give a guarentee the following will work, but thats how I would do it.
You could connect a wire to the resistor close to the CHG led (I think its the left side but you'd have to check). This is connected to a inverted indicator pin (high means not charging, low means charging) and acts as a current sink, meaning current will flow from the battery voltage through the LED to the indicator pin on the charging IC. You could connect the wire to a digital pin and check it digitally.
Please measure it first with a multimeter as im not sure of the side that is connected through :)
Best,
Gijs -
@Gijs Thank you for your answer.
You want me to solder a wire on this micro resistor, I will have to buy triple glasses!
It would be easier maybe to connect on CHG jumper. Is this a possible solution? -
unfortunately you can't, the CHG jumper only changes the charging current between 100mA and 450mA.
I understand its a bit small, but its the best I can think of, soldering to the charging IC is even smaller :) and Im not aware of any testpads on the bottom connected through to this point in the circuit -
@Gijs Thank you for your answer, I am making tests and I will inform you.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login