ESP8266 GPIO pins and pull-down configuration

Hi, I have configured pin D1 and D2 as input to detect 3.3voltage connected to these Pins,
So my expectation is, when i read pin it should return HIGH if and only if wire connected to Pin is 3.3v, but it remain either low or high.
How to add external PULL_DOWN to these pins, i tried 10k and 4.7k but did not help.

I moved your topic to a more appropriate forum category @mrnams.

The Nano ESP32 category you chose is only used for discussions directly related to the Arduino Nano ESP32 board.

In the future, please take the time to pick the forum category that best suits the subject of your question. There is an "About the _____ category" topic at the top of each category that explains its purpose.

Thanks in advance for your cooperation.

Is this the 3.3V from the ESP8266?
Which ESP8266 device kit are you using?

Maybe it's your sketch.
Maybe it's the GPIO_# vs D_# thing.

1 Like

Thank you all, its board issue, it worked on other ESP8266

Glad you figured it out
Have a nice day

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.