Closed huishizhao closed 2 years ago
Connect them to PIN 12 (GPIO34) and and PIN 11 (GPIO35) is an option PIN 9 - 15 provides access to GPIO 32 - 39.
GPIO13 and GPIO15 are connected to a ADC channels, but they're on ADC2 which is shared by the wifi system, so when wifi is enabled you won't get any meaningful data from it. That's why ESPHome prevents access on those pins.
Hey there @esphome/core, mind taking a look at this issue as it has been labeled with an integration (adc
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
The problem
I have a ESP-WROOM-32 board with 30 GPIO pins, I checked the Pin out was same as ESP32-DOIT-DEVKIT-V1(30Pin), I would like to use GPIO13 and 15 to collect soil moisture, the config error to ESP32 doesn't support ADC on this pin.
I check all board configuration in ESPHOME, as document description, ADC GPIO only allows GPIO 32-39. How to use ESPHOME ADC on a ESP32 board with 30 GPIO Pins?
Which version of ESPHome has the issue?
2021.11.4
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2021.12.4
What platform are you using?
ESP32
Board
esp32doit-devkit-v1(30Pin)
Component causing the issue
adc
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response