chapter 9: case studies illustrating of design
TRANSCRIPT
![Page 1: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/1.jpg)
Internet of ThingsA Hands-On Approach
Chapter 9:Case Studies Illustrating of Design
![Page 2: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/2.jpg)
Outline
• Smart Lighting
• Home Intrusion Detection
• Smart Parking
• Weather Monitoring System
• Weather Reporting Bot
• Air Pollution Monitoring
• Forest Fire Detection
• Smart Irrigation
• IoT Printer
![Page 3: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/3.jpg)
Smart Lighting
A design of a smart home automation system:
• Control the lights in a typical home remotely using a web application.
• The system include auto and manual modes.
![Page 4: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/4.jpg)
Smart Lighting
• Deployment design
![Page 5: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/5.jpg)
Smart Lighting
• Mode service
![Page 6: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/6.jpg)
Smart Lighting
• State service
![Page 7: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/7.jpg)
Smart Lighting
• Controller service
![Page 8: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/8.jpg)
Home Intrusion Detection
A design of home intrusion detection systems:
• Detect intrusions using sensors and raise alerts, if necessary.
• Each door has a door sensor to detect opening of door.
• Each room has a PIR motion sensor to detect motion.
![Page 9: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/9.jpg)
Home Intrusion Detection
• Deployment design
![Page 10: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/10.jpg)
Home Intrusion Detection
• Door service
![Page 11: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/11.jpg)
Home Intrusion Detection
• Room service
![Page 12: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/12.jpg)
Home Intrusion Detection
• Controller service
![Page 13: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/13.jpg)
Smart Parking
A design of smart parking systems:
• Detect the number of empty parking slots to help drivers search parking space easily.
• Each parking slot have a sensor to detect whether the slot is empty or occupied.
![Page 14: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/14.jpg)
Smart Parking
• Deployment of sensors
![Page 15: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/15.jpg)
Smart Parking
• State service
![Page 16: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/16.jpg)
Smart Parking
• Controller service
![Page 17: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/17.jpg)
Weather Monitoring System
A design of a weather monitoring IoT system:
• Collect data on environmental conditions such as temperature, pressure, humidity and light in area using multiple end nodes.
• The end nodes send the data to the cloud where the data is aggregated and analyzed.
• The end nodes are equipped with various sensors (such as temperature, pressure, humidity and light).
![Page 18: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/18.jpg)
Weather Monitoring System
• Deployment design
![Page 19: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/19.jpg)
Weather Monitoring System
• Controller service
![Page 20: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/20.jpg)
Weather Reporting Bot
A design of a weather reporting bot:
• Report weather information by sending tweets on Twitter.
• The end nodes are comprised of a Raspberry Pi mini-computer, temperature, pressure, humidity and light sensors. In addition to the sensors, a USB webcam is also attached to the device.
• To send tweets:• Using a Python library for Twitter called tweepy.
• With tweepy we can use the Twitter REST API to send tweets.
![Page 21: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/21.jpg)
Weather Reporting Bot
• Schematic diagram – device and sensors.
![Page 22: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/22.jpg)
Weather Reporting Bot
• Screenshot of a weather update tweeted.
![Page 23: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/23.jpg)
Air Pollution Monitoring
A design of an air pollution monitoring:
• Multiple nodes placed in different locations for monitoring air pollution in an area.
• End nodes: CO and NO2 sensors
• Send data to the cloud database
• Visualizing the data with cloud-based application
![Page 24: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/24.jpg)
Air Pollution Monitoring
![Page 25: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/25.jpg)
Forest Fire Detection
A design of a forest fire detection:
• A number of monitoring nodes (end nodes) deployed at different locations in a forest.
• End nodes collect measurements (like temperature and humidity) to predict whether a fire has broken out.
• Use one coordinator node to collect all data from end nodes through XBee module.
• Coordinator service calls rest api to send data to cloud.
![Page 26: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/26.jpg)
Forest Fire Detection
![Page 27: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/27.jpg)
Smart Irrigation
A design of a smart irrigation:
• Multiple monitoring nodes (end nodes) placed in different locations for monitoring soil moisture.
• End nodes send data to cloud through Raspberry Pi.
• Cloud-based application visualize the data.
• A solenoid valve is used to control the flow of water, which connects to Raspberry Pi.
![Page 28: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/28.jpg)
Smart Irrigation
![Page 29: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/29.jpg)
IoT Printer
A design of an IoT printer:
• Fetch daily briefing information (today’s weather prediction, …) on the Internet.
• Login to the google calendar to fetch your schedule.
• Write to a file and then print every morning.
![Page 30: Chapter 9: Case Studies Illustrating of Design](https://reader033.vdocuments.site/reader033/viewer/2022060718/6297f5e72f0cb26334747793/html5/thumbnails/30.jpg)
IoT Printer