You are on page 1of 26

MINISTRY OF EDUCATION

TECHNOLOGICAL UNIVERSITY(YAMETHIN)
DEPARTMENT OF ELECTRONIC ENGINEERING

IoT Based Laser Line Protection System For Home


Automation Using Arduino and GSM Module

PRE-DEFENSE

Supervisor – Daw Wut Yi Phyo


Presented By - Ma Yoon Thida Htet
VI EC-18 1
Outlines of Presentation

 Introduction

 Aim and objectives

 Block diagram

 Circuit Diagram

 Flow Chart

 Requirements

 Background Theories

 Methodology

 Applications

 Conclusion

 Future work
2
Introduction

 Home security is a main concern worldwide.

 Since the technology is getting advanced, various security systems are developed and implemented to
protect homes and buildings from illegal invasion effectively.

 Wireless technologies like Bluetooth, Infrared, Wi-Fi, GSM and wireless sensor modules are available to
access the system for security.

 The advantage of using IOT is a significant reduction and simplification in wiring.

 This home automation system can be controlled and monitored from the IoT platform.

 The proposed system characteristics the use of IOT platform and GSM module, and hence provides
flexible solution to the owners of security system in terms of ease of use and easy installation.

3
Problem Statement

 Wired security system is inconvenient to use. To use wireless sensor and IOT platform as a flexible solution for the
security system.

Aim

 To build a low-cost home automation and laser protection system using IOT and GSM module.

Objectives

 To build a laser line security system by using laser detection sensor

 To build a home automation system by using IOT platform

 To process the status to determine whether to send notifications to the owners via GSM module

4
Block Diagram User

GSM Module
IoT Platform

Via
Internet
Laser Transmitter Buzzer
Module
NodeMCU

Light Sensor
Relay
Arduino Uno Servo Motor
RFID IC Card
Reader Module
Lighting Units
I2C LCD Driver
Power Supply

Fan
LCD Display

5
Figure 1. Block Diagram of Laser Line Security For Home Automation System Using IoT and GSM module
Laser VCC
Sensor
Circuit Diagram GND

Laser
Sensor
VCC
LCD
GND

VDD
VSS

RW
VO

RE
RS

D6
D5

D7
D4
VCC VCC
GND I2C LCD Driver
Light SDA
GND
Sensor
SCL

5V
GND
D0 4 A4

A5

VCC
Servo
Motor
Light
GND
Sensor
6
D0 5
Arduino Uno
7 TX

RX SIM
8 9 8 900A
VCC
7 10 GND

6 11

RFID Reader 5 12 2
Fan
Module
3 3
13 6 D0 IN1 OUT1

2 7 D1 IN2 Relay OUT2 Lighting


Node
MCU D2 IN3 OUT3
1
4 Lighting

6
Figure 2. Circuit Diagram of Laser Line Security For Home Automation System Using IoT and GSM module
Flow Chart

7
Figure 3. Flow Chart of Laser Line Protection Home Automation System
Flowchart

8
Figure 4. Flowchart for controlling over Internet
Requirements for Home Automation and Protection System

Hardware requirements at the home automation and


Hardware requirements for IoT control,
Laser Line Protection Section,
 ESP8266 NodeMCU
 Arduino Uno  Relay
 LCD driver and LCD display for displaying the result  LED as lighting units
 GSM Module  Fan

 Laser Line Transmitter and Light Sensors  Power supply

 RFID for entering the house  Buzzer as alarm

 Servo motor for opening and closing door


Program requirements for implementation of laser line
 Power supply
protection home automation system are
 Programming software

 Interfacing libraries

 Circuit design software


9
Background Theories

Laser based Security System

 Configuration

 direct emission from laser module to light sensor

 Mirrored emission to expand the range (use mirrors or highly


reflected surfaces as in movies)

Figure 5. Mirrored configuration

10
Background Theories

Access control system

 There are a number of technologies to implement access control system. Some common technologies are

 Password based systems

 RFID (Radio Frequency Identification) based systems, such as NFC cards

 Biometrics based systems, such as fingerprint based systems

 The most generic security system are passwords based. Although these systems are simple, they are reliable
systems among them because of their robustness. In addition, these systems are cost-effective.

11
Methodology

 Implementation steps of laser line protection home automation system are

 To select requirements to be used in the design of home automation system

 To study how each component, module, and board works

 To study C programming

 To try using programming software, libraries, which are needed in programming

 To develop program for Laser line home automation and test it

 To develop program for IoT control and test it

 To combine programs and test it

12
Arduino Programming Software

 The open-source Arduino Software (IDE) makes it


easy to write code and upload it to the board. It
runs on Windows, Mac OS X, and Linux.

Figure 6. Arduino IDE Software 13


Circuit Design Software

 Used “Fritzing”

 It offers a software tool, a community website and services so that users can document their prototypes, share them
with others, teach electronics in a classroom, and layout and manufacture professional pcbs.

Figure 7. Fritzing Circuit Design Software


14
Methodology

User Application Development

 Blynk platform is used.

 Blynk was designed for the Internet of Things.

 It can control hardware remotely, it can display sensor data ,it can store data and visualize it.

 Blynk supports hardware platforms such as Arduino, Raspberry Pi and similar microcontroller boards to build
hardware.

Figure 8. Blynk Platform Logo

15
Implementation of Home Automation system Using Blynk Application

 First step, the new project is created in Blynk application as in figure 7. And then, email and password are signed
up in order to start the app as shown in figure 8.

16
Figure 9. Creating New Project Figure 10. Creating New Account
Cont’d

 Second step, new project is clicked and entered the Project


Name (enter the Project Name according to the user wish) as
“Home Automation“, chosen device as “NodeMCU“,
connection Type as “Wi-Fi” and then clicked “Create” icon.

 After creation the project, App will send the Auth Token code
to registered Email ID. By clicking on the “+” icon which
located on top right side of the app, buttons can be created.

Figure 11. Creating a Desired Project by choosing Microcontroller


17
Cont’d
 And the button name is entered and selected the GPIO pins
(example: D0, D1, D2, D3).
 As an example, LED is created as a button name and D2 is
selected as shown in figure 10.

18
Figure 12. Creating a Desired Project by choosing Microcontroller
Testing with NFC Card

 When the user is entered the house using NFC card, the door is opened.
 But, unauthorized person is entered the house with another card, access denied status is displayed on the LCD
display and the door is not opened
Arduino Nano
NFC Module Unauthorized Card
LCD Display User defined Card

Figure 13.Testing with NFC Card 19


Light sensor Laser line sensor
Testing With Laser Line Module

 Laser line detection sensor is emitted the laser


light and this laser light is received by light
sensor.
 When someone is interrupted the laser line,
emitted laser line is not arrived to light sensor

20
Figure 14. Testing With Laser Line Detection Sensor
Testing with Blynk Application

 Blynk application is used as an IoT platform.


 This application is used to control and monitor the
home automation system.
 Fans, lighting units can be controlled by clicking the
ON/OFF switch on the Blynk application.

Figure 15. Testing With Blynk Application 21


Overview Results of System

Figure 16. Overview Result of Laser Line Protection Home Automation Using GSM Module 22
Applications

 As part of remote monitoring of buildings

 Used together with CCTV security system

 Bank security system, scientific, medical, commercial, military domains, offices and so on

23
Conclusion

 Blynk based IoT platform is implemented.

 Testing and running of program are done.

 Design and construct of the home automation system are completed..

24
Future Work

 To write thesis book for laser line home automation and test it

 To write again program for home automation is done.

 To study software and service upon which IoT platform.

25
Thank you For Your Attention

26

You might also like