SlideShare a Scribd company logo
1 of 3
Download to read offline
Microcontroller based Password Protected Home
Appliance
Authors Name Authors Name
Abhiraj Datta Saurabh Das
Arnab Debnath Suman Kalyan
Ronit Mondal Susmit Sarkar
Department of Electronics & Communication Engineering
Neotia Institute of Technology, Management & Science
Abstract— The microcontroller based digital lock is an access
control system that allows only authorized persons to access any
restricted division. The major components include a keypad,
LCD, EEPROM and the micro controller ATmega8A-PU which
belongs to the 8159 8-bit series of microcontrollers. The
electronic control assembly allows the system to unlock the device
with a password. A four digit predefined password needs to be
specified the user. A 4x4 matrix KEYPAD and a 16x2 LCD has
been used here to set the password which is stored in the
EEPROM so that we can change it at any time. While unlocking,
if the entered password from keypad matches with the stored
password, then the lock opens and a message is displayed on
LCD. Also an output pin is made high to be used for further
purpose. As the program starts, string ‘Enter Password’ is
displayed on LCD. If all the four digits match with set password,
LCD displays ‘password is correct’ and the lock output pin goes
high and the led glows. If the security code is wrong, ‘Wrong
Password’ is sent to be displayed on LCD and the buzzer rings
which is connected to the microcontroller.
I. INTRODUCTION
Security is a prime concern in our day-to-day life. Everyone
wants to be as much secure as possible. An access control for
appliances forms a vital link in a security chain. The
Microcontroller Based Password Protected Home Appliance is
an access control system that allows only authorized persons to
access an appliance. The system is fully controlled by the 8 bit
microcontroller ATmega8. There is a Keypad by which the
password can be entered through it. When they entered
password matches with the password stored in the memory
then we get access to the appliance.
II. BASIC BLOCK DIAGRAM
III. CIRCUIT EXPLANATION
The Main Part of the above Circuit diagram is the
Microcontroller ATmega8. The Keypad is the input device
and it is connected in a matrix format so that the numbers of
ports needed are reduced. The Microcontroller reads a four-
digit password through the Keypad. Then the Microcontroller
compares the four digit password with the number which is
pre-programmed and if it is equal then the Microcontroller
will switch on the motor for the appliance. The Password is
stored in the EEPROM and the password can be changed at
any time using the same keypad. The power supply section is
the important one. It should deliver constant output regulated
power supply 5V for successful working of the project. A 0-
12V/500 mA transformer is used for our purpose. The primary
of this transformer is connected in to main supply through
on/off switch & fuse for protecting from overload and short
circuit protection. The secondary is connected to the diodes
convert from 12V AC to 12V DC voltage which is further
regulated to +5v, by using IC 7805.
IV. HARDWARE DESIGN
 Microcontroller ATmega8A-PU
 LCD Display
 Relay Interface
 Buzzer
A. Microcontroller ATmega8A-PU
 High-performance, Low-power consumption with
Advanced RISC Architecture.
 High Endurance Non-volatile Memory segments.
a. 8KBytes of In-System Self-programmable Flash
program memory.
b.512Bytes EEPROM.
c. 1KByte Internal SRAM.
 Operating Voltages
a. 2.7 - 5.5V
b. 0 - 16MHz
 Power Consumption at 4MHz, 3V, 25°C
a. Active: 3.6mA
b.Idle Mode: 1.0mA
c. Power-down Mode: 0.5μA.
 Internal Calibrated RC Oscillator.
B. LCD display
The dot-matrix liquid crystal display controller and driver LSI
displays alphanumeric, characters, and symbols. It can be
configured to drive a dot-matrix liquid crystal display under the
control of a 4 or 8-bit microprocessor. Since all the functions
such as display RAM, character generator, and liquid crystal
driver, required for driving a dot-matrix liquid crystal display
are internally provided on one chip, a minimal system can be
interfaced with this controller/driver. A single HD44780U can
display up to two 8-character lines (16 x 2).A 16 x 2 line LCD
module to display user information. Micro controller send the
data signals through pin 11 through 18(RC0-RC3) and control
signal through 4,6 and 7 of the micro controller. Pin no 3 of the
LCD is used to control the contrast by using preset PR1.

C. Relay Interface
A single pole dabble throw (SPDT) relay is connected to
port RB1 of the microcontroller through a driver
transistor. The relay requires 12 volts at a current of
around 100ma, which cannot provide by the micro-
controller. So the driver transistor is added. The relay is
used to operate the external solenoid forming part of a
locking device or for operating any other electrical
devices. Normally the relay remains off. As soon as pin
of the microcontroller goes high, the relay operates.
When the relay operates and releases. Diode D2 is the
standard diode on a mechanical relay to prevent back
EMF from damaging Q3 when the relay releases. LED
L2 indicates relay on.
D. Buzzer
A buzzer connected to port RB0 of the micro controller
through a driver transistor. The buzzer requires 12 volts at
a current of around 50ma, which cannot provided by the
micro controller. So the driver transistor is added. The
buzzer is used to audible indication for valid user and error
situation and alarm mode. As soon as pin of the micro
controller goes high, the buzzer operates.
E. Keypad Interfacing
At the lowest level, keyboards are organized in a matrix of
rows and columns. The microcontroller accesses both rows and
column through ports; therefore, with two 8-bit ports, an 4*3
matrix of keys can be connected to a microprocessor. When a
key pressed, a row and column make a connect; otherwise,
there is no connection between row and column. In our project
the function of programs stored in the EEPROM of
microcontroller to scan the keys continuously, identify which
one has been activated, and present it to the microcontroller. In
this section we look at the mechanism by which the ATmega8
scans and identifies the key.
V. Abbreviations and Acronyms:
 EEPROM-Electrically Erasable Programmable Read
Only Memory.
 LCD- Liquid Crystal Display.
 RISC- Reduced instruction set computing.
 LED- Light Emitting Diode.
 SRAM- Static Random Access Memory.
VI. Acknowledgment
We are using this opportunity to express our gratitude to
everyone who supported us throughout the course of this
B.Tech final year project. We are thankful for their aspiring
guidance, invaluably constructive criticism and friendly advice
during the project work. We are sincerely grateful to them for
sharing their truthful and illuminating views on a number of
issues related to the project. We express our warm thanks to
our project mentors Prof. Biplob Roy and Prof. Amrita Saha
for their support and guidance at NITMAS.
VII. REFERENCES
1) Programming in ANSI C: E Balaguruswamy.
2) The 8051microcontroller & embedded systems: Muhammad Ali
Mazidi and Janice Gillispie Mazidi.
3) www.atmel.com
4) www.scientech.bz

More Related Content

What's hot

Electronic code lock device
Electronic code lock deviceElectronic code lock device
Electronic code lock device
Amitoj Kaur
 
electronic voting machine by rfid
electronic voting machine by rfidelectronic voting machine by rfid
electronic voting machine by rfid
Saurabh Uniyal
 
REPORT texto braillefinal
REPORT texto braillefinalREPORT texto braillefinal
REPORT texto braillefinal
ASWATHI K
 
Final Report11
Final Report11Final Report11
Final Report11
sonu kumar
 

What's hot (15)

Touchpad Monitored Car
Touchpad Monitored Car Touchpad Monitored Car
Touchpad Monitored Car
 
Bluetooth controlled robot
Bluetooth controlled robotBluetooth controlled robot
Bluetooth controlled robot
 
Electronic code lock device
Electronic code lock deviceElectronic code lock device
Electronic code lock device
 
Password based door locksystem
Password  based door locksystemPassword  based door locksystem
Password based door locksystem
 
Password based wireless door opener security system
Password based wireless door opener security systemPassword based wireless door opener security system
Password based wireless door opener security system
 
electronic voting machine by rfid
electronic voting machine by rfidelectronic voting machine by rfid
electronic voting machine by rfid
 
REPORT texto braillefinal
REPORT texto braillefinalREPORT texto braillefinal
REPORT texto braillefinal
 
7 segment led interfacing with 8051
7 segment led interfacing with 80517 segment led interfacing with 8051
7 segment led interfacing with 8051
 
Final Report11
Final Report11Final Report11
Final Report11
 
Electronic voting machine using mcu 89s52
Electronic voting machine using mcu 89s52Electronic voting machine using mcu 89s52
Electronic voting machine using mcu 89s52
 
Bluetooth controlled robot
Bluetooth controlled robotBluetooth controlled robot
Bluetooth controlled robot
 
Alcohol Sensing Alert with Engine Locking Project
Alcohol Sensing Alert with Engine Locking Project Alcohol Sensing Alert with Engine Locking Project
Alcohol Sensing Alert with Engine Locking Project
 
Robo wireless controll
Robo wireless controllRobo wireless controll
Robo wireless controll
 
moving message display of lcd
 moving message display of lcd moving message display of lcd
moving message display of lcd
 
PETROL BUNK AUTOMATION WITH PREPAID CARDS & GSM COMMUNICATION
PETROL BUNK AUTOMATION WITH  PREPAID CARDS & GSM COMMUNICATIONPETROL BUNK AUTOMATION WITH  PREPAID CARDS & GSM COMMUNICATION
PETROL BUNK AUTOMATION WITH PREPAID CARDS & GSM COMMUNICATION
 

Viewers also liked (9)

Basic standard calculator
Basic standard calculatorBasic standard calculator
Basic standard calculator
 
Final PSR_Jeff
Final PSR_JeffFinal PSR_Jeff
Final PSR_Jeff
 
Portfolio
PortfolioPortfolio
Portfolio
 
Cách Giảm Béo Nhanh Chóng
Cách Giảm Béo Nhanh ChóngCách Giảm Béo Nhanh Chóng
Cách Giảm Béo Nhanh Chóng
 
Pedagogia nuevo-1
Pedagogia nuevo-1Pedagogia nuevo-1
Pedagogia nuevo-1
 
Pedagogia vocabulario
Pedagogia vocabularioPedagogia vocabulario
Pedagogia vocabulario
 
documento pedagogia
documento pedagogiadocumento pedagogia
documento pedagogia
 
Sílabo materia pedagogía patricio tobar
Sílabo materia pedagogía patricio tobarSílabo materia pedagogía patricio tobar
Sílabo materia pedagogía patricio tobar
 
Spain, typical food
Spain, typical foodSpain, typical food
Spain, typical food
 

Similar to ATmega8 based password controlled home appliance

Rajitha priya(wk 413)
Rajitha priya(wk 413)Rajitha priya(wk 413)
Rajitha priya(wk 413)
ammu59
 
[Project report]digital speedometer with password enabled speed controlling(1...
[Project report]digital speedometer with password enabled speed controlling(1...[Project report]digital speedometer with password enabled speed controlling(1...
[Project report]digital speedometer with password enabled speed controlling(1...
Shivam Patel
 
Paper id 36201529
Paper id 36201529Paper id 36201529
Paper id 36201529
IJRAT
 
Micro Controller 8051 of Speedo Meter using KEIL Code
Micro Controller 8051 of Speedo Meter using KEIL CodeMicro Controller 8051 of Speedo Meter using KEIL Code
Micro Controller 8051 of Speedo Meter using KEIL Code
Sunil Kumar R
 

Similar to ATmega8 based password controlled home appliance (20)

Rajitha priya(wk 413)
Rajitha priya(wk 413)Rajitha priya(wk 413)
Rajitha priya(wk 413)
 
Digital abstract
Digital abstractDigital abstract
Digital abstract
 
Coin based mobile charger project report
Coin based mobile charger project reportCoin based mobile charger project report
Coin based mobile charger project report
 
[Project report]digital speedometer with password enabled speed controlling(1...
[Project report]digital speedometer with password enabled speed controlling(1...[Project report]digital speedometer with password enabled speed controlling(1...
[Project report]digital speedometer with password enabled speed controlling(1...
 
A15 prepaid-energy-meter
A15 prepaid-energy-meterA15 prepaid-energy-meter
A15 prepaid-energy-meter
 
Paper id 36201529
Paper id 36201529Paper id 36201529
Paper id 36201529
 
PETROL BUNK AUTOMATION WITH PREPAID CARDS & GSM COMMUNICATION
PETROL BUNK AUTOMATION WITH PREPAID CARDS & GSM COMMUNICATIONPETROL BUNK AUTOMATION WITH PREPAID CARDS & GSM COMMUNICATION
PETROL BUNK AUTOMATION WITH PREPAID CARDS & GSM COMMUNICATION
 
Report on Embedded Based Home security system
Report on Embedded Based Home security systemReport on Embedded Based Home security system
Report on Embedded Based Home security system
 
Technical seminar project stalin babu m 116_f1a0471
Technical seminar project stalin babu m 116_f1a0471Technical seminar project stalin babu m 116_f1a0471
Technical seminar project stalin babu m 116_f1a0471
 
Final Presentation
Final PresentationFinal Presentation
Final Presentation
 
Touchpad Monitored Car
Touchpad Monitored CarTouchpad Monitored Car
Touchpad Monitored Car
 
Micro Controller 8051 of Speedo Meter using KEIL Code
Micro Controller 8051 of Speedo Meter using KEIL CodeMicro Controller 8051 of Speedo Meter using KEIL Code
Micro Controller 8051 of Speedo Meter using KEIL Code
 
Boimetric using 8051
Boimetric  using 8051 Boimetric  using 8051
Boimetric using 8051
 
89s52 2
89s52 289s52 2
89s52 2
 
Gesture based vehicle movements control and alerting system docu
Gesture based vehicle movements control and alerting system docuGesture based vehicle movements control and alerting system docu
Gesture based vehicle movements control and alerting system docu
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
 
Microcontroller based digital code lock report 2
Microcontroller based digital code lock report 2Microcontroller based digital code lock report 2
Microcontroller based digital code lock report 2
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
 

Recently uploaded

Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 

ATmega8 based password controlled home appliance

  • 1. Microcontroller based Password Protected Home Appliance Authors Name Authors Name Abhiraj Datta Saurabh Das Arnab Debnath Suman Kalyan Ronit Mondal Susmit Sarkar Department of Electronics & Communication Engineering Neotia Institute of Technology, Management & Science Abstract— The microcontroller based digital lock is an access control system that allows only authorized persons to access any restricted division. The major components include a keypad, LCD, EEPROM and the micro controller ATmega8A-PU which belongs to the 8159 8-bit series of microcontrollers. The electronic control assembly allows the system to unlock the device with a password. A four digit predefined password needs to be specified the user. A 4x4 matrix KEYPAD and a 16x2 LCD has been used here to set the password which is stored in the EEPROM so that we can change it at any time. While unlocking, if the entered password from keypad matches with the stored password, then the lock opens and a message is displayed on LCD. Also an output pin is made high to be used for further purpose. As the program starts, string ‘Enter Password’ is displayed on LCD. If all the four digits match with set password, LCD displays ‘password is correct’ and the lock output pin goes high and the led glows. If the security code is wrong, ‘Wrong Password’ is sent to be displayed on LCD and the buzzer rings which is connected to the microcontroller. I. INTRODUCTION Security is a prime concern in our day-to-day life. Everyone wants to be as much secure as possible. An access control for appliances forms a vital link in a security chain. The Microcontroller Based Password Protected Home Appliance is an access control system that allows only authorized persons to access an appliance. The system is fully controlled by the 8 bit microcontroller ATmega8. There is a Keypad by which the password can be entered through it. When they entered password matches with the password stored in the memory then we get access to the appliance. II. BASIC BLOCK DIAGRAM III. CIRCUIT EXPLANATION The Main Part of the above Circuit diagram is the Microcontroller ATmega8. The Keypad is the input device and it is connected in a matrix format so that the numbers of ports needed are reduced. The Microcontroller reads a four- digit password through the Keypad. Then the Microcontroller compares the four digit password with the number which is pre-programmed and if it is equal then the Microcontroller will switch on the motor for the appliance. The Password is stored in the EEPROM and the password can be changed at any time using the same keypad. The power supply section is the important one. It should deliver constant output regulated power supply 5V for successful working of the project. A 0- 12V/500 mA transformer is used for our purpose. The primary of this transformer is connected in to main supply through on/off switch & fuse for protecting from overload and short circuit protection. The secondary is connected to the diodes convert from 12V AC to 12V DC voltage which is further regulated to +5v, by using IC 7805.
  • 2. IV. HARDWARE DESIGN  Microcontroller ATmega8A-PU  LCD Display  Relay Interface  Buzzer A. Microcontroller ATmega8A-PU  High-performance, Low-power consumption with Advanced RISC Architecture.  High Endurance Non-volatile Memory segments. a. 8KBytes of In-System Self-programmable Flash program memory. b.512Bytes EEPROM. c. 1KByte Internal SRAM.  Operating Voltages a. 2.7 - 5.5V b. 0 - 16MHz  Power Consumption at 4MHz, 3V, 25°C a. Active: 3.6mA b.Idle Mode: 1.0mA c. Power-down Mode: 0.5μA.  Internal Calibrated RC Oscillator. B. LCD display The dot-matrix liquid crystal display controller and driver LSI displays alphanumeric, characters, and symbols. It can be configured to drive a dot-matrix liquid crystal display under the control of a 4 or 8-bit microprocessor. Since all the functions such as display RAM, character generator, and liquid crystal driver, required for driving a dot-matrix liquid crystal display are internally provided on one chip, a minimal system can be interfaced with this controller/driver. A single HD44780U can display up to two 8-character lines (16 x 2).A 16 x 2 line LCD module to display user information. Micro controller send the data signals through pin 11 through 18(RC0-RC3) and control signal through 4,6 and 7 of the micro controller. Pin no 3 of the LCD is used to control the contrast by using preset PR1.  C. Relay Interface A single pole dabble throw (SPDT) relay is connected to port RB1 of the microcontroller through a driver transistor. The relay requires 12 volts at a current of around 100ma, which cannot provide by the micro- controller. So the driver transistor is added. The relay is used to operate the external solenoid forming part of a locking device or for operating any other electrical devices. Normally the relay remains off. As soon as pin of the microcontroller goes high, the relay operates. When the relay operates and releases. Diode D2 is the standard diode on a mechanical relay to prevent back EMF from damaging Q3 when the relay releases. LED L2 indicates relay on. D. Buzzer A buzzer connected to port RB0 of the micro controller through a driver transistor. The buzzer requires 12 volts at a current of around 50ma, which cannot provided by the micro controller. So the driver transistor is added. The buzzer is used to audible indication for valid user and error situation and alarm mode. As soon as pin of the micro controller goes high, the buzzer operates.
  • 3. E. Keypad Interfacing At the lowest level, keyboards are organized in a matrix of rows and columns. The microcontroller accesses both rows and column through ports; therefore, with two 8-bit ports, an 4*3 matrix of keys can be connected to a microprocessor. When a key pressed, a row and column make a connect; otherwise, there is no connection between row and column. In our project the function of programs stored in the EEPROM of microcontroller to scan the keys continuously, identify which one has been activated, and present it to the microcontroller. In this section we look at the mechanism by which the ATmega8 scans and identifies the key. V. Abbreviations and Acronyms:  EEPROM-Electrically Erasable Programmable Read Only Memory.  LCD- Liquid Crystal Display.  RISC- Reduced instruction set computing.  LED- Light Emitting Diode.  SRAM- Static Random Access Memory. VI. Acknowledgment We are using this opportunity to express our gratitude to everyone who supported us throughout the course of this B.Tech final year project. We are thankful for their aspiring guidance, invaluably constructive criticism and friendly advice during the project work. We are sincerely grateful to them for sharing their truthful and illuminating views on a number of issues related to the project. We express our warm thanks to our project mentors Prof. Biplob Roy and Prof. Amrita Saha for their support and guidance at NITMAS. VII. REFERENCES 1) Programming in ANSI C: E Balaguruswamy. 2) The 8051microcontroller & embedded systems: Muhammad Ali Mazidi and Janice Gillispie Mazidi. 3) www.atmel.com 4) www.scientech.bz