ADC

hedge66
Posts: 2
Joined: Tue Feb 14, 2017 3:00 pm

ADC

Postby hedge66 » Tue Feb 14, 2017 3:09 pm

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

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: ADC

Postby ESP_Angus » Tue Feb 14, 2017 11:51 pm

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

hedge66
Posts: 2
Joined: Tue Feb 14, 2017 3:00 pm

Re: ADC

Postby hedge66 » Wed Feb 15, 2017 10:16 am

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. :(

Who is online

Users browsing this forum: No registered users and 130 guests