Huzzah esp8266 register charging?

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Matzi
 
Posts: 1
Joined: Thu Dec 02, 2021 11:38 am

Huzzah esp8266 register charging?

Post by Matzi »

Hi,
Sorry if this is not the right forum category.

So im doing a school project where we have a feather huzzah with some sensors to track activities. For that reason it will be powered by a battery. So my group and i thought about making some kind of docking station to slide the device into (we'll 3D print some casing for it) to charge the battery, but we also want the feather huzzah to be aware of it charging, so it can change state in the code. Is there a way to do this? Of course it should also be aware of when it is fully charged and taken out of the docking station.

We're on our 2nd semester of our education, so still fairly new. We don't want an all inclusive guide, just if it's possible to do and if it is, what we should read up on.

Thank you in advance :)

User avatar
adafruit_support_bill
 
Posts: 88096
Joined: Sat Feb 07, 2009 10:11 am

Re: Huzzah esp8266 register charging?

Post by adafruit_support_bill »

You could monitor the voltage on the USB pin: https://learn.adafruit.com/adafruit-fea ... -2824925-4
That will be 5v when connected to USB. Since the analog pin can only handle 1v max, you will need to divide it down with a resistor voltage divider.
https://learn.adafruit.com/adafruit-fea ... 2824939-18
https://www.allaboutcircuits.com/tools/ ... alculator/

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”