Group 6

PASSWORD DOOR LOCKING


GROUP LEADER : Muhamad Amir Hamzah Ahmad Zamri
PROJECT MANAGER : Adilah Safwanah Azmi
MEMBERS :
1) Nurul Shahima Ibrahim
2) Nurfarahin Ishak
3) Nurul Ain Abu Bakar
4) Liyana Zakaria
5) Noor Asyikin Husin





* Selepas mendapat komen dari pensyarah *



DISOLDERING



CONNECTING RELAY TO PORT 1




PROTOTYPE OF GATE





 
 
INTRODUCTION
žSecurity is prime concern in our day-to-day life. Every one wants to be as much as secure as to be possible. 
An access control systems forms a vital link in a security chain. The microcontroller based digital lock presented here is an access  control system that allows only authorized persons to access a restricted area.
 
Door locking is function when switch is on (interrupt 1) at the port 1.0. 
The door will open(forward) when switch is push.
 
LIST OF COMPONENTS 
 
-Motor
-IC AT89S52
-Crystal
-Resistor
-Capacitor
 
BLOCK DIAGRAM
 

DESCRIPTION OF MICROCONTROLLER


A microcontroller is a single chip that contains the processor (the CPU), non-volatile memory for the program (ROM or flash), volatile memory for input and output (RAM), a clock and an I/O control unit. Also called a "computer on a chip," billions of microcontroller units (MCUs) are embedded each year in a myriad of products from toys to appliances to automobiles.

 IC AT89S52

The AT89S52 is a low-power, high-performance CMOS 8-bit microcontroller with 8K bytes of in-system programmable Flash memory. The device is manufactured using Atmel’s high-density nonvolatile memory technology and is compatible with the industry-standard 80C51 instruction set and pin out. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with in-system programmable Flash on a monolithic chip, the Atmel AT89S52 is a powerful microcontroller, which provides a highly flexible and cost-effective solution to many, embedded control applications. The AT89S52 provides the following standard features: 8K bytes of Flash, 256 bytes of RAM, 32 I/O lines, Watchdog timer, two data pointers, three 16-bit timer/counters, a six-vector two-level interrupt architecture, a full duplex serial port, on-chip oscillator, and clock circuitry. In addition, the AT89S52 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port, and interrupt system to continue functioning. The Power-down mode saves the RAM con-tents but freezes the oscillator, disabling all other chip functions until the next interrupt.

RELAY DIAGRAM



CONTROL CODE



FLOWCHART