How to install it.
How to connect magnetic door lock.
Wiring diagram electromagnetic door lock em lock push button power supply 12v carane ngonek kunci magnet.
The magnetic lock should now be powered on and the metal bar should be locked into place.
It is very important that you consult with your fire marshall and verify your local laws before you even entertain the thought of installing a lock down type system.
The metal bar portion of the magnetic lock should be placed adjacent to the electromagnetic section.
Then connect the anode side of each led to a 330 ohm resistor.
In terms of actual installation instructions kisi has a helpful video here of a classic maglock installation.
When installing a magnetic lock you will need to drill holes in the wall and the door to screw in the lock itself and run wires through the wall to connect it to a permanent power source.
The other end of each resistor is connected to ground.
Connect cathode side of green led to pin 6 and cathode side of red led to pin 5 in the arduino uno.