Building Arduino Projects for the Internet of Things

(Steven Felgate) #1

CHAPTER 6 ■ IOT PATTERNS: REMOTE CONTROL


Learning Objectives


At the end of this chapter, you will be able to:



  • Write code to turn LEDs connected to Arduino on or off

  • Subscribe Arduino to an MQTT broker

  • Build an Android app that publishes to an MQTT broker


Hardware Required


Figure  6-2 provides a list of all hardware components required for building this lighting
control system.


Figure 6-2. Hardware required for this lighting control system

Free download pdf