SlideShare a Scribd company logo
1 of 28
CEIS101
IoT Home Security System
By Billy Blanco
Introduction
• The Internet ofThings is growing exponentially
• This project combines all aspects of the Internet ofThings to develop a
home security system
Inventory and Organization
• Before developing the home system , an inventory of the course materials was performed
• An inventory of the materials needed for the home security system was performed.The items needed were:
• Arduino Megaboard
• Resistor – 220 Ω
• LED
• Breadboard
• Motion Sensor
• Wire(s)
• Buzzer
• ESP32 Board
An image of the course materials and the items for this project follow
Inventory
Arduino Starter Kit
Mini-Smart Router
USB-microUSB Cable
ESP32 Board
Organization
Arduino Megaboard
Resistor - 220Ω
LED
Breadboard
Motion Sensor
Wire(s)
Buzzer
Esp32 Board
Planning and Desing
• After performing an inventory of all parts of the project, a plan was created for the home
security system.
• To plan the design of the project, an IPO chart and a flowchart were generated.
• The IPO chart shows the inputs, processes, and output of the home security system.
• Planning and design of the project are crucial steps to understanding the development
process.
What are Flowcharts?
• Research was performed on types of flowcharts used and companies that
use flowcharts.
• Flowcharts are graphical representatives of processes on workflow, and the
flowchart developed illustrates the process of the home security system.
• Many companies use flowcharts as simple nerratives.
Input | Process | Output
Flowchart
Setting up the Arduino
• After planning and design, the Arduino IDE software was installed.
• This software uses Arduino sketches. Each sketch has a setup() and a loop () function in
these function code is written to run the hardware associated with the Arduino Mega.
• After the software was installed a circuit was set up.The circuit installed an LED connected
to pin 13 on the Arduino board.
• When the Arduino was connected to the computer, the port was recognized which allowed
communication between the Arduino and the computer.
• The configuration show the Arduino IDE installed and a screenshot of the circuit.
Arduino IDE
Circuit
Adding a Motion Detector and Buzzer
• I learn how to wire a motion sensor to the Mega 2560 board
• I learn how to write code that uses a motion sensor
• I learn how to integrate the motion sensor and an LED
• I learn how to integrate the motion sensor and a buzzer
• I practice writing programs using the Arduino IDE
Circuit
Code
Code Explanation
In the code, pin 7 is setup as the output based on the pinMode() function.
Pin 8 is setup as the input which is connected to the motion sensor.
The Arduino setup() function will run one time setting the input and output
pins.
Data Display
• Using the Serial Monitor on the Arduino IDE allows for data to be displayed
while the code is running.
• Simple ”motion detected” messages can be displayed on the serial monitor
along with a count of how many times motion was detected.
• Calculations can be displayed such as voltage differences. Both of these
displays are shown in the following screenshots of the code.
Circuit
Serial Monitor
Using the Serial Monitor
The code to print data to the serial monitor uses the printing() or print()
functions. For example, to print the count of the number of times motion was
detected, the Serial.printin(count)) function was used.
By viewing data on the serial monitor, information can be obtained about the
circuit that otherwise would not be known. Also it is a good debugging tool to
determine if the code is correct.
Networking and Security
• Networking can be done using the DSP32 board and breadboard rather than
the Arduino Mega board.
• To do this, the mini router was setup with a secure password and a known SSID.
• Than the ESP32 board was setupso that it can connect to the network.
• AWiFi scanwas performed using the ESP32 board for available networks.
• A web server was created and accessed via a browser or phone that allows a
user to control a light using the browser.
Router
Circuit
Web Page
Connect Home Security to Network
Challenges
• I first tested the motion sensor in a very bright room.The lights interfered
with the sensor.
• Initially the ESP32 board did not work as expected. I needed to run the get
command again so that all the files downloaded as I needed them to.
Career Skills
• Several career skills are gained in this project:
• Communication – Using flowcharts to depict the plan of the project
• Electronics (voltage, resistance, current) and working with the Arduino
• Programming using the Arduino IDE
• Networking – Setting up the router
• Security – Setting the password on the router to a secure password
Conclusion
• This project covered fundamental topics of the Internet ofThings by the
creation of a home security system.
• Building the circuit and working with the Arduino provided a hands on
learning opportunity to put into practice the topics covered in this course.

More Related Content

What's hot

My arduino presentation
My arduino presentationMy arduino presentation
My arduino presentation
Sham Arsenal
 
IoT Based Home Automation System over Cloud
IoT Based Home Automation System over CloudIoT Based Home Automation System over Cloud
IoT Based Home Automation System over Cloud
ijtsrd
 

What's hot (20)

Nodemcu - introduction
Nodemcu - introductionNodemcu - introduction
Nodemcu - introduction
 
Home security system
Home security system Home security system
Home security system
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Lesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2CLesson 10- NodeMCU with LCD I2C
Lesson 10- NodeMCU with LCD I2C
 
Home automation using IoT literature review ppt
Home automation using IoT literature review pptHome automation using IoT literature review ppt
Home automation using IoT literature review ppt
 
My arduino presentation
My arduino presentationMy arduino presentation
My arduino presentation
 
Using arduino and raspberry pi for internet of things
Using arduino and raspberry pi for internet of thingsUsing arduino and raspberry pi for internet of things
Using arduino and raspberry pi for internet of things
 
Home automation using blynk
Home automation using blynkHome automation using blynk
Home automation using blynk
 
Bluetooth based home automation using arduino presentaton
Bluetooth based home automation using arduino presentatonBluetooth based home automation using arduino presentaton
Bluetooth based home automation using arduino presentaton
 
Home Automation Using IoT
Home Automation Using IoTHome Automation Using IoT
Home Automation Using IoT
 
Arduino presentation
Arduino presentationArduino presentation
Arduino presentation
 
Introduction to Arduino
Introduction to ArduinoIntroduction to Arduino
Introduction to Arduino
 
Introduction to Raspberry PI
Introduction to Raspberry PIIntroduction to Raspberry PI
Introduction to Raspberry PI
 
Home automation using internet of things
Home automation using internet of thingsHome automation using internet of things
Home automation using internet of things
 
Introduction to Node MCU
Introduction to Node MCUIntroduction to Node MCU
Introduction to Node MCU
 
Blinking a Single LED
Blinking a Single LEDBlinking a Single LED
Blinking a Single LED
 
Arduino Interfacing LED
Arduino Interfacing LEDArduino Interfacing LED
Arduino Interfacing LED
 
PASSWORD PROTECTED DOOR OPENING SYSTEM BY HEMANTA
PASSWORD PROTECTED DOOR OPENING SYSTEM BY HEMANTAPASSWORD PROTECTED DOOR OPENING SYSTEM BY HEMANTA
PASSWORD PROTECTED DOOR OPENING SYSTEM BY HEMANTA
 
IoT Based Home Automation System over Cloud
IoT Based Home Automation System over CloudIoT Based Home Automation System over Cloud
IoT Based Home Automation System over Cloud
 
Book Preview: A Practical Introduction to the Xilinx Zynq-7000 Adaptive SoC
Book Preview: A Practical Introduction to the Xilinx Zynq-7000 Adaptive SoCBook Preview: A Practical Introduction to the Xilinx Zynq-7000 Adaptive SoC
Book Preview: A Practical Introduction to the Xilinx Zynq-7000 Adaptive SoC
 

Similar to CEIS101: IoT Home Security System

Embedded PPT 2.0-1.pptxkkkkhhhhhgggggggggg
Embedded PPT 2.0-1.pptxkkkkhhhhhggggggggggEmbedded PPT 2.0-1.pptxkkkkhhhhhgggggggggg
Embedded PPT 2.0-1.pptxkkkkhhhhhgggggggggg
SapnaDodamani1
 
Internet of Things Unit 3 notes-Design and Development and Arduino.pptx
Internet of Things Unit 3 notes-Design and Development and Arduino.pptxInternet of Things Unit 3 notes-Design and Development and Arduino.pptx
Internet of Things Unit 3 notes-Design and Development and Arduino.pptx
Dinola2
 

Similar to CEIS101: IoT Home Security System (20)

B1_25Jan21.pptx
B1_25Jan21.pptxB1_25Jan21.pptx
B1_25Jan21.pptx
 
Arduino day
Arduino dayArduino day
Arduino day
 
Embedded PPT 2.0-1.pptxkkkkhhhhhgggggggggg
Embedded PPT 2.0-1.pptxkkkkhhhhhggggggggggEmbedded PPT 2.0-1.pptxkkkkhhhhhgggggggggg
Embedded PPT 2.0-1.pptxkkkkhhhhhgggggggggg
 
Smart Door locking system using arduino
Smart Door locking system using arduinoSmart Door locking system using arduino
Smart Door locking system using arduino
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
IOT beginnners
IOT beginnnersIOT beginnners
IOT beginnners
 
IOT beginnners
IOT beginnnersIOT beginnners
IOT beginnners
 
Road to RIoT 2017 Medan
Road to RIoT 2017 MedanRoad to RIoT 2017 Medan
Road to RIoT 2017 Medan
 
final ppt
final pptfinal ppt
final ppt
 
Internet of Things Unit 3 notes-Design and Development and Arduino.pptx
Internet of Things Unit 3 notes-Design and Development and Arduino.pptxInternet of Things Unit 3 notes-Design and Development and Arduino.pptx
Internet of Things Unit 3 notes-Design and Development and Arduino.pptx
 
Lab2ppt
Lab2pptLab2ppt
Lab2ppt
 
Building IoT with Arduino Day One
Building IoT with Arduino Day One Building IoT with Arduino Day One
Building IoT with Arduino Day One
 
IOT Unit 3 for engineering second year .pptx
IOT Unit 3 for engineering second year .pptxIOT Unit 3 for engineering second year .pptx
IOT Unit 3 for engineering second year .pptx
 
green house ppt.pptx
green house ppt.pptxgreen house ppt.pptx
green house ppt.pptx
 
ARDUINO AND RASPBERRYPI.pptx
ARDUINO AND RASPBERRYPI.pptxARDUINO AND RASPBERRYPI.pptx
ARDUINO AND RASPBERRYPI.pptx
 
IOT PPT
IOT PPTIOT PPT
IOT PPT
 
IoT Intro and Demo
IoT Intro and DemoIoT Intro and Demo
IoT Intro and Demo
 
arduino 320126512170.pptx
arduino 320126512170.pptxarduino 320126512170.pptx
arduino 320126512170.pptx
 
weather monitoiring system.pptx
weather monitoiring system.pptxweather monitoiring system.pptx
weather monitoiring system.pptx
 
Realizing Internet of things using Block-Chain Technology
Realizing Internet of things using Block-Chain TechnologyRealizing Internet of things using Block-Chain Technology
Realizing Internet of things using Block-Chain Technology
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Recently uploaded (20)

Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

CEIS101: IoT Home Security System

  • 1. CEIS101 IoT Home Security System By Billy Blanco
  • 2. Introduction • The Internet ofThings is growing exponentially • This project combines all aspects of the Internet ofThings to develop a home security system
  • 3. Inventory and Organization • Before developing the home system , an inventory of the course materials was performed • An inventory of the materials needed for the home security system was performed.The items needed were: • Arduino Megaboard • Resistor – 220 Ω • LED • Breadboard • Motion Sensor • Wire(s) • Buzzer • ESP32 Board An image of the course materials and the items for this project follow
  • 4. Inventory Arduino Starter Kit Mini-Smart Router USB-microUSB Cable ESP32 Board
  • 5. Organization Arduino Megaboard Resistor - 220Ω LED Breadboard Motion Sensor Wire(s) Buzzer Esp32 Board
  • 6. Planning and Desing • After performing an inventory of all parts of the project, a plan was created for the home security system. • To plan the design of the project, an IPO chart and a flowchart were generated. • The IPO chart shows the inputs, processes, and output of the home security system. • Planning and design of the project are crucial steps to understanding the development process.
  • 7. What are Flowcharts? • Research was performed on types of flowcharts used and companies that use flowcharts. • Flowcharts are graphical representatives of processes on workflow, and the flowchart developed illustrates the process of the home security system. • Many companies use flowcharts as simple nerratives.
  • 8. Input | Process | Output
  • 10. Setting up the Arduino • After planning and design, the Arduino IDE software was installed. • This software uses Arduino sketches. Each sketch has a setup() and a loop () function in these function code is written to run the hardware associated with the Arduino Mega. • After the software was installed a circuit was set up.The circuit installed an LED connected to pin 13 on the Arduino board. • When the Arduino was connected to the computer, the port was recognized which allowed communication between the Arduino and the computer. • The configuration show the Arduino IDE installed and a screenshot of the circuit.
  • 13. Adding a Motion Detector and Buzzer • I learn how to wire a motion sensor to the Mega 2560 board • I learn how to write code that uses a motion sensor • I learn how to integrate the motion sensor and an LED • I learn how to integrate the motion sensor and a buzzer • I practice writing programs using the Arduino IDE
  • 15. Code
  • 16. Code Explanation In the code, pin 7 is setup as the output based on the pinMode() function. Pin 8 is setup as the input which is connected to the motion sensor. The Arduino setup() function will run one time setting the input and output pins.
  • 17. Data Display • Using the Serial Monitor on the Arduino IDE allows for data to be displayed while the code is running. • Simple ”motion detected” messages can be displayed on the serial monitor along with a count of how many times motion was detected. • Calculations can be displayed such as voltage differences. Both of these displays are shown in the following screenshots of the code.
  • 20. Using the Serial Monitor The code to print data to the serial monitor uses the printing() or print() functions. For example, to print the count of the number of times motion was detected, the Serial.printin(count)) function was used. By viewing data on the serial monitor, information can be obtained about the circuit that otherwise would not be known. Also it is a good debugging tool to determine if the code is correct.
  • 21. Networking and Security • Networking can be done using the DSP32 board and breadboard rather than the Arduino Mega board. • To do this, the mini router was setup with a secure password and a known SSID. • Than the ESP32 board was setupso that it can connect to the network. • AWiFi scanwas performed using the ESP32 board for available networks. • A web server was created and accessed via a browser or phone that allows a user to control a light using the browser.
  • 25. Connect Home Security to Network
  • 26. Challenges • I first tested the motion sensor in a very bright room.The lights interfered with the sensor. • Initially the ESP32 board did not work as expected. I needed to run the get command again so that all the files downloaded as I needed them to.
  • 27. Career Skills • Several career skills are gained in this project: • Communication – Using flowcharts to depict the plan of the project • Electronics (voltage, resistance, current) and working with the Arduino • Programming using the Arduino IDE • Networking – Setting up the router • Security – Setting the password on the router to a secure password
  • 28. Conclusion • This project covered fundamental topics of the Internet ofThings by the creation of a home security system. • Building the circuit and working with the Arduino provided a hands on learning opportunity to put into practice the topics covered in this course.