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 :)
Huzzah esp8266 register charging?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88096
- Joined: Sat Feb 07, 2009 10:11 am
Re: Huzzah esp8266 register charging?
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/
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/
Please be positive and constructive with your questions and comments.