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

By Marco Schwartz
$48.99
Book Jun 2015 192 pages 1st Edition
eBook
$39.99 $27.98
Print
$48.99
Subscription
$15.99 Monthly
eBook
$39.99 $27.98
Print
$48.99
Subscription
$15.99 Monthly

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Black & white paperback book shipped to your address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Jun 25, 2015
Length 192 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781785281426
Vendor :
Intel
Category :
Concepts :
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:

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:

  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:

  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

Key benefits

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

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Black & white paperback book shipped to your address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


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

Table of Contents

19 Chapters
Intel Galileo Blueprints Chevron down icon Chevron up icon
Credits Chevron down icon Chevron up icon
About the Author Chevron down icon Chevron up icon
About the Reviewers Chevron down icon Chevron up icon
www.PacktPub.com Chevron down icon Chevron up icon
Preface Chevron down icon Chevron up icon
Setting Up the Galileo Board and the Development Environment Chevron down icon Chevron up icon
Creating a Weather Measurement and Data Logging Station Chevron down icon Chevron up icon
Controlling Outputs Using the Galileo Board Chevron down icon Chevron up icon
Monitoring Data Remotely Chevron down icon Chevron up icon
Interacting with Web APIs Chevron down icon Chevron up icon
Internet of Things with Intel Galileo Chevron down icon Chevron up icon
Controlling Your Galileo Projects from Anywhere Chevron down icon Chevron up icon
Displaying the Number of Unread Gmail E-mails on an LCD Screen Chevron down icon Chevron up icon
Automated Remote Gardening with Intel Galileo Chevron down icon Chevron up icon
Building a Complete Home Automation System Chevron down icon Chevron up icon
Building a Mobile Robot Controlled by the Intel Galileo Board Chevron down icon Chevron up icon
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

Filter icon Filter
Top Reviews
Rating distribution
Empty star icon Empty star icon Empty star icon Empty star icon Empty star icon 0
(0 Ratings)
5 star 0%
4 star 0%
3 star 0%
2 star 0%
1 star 0%

Filter reviews by


No reviews found
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela