EasyManuals Logo
Home>Intel>Motherboard>Galileo

Intel Galileo Hardware Guide

Intel Galileo
34 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #18 background imageLoading...
Page #18 background image
Hardware 18
Hardware
3.7 Using an input to do something
An input allows a person to interact with the Galileo. To explore inputs, we can start playing and messing with
them. This is one suggestion for a project using inputs:
Make a musical instrument!
First, wire up your input so you can see the LED change if you interact with it. I started with a photodiode for
my project.
In order to hear something, you have to make a speaker. If you happen to have computer speakers, you can
try hooking alligator clips to dierent parts of the bands, and connecting them to where your LED goes (you
can remove the LED). You might hear an annoying pitched noise, which is a good sign!
I didn’t have a speaker ready, so I made one. Loop rubber coated electrical wire in a small circle about twenty
times (~1 in diameter). Strip the two ends of the wire, and leave them pointed outward, so you can connect to
them. Get a plastic cup and two magnets, place one magnet on the inside of the cup, on the bottom. Place
the other magnet underneath the cup, so the magnets stick to each other through the cup. Tape the loop
of the wire to the outside bottom of the cup, so that the magnets are in the center of the loop. Connect one
side of the wire to GND on your Galileo board, and the other to your output pin. When you upload the input
program (above), you should hear a high pitched noise. That means it’s working!
Try interacting with your input (i.e. shining light on the photodiode). Does the sound change? It should!
This gave me a little more variety in the sounds I produced. Try things to see if they make an interesting musi-
cal instrument. My nal loop function looked liked this:
voidloop(){
//putyourmaincodehere,torunrepeatedly:
intavalue;//Analogvaluereadfrompin
intscaledvalue;//valueafterscaling(dependsonyourinput)

avalue=analogRead(motorin)+analogRead(lightin);//addthevalues
fromthemotorandthediode
Serial.println(avalue);//printoutthatvaluetotheserialmonitor,
thisisformakingsuretheanaloginputisworking
//continuedonnextpage------>
I also messed with the delay, to make the noise more interesting, I added this line to the end of loop:
delay(map(avalue,0,1024+1024,0,100);

Other manuals for Intel Galileo

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Intel Galileo and is the answer not in the manual?

Intel Galileo Specifications

General IconGeneral
Product familyIntel Galileo
Product seriesIntel Galileo board
Processor cache16 KB
Processor cores1
Processor modelIntel Quark SoC X1000
64-bit computingNo
Processor socketQuark 393pin FCPGA
Product codename-
Processor frequency400 MHz
Microcontroller modelIntel Quark
Processor lithography32 nm
Processor manufacturerIntel
Thermal Design Power (TDP)12.5 W
Memory bandwidth supported by processor (max)2.5 GB/s
Memory bus32 bit
Flash memory8 MB
Memory channelsSingle-channel
Flash memory typeNorwegian
Memory clock speed800 MHz
Internal memory typeDDR3
Number of DIMM slots0
Compatible memory cardsMicroSD (TransFlash), MicroSDHC
Maximum internal memory0.256 GB
Maximum memory card size32 GB
SRAM (Static Random Access Memory)512 KB
EEPROM (Electrically Erasable Programmable Read-Only Memory)8 KB
USB version2.0
Ethernet LANYes
USB ports quantity3
Ethernet interface typeFast Ethernet
ARK ID78919
StatusDiscontinued
Launch dateQ4'13
Package size15 x 15 mm
FSBs supportedNA
Processor includedIntel® Quark™ SoC X1000 (16K Cache, 400 MHz)
Supported memory typesDDR3-SDRAM
Power over Ethernet (PoE) voltage12 V
Export Control Classification Number (ECCN)4A994
PCI SupportPCI Express
PCI Express interface data lanesx1
Form factorArduino
Market segmentDesktop
DC input voltage5 V
Intel Small Business Advantage (SBA) version0.00
Last change63903513
Processor ID79084
Product type11
Harmonized System (HS) code8471500150
Weight and Dimensions IconWeight and Dimensions
Width- mm

Related product manuals