CHAPTER 5 ■ IOT PATTERNS: REALTIME CLIENTS
76
Learning Objectives
At the end of this chapter, you will be able to:
•
Read motion sensor data from Arduino
•
Publish sensor data to an MQTT broker
•
Build an Android app that subscribes to an MQTT broker
•
Display a notification in the app whenever a new message is
published to the MQTT broker
Hardware Required
Figure 5-2 provides a list of all hardware components required for building the intrusion
detection system.
Figure 5-2. Hardware required for the intrusion detection system
76
Learning Objectives
At the end of this chapter, you will be able to:
•
Read motion sensor data from Arduino
•
Publish sensor data to an MQTT broker
•
Build an Android app that subscribes to an MQTT broker
•
Display a notification in the app whenever a new message is
published to the MQTT broker
Hardware Required
Figure 5-2 provides a list of all hardware components required for building the intrusion
detection system.
Figure 5-2. Hardware required for the intrusion detection system
