Building Arduino Projects for the Internet of Things

(Steven Felgate) #1

© Adeel Javed 2016 213
A. Javed, Building Arduino Projects for the Internet of Things,
DOI 10.1007/978-1-4842-1940-9_10


CHAPTER 10


IoT Patterns: Machine


to Human


Due to regulatory requirements or lack of technology, there will be scenarios where
human intervention is required to respond to sensor-generated alerts.
In this chapter, you are going to build a simple waste management system to
elaborate this use case. Figure  10-1 shows a high-level diagram of all components
involved in this system. The first component is an Arduino device that monitors garbage
levels with a proximity sensor and publishes a message to an MQTT broker. The second
component is a Node-RED flow that subscribes to an MQTT broker. The final component
is a workflow that is initiated whenever the garbage levels are high and a pickup needs to
be scheduled.


Figure 10-1. Components of the waste management system

Free download pdf