Difference between revisions of "Galileo"

From Earlham CS Department
Jump to navigation Jump to search
(Installation)
(Installation)
Line 43: Line 43:
 
* power adapter
 
* power adapter
 
* micro SD card (formatted as FAT or FAT32)
 
* micro SD card (formatted as FAT or FAT32)
* micro usb male -> RS32 female
+
* usb male -> micro usb male (for connecting to Arduino)
* RS32 male -> usb male
+
* micro usb male -> RS32 female and RS32 male -> usb male (for connecting to Galileo)
  
  
Line 54: Line 54:
 
Cables
 
Cables
 
# plug power into Galileo (always do this first)
 
# plug power into Galileo (always do this first)
# join the female and male RS32
+
# connect usb to your pc and micro usb to the port on Galileo labeled USB client
# connect Galileo to the PC
+
# join the female and male RS232 cables
 +
# connect 3.5 mm jack to Galileo and the usb to the pc
  
 
Arduino
 
Arduino
 
# extract "Intel Galileo Arduino SW 1.5.3"
 
# extract "Intel Galileo Arduino SW 1.5.3"
 
# open the executable for Arduino 1.5.3
 
# open the executable for Arduino 1.5.3
# tools -> board -> Galileo
 
 
# update the firmware via help -> firmware update
 
# update the firmware via help -> firmware update
 
# wait, this might take a few minutes (the window will say when it's finished)
 
# wait, this might take a few minutes (the window will say when it's finished)
  
 
Drivers
 
Drivers
# in device manager (or equivalent) find "Gadget Serial V2.4"
+
# if on Windows,
# install the drivers from "arduino-1.5.3/hardware/arduino/x86/tools"
+
#* in device manager find "Gadget Serial V2.4"
# note the COM port of the device [specify]
+
#* install the drivers from "arduino-1.5.3/hardware/arduino/x86/tools"
 +
#* note the COM port of the device [specify]
 +
# if on Mac, you shouldn't need to do anything
 +
#* find devices under System Profiler -> usb
  
 
Serial Connection
 
Serial Connection
Line 76: Line 79:
 
# wait, this might take a few minutes (it's finished when the command [specify] is present and nothing is happening)
 
# wait, this might take a few minutes (it's finished when the command [specify] is present and nothing is happening)
 
# log in as root; by default it has no password
 
# log in as root; by default it has no password
 +
# close your putty
 +
 +
Linux
 
# extract [[http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z the linux image]] to the micro SD card
 
# extract [[http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z the linux image]] to the micro SD card
# close your putty
 
 
# put the micro SD card into the Galileo
 
# put the micro SD card into the Galileo
 
# remove both cables from the Galileo and wait a few seconds
 
# remove both cables from the Galileo and wait a few seconds

Revision as of 23:15, 12 February 2014

The Galileo is a fusion of a Linux PC running Intel's architecture and an Arduino. The purpose is to provide the benefits of a pc (connectivity, power, storage, ports) with the benefits of an Arduino (an open-platform hardware interface.)

This page specifically discusses the Galileo. Anything Arduino-specific should get relegated to here.

info dump

IoTkit handles ethernet transactions. It connects to a host and sends a packet with [string, val] where val is the value you wish to send. You can save information locally and push it to a server later. A watch battery can be used to preserve machine state between power-on's. [validate]

There are no packages installed on Intel's Linux distro.

There's an interface for C++ that lets you access the Arduino.

Always connect the power first.

When flashing the firmware, YOU MUST HAVE THE POWER CONNECTED. Otherwise you risk bricking the board.

There are example sketches for every sensor included in Intel's sensor kit. Where? Good question.

Costs $60+ as of 2/5/14. Purchase is currently cheapest at [Micro Center] and [Amazon].

Resources

[Getting Started]

[Comprehensive Overview]

[BSP Build Guide]

[FAQ] (useful)

[Release Notes] (supported software/hardware and bugs)

[Intel Maker forums]

Downloads

[Software Packages]

[Drivers]

Installation

Materials

  • Galileo board
  • power adapter
  • micro SD card (formatted as FAT or FAT32)
  • usb male -> micro usb male (for connecting to Arduino)
  • micro usb male -> RS32 female and RS32 male -> usb male (for connecting to Galileo)


Downloads

  1. [Getting Started 005]
  2. [BSP Build Guide 001]
  3. go [here] and download "Intel Galileo Arduino SW 1.5.3" and "LINUX IMAGE FOR SD for Intel Galileo"

Cables

  1. plug power into Galileo (always do this first)
  2. connect usb to your pc and micro usb to the port on Galileo labeled USB client
  3. join the female and male RS232 cables
  4. connect 3.5 mm jack to Galileo and the usb to the pc

Arduino

  1. extract "Intel Galileo Arduino SW 1.5.3"
  2. open the executable for Arduino 1.5.3
  3. update the firmware via help -> firmware update
  4. wait, this might take a few minutes (the window will say when it's finished)

Drivers

  1. if on Windows,
    • in device manager find "Gadget Serial V2.4"
    • install the drivers from "arduino-1.5.3/hardware/arduino/x86/tools"
    • note the COM port of the device [specify]
  2. if on Mac, you shouldn't need to do anything
    • find devices under System Profiler -> usb

Serial Connection

  1. get [Putty] (or equivalent)
  2. open Putty (or equivalent)
  3. change the connection type to serial, speed to 115200, and the serial line to your specified COM port
  4. save the settings and click the open button
  5. wait, this might take a few minutes (it's finished when the command [specify] is present and nothing is happening)
  6. log in as root; by default it has no password
  7. close your putty

Linux

  1. extract [the linux image] to the micro SD card
  2. put the micro SD card into the Galileo
  3. remove both cables from the Galileo and wait a few seconds
  4. replace the power cable then the usb cable
  5. open putty again and reestablish the connection

Testing Galileo's Arduino

  1. tools -> serial port -> your COM port
  2. try running the "blink" sketch in the Arduino IDE from file -> examples -> 1. Basics -> Blink
  3. upload sketch to the board
  4. the LED nearest the audio jack should light up

Specs

  • 400mhz cpu
  • 256mb ram
  • 32gb micro sd
  • 10/100 ethernet
  • PCI Express mini-card with PCIe 2.0
  • USB host and device
  • 5v/3.3v power
  • same Arduino pin layout