The DFRobotShop Rover is intended to be a “learning platform” which provides users with the hardware to get started in programming mobile robots using Arduino. The sample code available here can be used as reference to help you test the various platforms, but users are expected to learn how to use the Arduino software.
The DFRobotShop Rover is a versatile mobile robot tank based on the popular Arduino microcontroller. The basic Rover uses the Tamiya twin motor gearbox but can also be purchased in a variety of kits and configurations. The DFRobotShop Rover PCB incorporates a standard Arduino (surface mount ATMega328), dual motor driver (connected to digital pins 5 to 8), onboard voltage regulator and prototyping area.
PCB V1.5 Figure 1: DFRobotShop Rover V1.5 Features (1) 3.7V LiPo battery charging jumper. Important note: jumper should only be in place when using a LiPo battery connected to (38), otherwise remove. Do NOT use jumper if you are using the 4xAA pack.
Page 7
Voltage: 3.5V (min) to 9V (max) via Vin pin, PWRin (3.5mm jack) or white connector. The Tamiya motors run at 3 to 4.5V nominal. 6V+ will work but reduce the motor’s life 6V motors are available separately should you want to make your rover faster.
PCB V2.0 Figure 2: DFRobotShop Rover V2 Features (1) Cool blue LED (2) 3.7V LiPo battery charging circuit. Important note: jumper should only be in place when using a LiPo battery connected to (38), otherwise remove. Do NOT use jumper if you are using the 4xAA pack.
Page 9
Xbee Headers The two XBee slots can be used with both series 1 and series 2 XBee modules. Note that the basic rover does NOT include the headers which can be purchased separately (they would need to be soldered to the board).
EITHER the mini JST connector OR the barrel connector – NOT BOTH. a. 4x AA Battery Pack : The DFRobotShop Rover includes a 4xAA battery pack which can be connected directly to the white power input at the back of the board. Both alkaline (1.5V) and rechargeable (1.2) batteries can be used, and the batteries power both the board and the...
Rover. Motion The DFRobotShop Rover Basic Kit uses two tank tracks, each connected to their own DC gear motor. Rotating the tracks at the same time in the same direction produces forward motion. Rotating the tracks at the same time in the opposite direction causes the robot to move in reverse. Varying the speed of one of the tracks will cause the robot to move in a circle.
USB port of the shield. Motion The DFRobotShop Rover Basic Kit uses two tank tracks, each connected to their own DC gear motor. Rotating the tracks at the same time in the same direction produces forward motion. Rotating the tracks at the same time in the opposite direction causes the robot to move in reverse.
Specifications (Basic Kit) Maximum speed (using 4x AA NiMH batteries and motor config. 'C'): 12.5cm/sec (no load) • PCB Dimensions: 57mm x 195mm (200mm for V2.0) • Overall dimensions: 200mm long x 108mm wide x 58mm high • Weight (assembled kit not including batteries): 250g...
Use EITHER the mini JST connector OR the barrel connector – NOT BOTH. The DFRobotShop Rover Bluetooth and Xbee kits still include a 4xAA battery pack which can be connected directly to the white power input at the back of the board instead of the LiPo . Both alkaline (1.5V) and rechargeable (1.2) batteries can be used, and the batteries power both the board and the motors.
Motion The DFRobotShop Rover Basic Kit uses two tank tracks, each connected to their own DC gear motor. Rotating the tracks at the same time in the same direction produces forward motion. Rotating the tracks at the same time in the opposite direction causes the robot to move in reverse. Varying the speed of one of the tracks will cause the robot to move in a circle.
V2.0 Mecanum Kit Assembly Guide The assembly video guide for the DFRobotShop Rover 2.0 Mecanum Kit can be found on RobotShop’s Youtube page (RobotShopTV) at: http://www.youtube.com/watch?v=UEIFHebyM5s Important Notes Unlike the basic kit, you can assemble the Tamiya Gearbox in ANY of the three configurations.
Motion The image below gives you an idea of the range of motion possible when using Mecanum wheels. Note that some directions are slower than others because of the forces involved. To facilitate zero radius turning (two images at bottom right below), consider mounting the Tamiya Gear Motors in the opposite configuration (with DC motor facing outward).
The brackets can be mounted with the motors above or below the PCB. Assembly Guide The assembly video guide for the DFRobotShop Rover 2.0 Omniwheel Kit can be found on RobotShop’s Youtube page (RobotShopTV) at: http://www.youtube.com/watch?v=5dP-0V6_ayY Important Notes There must be sufficient space between the bracket and the PCB –...
7.4V. The higher the voltage, the faster the motor will turn. We suggest using the 7.4V, 2200mAh LiPo battery, though it’s important to note that the DFRobotShop Rover’s onboard LiPo charger can only charge 3.7V LiPo batteries. Alternatively, you can use the 4xAA battery pack with 4x reachargeable or 4x Alkaline batteries. The 3.7V LiPo works, but the robot is quite slow.
Motion The image below gives you a sense of the motions possible when using omni directional wheels. Note that some directions will be slower than others because of the forces involved.
The Autonomous kit includes a rechargeable 3.7V 1000mAh LiPo battery. To charge the battery, ensure the Li_Sel jumper located in position 2 on the DFRobotShop Rover PCB is in place, and connect a USB cable from your computer to the board. Alternatively, you can use the included 4xAA battery pack, though the jumper needs to be removed.
2. Digital pins 5 to 8 are permanently connected to the onboard motor controller on all versions of the rover. You can use these pins normally only if no motors are connected to the screw terminals. Note that the motor controller will still be receiving signals.
2. Ensure you know which COM port is associated with the USB Bluetooth dongle on your computer. 3. For Windows users, open Hyperterminal and follow “Hyperterminal Configuration” in this guide. 4. In the hyperterinal serial window, you can type W, A, S, D (and any other key to stop) to move the rover. Autonomous Kit (V2.0) The DFRobotShop Rover Autonomous Kit includes a variety of sensors intended to allow users to experiment with autonomous control with feedback from the environment.
9. For Windows users, open Hyperterminal and follow “Hyperterminal Configuration” in this guide. 10. In the serial window, you can type W, A, S, D (and any other key to stop) to move the rover. 11. If the rover is turned off or loses power, you may need to upload the code once again.
9. For Windows users, open Hyperterminal and follow “Hyperterminal Configuration” in this guide. 10. In the serial window, you can type W, A, S, D (and any other key to stop) to move the rover. 11. If the rover is turned off or loses power, you may need to upload the code once again.
Sample Code The DFRobotShop Rover is not intended to be a “complete product” which explains all the steps needed to achieve a specific objective. Instead, the Rover is a platform which provides you with the basic hardware and basic software to get started in programming mobile robots and Arduino. The code below is not “optimized”...
Sketch #2: Basic Rover – W/A/S/D Keyboard Control /*To control the rover, Copy and paste the code below into the Arduino software*/ int E1 = 6; //M1 Speed Control int E2 = 5; //M2 Speed Control int M1 = 8; //M1 Direction Control int M2 = 7;...
Sketch #3: V2.0 Mecanum – Basic Directions /* To control the Rover, copy and paste the code below into the Arduino software. Ensure the motors are connected to the correct pins. The code does not factor in encoders at this time*/ //Front motors int E1 = 3;...
Sketch #4: Omni Wheel Rover – Basic Directions /* To control the Rover, copy and paste the code below into the Arduino software. Ensure the motors are connected to the correct pins. The code does not factor in encoders at this time*/ //Front motors int E1 = 10 ;...
Sketch #5: Basic Rover V1.0 and V1.5 - Analog Sensors /* To read the onboard light and temperature sensors, run the code below, then open the serial window at 9600 baud. Ensure the two jumpers are in place*/ int LightValue = 0;...
Hyperterminal configuration To access Hyperterminal in Windows XP / 2000: Start > All Programs > Accessories > Communications > HyperTerminal Windows 7 does not come with Hyperterminal as a standard feature, so you must find an alternative. Note that hypertrm.exe is available online and emulates Hyperterminal. Hyperterminal screen in Windows...
Page 34
The name “DFRobotShop Rover” is not necessary; you can name it whatever you want. Specify the COM port (USB) that is connected to the DFRobotShop Rover. If you are using XBee, Bluetooth or RF, select the COM port connected to the Bluetooth dongle / XBee breakout / RF Transmitter (USB).
Depending on the module, the bluetooth module may be set to 9600 or 115200 baud, 8 bits. If the default is 115200, the baud rate in the code uploaded to the DFRobotShop Rover must be changed from 9600 to 115200 and correspondingly when using hyperterminal, the baud rate must also be set to 115200.
17 “Request RMA”. Please contact us via the RobotShop Support Center and indicate: Subject: DFRobotShop Rover Troubleshooting V2, Step 17 If you can provide any additional information about what happened or any steps you took which were not outlined in the guide, please include them.
Encoder modules will soon be available for the rover which allow you to count how many steps each motor has rotated. Knowing how each step translates to linear displacement, you can ensure the robot moves in straight lines and the movements are repeatable.
Page 45
There is sample code for the Adventure Robot, but it needs to be modified slightly since the DFRobotShop Rover uses DC gear motors rather than servo motors for propulstion, and an ultrasonic sensor rather than IR sensors for obstacle avoidance.
Versions & Kits Several versions of the DFRobotShop Rover have been released: V1.0 Board (discontinued) Arduino Duemilanove Design w/FTDI USB to Serial LEDs connected to pin 13, Tx, Rx and PWR Temperature and Light sensors connected to A0 and A1 (via jumpers)
Page 47
V1.5 Board (discontinued) V1.0 board with following modifications: Onboard LiPo battery charger RoHS compliance V1.5 Basic Kit (discontinued) Tamiya Twin Motor Gearbox Tamiya Tank Track Kit 2x Metal Brackets V1.0 Hardware Bag 4xAA battery holder V1.5 Bluetooth Kit (discontinued) V1.5 Basic Kit DFRobot Bluetooth Module USB Bluetooth Module 3.7V, 1000mAH LiPo battery...
LiPo Battery A Lipo Battery is included with all but the Basic version of the DFRobotShop Rover, eliminating the need for the 4xAA battery pack. LiPo batteries are very lightweight and provide respectable capacity. http://www.robotshop.com/lithium-polymer-battery-packs-1.html...
The universal connection point incorporates the standard servo horn hole pattern used on Lynxmotion servo erector set brackets. These brackets are ideal for mounting a pan / tilt system to the rover (or a pan and tilt or just a tilt) or for mounting your own custom hardware. We suggest using micro sized servo brackets to reduce weight, though standard sized servo brackets can also be used.
Shield Compatibility The configuration of the DFRobotShop Rover is the same as the Arduino Duemilanove except for the fact that pins 5, 6, 7 and 8 are used to control the motor driver. If you are not using the motor driver, all shields should be compatible with the rover.
Page 53
Useful Links Products Manufacturer Websites: www.robotshop.com, www.dfrobot.com Software Arduino Software: http://arduino.cc/en/Main/Software Support DFRobotShop Rover on RobotShop Forum: http://www.robotshop.com/forum/forumdisplay.php?46-DFRobotShop-Rover DFRobotShop Rover Category: http://www.robotshop.com/ca/dfrobotshop-rover-arduino-robot-construction-kits.html Order specific support, RMAs etc: http://robotshop.helpserve.com/index.php?_m=tickets&_a=submit...
Page 54
V0.8 16/04/2010 V 1.4 14/12/2010 V 1.7 06/05/2011 V1.8 02/09/2011 V2.0 29/11/2011 V2.1 16/01/2012 V2.2 10/02/2012 V2.3 20/04/2012 V2.4 13/02/2013 We are grateful to Arduino for making their platform and software open source. Should you find any erroneous information in the guide, please contact RobotShop via the Support Center.
Need help?
Do you have a question about the ROVER and is the answer not in the manual?
Questions and answers