Internal voltage measuring

beg_dk
Posts: 34
Joined: Thu Apr 06, 2017 5:57 am

Internal voltage measuring

Postby beg_dk » Thu Apr 06, 2017 6:11 am

Hi

Before locking my interest on the ESP32, I did some testing/measuring with Esp8266 as to internal voltage. I had it solar powered by battery and therefore would like to know what was possible with esp8266. I switched to Esp32 due to Espressifs much improved developer framework and now developing in C coming from Lua believing it is more power effecient this way.

Apparently there are some differences as to accessing the internal voltage. Esp8266 just had a adc.readvdd33(); in Lua and that was it, but I can not find a similar api for doing this in esp-idf. I looks like I have to connect the vcc with a pin that must be configured to read the voltage - is that the way to go about it?

Thanks

Who is online

Users browsing this forum: Baidu [Spider], eli$84469, hamzatamer76 and 115 guests