GPIO16 has a PullDown, but does not have PullUp
GPIO16 has a PullDown, but does not have PullUp
Explore... Chat... Share...
lethe wrote:Markus Gritsch wrote:BTW, my intention of using pull-down is to be able to connect a switch to GPIO0 or GPIO2 of an ESP-01 board.
I don't get your need for a pulldown here. Just connect a resistor from VCC to the GPIO and a button from the GPIO to GND.
lethe wrote:I don't get your need for a pulldown here. Just connect a resistor from VCC to the GPIO and a button from the GPIO to GND.In your scenario, the external resistor isn't even needed: The same could be achieved with the internal pull-up. The problem with this configuration is, that if the switch is closed and a power cycle happens, the ESP is starting up in flash-mode, and not executing the user code anymore. Not very reliable.
lethe wrote:What's the issue with having it read 1 in open state?As said, the problem is pulling the GPIO to 0 in closed state during power up.
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]