-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
analogRead not working on pins 37,38 (ESP32 Thing) #397
Comments
These pins connects some 270pF capacitors which determinate the gain of internal Low Noise Amplifier, I think most boards don't expose GPIO37 and 38 for this reason. Here you can see some details about it: https://espressif.com/sites/default/files/documentation/esp32_hardware_design_guidelines_en.pdf session 3.1.6 http://espressif.com/sites/default/files/documentation/esp32_technical_reference_manual_en.pdf 25.4 Low-Noise Amplifier |
@miguelgg have you found any solution to read from this pins. I am facing the same issue. |
@Akskaypohankar nop, sorry, if you finally can find it, share please. |
i am currently reading about esp_err_t adc1_config_channel_atten(adc1_channel_t channel, adc_atten_t atten) looks like something related let's see if it helps. |
@miguelgg I found some solution to this problem try this code it is working for me on both gpio 37 and 38. let me know if you try it. |
Fixed on #822 =) |
Hi Pylorak, thanks for the update! Then the only way is using an external converter. Personnaly I added HX711, a good chip for low cost. |
Hi all
I'm trying to read pins 37 and 38 but always return 0. Other pins like 36, 39 are fully accesible.
Please, can you give some help?
Thanks in advance.
The text was updated successfully, but these errors were encountered: