Page 1 of 1

ADC

Posted: Tue Feb 14, 2017 3:09 pm
by hedge66
Hi all,
I need to develope a true RMS power meter using ESP32 ADC, i'm using esp-idf library but i can't find any ADC reference :?: .
Is there a plan to include an ADC library in near future?

ty

Roberto

Re: ADC

Posted: Tue Feb 14, 2017 11:51 pm
by ESP_Angus
Hi Roberto,

ADC1 is currently supported in esp-idf, however the API documentation seems to be missing from the API reference. We'll get this fixed ASAP.

In the meantime, you can find the relevant functions and some example code here:
https://github.com/espressif/esp-idf/bl ... iver/adc.h

There is currently a known issue with the ADC, the output values are not fully linear and we need to add compensation for ADC characterisation to the driver. We are working on this.


Angus

Re: ADC

Posted: Wed Feb 15, 2017 10:16 am
by hedge66
Ty for reply, another question is it true that conversion speed is 6KHz, 166usec each channel? If so i think i will have some problem on phase measurement precision. :(