Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

esp32 feather output as NC with set delay and return to NO
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

esp32 feather output as NC with set delay and return to NO

by hutchproraider1 on Mon Jul 13, 2020 11:31 pm

Good afternoon,

i just got a esp32 huzzah Feather and I know pin 12 is used as output only ,

my question is can pin 12 or which other pin be used as an output to simulate a Normaly open to Normaly closed and with a delay 1 second to be able to connect via web to trigger a circuit by being normally open until I click on code similar to on or off lamp but with my computer on the 192.168.4.1 to make it normally closed for 1 second before it goes back Automatically to Normaly open with out clicking anything else ,
so what I'm trying to do is click once via web to make a (Normally open) to change to (normally closed) for 1 second and then make go back to Normally open automatically within a set time 1 second , so every time I click via web it goes from NO to NC for 1 second and back NO which activates another circuit.

Thanks a lot ,any help is greatly appreciated

hutchproraider1
 
Posts: 2
Joined: Mon Jul 13, 2020 11:05 pm

Re: esp32 feather output as NC with set delay and return t

by brubell on Wed Jul 15, 2020 11:56 am

You may want to try a different GPIO pin which isn't output only like pin 14 or pin 15

brubell
 
Posts: 988
Joined: Fri Jul 17, 2015 10:33 pm

Re: esp32 feather output as NC with set delay and return t

by hutchproraider1 on Wed Jul 15, 2020 10:33 pm

Thank you , Brubell for the quick response

Do you know if there is link I can go to see other similar projects with the esp32 ? so I can take a look at the code

using pin 14 or 15 using web configuring No to NC and back to NO

Kind regards.

hutchproraider1
 
Posts: 2
Joined: Mon Jul 13, 2020 11:05 pm

Re: esp32 feather output as NC with set delay and return t

by brubell on Fri Jul 17, 2020 9:55 am

Not that I know of off-hand, sorry

brubell
 
Posts: 988
Joined: Fri Jul 17, 2015 10:33 pm

Please be positive and constructive with your questions and comments.