@robo.com.cy: That's actually pretty good results for the ADC of the ESP32, it's 0.01V accuracy ✨ More info on the ESP32 ADC 👇 The ESP32 microcontroller unit (MCU) features an advanced analog-to-digital converter (ADC) system that allows it to accurately measure analog voltages and convert them into digital values. Here are some key aspects of the ADC in the ESP32: 1. **Resolution:** The ESP32's ADC supports up to 12-bit resolution, providing finer detail in the analog readings. This equates to 4096 distinct values for the voltage range it measures. 2. **Channels:** It has multiple ADC channels available. Specifically, the ESP32 typically offers two ADCs, ADC1 and ADC2, with several channels each. For example, ADC1 may provide up to 8 channels (GPIOs 32 through 39), and ADC2 provides up to 10 channels (GPIOs 0, 2, 4, 12 through 15, and 25 through 27), though the exact number of usable channels can vary depending on the ESP32 variant and its package. 3. **Input Voltage Range:** The ADC of the ESP32 can typically measure an input voltage from 0V to a maximum that is determined by its reference voltage. The default reference voltage is around 3.3V, but it's important to check the specific ESP32 module datasheet for exact values. 4. **Attenuation:** To extend the default voltage measurement range, the ESP32 ADC allows for the configuration of attenuation settings, providing several options (0 dB, 2.5 dB, 6 dB, and 11 dB) that effectively increase the maximum measurable voltage at the expense of sensitivity and resolution at lower voltages. 5. **Characteristics and Calibration:** The performance of the ADC, including its linearity and accuracy, can be affected by factors like the power supply, temperature, and the specific ESP32 model. Espressif provides calibration code and suggests practices to improve the accuracy of ADC readings. 6. **Usage in Applications:** The ADC functionality is widely used in applications that require the ESP32 to interact with analog sensors or to read other analog signals, such as light, temperature, pressure, or sound levels. 7. **Programming and Framework Support:** The ADC can be easily accessed and configured using popular programming frameworks for the ESP32, such as the ESP-IDF (Espressif IoT Development Framework) or the Arduino IDE, which provide libraries and functions to read from the ADC channels. The ADC capabilities of the ESP32 make it a versatile choice for a wide range of applications, from simple DIY projects to complex IoT devices. Always consult the latest official documentation for your specific ESP32 model for the most accurate and detailed information regarding its ADC features and limitations. #embeddedsystems #embeddedsystem #esp32 #arduinouno #arduino #arduinoproject
ROBO
Region: CY
Wednesday 10 April 2024 17:12:42 GMT
Music
Download
Comments
MeisterQ1 :
ADC of esp32 is non linear and not pretty good
2024-04-12 18:07:26
6
Safwan Ramli :
Wait.... I thought the voltage limit can be applied on I/o pin of esp only 3.3v max.... What maximum voltage u test
2024-04-14 08:52:11
5
ed :
imagine at 420 it printed out "nice"
2024-04-10 18:20:19
2
Tadas :
Too bad only 6 channels 🙄 realy limited capability...
2024-04-10 18:33:29
2
丶 Giang J :
What if you measure over 50V ? 🙄 with 4.2V/4096 so it’s only 1mV/unit.
2024-04-12 03:20:55
1
f_nope :
I tried many things to make an esp measure its own battery but everytime I get underestimated results
2024-05-07 13:16:51
1
ROBO :
Almost 0.01V ;)
2024-04-10 17:13:19
0
artn3r :
aber das labornetzteil nicht
2024-04-11 06:46:20
0
Safwan Ramli :
Lets freaking go... Need 50 likes for this comment to get the code....
2024-04-15 13:39:07
0
2elw (aka ryan gosling) :
Turn on WiFi and Bluetooth and see how accurate it is 😏
2025-12-07 02:00:37
0
To see more videos from user @robo.com.cy, please go to the Tikwm
homepage.