Book Image

Intel Galileo Blueprints

By : Marco Schwartz
Book Image

Intel Galileo Blueprints

By: Marco Schwartz

Overview of this book

Table of Contents (19 chapters)
Intel Galileo Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
1
Setting Up the Galileo Board and the Development Environment
Index

Controlling the relay remotely


We still have to see how to control the relay remotely, so for this, let's go back to the PubNub console that we created earlier.

Now, connect the relay channel just as you did earlier with the other channels. We don't want to receive the data here, but we will send some data.

For this, we will use the message field, where you can type a message and send it to our board. Simply send the following message to turn the relay on:

You can immediately see and hear that the relay is on. To turn it off again, type the following message:

Congratulations, you can now control your relay from anywhere in the world!