Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Intel Galileo Blueprints
Intel Galileo Blueprints

Intel Galileo Blueprints: Discover the true potential of the Intel Galileo board for building exciting projects in various domains such as home automation and robotics

Arrow left icon
Profile Icon Marco Schwartz
Arrow right icon
€18.99 per month
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (1 Ratings)
Paperback Jun 2015 192 pages 1st Edition
eBook
€8.99 €29.99
Paperback
€36.99
Subscription
Free Trial
Renews at €18.99p/m
Arrow left icon
Profile Icon Marco Schwartz
Arrow right icon
€18.99 per month
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (1 Ratings)
Paperback Jun 2015 192 pages 1st Edition
eBook
€8.99 €29.99
Paperback
€36.99
Subscription
Free Trial
Renews at €18.99p/m
eBook
€8.99 €29.99
Paperback
€36.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Intel Galileo Blueprints

Chapter 1. Setting Up the Galileo Board and the Development Environment

Intel Galileo Blueprints is for Arduino and electronics hobbyists who want to bring their electronic Do It Yourself (DIY) projects to the next level, using an Intel-based Arduino board—the Intel Galileo.

This book will teach you how to develop the Galileo software and how to connect the sensors for the board. It will be your guide on how to integrate the board into an Internet of Things framework. Indeed, many of the projects you will find in this book will be about how to connect your Galileo board to web services and monitor it remotely.

It will teach you how to create applications involving mobile robot control, home automation, remote data monitoring, and much more. This book will help you in the first steps of your Galileo projects and it will lead you closer to your mission of making great electronic creations for the world.

In this chapter, you will learn:

  • Introduction to Arduino
  • The Intel Galileo board
  • Setting up the development environment

What is Arduino?

Arduino is an open-source single-board microcontroller, which is used in building electronics projects. It can be connected to sensors, LEDs, motors, and other devices to create an interactive display, analysis kits, and anything else electronics-based that you can think of.

Arduino has been popular among students, hobbyists, and even professionals ever since it was first introduced in 2005.

The first Arduino started as a project for the students of the Interaction Design Institute Ivrea. A hardware thesis was contributed for Hernando Barragan's (a Columbian student) wiring design. When the wiring platform was completed, a team of researchers and developers worked on the thesis to create a lighter and less expensive prototype to be available to the open source community. The five-man team that created the prototype Arduino board was led by Massimo Banzi.

Types of Arduino boards

Before the Intel-based boards, the Arduino platform was composed of either an 8-bit Atmel AVR microcontroller or a 32-bit Atmel ARM. The latest Arduino models have 6 analog inputs and 14 digital I/O pins with a USB interface.

However, as with all developing technologies, Arduino boards have evolved a lot. Here are the Arduino versions that are commercially available along with their basic features:

Name

Release date

Processor

I/O

  

Processor

Digital I/O (pins)

Digital I/O with PWM (pins)

Analog input (pins)

Arduino Zero

May 15, 2014

ATSAMD21G18A(Cortex-M0+)

14

6

6

Intel Galileo

October 17, 2015

Intel® Quark SoC X1000 Application Processor

14

6

6

Arduino Yún

September 10, 2013

Atmega32U4

14

6

12

Atheros AR9331

Arduino Esplora

December 10, 2012

Atmega32U4

   

Arduino Micro

November 8, 2012

ATmega32U4

20

7

12

Arduino Due

Octber 22, 2012

ATSAM3X8E(Cortex-M3)

54

12

12

Arduino Leonardo

July 23, 2012

Atmega32U4

14

6

12

Arduino Mega ADK

July 13, 2011

ATmega2560[25]

54

14

16

Arduino Ethernet

July 13, 2011

ATmega328

14

4

6

Arduino Uno

September 24, 2010

ATmega328P

14

6

6

Arduino Mega2560

September 24, 2010

ATmega2560

54

15

16

Arduino Fio

March 18, 2010

ATmega328P

14

6

8

Arduino (Pro) Mini

August 23, 2008

ATmega168(Pro uses ATMega328)

14

6

6

LilyPad Arduino

October 17, 2007

ATmega168V or ATmega328V

14

6

6

Arduino Pro

 

ATmega168 or ATmega328

14

6

6

Types of Arduino Boards

Each of these board versions differ in voltage, processor frequency, dimensions, flash memory, Electrically Erasable Programmable Read-Only Memory (EEPROM), and Static Random Access Memory (SRAM).

Among these Arduino versions, the Galileo Board is the first board to be based on Intel x86 architecture.

The Intel Galileo board

Galileo is based on 32-bit Quark SoC x1000, Intel's first ever product from the Intel Quark family, which features low power small-core products. The board is hardware compatible with Arduino's expansion cards (called shields) and is software compatible with Arduino's Integrated software Development Environment (IDE). It can run on Linux, Mac OSX, and Microsoft Windows.

Currently, there are two versions of Intel Galileo—Gen 1 and Gen 2. The difference between the two lies in the General-Purpose Input/Output (GPIO) pins, the latter having improved performance and compatibility with Arduino shields and accessories.

Here is a picture of the Intel Galileo Gen 2 board:

The Intel Galileo board

You will notice that Intel Galileo has 3.3V and 5V power supply ports, 14 digital pins, 6 analog pins, In-Circuit Serial Programming (ICSP) header, and Universal Asynchronous Receiver/Transmitter (UART) ports. Galileo has similar basic port locations as the Arduino Uno R3, but it features components that stretch its capabilities beyond the usual Arduino shield system. You can find a microSD slot, RS-232 serial port, USB port, a full-size mini-PC Express slot, Joint Test Action Group (JTAG) header, an 8-byte NOR flash, and a 100Mb Ethernet port.

Here is a short description of the Intel Galileo facility features:

  • The default operating voltage of Galileo is 3.3V, but you can modify the jumper on the board to translate the voltage to 5V. The 5V option allows you to be able to use 5V Uno shields. Ensure that you check the state of this jumper before starting any project using the board.
  • The 400MHz 32-bit Intel microprocessor is simple to program, can support Advanced Configuration and Power Interface (ACPI) compatible CPU sleep states and runs on an integrated Real-Time Clock (RTC).
  • Among the 14 digital I/O ports, you can utilize 6 as Pulse Width Modulation (PWM) outputs. PWM is used to control the power sent to electrical devices: for example, to modulate the intensity of a LED or the speed of a DC motor. The analog pins have 12-bit resolution via an AD7298 A-to-D converter.
  • The 6-pin ICSP header is situated on the same location as the other Arduino boards, so you can easily plug existing shields. The ICSP supports SPI communication.
  • The Serial Peripheral Interface (SPI) port's default frequency is 4MHz to directly support the Arduino Uno shields, but you can program it to 25MHz. Note that the Galileo SPI acts as a master and cannot be a slave to other SPIs. It can be a slave to the USB client connector, though.
  • The Peripheral Component Interconnect (PCI) Express slot is compliant with PCle 2.0 and works with PCle cards with an optional converter plate. Any standard module can be connected to provide Bluetooth, Wi-Fi, or cellular connection.
  • The USB 2.0 port can support up to 128 USB endpoint devices.
  • The 10-pin Standard JTAG header is present for debugging.
  • UART TTL is available for serial communication, while a second UART is available via a 3.5mm jack for RS-232 support.
  • The USB Device port supports serial (CDC) USB communication.
  • Mice, keyboards, and other peripherals can be connected through the USB Host port.
  • The Ethernet RJ45 connector enables wired network connections.
  • Access to the micro SD is through the SD library.
  • Use of TWI/I2C bus is simplified through the Arduino wire library.

Aside from the improved shield compatibility of Galileo Gen 2, it has upgraded the input power range from 7V to 15V instead of just 5V, upgraded resolution of digital pins with PWM, and provides optional 12V PoE support.

Note

In this book, we will use Galileo Gen 2.

Now that you are familiar with the parts and features of Galileo, you will learn how to set up the development environment.

Setting up the development environment

Note that you should not use the same power supply for Galileo Board Gen 1 and Gen 2. Gen 1 is only rated at 3.3V to 5V, while Gen 2 boards are powered up with a voltage between 7V and 15V. Using the Gen 2 power supply on Gen 1 boards will cause permanent damage to the Gen 1 boards.

Let's get started with setting up the development environment. You need to perform the following steps:

  1. First, connect the Galileo DC jack to power up your board. You will see the LEDs light up. Then, connect your Galileo board to your computer through the USB client port. Look at the picture here for the connection reference:
    Setting up the development environment
  2. Next, download the Galileo development environment. It is a custom version of the usual Arduino IDE developed by Intel. You may download the IDE at the following link:

    https://communities.intel.com/docs/DOC-22226

  3. Install the downloaded software in your computer and launch the application.
  4. Before proceeding, ensure that the latest firmware is installed. To update the firmware, follow these steps:
    1. Navigate to Help | Firmware Update. You will need to wait for a bit, as this takes several minutes.
    2. Now, load the Blink example in the IDE by navigating to Examples | Basics | Blink.
  5. The Blink code will load and you will end up with the editor window shown in the following screenshot:
    Setting up the development environment
  6. Click on Upload to load the program.
  7. The LED will blink on the board.

That's how easy navigation is on the Galileo interface!

If your LED light does not blink, check the following:

  1. Confirm that you have the latest Galileo IDE loaded.
  2. Ensure that the latest firmware is installed.
  3. Check the version of the board that has been selected by navigating to the board in Tools | Board.
  4. Ensure that there are no loose cable connections.

Summary

In this chapter, you learned what the Arduino platform is, how it came to be, what it is for, where it is used, and its commercially available versions. Most of all, we found out about one of the latest boards of the Arduino platform and the first to use the Intel microprocessor: the Intel Galileo board.

We know that there are two current versions of Intel Galileo: Gen 1 and Gen 2. We will focus on Galileo Gen 2 in this book, but Gen 1 will work as well for all the projects of the book. You also learned how to set up the development environment for Intel Galileo and how to update its firmware.

We are just starting to explore the first ever Arduino board to run on an Intel microprocessor and we are just barely scratching the surface. You have so much more to discover and learn!

In the following chapters, you will learn more of Galileo's basic and core functions. You will study structure, variables, and functions of Gen 2. We will explore digital, analog, and communication applications by creating our own DIY projects. We'll also start with the weather measurement and data logging station project in the next chapter.

Left arrow icon Right arrow icon

Description

If you are an experienced developer using classic Arduino boards and would like to extend your knowledge to the Intel Galileo board and polish your project building skills, this book is for you.

Who is this book for?

If you are an experienced developer using classic Arduino boards and would like to extend your knowledge to the Intel Galileo board and polish your project building skills, this book is for you.

What you will learn

  • Monitor data remotely using the onboard Ethernet connection
  • Control outputs using the Galileo board and control the board remotely
  • Store and plot monitored data in the cloud
  • Access your Intel Galileo projects from anywhere in the world
  • Automate your garden and monitor it from the cloud
  • Create a whole home automation system using the Galileo board as the hub
  • Build a mobile robot based on your Galileo board

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jun 25, 2015
Length: 192 pages
Edition : 1st
Language : English
ISBN-13 : 9781785281426
Vendor :
Intel
Category :
Concepts :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Jun 25, 2015
Length: 192 pages
Edition : 1st
Language : English
ISBN-13 : 9781785281426
Vendor :
Intel
Category :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 98.97
Internet of things with Intel Galileo
€24.99
Intel Galileo Networking Cookbook
€36.99
Intel Galileo Blueprints
€36.99
Total 98.97 Stars icon
Banner background image

Table of Contents

13 Chapters
1. Setting Up the Galileo Board and the Development Environment Chevron down icon Chevron up icon
2. Creating a Weather Measurement and Data Logging Station Chevron down icon Chevron up icon
3. Controlling Outputs Using the Galileo Board Chevron down icon Chevron up icon
4. Monitoring Data Remotely Chevron down icon Chevron up icon
5. Interacting with Web APIs Chevron down icon Chevron up icon
6. Internet of Things with Intel Galileo Chevron down icon Chevron up icon
7. Controlling Your Galileo Projects from Anywhere Chevron down icon Chevron up icon
8. Displaying the Number of Unread Gmail E-mails on an LCD Screen Chevron down icon Chevron up icon
9. Automated Remote Gardening with Intel Galileo Chevron down icon Chevron up icon
10. Building a Complete Home Automation System Chevron down icon Chevron up icon
11. Building a Mobile Robot Controlled by the Intel Galileo Board Chevron down icon Chevron up icon
12. Controlling the Galileo Board from the Web in Real Time Using MQTT Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Full star icon 5
(1 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
ruben Aug 06, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Intel Galileo Blueprints, it is an Excellent book it covers all kind of topics about Home Automaton and Robotics Projects.I would like to recommend this title because it has many projects about Home Automation using this interesting board Intel Galileo with Arduino:The following contents that the book has:Setup the board, put every thing configured, other topics are, monitor and control your Intel galileo, meassure the temperatura,data logging, Internet of thingsm, protocols like MQTT to control your board in a remote wayI think that the most important thing that the books has is that all the practices that it has, they are in order, everything thas is in the book has a secuence.One important topic is the use of advanced topics are the APIS with intel galileo, this book has everything you need to make your Arduino Projects with this interesting book that has all the necesary to make every thing, you can connect sensors to your board and read the values.I would like to congratulate the Author of the book Marco Schwartz because the book is very complete it has everything to use our Intel Galileo board because all the projects have the basic to improve our own projects and continue doing ours.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.