Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Intel Galileo Blueprints

You're reading from  Intel Galileo Blueprints

Product type Book
Published in Jun 2015
Publisher
ISBN-13 9781785281426
Pages 192 pages
Edition 1st Edition
Languages
Concepts
Author (1):
Marco Schwartz Marco Schwartz
Profile icon Marco Schwartz

Table of Contents (19) Chapters

Intel Galileo Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Setting Up the Galileo Board and the Development Environment Creating a Weather Measurement and Data Logging Station Controlling Outputs Using the Galileo Board Monitoring Data Remotely Interacting with Web APIs Internet of Things with Intel Galileo Controlling Your Galileo Projects from Anywhere Displaying the Number of Unread Gmail E-mails on an LCD Screen Automated Remote Gardening with Intel Galileo Building a Complete Home Automation System Building a Mobile Robot Controlled by the Intel Galileo Board Controlling the Galileo Board from the Web in Real Time Using MQTT Index

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:

http://nodejs.org/

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}