You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a 12V solenoid lock. Adapter is 5V (tried 12V, but it made the lock hotter) to power the lock and relay.
For ESP32, I am using an USB power.
The objective is to unlock the magneticlock for 10 seconds when the button is pressed. After so many iterations, when I press the button, the Relay is able to get the inputs.
But the Solenoid lock is always in Locked status. Not sure where the problem is. Is the because ESP32 is 3.3v and the power is 5v?
From 5V adapter:
+ve to the lock
-ve to the COM of Relay
Lock to NC of Relay.
Relay:
GPIO 27 is connected to VIN
GND to GND
5V to IN
Kindly help.
The text was updated successfully, but these errors were encountered:
I tried the electromagnetic lock for my kid's school project.
https://esp32io.com/tutorials/esp32-button-controls-electromagnetic-lock
I am using a 12V solenoid lock. Adapter is 5V (tried 12V, but it made the lock hotter) to power the lock and relay.
For ESP32, I am using an USB power.
The objective is to unlock the magneticlock for 10 seconds when the button is pressed. After so many iterations, when I press the button, the Relay is able to get the inputs.
But the Solenoid lock is always in Locked status. Not sure where the problem is. Is the because ESP32 is 3.3v and the power is 5v?
From 5V adapter:
+ve to the lock
-ve to the COM of Relay
Lock to NC of Relay.
Relay:
GPIO 27 is connected to VIN
GND to GND
5V to IN
Kindly help.
The text was updated successfully, but these errors were encountered: