Due to high demand expect some shipping delays at this time, orders may not ship for 3-4 business days. On MLK Day no orders will be shipped.
0

Huzzah esp8266 register charging?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Huzzah esp8266 register charging?

by Matzi on Thu Dec 02, 2021 11:44 am

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 :)

Matzi
 
Posts: 1
Joined: Thu Dec 02, 2021 11:38 am

Re: Huzzah esp8266 register charging?

by adafruit_support_bill on Thu Dec 02, 2021 12:18 pm

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/

adafruit_support_bill
 
Posts: 82797
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.