microcontroller for door access

B

Thread Starter

bohn

can you help me about programming in microcontroller?

i want to automate the door access by incorporating a magnetic lock circuit that will be triggered by microcontroller. My magnetic lock has 9V input. How to program this using the zilog MCU.

thanks in advance... :)
 
A

Amitabha Thakur

You have to program in such a way that when the "door open switch" is on, it will trigger one out put from the MCU output port. Connect that output to a relay. Use one relay contact and interrogate it with 9V supply to energize the magnetic lock. Choose the relay rating so that can accept the output voltage of the MCU (may be 5V). Programming will be very easy and statght forward (simple If - Then logic).

Amitabha Thakur
 
Top