SlideShare uma empresa Scribd logo
1 de 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.

Mais conteúdo relacionado

Mais procurados

Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
Wingston
 

Mais procurados (20)

Arduino Workshop
Arduino WorkshopArduino Workshop
Arduino Workshop
 
Introduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and ProgrammingIntroduction to Arduino Hardware and Programming
Introduction to Arduino Hardware and Programming
 
Implementation Of Real Time IoT Based Health monitoring system
Implementation Of Real Time IoT Based Health monitoring systemImplementation Of Real Time IoT Based Health monitoring system
Implementation Of Real Time IoT Based Health monitoring system
 
Home automation using blynk app with fan direction control and displaying sta...
Home automation using blynk app with fan direction control and displaying sta...Home automation using blynk app with fan direction control and displaying sta...
Home automation using blynk app with fan direction control and displaying sta...
 
Ardui no
Ardui no Ardui no
Ardui no
 
Pir motion sensor with raspberry pi
Pir motion sensor with raspberry piPir motion sensor with raspberry pi
Pir motion sensor with raspberry pi
 
Embedded Systems and IoT
Embedded Systems and IoTEmbedded Systems and IoT
Embedded Systems and IoT
 
Arduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic ArduinoArduino Workshop Day 1 - Basic Arduino
Arduino Workshop Day 1 - Basic Arduino
 
Iot based home automation
Iot based home automationIot based home automation
Iot based home automation
 
Getting Started with Raspberry Pi and Arduino
Getting Started with Raspberry Pi and ArduinoGetting Started with Raspberry Pi and Arduino
Getting Started with Raspberry Pi and Arduino
 
Arduino vs Raspberry Pi
Arduino vs Raspberry PiArduino vs Raspberry Pi
Arduino vs Raspberry Pi
 
Introduction to Node MCU
Introduction to Node MCUIntroduction to Node MCU
Introduction to Node MCU
 
Arduino presentation
Arduino presentationArduino presentation
Arduino presentation
 
Nodemcu - introduction
Nodemcu - introductionNodemcu - introduction
Nodemcu - introduction
 
Lesson sample introduction to arduino
Lesson sample   introduction to arduinoLesson sample   introduction to arduino
Lesson sample introduction to arduino
 
Introduction to the Arduino
Introduction to the ArduinoIntroduction to the Arduino
Introduction to the Arduino
 
Gas & smoke detector
Gas & smoke detectorGas & smoke detector
Gas & smoke detector
 
NodeMCU ESP8266 workshop 1
NodeMCU ESP8266 workshop 1NodeMCU ESP8266 workshop 1
NodeMCU ESP8266 workshop 1
 
Final project CEIS 106
Final project CEIS 106Final project CEIS 106
Final project CEIS 106
 
Touchless touchscreen technology
Touchless touchscreen technologyTouchless touchscreen technology
Touchless touchscreen technology
 

Semelhante a 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
 

Semelhante a 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
 

Último

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
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
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
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Último (20)

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
 
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 ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
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
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
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...
 
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
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
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
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 

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.