The circuit below shows an Access control system using AT89C51. It is a simple project anybody can make this project in a Bread Board or in 8051-demo board
Requirement
8051 Compiler (Keil Demo Version ) http://www.keil.com/
89C51 Programmer
Components as per the circuit
I have both C code and ASM code for the same project. need 7 pages to publish the Code .any body interest in this project please feel free to mail me(jeggu4e@gmail.com) for the code
Circuit Description:
The Microcontroler and the motor control circuit is the major unit of this circuits
You can connect any thing at the output of relay here I use a Bi-directional motor . for door closing and open system. The motor reverse and forward time is depending the door open close timing. Also once the cycle is over the motor is automatically turn off .The MOSFET IRD024 control the motor supply .The mosfet Gate is connected to the Controller with current limiting resistor R8(47E)
The Security key is used for Reset the unit and also in case the user enter wrong password more than 5 times the unit will automatically jammed. If their an emergency to reset the unit. Just press the security key .The unit will restart again with a new password (Default Password) Only the admin know the default password
Main Circuit
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgv94iYJR7PhzsuX2ReEGzw9J58p4ijx_DkQdSzDBtU9UVPCub8m8sll28a2oIA21i6Ttiy8tOaJf3T3h0f5UtQ1cDzLTuzPB-CKKm-s5QcVWqJem2dvk2RT3ZMawDuMIlpC099bkM90oY/s400/Acess1.bmp)
key board
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjG_tRNDOnacUdkghyL54FvnrfMKufAMYwtJIbe1alDvpPg9yABaG1GKODObE2hzjaS13dkLW_j46NbEOCNu7RllQa5u9CFHhISC0bZWMHNEp_NkIywu8vFcl_fSED8wf9LDPlbpqMHkpM/s320/keybrd.bmp)
The Motor and Door Assembly
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8j5JfQLi4U-9Cs7FfZ4GRIWRvbWpNtN4F1BtxrJhSo9HZIk9zJl1EUCmutUbGWr4b0_DZl1ujJYYQP406QRjL7XHPSi771NM1igUew2abk7FgFY-m9-bEZbHnIM9ezTAv26-AeF_7sdw/s320/door_locking.bmp)