connecting normally closed switch to an ESP-01

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
everwake
New user
Posts: 8
Joined: 25 Mar 2016, 15:56

connecting normally closed switch to an ESP-01

#1 Post by everwake » 27 Mar 2016, 15:31

Hmmm....both GPIO 1 and 2 needs to be up when booting, and as far as I can read there is no pull down function on ESP-1 ?

how does one connect a normally closed switch to it?

regards

asm7100
Normal user
Posts: 96
Joined: 13 Sep 2015, 21:45
Location: Denmark

Re: connecting normally closed switch to an ESP-01

#2 Post by asm7100 » 28 Mar 2016, 09:56

One RES to the input and the other end of the RES to GND, then one site of the switch to the RES(Input) and the other to 3V3.
5xESP-01 - 3xESP-12 - 2xESP-12E 3xRPIb+ - 1xBPIm1 - 3xACTi DOME - 7xACTi Indoor cam. Lot off cisco equ.

BertB
Normal user
Posts: 1049
Joined: 25 Apr 2015, 14:39

Re: connecting normally closed switch to an ESP-01

#3 Post by BertB » 28 Mar 2016, 12:12


everwake
New user
Posts: 8
Joined: 25 Mar 2016, 15:56

Re: connecting normally closed switch to an ESP-01

#4 Post by everwake » 28 Mar 2016, 14:41

but would that not cause the resistor to become a voltage divider combined with the pull up resistor that I understand is built-in to most GPIO on ESP8266 ?

does unclicking the "Pull up" in tasks disable the pull-up for the GPIO? or can I use "Pin mode x Select an optional boot state for this pin, either output low or high" to force GPIO 1&2 to be up until it has finished booting?

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 25 guests