ESP32 - Button Control Electromagnetic Lock
This tutorial instructs you how to use ESP32 with the button and electromagnetic lock. In detail, we will learn how to use the button to control electromagnetic lock without debouncing and with debouncing. Each time button is pressed, unlock the door for 10 seconds and then lock the door.
Hardware Used In This Tutorial
|1||×||ESP-WROOM-32 Dev Module|
|1||×||Micro USB Cable|
|1||×||12V Power Adapter|
|1||×||(Optional) DC Power Jack|
|1||×||(Optional) ESP32 Screw Terminal Adapter|
Or you can buy the following sensor kit:
|1||×||DIYables Sensor Kit 30 types, 69 units|
This image is created using Fritzing. Click to enlarge image
Making video is a time-consuming work. If the video tutorial is necessary for your learning, please let us know by subscribing to our YouTube channel , If the demand for video is high, we will make the video tutorial.