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
About the Author
About the Reviewers
Free Chapter
Setting Up the Galileo Board and the Development Environment

Connecting the project to the cloud

Now, we want to connect the data to the cloud so that we can monitor the project remotely. Once we are able to do this, we can check whether our plants need watering and initiate the watering process, even if we're not home.

To do this, we will first connect to to store our data.

We already saw how to use in Chapter 6, Internet of Things with Intel Galileo. is, as they claimed, the "Twitter for social machines". It publishes and subscribes data to your computer or any electronic device that connects to it, and it's fast and easy to use. No need for sign ups!


For more information about, you can visit the following link:

What we need to do now is code the Arduino sketch. Here is the complete code for this part:

// Libraries
#include <Sensirion.h>
#include <SPI.h>
#include <Ethernet.h>

// MAC address
byte mac[] = {  0x98, 0x4F, 0xEE, 0x01, 0x90, 0xC5 };

// Ethernet client