ROVER Bot - the Arduino Bluetooth Controlled Tank
Intro: ROVER Bot - the Arduino Bluetooth Controlled Tank
The Arduino ROVERBot. This post aims to present you the construction steps of a ROVER using the Arduino and a bluetooth module. To control the ROVER it was used a Android phone as RC (radio control) interface. The Android application used is the "Arduino Bluetooth RC Controller" which is available on the "Play Store". This application provides a way of control by directional buttons or via digital positioning (accelerometer) of the cell phone itself that is being used as a control device.
This is the link to the application control:
https://play.google.com/store/apps/details?id=braulio.calle.bluetoothRCcontroller&hl=pt_BR
This project is based on the "DIY Phone Controlled FPV Rover (Fast & Agile)" by ASCAS.
I would Like to thank ASCAS by this great project. So Thank you!
STEP 1: What Will You Need to Build This Project?
1 x Tamiya Twin Motor Gear Box - KIT;
1 x Tamiya Tank Chassis - KIT;
1 x Arduino UNO R3 or MEGA;
1 x Bluetooth Module HC-05 or compatible;
1 x Adafruit DC-Motor-Shield;
1 x Battery 11.7 V / 3500 mAh;
For more information about the controller Adafruit motor shield, visit the website below, where you can also get the library used in the project.
https://learn.adafruit.com/adafruit-motor-shield/overview
MOUNTING:Watch the video below to know exactly how to assemble the Tamiya Gear BOX KIT.
STEP 2: Electronics Interconnections
After the "Tamiya Geat Box" and "Tank Chassis" have being mounted, you can begin to start the electronics interconnection.
The diagram shows how the connections should be made. In a short description we have:
1 - Plug the Adafruit Motor Shield on Arduino;
2 - Connect the Bluetooth module: -
RX bluetooth module pin connected to the Arduino TX pin (pin 0);
TX Bluetooth module pin connected to the Arduino RX pin (pin 1);
Bluetooth GND pin connected to Arduino GND pin;
Bluetooth VCC pin connected to Arduino +5V pin;
3 - Connect the right DC-Motor to the Motor Shield (motor-1);
4 - Connect the left DC-Motor to the Motor Shield (motor-3);
Here it is worth a note:
The rotation direction should be tested. If reversed, you should revert the DC-motor wires in order to revert the rotation direction.
5 - Connect the Li-ion battery (ground and positive wire) to GND and M+ pins of Motor Shield;
Another Note: The Motor shield junper (PWR) must be closed (in this way the Arduino will be powered by the battery and also the DC-Motors.
STEP 3: The Code and Library
Get all files on GitHub:
https://github.com/Arduinobymyself/ArduinoRoverBot.git
The Arduino should be programmed without the bluetooth module pins (TX / RX) connected to Arduino pins 0 and 1. This would prevent the Arduino to receive the compiled data from the IDE.
If you have any problems with the files mentioned, request via email to:
STEP 4: How It Works?
First, power on the the Arduino ROVERBot. The bluetooth module will start blinking the red LED (indicating that it is not connected to any computer or bluetooth MASTER control);
Open the Application Control on your Android phone, initially it will be disconnected what will be indicated by a red flashing warning; When opened the application, it will asks whether you want to activate the bluetooth device or not (if it is not already enabled); answer yes; Goes to the application options menu, select the "connect" option; The available devices will appear for connection (usually the Arduino bluetooth module is called "LINVOR"), select this device. The green LED should be lit on the Arduino bluetooth module and it will appears a green indication on the application.
Ready! now the cell phone and ROVERBot are connected via bluetooth and the ROVERBot is ready to be used.
Use the arrow keys to move in the different directions allowed.
You can also use the cell phone accelerometer to control the ROVERBot (by moving the cell phone in different directions).
Now! you must just have fun with this great Rover (strong, fast and robust).
STEP 5: Video and Photos
You could see the Rover's performance in this video: http://youtu.be/9B4_5goUybU
26 Comments
alejandro0669 6 years ago
hi, can you share me the code ?
my email alejandro0669@hotmail.com
Thanks
JoaoP143 7 years ago
Hi.
When i compile the file appear a error :
In function 'void loop()':
error: 'check' was not declared in this scope
exit status 1
'check' was not declared in this scope
Please help me, i starter doing this project about 3 month (school, work, i didn´t have time) and, now i get the last pieces and the code didn´t work
Someone can help me???
Thy :)
mp 15-22 7 years ago
hi i emailed for the complete code. I'm building a similar project. my email is dlted34@aol.com
Christian PaulJ 7 years ago
i'm doing this for my project, and have followed everything every connection, but i cant get the robot to move
AmineK5 7 years ago
porfavor give code. thanks
matkiller@gmail.com
RajatB13 7 years ago
pls give code.
rajatburmankp@gmail.com
SunixDev 7 years ago
KK30 8 years ago
how to connect bluetooth after connecting motor shield on arduino.
ŞerefG 8 years ago
Hi I just made it but it doesn't respond to my commands on application I'm using hc-05 bluetooth module please help thanks
samern 8 years ago
Is there a way to make use of the remaining 2 motor connections with the same application? It seems that it can only handle 2 motors and no more. The idea is to put a pan/tilt camera on the rover and run the pan tilt mechanism off the same shield.
BIGDOG1971 8 years ago
I cannot do it for you but you must to change the code for your purposes.
Good look on your project
samern 8 years ago
rkowitz 8 years ago
sbalala 9 years ago
would
this work with HC-06?
IshanP 9 years ago
i want to make it without the gear box
is there any difference in the code and i am using this shield
http://www.ebay.com/itm/Motor-Drive-Expansion-Shield-Board-Module-L293D-For-Arduino-Duemilanove-Mega-UNO-/221605183415?pt=LH_DefaultDomain_0&hash=item3398b2bfb7
BIGDOG1971 9 years ago
IshanP 9 years ago
and i am using the same geared motors but i want to make it without tamiya bcoz i will have to order it online coz it not available in india
BIGDOG1971 9 years ago
the wrong link and phot
I used tamiya gearbox kit
http://www.ebay.com/itm/Tamiya-70097-Twin-Motor-Gearbox-Set-For-RC-DIY-Construction-Robotics-Model-Kit-/181213434721?pt=AU_Toys_Hobbies_Radio_Controlled_Vehicles&hash=item2a31299361
mschwarz11 9 years ago
What motor did you use?
BIGDOG1971 9 years ago
I bought on ebay:
http://www.ebay.com/itm/Arduino-Smart-Car-Robot-Plastic-Tire-Wheel-with-DC-3-6v-Gear-Motor-for-Robot-/321546784195?pt=LH_DefaultDomain_0&hash=item4addae8dc3