Difference between revisions of "Galileo"

From Earlham CS Department
Jump to navigation Jump to search
(info dump)
Line 11: Line 11:
  
 
Always connect the power first.
 
Always connect the power first.
 +
 +
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 [[http://www.microcenter.com/product/424730/Galileo_Development_Board Micro Center]] and [[http://www.amazon.com/gp/product/B00GGM6KJQ/ref=amb_link_391457722_3?pf_rd_m=ATVPDKIKX0DER&pf_rd_s=auto-sparkle&pf_rd_r=0YETJYR48ZGF8VHYN4E5&pf_rd_t=301&pf_rd_p=1665886302&pf_rd_i=intel%20galileo Amazon]].
  
 
=Resources=
 
=Resources=
Line 32: Line 36:
 
* Galileo board
 
* Galileo board
 
* power adapter
 
* power adapter
* micro SD card
+
* micro SD card (formatted as FAT or FAT32)
 
* micro usb male -> RS32 female
 
* micro usb male -> RS32 female
 
* RS32 male -> usb male
 
* RS32 male -> usb male
Line 55: Line 59:
  
 
Drivers
 
Drivers
# in device manager (or equivalent) find the device [specify] and install the drivers from "arduino-1.5.3/hardware/arduino/x86/tools"
+
# in device manager (or equivalent) find "Gadget Serial V2.4" and install the drivers from "arduino-1.5.3/hardware/arduino/x86/tools"
 
# note the COM port of the device [specify]
 
# note the COM port of the device [specify]
  
Line 73: Line 77:
  
 
Testing Galileo's Arduino
 
Testing Galileo's Arduino
# it should work now; try running the "blink" sketch in the Arduino IDE
+
# try running the "blink" sketch in the Arduino IDE from file -> examples -> 1. Basics -> Blink
 +
# upload sketch to the board
 
# the LED nearest the audio jack should light up
 
# the LED nearest the audio jack should light up
  

Revision as of 22:37, 5 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.

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 [Micro Center] and [Amazon].

Resources

[Getting Started]

[Comprehensive Overview]

[BSP Build Guide]


Downloads

[Software Packages]

[Drivers]

Installation

Materials

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


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. join the female and male RS32
  3. connect Galileo to the PC

Arduino

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

Drivers

  1. in device manager (or equivalent) find "Gadget Serial V2.4" and install the drivers from "arduino-1.5.3/hardware/arduino/x86/tools"
  2. note the COM port of the device [specify]

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. extract[the linux image] to the micro SD card
  8. close your putty
  9. put the micro SD card into the Galileo
  10. remove both cables from the Galileo and wait a few seconds
  11. replace the power cable then the usb cable
  12. open putty again and reestablish the connection

Testing Galileo's Arduino

  1. try running the "blink" sketch in the Arduino IDE from file -> examples -> 1. Basics -> Blink
  2. upload sketch to the board
  3. 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