Magnetic lock is enabled.
How to connect magnetic door lock.
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 magnetic lock should now be powered on and the metal bar should be locked into place.
The metal bar portion of the magnetic lock should be placed adjacent to the electromagnetic section.
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.
Then plug each power adapter into an electrical outlet or surge protector.
Connect cathode side of green led to pin 6 and cathode side of red led to pin 5 in the arduino uno.
Then connect the anode side of each led to a 330 ohm resistor.