Controlling Relay Board (ESP32 + Arduino Series)
HTML-код
- Опубликовано: 21 май 2020
- Relays allow you to control high-voltage devices like a light bulb or outlet. You can also use them to operate garage doors or curtain motors.
They are easy to connect & easy to control with an ESP32. Make a project to control the lights via WiFi? No problem for the ESP32!
⚡️Other videos in this series:
• ESP32 + Arduino
(Everything you need to know about programming the ESP32 by using the Arduino Framework)
🌍 Social
Twitter: / savjee
Facebook: / savjee
Blog: savjee.be
Become a Simply Explained member: / @simplyexplained - Наука
Quick, clear, and simple explanation. Thanks!
3:50 Always you have to connect the line (Live Wire ) to the switch (Relay) . Otherwise you have more chances of getting shocked because your body is connected to ground
Bonjour Merci pour ce tuto précis et clair.
Serait il possible d'avoir des conseils a partir d'un sensor de type ds18B20 j'enclenche un relais a partir d'une température qui passe en ON. Plusieurs tuto présente le changement de l'état du relais en off après une température atteinte. Je souhaiterais que la condition de changement d'état en off soit plutôt de type timer ( au bout de 5mn il revient a off par exemple ).
Merci beaucoup
how do you use voice commands to turn on the relay. I do not want to use a wake word or connect to voice assistant
Do you know about blynk iot??
Can you show esp32 program for it ?
yes it can
Just be sure to better recommend to control the gate of a simple N-Channel MOSFET to drive the current for the coil , together with a flyback diode. I know is more hassle but you can damage your ESP's gpio by drawing peaks of 100mA from a source that is just rated for 40mA , In this case it works because is not a continuous draw but as soon as you let it on for more time you will fry your micro, so for a long lasting activation you must include it. Cheers
Can you explain what you mean?
The relay board used already has a MOSFET or similar and diode on each relay. Only issue is that the relays used appear to be 5V relays for 5V arduino and it was connected 3.3V so they may not be reliable or relay may not switch?
Can I use without internet
Yes you can
whats the software?
How many relays can I control with single esp32 board?
almost 19 relays, check pinout in esp32