Difference between revisions of "Galileo"

From Earlham CS Department
Jump to navigation Jump to search
(Installation)
(Installation)
Line 37: Line 37:
 
* RS32 male -> usb male
 
* RS32 male -> usb male
  
Documentation
 
  
* [[https://communities.intel.com/servlet/JiveServlet/downloadBody/22204-102-1-25429/Galileo_GettingStarted_329685_005.pdf Getting Started 005]]
+
Downloads
 
+
# [[https://communities.intel.com/servlet/JiveServlet/downloadBody/22204-102-1-25429/Galileo_GettingStarted_329685_005.pdf Getting Started 005]]
* [[https://communities.intel.com/servlet/JiveServlet/downloadBody/21882-102-1-25153/Quark_BSPBuildGuide_329687_001.pdf BSP Build Guide 001]]
+
# [[https://communities.intel.com/servlet/JiveServlet/downloadBody/21882-102-1-25153/Quark_BSPBuildGuide_329687_001.pdf BSP Build Guide 001]]
 
+
# go [[https://downloadcenter.intel.com/Detail_Desc.aspx?DwnldID=23171 here]] and download "Intel Galileo Arduino SW 1.5.3" and "LINUX IMAGE FOR SD for Intel Galileo"
 
 
 
 
# download documentation
 
  
 
Cables
 
Cables
Line 53: Line 49:
  
 
Arduino
 
Arduino
# download and extract "Intel Galileo Arduino SW 1.5.3" the Arduino IDE for Galileo
+
# extract "Intel Galileo Arduino SW 1.5.3"
# open Arduino 1.5.3
+
# open the executable for Arduino 1.5.3
 
# change board to Galileo if necessary
 
# change board to Galileo if necessary
 
# update the firmware via help -> firmware update
 
# update the firmware via help -> firmware update
Line 61: Line 57:
 
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 the device [specify] and install the drivers from "arduino-1.5.3/hardware/arduino/x86/tools"
# the Galileo port  
+
# note the COM port of the device [specify]
  
 
Serial Connection
 
Serial Connection
 +
# get [[http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Putty]] (or equivalent)
 
# open Putty (or equivalent)
 
# open Putty (or equivalent)
 
# change the connection type to serial, speed to 115200, and the serial line to your specified COM port
 
# change the connection type to serial, speed to 115200, and the serial line to your specified COM port
# save the settings and open the connection
+
# save the settings and click the open button
 
# 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
# download [[http://downloadmirror.intel.com/23171/eng/LINUX_IMAGE_FOR_SD_Intel_Galileo_v0.7.5.7z the linux image]]
+
# 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 the previous file to the micro SD card
 
 
# close your putty
 
# close your putty
# place the card into the Galileo and power cycle it
+
# put the micro SD card into the Galileo
 +
# remove both cables from the Galileo and wait a few seconds
 +
# replace the power cable then the usb cable
 
# open putty again and reestablish the connection
 
# open putty again and reestablish the connection
  

Revision as of 21:12, 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.

There aren't any packages installed on their Linux distro.

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



Resources

[Getting Started]

[Comprehensive Overview]

[BSP Build Guide]


Downloads

[Software Packages]

[Drivers]

Installation

Materials

  • Galileo board
  • power adapter
  • micro SD card
  • 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 RS32 cables
  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 the device [specify] 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 Arduino

  1. it should work now; try running the "blink" sketch in Arduino
  2. the LED nearest the audio jack should light up

Specs

Sensors

photoresistor

temperature

servo

LCD

Code

Examples

Snippets