Hi all,
I'm knew here and kinda new on ESP IoT stuff. I built a pipeline with an esp8266 wired to a reed switch that send an http request to the esp32 cyd in case the door opens.
Now I'm wondering, is it possible to directly connect the esp32 cyd to a reed switch?
Thanks a lot for any help
ESP32-2432S028R (cyd) + reed switch
-
- Posts: 1724
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: ESP32-2432S028R (cyd) + reed switch
Should be possible. There seem to be a few GPIO pins available: https://randomnerdtutorials.com/esp32-c ... lable-pins
Re: ESP32-2432S028R (cyd) + reed switch
Thanks a lot. Yesterday I got my ESP32 cyd and tested on CN1 using GPIO22 and GND. Working fine.
Is it ok to use just ground and a pin with a reed switch or I will have problems?
Thanks again
Is it ok to use just ground and a pin with a reed switch or I will have problems?
Thanks again
-
- Posts: 1724
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: ESP32-2432S028R (cyd) + reed switch
No problems there. Set the pin as input, enable the internal pull up resistor, and you're good.
Re: ESP32-2432S028R (cyd) + reed switch
Perfect, thanks a lot
Who is online
Users browsing this forum: cdollar and 50 guests