User Guide
Pinout
Thefollowingpinsarepermanentlyconnected.Ifyouwishtostackotherboards,besureto
checkthatthesamepinsarenotusedforeachshield.Ifyouchoosenottousespecificfeatures,
suchastheonboardmotorcontroller,thenyoucanstillsendsignalsviatheI/Opinstotheother
shields.
● Digitalpin0:ConnectedtoXBeeTxpin(serialcommunication)*
● Digitalpin1:ConnectedtoXBeeRxpin(serialcommunication)*
● Digitalpin5:E2speedcontrol
● Digitalpin6:E1speedcontrol
● Digitalpin7:M2directioncontrol
● Digitalpin8:M1directioncontrol
● Digitalpin9:IRreceiverpin(notthesensorisareceiveronly,itcannottransmit)
*WhenuploadingcodetotheArduinoboard,itisimportantthattheXbeeorotherrelatedmodule
isnotconnected,freeinguptheseriallines(digitalpins0and1ontheArduino).
Arduino
“Arduinoisanopensourceelectronicsprototypingplatformbasedonflexible,easytouse
hardwareandsoftware.It'sintendedforartists,designers,hobbyists,andanyoneinterestedin
creatinginteractiveobjectsorenvironments.”
www.arduino.cc
TherearemanywaystolearnhowtocodeinArduino.Wesuggestoneormoreofthefollowing:
● www.arduino.cc>“Learning”and“Reference”categories
● Arduinorelatedbookshttp://www.robotshop.com/books.html
Software Installation / Setup
1. InstallArduinosoftware:www.Arduino.cc
2. DownloadIRLibrary:http://www.robotshop.com/content/ZIP/arduinolibrarydfr0107.zip
3. Unzip/extractIRemotefoldertoArduino>Libraries
4. OpenArduinosoftware&importIRLibraryasfollows:
5. Sketch>ImportLibrary>AddLibrary(searchforIRemotefolder)
YouarenotrestrictedtousingtheIRlibrary,thoughitistheonly“official”codesupportedatthis
timebyDFRobotandRobotShop.
RobotShopInc.www.RobotShop.com