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

RESET button doesn't work, gets stuck pressed #1

Open
xylo04 opened this issue Jan 8, 2024 · 1 comment
Open

RESET button doesn't work, gets stuck pressed #1

xylo04 opened this issue Jan 8, 2024 · 1 comment

Comments

@xylo04
Copy link
Member

xylo04 commented Jan 8, 2024

In the current board layout, the WiFi reset button is connected to the ESP8266 GPIO 16 on one side, and through a 10k ohm resistor to GND on the other. The ESP8266 supports a digital pin mode called INPUT_PULLUP on GPIOs 0-15, and INPUT_PULLDOWN_16 on GPIO 16. The circuit as-is causes GPIO 16 to float and always register LOW after the button is pressed.

@xylo04
Copy link
Member Author

xylo04 commented Jan 8, 2024

We've pretty much used up the available GPIOs on the ESP8266. Maybe we can still use GPIO 16 but change R5 from a pull-down to a pull-up? Then we can use the INPUT_PULLDOWN_16 mode.

Breadboard testing suggests this will work. Change R5 to be connected to 3v3 instead of GND, put GPIO 16 in INPUT_PULLDOWN_16 mode, then check for when it goes HIGH.

@xylo04 xylo04 changed the title GPIO 16 isn't appropriate for RESET button RESET button doesn't work, gets stuck pressed Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant