Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

HUZZAH32 Measure Battery Voltage
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

HUZZAH32 Measure Battery Voltage

by binux on Thu Aug 31, 2017 7:16 am

Hello,

So I read in the technical description that Adafruit reserved IO35 for the battery voltage.
And I can confirm that on the hardware side it works.

However I'm running the ESP32 with Micropython (based on Toni's video) and I'm unable to get any voltage from the pin 35.
It always returns 4095 as measured value. This is definetly wrong.

Did anyone get this to run on Micropython? I could not check if it works over normal C.
If yes can someone guide me on what to do?

Thanks already!

binux
 
Posts: 21
Joined: Thu Mar 17, 2016 4:20 pm

Re: HUZZAH32 Measure Battery Voltage

by adafruit_support_mike on Fri Sep 01, 2017 3:57 am

[moved to the MicroPython forum]

adafruit_support_mike
 
Posts: 61439
Joined: Thu Feb 11, 2010 2:51 pm

Re: HUZZAH32 Measure Battery Voltage

by tannewt on Fri Sep 01, 2017 1:35 pm

I was going to link you to the MicroPython forums but then noticed you already posted there and have fixed it.

Here is the other post for reference: https://forum.micropython.org/viewtopic.php?f=18&t=3734

tannewt
 
Posts: 1830
Joined: Thu Oct 06, 2016 8:48 pm

Re: HUZZAH32 Measure Battery Voltage

by binux on Fri Sep 01, 2017 3:14 pm

Thanks. Yes in the end it was more a Micropython question than one that had to do with the hardware. Thanks in any way!

binux
 
Posts: 21
Joined: Thu Mar 17, 2016 4:20 pm

Please be positive and constructive with your questions and comments.