This post provides an overview and learning objectives of Chapter 6 from my book Building Arduino Projects for the Internet of Things.

Introduction

Remote control is currently one of the most popular IoT patterns. Examples of this pattern can be found in IoT applications that let you remotely control things such as lights, thermostat and garage door using handheld devices or computers. It has mainly been used for home automation applications so far.

In this chapter, you are going to build a Lighting Control System. Figure below shows components of a Lighting Control System. First component is an Android app that lets users control lights. It publishes messages to MQTT broker whenever user taps on app screen. Second component is an MQTT broker, and the final component of this IoT application is an Arduino device that turns lights on or off based on messages received from MQTT broker.

CodifyThings - Building Arduino Projects for the Internet of Things (IoT)

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 MQTT broker

Final Product

CodifyThings - Building Arduino Projects for the Internet of Things (IoT)

Find step by step instructions on building this and many other real-world applications, click below to order your copy today!

CodifyThings - Building Arduino Projects for the Internet of Things (IoT)