Getting Started with Intel Galileo

Book description

Getting Started with the Intel Galileo gets you up and running with this new, x86-powered board that was developed in collaboration between Arduino and Intel. You'll learn how to set it up, connect it to your computer, and begin programming. You'll learn how to build electronics projects around the Galileo, and you'll explore the features and power that make it different from all the boards that came before. Developed in collaboration with the Intel Galileo team, and in consultation with members of the Arduino team, this is the definitive introduction to Intel's new board for makers.

Table of contents

  1. Preface
    1. Why Galileo?
    2. Intended Audience
    3. Feedback
    4. Conventions Used in This Book
    5. Using Code Examples
    6. Safari® Books Online
    7. How to Contact Us
    8. Acknowledgements
  2. 1. Introduction to Galileo
    1. What Is Galileo?
      1. Inputs and Outputs
      2. Code
      3. Communication
    2. What Makes Galileo Different?
    3. Sketching in Hardware
  3. 2. First Steps
    1. Tour of the Board
    2. Helpful Tools and Components
    3. Writing Programs to Control Your Galileo
    4. Getting Familiar with the Development Environment
    5. Connecting the Board
    6. Uploading Code
    7. Taking It Further
  4. 3. Outputs
    1. Back to Blinking: Digital Output
      1. Setup and Loop
      2. Variables
      3. Pin Numbers
      4. Circuits and the Flow of Electricity
        1. LED Polarity
        2. Resistors with LEDs
      5. pinMode()
        1. Arduino Language Reference
      6. digitalWrite()
      7. delay()
      8. Code and Syntax Notes
        1. Semicolons
        2. Lines and Spacing
        3. Case Sensitivity
        4. Hardcoding
      9. Going Further with Digital Output
    2. Analog Output
      1. analogWrite()
      2. Code and Syntax Notes
        1. Variable Assignment
        2. Math Operators
        3. if Statements
    3. Other Outputs
      1. Serial Data Output
        1. Serial.begin()
        2. Serial.print()
        3. Serial.println()
      2. Controlling A/C Appliances with Relays
      3. Controlling Servos
        1. The Servo Object
    4. Looking at Linux
      1. Connecting via Telnet
      2. Working with Pins
    5. Taking It Further
  5. 4. Inputs
    1. Switches: Digital Input
      1. digitalRead()
      2. Code and Syntax Notes
        1. Local Variables
        2. if… else Statements
    2. Analog Input
      1. Potentiometers
      2. analogRead()
      3. Code and Syntax Notes
        1. Constants
        2. map()
      4. Variable Resistors
        1. Voltage Divider Circuit
        2. Force Sensitive Resistor
      5. Code and Syntax Notes
        1. #define
        2. else if
    3. Going Further
  6. 5. Going Further with Code
    1. Data Types
      1. int
      2. float
      3. long
      4. boolean
      5. char
      6. String Object
    2. millis()
    3. Other Loops
      1. while
      2. do… while
      3. for Loops
    4. More Serial
      1. Serial.available() and Serial.read()
    5. Taking It Further
  7. 6. Getting Online
    1. Connecting and Testing an Ethernet Connection
    2. Connecting and Testing with a WiFi Connection
    3. Connecting Using Linux Commands
      1. system()
      2. Getting Galileo’s IP Address Using system()
    4. Connecting to Servers
      1. How Many Days Until MAKE Comes Out?
        1. Defining Functions
        2. Converting ASCII Characters to Integers
        3. Parsing JSON with Python
        4. Connecting an LCD Character Display
    5. Serving a Web Page
      1. Serving a Web Page with Python
        1. Starting on Boot
    6. Taking It Further
  8. A. Arduino Code Reference
    1. analogRead
    2. analogReadResolution
    3. analogWrite
    4. atoi
    5. const
    6. delay
    7. digitalRead
    8. digitalWrite
    9. else
    10. fclose
    11. fgets
    12. fopen
    13. if
    14. int
    15. loop
    16. map
    17. pclose
    18. pinMode
    19. popen
    20. Serial.begin
    21. Serial.println
    22. servo.attach
    23. servo.write
    24. setup
    25. system
  9. B. Breadboard Basics
  10. C. Resistor Reference
  11. D. Creating a MicroSD Image
  12. E. Setting Up Galileo on Windows
  13. F. Setting Up Galileo on Linux
    1. Linux Notes
  14. G. Setting Up Galileo on Mac OS X
    1. Mac OS X Notes
  15. H. Connecting to Galileo via Serial
  16. Colophon
  17. Copyright

Product information

  • Title: Getting Started with Intel Galileo
  • Author(s):
  • Release date: March 2014
  • Publisher(s): Make: Community
  • ISBN: 9781457183089