We are using the ADC Converter on an Espressif ESP32-S3-WROOM-1 with the IDF-Library V5.4. Here we see an offset in the acquired values, as in the table below.
Measured / ESP-ADC voltage
1,046V / 1,000V
0,8466V / 0,800V
1,202V / 1,150V
2,060V / 2,000V
We followed the calibration guidelines in the ESP-IDF documentation: https://docs.espressif.com/projects/esp ... ation.html
For calibration, we use the example_adc_calibration_init() function from the following reference implementation, applying the Curve Fitting scheme: https://github.com/espressif/esp-idf/bl ... ead_main.c
The one shot conversion is configured as follows:
adc_oneshot_unit_init_cfg_t init_config1 = {
.unit_id = ADC_UNIT_1,
.ulp_mode = ADC_ULP_MODE_DISABLE,
};
adc_oneshot_chan_cfg_t config = {
.bitwidth = ADC_BITWIDTH_DEFAULT,
.atten = ADC_ATTEN_DB_12, // 12 dB attenuation
};
The final voltage value the then acquired using adc_oneshot_get_calibrated_result().
Could you please advise if there are any additional steps required to improve the ADC accuracy? Also, can the observed offset be explained?
ADC Converter on an Espressif ESP32-S3-WROOM-1
-
Ralph93827
- Posts: 1
- Joined: Tue Apr 01, 2025 12:43 pm
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- ESP32-S31
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- ESP32-S31 中文讨论版
- 喵伴 中文讨论版
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: Bing [Bot] and 1 guest
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.
Information
Espressif ESP32 ... Available now!