Book Image

Intel Galileo Networking Cookbook

By : Marco Schwartz
Book Image

Intel Galileo Networking Cookbook

By: Marco Schwartz

Overview of this book

Arduino is an electronic prototyping platform used by millions of people around the world. Intel Galileo is fully Arduino compatible; hence it combines the high performance of Intel with the simplicity of Arduino Software Development Environment. This makes it the ideal platform to build exciting projects, especially in the field of web-based connected applications and the Internet of Things. The book features several recipes all based on the Intel Galileo board, and that exploit the powerful features of the board. Each chapter explores a given field using the Galileo board. The book is mainly divided in three parts. The first part is all about learning the basics of the Intel Galileo board, but it uses some of the powerful features of the board such as connecting external sensors and complex hardware devices, compared with more basic Arduino boards. Then, the book dives into the topics related to networking and the Internet of Things. You will learn how to run a web server on the board and log data using a cloud-based service. Finally, the book ends with a chapter that aims to build a complete home automation hub using the Galileo board. This chapter uses everything that was learned in the book to make a home automation system using the Galileo board and Arduino.
Table of Contents (10 chapters)
9
Index

Using the Arduino IDE with the Galileo board

Before we take measurements from the sensors, we need to be able to develop software to run on our Galileo board. There are two ways to do that; either by using the Arduino IDE (which has been modified for Galileo) or by using the onboard Linux machine that we configured in Chapter 1, Installing and Configuring Linux. In this chapter, as we will deal with basic sensors, we are only going to use the Arduino IDE, and we will see how to use it in this first recipe.

Getting ready

For this first recipe, you will need to get the Arduino IDE for Intel Galileo from the official page at https://communities.intel.com/docs/DOC-22226.

There, you have the choice between different versions of the Arduino IDE for the Galileo board, depending on your operating system:

Getting ready

At the time of writing, the latest version available was 1.6.0. After the software has been downloaded, simply install it using the onscreen instructions, depending on your operating system.

How to...