In the last chapter of this book, we will see how to control our Galileo board in real time from anywhere in the world. This project is more complex than the other projects in this book as it uses a new protocol, the Message Queuing Telemetry Transport (MQTT), which we will use to control our Galileo board.
However, we will use an online service called PubNub to make the process much easier. This will make it really easy to control our board remotely and to monitor data from the board. As an example, we will connect two sensors to the Galileo board: a motion sensor and a light level sensor. We will see how to monitor the state from these two sensors in real time from anywhere in the world.
We will also connect a relay to the Galileo board that can be used to control a lamp, for example. We will see how to control this relay in real time from anywhere using the MQTT protocol.