Latching button to reset deepsSleep?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
TarjeiB
New user
Posts: 2
Joined: 17 Nov 2018, 11:21

Latching button to reset deepsSleep?

#1 Post by TarjeiB » 17 Nov 2018, 11:28

Hi!
I'm doing a project that is really starved on GPIO, so I need to use GPIO16 for both deep sleep reset and for sensing if it's high or low based on a latching button.
I made this circuit based on random components and stuff I found on the internet, and it works if I replace the left 3.3v source with a 5v source, but I obviously don't want to do that, both for the capacitor's sake and the ESP's sake.

Can someone help me point out what I need to do to make this work? It's currently working for wakeup when the switch is pressed (and kept) down (GPIO16 low), but it's not registering a return to HIGH status if I release the button.
Screenshot 2018-11-17 at 09.29.31.png
Screenshot 2018-11-17 at 09.29.31.png (40.51 KiB) Viewed 1916 times
PS. I'd like to point out that I'm very new at this, making these circuits up as I go, and that I have no idea what values to use for resistors and such.

TarjeiB
New user
Posts: 2
Joined: 17 Nov 2018, 11:21

Re: Latching button to reset deepsSleep?

#2 Post by TarjeiB » 17 Nov 2018, 13:28

Ok, so my actual circuit had a bug. The drawing works!
However, could someone tell me if it's safe? I'm worried about overloading the RST-pin.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Latching button to reset deepsSleep?

#3 Post by grovkillen » 17 Nov 2018, 13:32

3.3V is safe, some say even 5V is safe.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests