EasyManuals Logo

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 #29 background imageLoading...
Page #29 background image
Hardware 29
Hardware
Lesson 4, Figure 8
Now we need to look at the code.
As with the DC motor activity, we have to start by inserting the servo library. Since that is already on the
Arduino IDE, we don’t have to do any other steps but note it at the top of the code, written as:
#include<Servo.h>
Next, we will have to name our servo. The example provided names your servo as ‘myservo’. You can
change this if you want or just keep it as is. Finally, we have to dene our servo’s starting position, the way
that we do that is by setting a variable to 0 degrees (the starting position). We can write this as:
intpos=0;
Now moving onto the setup, we need to connect or servo via the signal wire (yellow wire on my servo) to
the Galileo. We are going to attach it to pin 9, the way we can write that is:
myservo.attach(9);
We are now able to communicate with our servo motor.
Since we are set up, all we have to do is tell the motor what to do. This is where the code can become very
unique and the programmer has a lot of ability to change the way the servo moves. To start out moving
your servo you need to write a function:
for(pos=0;pos<180;pos+=50)

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