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

Accessing measurements remotely

What we want to do now is access the measurements via the Ethernet port. We will not use the Arduino IDE here. We will use the Intel XDK IDE, and program the board using Node.js. Node.js makes creating and configuring apps running on these IoT devices very easy. Node.js also enables you to connect IoT sensors through JavaScript programming. You can find more information about Node.js here:

You can also check out Mastering Node.js by Packt Publishing.

We can now start programming the board with JavaScript.

The Intel XDK IDE lets you create, debug, and deploy Node.js applications on your IoT device. In this case, it's our Galileo board.

This is what you will see on starting the XDK:

First, create a new project. You can use one of the example projects to create all the files that you require, for example, the 'Local Temperature' project.

Then go to the DEVELOP panel. You will see the following main window:

Let's now take a look at the complete code...