I'm currently using the ADC Continuous Read Mode and have encountered an issue when trying to measure a signal. The issue is that for some reason, the raw ADC values retrieved from the 'adc_digi_read_bytes' function seems to STEP. This is more noticeable when trying to measure smaller values.
Some info of my setup:
Module: ESP32-C3-MINI
IDF: V4.4.2
ADC configuration:
Sampling frequency 10kHz
ADC Unit 1, Channel 2
Attenuation 11dB
Below are some screenshots of the signal going into the ADC pin (shown by oscilloscope) and values read back by ADC (printed out in MS Excel)
100mV 50Hz signal
Oscilloscope:
Raw ADC:
40mV 50Hz signal
Oscilloscope:
Raw ADC:
15mV 50Hz signal
Oscilloscope:
Raw ADC:
Any help to find the cause of the 'stepping' of the raw adc values would be greatly appreciated.
Thank you.
ADC raw value steps - ESP32-C3
Re: ADC raw value steps - ESP32-C3
Hi,
I have same issue.
Have you found fix?
I have same issue.
Have you found fix?
-
- Posts: 1734
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Who is online
Users browsing this forum: No registered users and 67 guests