Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP32C6 - ADC Measuring 230V from Voltage Sensor (IDFGH-12828) #13798

Open
3 tasks done
Hariprabhu13 opened this issue May 16, 2024 · 0 comments
Open
3 tasks done

ESP32C6 - ADC Measuring 230V from Voltage Sensor (IDFGH-12828) #13798

Hariprabhu13 opened this issue May 16, 2024 · 0 comments
Labels
Status: Opened Issue is new

Comments

@Hariprabhu13
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Hi ,

                        Board                  - ESP32C6
                        Version                - V5.1.1
                        Voltage Sensor         - ZMPT101B

I have the issue in reading the raw data in ADC Driver at calibration stage , the ADC_CHANNEL_2 has been set to read the Voltage sensor raw data . I have the refer the espidf documentation and initialize the adc driver ,

setting the adc calibration curve fitting and read the raw data in the adc_oneshot_read() API, it showing every time as 4081.

After converting the raw to Voltage it is in 4000mV.

Suggest me how to read the Voltage Sensor raw data in esp32c6 adc driver for getting the voltage measurement for 230V AC.

Thank you.

@espressif-bot espressif-bot added the Status: Opened Issue is new label May 16, 2024
@github-actions github-actions bot changed the title ESP32C6 - ADC Measuring 230V from Voltage Sensor ESP32C6 - ADC Measuring 230V from Voltage Sensor (IDFGH-12828) May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Opened Issue is new
Projects
None yet
Development

No branches or pull requests

2 participants