nicholaswilde / solar-battery-charger

:battery: A solar battery charger to charge lithium ion (li-ion) 18650, 9V, and coin batteries and Ni-MH AA and AAA batteries. :sunny:
https://nicholaswilde.io/solar-battery-charger/
Apache License 2.0
2 stars 0 forks source link

ESP32 Voltage Divider and A2 Pin #26

Closed nicholaswilde closed 2 years ago

nicholaswilde commented 2 years ago

Change ESP32 analog pin to A2 from A0 because ADC 2 on the HUZZAH32 turns off once connected to WiFi. See FAQ

Add voltage divider to ESP32 because connecting the ESP32 BAT pin to the bq24074 causes the Feather to reboot perhaps because of power cycling. Need to connect the Feather to the bq24074 output which means that the internal battery reading does not read the battery levels.