User Guide

Pinout
Thefollowingpinsarepermanentlyconnected.Ifyouwishtostackotherboards,besureto
checkthatthesamepinsarenotusedforeachshield.Ifyouchoosenottousespecificfeatures,
suchastheonboardmotorcontroller,thenyoucanstillsendsignalsviatheI/Opinstotheother
shields.
Digitalpin0:ConnectedtoXBeeTxpin(serialcommunication)*
Digitalpin1:ConnectedtoXBeeRxpin(serialcommunication)*
Digitalpin5:E2speedcontrol
Digitalpin6:E1speedcontrol
Digitalpin7:M2directioncontrol
Digitalpin8:M1directioncontrol
Digitalpin9:IRreceiverpin(notthesensorisareceiveronly,itcannottransmit)
*WhenuploadingcodetotheArduinoboard,itisimportantthattheXbeeorotherrelatedmodule
isnotconnected,freeinguptheseriallines(digitalpins0and1ontheArduino).
Arduino
Arduinoisanopensourceelectronicsprototypingplatformbasedonflexible,easytouse
hardwareandsoftware.It'sintendedforartists,designers,hobbyists,andanyoneinterestedin
creatinginteractiveobjectsorenvironments.
www.arduino.cc
TherearemanywaystolearnhowtocodeinArduino.Wesuggestoneormoreofthefollowing:
www.arduino.cc>“Learning”and“Reference”categories
Arduinorelatedbookshttp://www.robotshop.com/books.html
Software Installation / Setup
1. InstallArduinosoftware:www.Arduino.cc
2. DownloadIRLibrary:http://www.robotshop.com/content/ZIP/arduinolibrarydfr0107.zip
3. Unzip/extractIRemotefoldertoArduino>Libraries
4. OpenArduinosoftware&importIRLibraryasfollows:
5. Sketch>ImportLibrary>AddLibrary(searchforIRemotefolder)
YouarenotrestrictedtousingtheIRlibrary,thoughitistheonly“official”codesupportedatthis
timebyDFRobotandRobotShop.
RobotShopInc.www.RobotShop.com