chapter 9: case studies illustrating of design

30
Internet of Things A Hands-On Approach Chapter 9: Case Studies Illustrating of Design

Upload: others

Post on 02-Jun-2022

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Chapter 9: Case Studies Illustrating of Design

Internet of ThingsA Hands-On Approach

Chapter 9:Case Studies Illustrating of Design

Page 2: Chapter 9: Case Studies Illustrating of Design

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

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

Smart Lighting

• Deployment design

Page 5: Chapter 9: Case Studies Illustrating of Design

Smart Lighting

• Mode service

Page 6: Chapter 9: Case Studies Illustrating of Design

Smart Lighting

• State service

Page 7: Chapter 9: Case Studies Illustrating of Design

Smart Lighting

• Controller service

Page 8: Chapter 9: Case Studies Illustrating of Design

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

Home Intrusion Detection

• Deployment design

Page 10: Chapter 9: Case Studies Illustrating of Design

Home Intrusion Detection

• Door service

Page 11: Chapter 9: Case Studies Illustrating of Design

Home Intrusion Detection

• Room service

Page 12: Chapter 9: Case Studies Illustrating of Design

Home Intrusion Detection

• Controller service

Page 13: Chapter 9: Case Studies Illustrating of Design

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

Smart Parking

• Deployment of sensors

Page 15: Chapter 9: Case Studies Illustrating of Design

Smart Parking

• State service

Page 16: Chapter 9: Case Studies Illustrating of Design

Smart Parking

• Controller service

Page 17: Chapter 9: Case Studies Illustrating of Design

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

Weather Monitoring System

• Deployment design

Page 19: Chapter 9: Case Studies Illustrating of Design

Weather Monitoring System

• Controller service

Page 20: Chapter 9: Case Studies Illustrating of Design

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

Weather Reporting Bot

• Schematic diagram – device and sensors.

Page 22: Chapter 9: Case Studies Illustrating of Design

Weather Reporting Bot

• Screenshot of a weather update tweeted.

Page 23: Chapter 9: Case Studies Illustrating of Design

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

Air Pollution Monitoring

Page 25: Chapter 9: Case Studies Illustrating of Design

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

Forest Fire Detection

Page 27: Chapter 9: Case Studies Illustrating of Design

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

Smart Irrigation

Page 29: Chapter 9: Case Studies Illustrating of Design

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

IoT Printer