Pass Word Based Embedded System
Pass Word Based Embedded System
ABSTRACT
Security is a prime concern in our day-to-day life. Everyone wants to be as much
secure as possible. An access control for any appliances forms a vital link in a
security chain. The microcontroller based light is an access control system that
allows only authorized persons to access restricted devices. Present project deals
with the activation of the power supply of an electric bulb. The system is fully
controlled by the 8 bit microcontroller P89V51RD2 which has a flash for the
program memory. The password is stored in the flash memory. The system has a
Keypad by which the password can be entered through it. The user entered
password is compared with the password in the flash memory. When the entered
password matches with the password stored in the memory then the relay gets
activated, LCD displays as ACCESS GRANTED and the bulb glows. If the
password entered is wrong then the LCD displays that ACCESS DENIED. The
same password is then used to off the bulb. The system uses 16*2 alphanumeric
LCD that displays the password in a secure way entered using the keypad of 4*3
push button switches. The total circuit enhances the user to provide a secured
operation. The application can be used with various appliances like door lock
system, alarm systems etc. The security provides an advance feature for the present
home automation industry.
INTRODUCTION
There are now a days in the market many different types of Home Automation
Systems that provides many appliances to users which make them comfortable.
The main goal of the project is to develop a very-low cost and small electronic
system that provides security to the home appliances. The appliance can be light
bulb, door lock system or alarming system. The Password Controller Based
Lighting mainly consists of a mother board circuit that has P89V51RD2
microcontroller, MAX 232 IC and LCD display. The circuit board also connects
components such as 4 x 3 Keypad, Relay, ULN 2003 IC and a Regulated Power
Supply. The microcontroller has a 64kB of on-chip flash memory and 1024B of
RAM. The microcontroller is programmed such that the LCD displays to enter the
password which is accepted by the keypad. When this password matches with the
password that is entered by the user, the ULN 2003 IC makes the relay to activate
and thus the relay functions to switch the light.
SYSTEM DESCRIPTION
The system for the password controller has the following components:
1. P89V51RD2 Micro controller
2. MAX 232 IC
3. ULN 2003 IC
4. 16*2 alphanumeric LCD Display
5. 4 x 3 Keypad
6. 12 V Electromagnetic Relay
7. Regulated Power Supply
8. Adaptor
9. Wires and
10. Electric Bulb as appliance.
SYSTEM INSTALLATION
The microcontroller, MAX 232 IC, LCD display, resistors, capacitors and diodes
etc., are together soldered in a circuit board. The circuit is connected to the
computer through a serial interface and switched ON by an adaptor connected to
the mains. The microcontroller is programmed by software and the serial cable is
removed. The keypad is connected to the microcontroller of port 0.1 to 0.7. Ports
1.2 to 1.7 are used for the LCD display. The port 2.0 pin of microcontroller is
connected to 1 st pin of ULN 2003 IC. 8th pin of the ULN 2003 IC is grounded.
9th pin is supplied with 9V from Regulated Power Supply. The 16th pin of the
ULN 2003 IC is connected to the Relay. The relay has 5 pins in which 1 st pin is
connected to RPS for 12V power supply.2nd pin is grounded. One wire of the
Power supply and one wire from the bulb are joined together and the other two
wires are connected to remaining two pins. One pin is left unused.
SYSTEM OPERATION
Password Controller Based Lightening System is used for providing security to the
appliances. The sequence of operations given below shall be followed for operating
the system. 1. Switch ON the mains of the bulb, Regulated Power Supply, adapter
and switch in the circuit board. 2. The LCD display prompts to enter the Password.
Type in the password from the keypad provided with push button switches. 3. If the
password entered is correct LCD displays as ACCESS GRANTED and the relay
activates to glow the bulb. 4. If the password entered is not correct LCD displays
as ACCESS DENIED. 5. Enter the correct password which makes the bulb glow
and off. We can provide even a door lock in place of bulb. The operation follows
same as above.
SCHEMATIC DIAGRAM OF MOTHER BOARD
The schematic diagram of the Circuit Board is shown in two parts:
1. Main Circuit.
2. Power Supply Unit