Sei sulla pagina 1di 20

GSM OTP based door control

using Arduino
Block Diagram
Hardware requirements
Software requirements
Future Work

Access to restricted areas to be safely maintained

A microcontroller essential to meet the requirements

Use of GSM (Global System for Mobile Communication)

technology in creating an OTP (One time password)

Double security ensured with 2 passwords

Block Diagram
Hardware requirements
Microcontroller board Arduino Uno

GSM Modem

Motor driver IC

DC Motor

Matrix keypad


Power Supply
Arduino Uno Features
ATmega328P microcontroller

Input voltage - 7-12V

14 Digital I/O Pins (6 PWM outputs)

6 Analog Inputs

32k Flash Memory

16Mhz Clock Speed

32K bytes of In-System Programmable Flash
1K bytes EEPROM
2K bytes SRAM
23 general purpose I/O lines
32 general purpose working registers
three flexible Timer/Counters with compare modes, internal
and external interrupts
a serial programmable USART
a byte-oriented 2-wire Serial Interface, an SPI serial port
a 6-channel 10-bit ADC
a programmable Watchdog Timer with internal Oscillator
five software selectable power saving modes.
GSM Module
GSM Module is an ultra compact and reliable wireless module

It can communicate with controllers via AT commands

It works on frequencies 900/ 1800 MHz.

Supports communication through RS232 with DB9 Connector,

TTL Pins


PIC, 8051
SIM900A - GSM Module
Motor Driver IC

This Motor Driver Board is designed to Work with L293D IC.

This can control 2 DC Motors, their direction using control

lines and their speed using PWM.
DC Motor

Converts direct current electrical power into mechanical power

The very basic construction of a dc motor contains a current

carrying armature which is connected to the supply end through
commutator segments and brushes are placed within the north
south poles of a permanent or an electro-magnet
DC Motor - Construction
Matrix keypad
Why Matrix Keypad?

To reduce the number of pins

required to read a digital input
into the controller, a matrix
keypad arrangement is used
LCD (Liquid Crystal Display)
These modules are preferred
over seven segments and
other multi segment LEDs.

A 16x2 LCD means it can

display 16 characters per
line and there are 2 such
Power Supply
Software requirements
Arduino IDE

Programming languages used

Embedded C/C++
Code compatibility and expandability across different Arduino

Cost is less as Arduino is open source

The schematic of Arduino is open source. So for future

enhancement of the project the board can be extended to add
more hardware features

Double security is provided by the use of an OTP generated by

the GSM module and the first password accepted by the
Future Work
The project can be enhanced based on the application

Different applications include bank locker security, ATM

security, other restricted areas

RFID card and reader can be used to allow multiple persons

through a door

Dual tone multi frequency decoder can be used to use

smartphones to access a door
The project implemented a GSM OTP based door control
system using Arduino microcontroller and GSM modem

The project provides double security and this is the major