Intel Galileo Essentials
()
About this ebook
- Learn how to connect additional hardware to the Intel Galileo to easily create complex robots
- Understand GPIO pins on the Galileo and how to use them
- Control a DC motor so that your unit can drive wheels or tracks.
This book is for anyone who has ever been curious about using the Intel Galileo to create electronics projects. Some programming background is useful, but if you know how to use a personal computer, with the aid of the step-by-step instructions in this book, you can construct complex electronics projects that use the Intel Galileo.
Read more from Grimmett Richard
Arduino Robotic Projects Rating: 4 out of 5 stars4/5Raspberry Pi: Amazing Projects from Scratch Rating: 0 out of 5 stars0 ratingsRaspberry Pi Robotic Projects Rating: 2 out of 5 stars2/5Raspberry Pi Robotics Essentials Rating: 0 out of 5 stars0 ratingsMastering BeagleBone Robotics Rating: 5 out of 5 stars5/5BeagleBone Robotic Projects Rating: 5 out of 5 stars5/5Raspberry Pi Robotic Blueprints Rating: 2 out of 5 stars2/5Getting Started with Raspberry Pi Zero Rating: 0 out of 5 stars0 ratings
Related to Intel Galileo Essentials
Related ebooks
Intel Galileo Blueprints Rating: 0 out of 5 stars0 ratingsBeagleBone Home Automation Blueprints Rating: 0 out of 5 stars0 ratingsHome Automation with Intel Galileo Rating: 2 out of 5 stars2/5Instant MinGW Starter Rating: 0 out of 5 stars0 ratingsLearning IPython for Interactive Computing and Data Visualization - Second Edition Rating: 2 out of 5 stars2/5Internet of Things with Intel Galileo Rating: 0 out of 5 stars0 ratingsRaspberry Pi 3 Projects for Java Programmers Rating: 0 out of 5 stars0 ratingsBeagleBone Essentials Rating: 0 out of 5 stars0 ratingsMicroPython Projects: A do-it-yourself guide for embedded developers to build a range of applications using Python Rating: 0 out of 5 stars0 ratingsRaspberry Pi Android Projects Rating: 0 out of 5 stars0 ratingsSecurity with Go: Explore the power of Golang to secure host, web, and cloud services Rating: 0 out of 5 stars0 ratingsBitcoin and Lightning Network on Raspberry Pi: Running Nodes on Pi3, Pi4 and Pi Zero Rating: 0 out of 5 stars0 ratingsDefending IoT Infrastructures with the Raspberry Pi: Monitoring and Detecting Nefarious Behavior in Real Time Rating: 0 out of 5 stars0 ratingsHands-on Booting: Learn the Boot Process of Linux, Windows, and Unix Rating: 0 out of 5 stars0 ratingsGet Started With Arduino: Robots, Musical Instruments, Smart Displays and More Rating: 0 out of 5 stars0 ratingsPractical Django 2 and Channels 2: Building Projects and Applications with Real-Time Capabilities Rating: 0 out of 5 stars0 ratingsRaspberry Pi 2 Server Essentials Rating: 0 out of 5 stars0 ratingsBash Cookbook: Leverage Bash scripting to automate daily tasks and improve productivity Rating: 0 out of 5 stars0 ratingsPHP Programming Solutions Rating: 0 out of 5 stars0 ratingsOnce Burned: A Jack McMorrow Mystery Rating: 4 out of 5 stars4/5Embedded Software Design and Programming of Multiprocessor System-on-Chip: Simulink and System C Case Studies Rating: 0 out of 5 stars0 ratingsDeveloping IoT Projects with ESP32: Unlock the full Potential of ESP32 in IoT development to create production-grade smart devices Rating: 0 out of 5 stars0 ratingsBare-Metal Embedded C Programming: Develop high-performance embedded systems with C for Arm microcontrollers Rating: 0 out of 5 stars0 ratingsI am Linux : Being A Ultra Linux User Rating: 0 out of 5 stars0 ratingsAdvanced Home Automation Using Raspberry Pi: Building Custom Hardware, Voice Assistants, and Wireless Nodes Rating: 0 out of 5 stars0 ratingsBeagleBone By Example Rating: 0 out of 5 stars0 ratingsC++ Game Development Cookbook: C++ Game Development Cookbook Rating: 0 out of 5 stars0 ratingsRust for the IoT: Building Internet of Things Apps with Rust and Raspberry Pi Rating: 0 out of 5 stars0 ratingsEtherCAT A Complete Guide - 2020 Edition Rating: 0 out of 5 stars0 ratingsCommercial and Industrial Internet of Things Applications with the Raspberry Pi: Prototyping IoT Solutions Rating: 0 out of 5 stars0 ratings
Networking For You
CCNA Certification Study Guide, Volume 2: Exam 200-301 Rating: 0 out of 5 stars0 ratingsMicrosoft Azure For Dummies Rating: 0 out of 5 stars0 ratingsThe Compete Ccna 200-301 Study Guide: Network Engineering Edition Rating: 5 out of 5 stars5/5Networking All-in-One For Dummies Rating: 5 out of 5 stars5/5Networking For Dummies Rating: 5 out of 5 stars5/5A Beginner's Guide to Ham Radio Rating: 0 out of 5 stars0 ratingsAmazon Web Services (AWS) Interview Questions and Answers Rating: 5 out of 5 stars5/5AWS Certified Cloud Practitioner Study Guide: CLF-C01 Exam Rating: 5 out of 5 stars5/5Emergency Preparedness and Off-Grid Communication Rating: 3 out of 5 stars3/5Cybersecurity: The Beginner's Guide: A comprehensive guide to getting started in cybersecurity Rating: 5 out of 5 stars5/5Alt-Right: From 4chan to the White House Rating: 3 out of 5 stars3/5CompTIA Network+ Practice Tests: Exam N10-008 Rating: 0 out of 5 stars0 ratingsCompTIA Network+ Certification Guide (Exam N10-008): Unleash your full potential as a Network Administrator (English Edition) Rating: 0 out of 5 stars0 ratingsRaspberry Pi Electronics Projects for the Evil Genius Rating: 3 out of 5 stars3/5Quantum Computing For Dummies Rating: 0 out of 5 stars0 ratingsUnlock Any Roku Device: Watch Shows, TV, & Download Apps Rating: 0 out of 5 stars0 ratingsSharePoint For Dummies Rating: 0 out of 5 stars0 ratingsThe Windows Command Line Beginner's Guide: Second Edition Rating: 4 out of 5 stars4/5CompTIA Network+ Study Guide: Exam N10-009 Rating: 0 out of 5 stars0 ratingsHome Networking Do-It-Yourself For Dummies Rating: 4 out of 5 stars4/5Practical Ethical Hacking from Scratch Rating: 5 out of 5 stars5/5Concise and Simple Guide to IP Subnets Rating: 5 out of 5 stars5/5Wireless Network Hacks and Mods For Dummies Rating: 0 out of 5 stars0 ratingsGroup Policy: Fundamentals, Security, and the Managed Desktop Rating: 0 out of 5 stars0 ratingsLinux Bible Rating: 0 out of 5 stars0 ratingsComputer Networking: An introductory guide for complete beginners: Computer Networking, #1 Rating: 5 out of 5 stars5/5Windows Command Line Administration Instant Reference Rating: 0 out of 5 stars0 ratings
Reviews for Intel Galileo Essentials
0 ratings0 reviews
Book preview
Intel Galileo Essentials - Grimmett Richard
Table of Contents
Intel Galileo Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the color images of this book
Errata
Piracy
Questions
1. Getting Started with the Galileo
Unpacking and connecting the Galileo
Downloading the software and connecting the Galileo to a Windows machine
Downloading the software and connecting the Galileo to a Mac
Downloading the software and connecting the Galileo to a Linux machine
Running the IDE for the Galileo
Setting the IDE to connect to your board
Selecting the proper COM port for Windows
Selecting the proper COM port for the Mac
Selecting the proper COM port for a Linux Machine
Updating the firmware
Opening and uploading a file to the Galileo
Accessing the Galileo's Linux capabilities
Summary
2. Accessing the GPIO Pins
The GPIO capability of the Galileo
Using the GPIO pins
Connecting your first external hardware
Plugging your wires into the breadboard
Setting up the electronics
The IDE and LED Code
Getting signals from the outside world
Interfacing digital input signals with Galileo
Interfacing analog input signals with Galileo
Summary
3. Adding Display Functionality
The simple serial display
Enabling the serial display in the IDE
The TFT shield
Accessing the display with the IDE
Summary
4. Controlling DC Motors
DC motor basics
Connecting a DC motor directly to the Galileo
Galileo code for DC motor speed control
Connecting a DC motor using an H-bridge and the Galileo
Galileo code for DC motor direction control
Controlling DC motors using a shield
Galileo code for the DC motor shield
Summary
5. Adding Sensors
Sensing distance
The Infrared sensor
Connecting an IR sensor to the Galileo
Accessing the IR sensor from the Galileo IDE
Connecting a digital compass to the Galileo
Accessing the compass from the IDE
Connecting an accelerometer or gyro to the Galileo
Accessing the accelerometer from the IDE
Connecting an altimeter/pressure sensor to the Galileo
Accessing the altimeter/pressure Sensor from the Galileo IDE
Summary
6. Remote Control
Connecting an XBee interface to the Galileo
Configuring the XBee devices
Enabling an XBee Interface in the IDE
Configuring a Wi-Fi connection on the Galileo
Using Wi-Fi from the IDE
Summary
7. Going Further with Galileo
The Galileo and Linux
Creating and booting the Debian Linux SD card image on the Galileo
Building robots that can walk
How servo motors work
Building the quadruped platform
Using a servo controller to control the servos
Communicating with the servo controller via a PC
Connecting the servo controller to the Galileo
Creating a program in Linux so that you can control your quadruped
Summary
8. Speech Output
Hooking up the hardware to make an input sound
Using an application
Using Espeak to allow our projects to respond in a robot voice
Summary
Index
Intel Galileo Essentials
Intel Galileo Essentials
Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: February 2015
Production reference: 1180215
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78439-890-3
www.packtpub.com
Credits
Author
Richard Grimmett
Reviewers
Austin Hughes
Alan Plotko
Jason Wright
Commissioning Editor
Ashwin Nair
Acquisition Editor
Sam Wood
Content Development Editor
Mohammed Fahad
Technical Editor
Naveenkumar Jain
Copy Editors
Neha Karnani
Merilyn Pereira
Project Coordinator
Purav Motiwalla
Proofreaders
Stephen Copestake
Paul Hindle
Indexer
Rekha Nair
Production Coordinator
Shantanu N. Zagade
Cover Work
Shantanu N. Zagade
About the Author
Richard Grimmett has always been fascinated by computers and electronics from his very first programming project that used Fortran on punch cards. He has a bachelor's and master's degree in electrical engineering and a PhD in leadership studies. He also has 26 years of experience in electronics and computers. He possesses one of the original brick phones as well as a Google glass. He now teaches computer science and electrical engineering at Brigham Young University-Idaho, where his office is filled with his many robotics projects.
I would certainly like to thank my wife, Jeanne, and family for providing me with a wonderful, supportive environment that encourages me to take on projects like this. I would also like to thank my students; they show me that amazing things can be accomplished by those who are unaware of the barriers.
About the Reviewers
Austin Hughes is a software engineer with an interest in microcontrollers, embedded systems, and robotics.
Alan Plotko is a technology enthusiast with experience in developing across the full stack. He was first exposed to programming at the age of 9 when he discovered the view source code option in his browser. Coding then quickly turned into a hobby; this led to his studying computer science at the university level. Alan loves developing applications for the Web and always makes time to attend hackathons, which are typically weekend-long programming competitions where participants build projects from scratch to benefit the community. Alan's experience extends to Python development, various database technologies, including NoSQL, and frameworks for rapid application development. When he's not writing code, Alan spends his time writing stories; he is an avid writer, having previously self-published a fantasy novel.
Jason Wright is a hardware engineer in Intel's New Devices Group, where he works on projects in the area of low-power embedded and wearable computing. Previously, he worked on Galileo-based urban sensing devices within Intel Labs Europe. Jason received his BS and MEng degrees in electrical and computer engineering from Cornell University in 2012 and 2013.
Jason would like to thank his family and friends for their continued love and support.
www.PacktPub.com
Support files, eBooks, discount offers, and more
For support files and downloads related to your book, please visit www.PacktPub.com.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
https://www2.packtpub.com/books/subscription/packtlib
Do you need instant solutions to your IT questions? PacktLib