89% found this document useful (9 votes)
13K views23 pages

Digital Locking System PPT Using Arduino (K)

This document describes the design and implementation of a digital code lock using an Arduino Uno. The lock uses a keypad for password input, LCD display to show messages, and a buzzer. It allows a user to set a password and will unlock if the correct password is entered, or trigger the buzzer for an incorrect try. The system is powered by batteries and is proposed for uses like securing doors, vehicles, and boxes requiring password access.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
Download as pptx, pdf, or txt
89% found this document useful (9 votes)
13K views23 pages

Digital Locking System PPT Using Arduino (K)

This document describes the design and implementation of a digital code lock using an Arduino Uno. The lock uses a keypad for password input, LCD display to show messages, and a buzzer. It allows a user to set a password and will unlock if the correct password is entered, or trigger the buzzer for an incorrect try. The system is powered by batteries and is proposed for uses like securing doors, vehicles, and boxes requiring password access.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1/ 23

By

Hari Kishore & Team


 INTRODUCTION
 BLOCK DIAGRAM
 CIRCUIT DIAGRAM
 COMPONENTS
 INTERFACING COMPONENTS
 WORKING
 ADVANTAGES
 APPLICATIONS
 CONCLUSION
 FUTURE SCOPE & REFERENCES
 Due to the advancements of the technology, there is increasing rate in crime, intruders, etc.
 Gadgets and locks need more attention to ensure a long lasting security for our lives and
properties.
 There is therefore the need for the use of other types of locks especially the use of Digital
Code Locks. Here we use a numeric password for locking.
 Less complicated components are used in the design of the circuit and less complicated
embedded software, i.e, C language in IDE is used to develop this project
 The total lock system mainly depends on Arduino Uno. In addition to it, we have a Keypad,
an LCD display and a Buzzer.
• Arduino Uno
• LCD Display
• Keypad
BUZZER • Buzzer
Hardware used:
 Arduino Uno
 LCD Display
 Keypad
 Buzzer
 Potentiometer
 Resistors
 Bread board
 Connecting wires (Jumper)
 9V Battery

Software used:
 Arduino Software (IDE) in C language
Arduino Uno
• The board has ATmega328 microcontroller.
• It has 32kb flash memory and 2kb of SRAM
and 1kb of EEPROM.
• It has 20 pins of which 6 are analog input
pins and 14 (6 pins provides PWM voltage
)are digital I/O pins.
• Input voltage is 6-20V and operating voltage
is 5V.
• We use pin 7 for 5V supply and pin 8 as
Ground, as most of the components work fine
with 5V.
LCD Display
• An LCD is an electronic display module which uses liquid crystal to produce a visible image.
• The display has 16 columns and 2 rows.
• Here, each character is displayed in a 5*7 pixel matrix.
• It is mainly used to display the output.
Keypad

• The 4*4 matrix membrane keypad is most


commonly used in projects.
• It follows a logical matrix where 16 keys
are divided into 2 groups as ROW keys
and COLUMN keys.
• They can be connected using 8 pins from
1 to 8.
Buzzer
• In our project, the buzzer is used for beep sound to indicate the wrong password.
• We use piezo buzzer, as it requires only 5V for its operation.
Interfacing Arduino to LCD display :
 The 16 pins of LCD is connected to different * interfacing library : <LiquidCrystal.h>
pins of the Arduino as shown.
 Pin 1(VEE), pin 5(RW), pin 16(GND) are
connected to the Ground of Arduino.
 Pin 3(Vo) to middle pin of potentiometer.
which is responsible for the contrast of LCD.
buzzer
 Pin 6(E) to pin 8 of Arduino, indicate valid
data in data pins. Pin 4(RS) to pin 9 used to
select register.
 Data pins 11, 12, 13, 14 to 7, 6, 5, 4 pins of
the Arduino. Pin 15 to VCC through 220 ohm
resistor to change backlight LED brightness.
Interfacing Keypad with Arduino :
• The matrix keypad used here follows an encoding method using 8
pins for 16 keys.
• The interfacing library used is : <Keypad.h>
• Pin 8 to Pin 3 is connected to the analog i/p pins of Arduino i.e, A0
to A5.
• Pin 2 and Pin 1 are connected to pin 3 and pin 2 of Arduino
respectively.
• Arduino first needs to pull each of the columns (pins 1-4) either low
or high one at a time.
• Then poll the states of four rows (pins 5-8).
• Depending on the states of the columns, the microcontroller can tell
which button is pressed.
 Working principle : Arduino compares the original set password and the passkey which
we enter.
 The operation code is dumped into the Arduino board using the dumping cable.
 The LCD displays “Enter Passkey”.
 We enter our Passkey using the Keypad, LCD displays the passkey.
 Arduino compares the default code and displays the output ->
if correct, “Passkey Accepted”
if wrong, “Access Denied”
 The buzzer makes a sound when the wrong passcode is entered.
 Here, we can also change the default passkey using ‘#’ from keypad
 While changing the default Passkey, first it asks for the current passkey to enter.
 If entered correctly, it asks for the new passkey to enter, so that we can change.
 While changing, if entered the wrong current passkey, then it shows, “Wrong Passkey…
Better luck again”
 Thus, we cannot change the default passkey.
 Simple programmable code lock circuit.
 Major components are only LCD, Keypad, Arduino.
 User can set his password for ensured protection instantly.
 Power required to operate this circuit is very less.
 Used in doors of houses.

 Used for vehicles.

 Used for jewellery or money boxes.

 Used in secured offices and wherever security is needed.


 The digital code lock performed as expected.

 This digital code lock is very marketable because it is easy to use.

 Comparatively inexpensive due to low power consumption, and highly reliable.

 This is most prevalent form of digital lock as it uses numerical code for
authentication.

 The code lock is therefore particularly useful in door locks and equipment locks.
 This project can be further extended by adding GSM module, so that owner will receive
the message to his mobile, whenever the lock is being authenticated.
 This helps the locking system to be more secure.

 Also, we can keep a count for wrong entries of passkey, such that the lock will be
permanently locked if the count reaches and it can’t be opened until the owner resets it.

 www.electrosome.com
 www.Arduino.cc
 Google , Wikipedia

You might also like