Manual control is provided using an existing free Android application called Blue control (see details below). Blue Control sends commands to the Tank which are received by a Bluetooth shield and sent to the main processor for making adjustments to the tanks speed/direction. This allows starting/stopping, and turning controls.
Once the Tank is moving, it can maneuver around object objects and continue moving. A sonar based sensor can detect objects in its path and make appropriate turns to go around the object.
For further detials on how to recreate this project refer to the RoboTank wiki.
A power switch is located under the front of the tank. Use this to conserve the battery drain when not using, Note that when the power is turned back on the Blue Control app must “reconnect” to the HC-06 device (the Bluetooth shield on the Tank).
To Recharge the batteries pull out the connector labeled “Recharge” and plug into the Recharge station (12V battery with a DC converter set to 6.5 V). Note that the power switch should be set to “off” before recharging.
The Robo Tank can assembled using the following parts (see the parts list page for a detialed list):
- Aruduino UNO (Any Ardino that can mount the LD293 should do)
- Tamiya Tank kit , a small 8 inch model tank platform
- Tamiya double motor gear box
- Arduino Motor Shield (LD293)
- HC-06 Bluetooth “shield” , for receiving command from the Blue Control application
- HC-SR04 Sonor Sensor for detecting object in the tanks path.
- Blue Control android app (free)
Approximate cost for this project is about $110, not including an Adroid device to run Blue Control. See the parts list page for more detials.
BlueControl is a free Android app, available from Google Play. Blue control provides a set of directional arrows to control the direction (Front,Back, Right, Left, and Stop) as well as 8 extra buttons for controls (A-H). Here’s what they do for the Robo Tank:- A: Blink the Led on the Arduino Board (Good for connectivity testing).
- B: Spin Left (amount depends on battery power)
- C: Run the Left tread only (Good for a wire test)
- D: Move forward at top speed
- E:Nothing
- F: Spin Right (amount depends on battery power)
- G: Run the right tread only (good for a wire test)
- H: Move Backward at top speed
Before Blue Control can send command it must “connect” to the Tanks Bluetooth shield. To do this first turn on the power to the Tank (switch on the bottom of the Tank). Note that the Bluetooth controller should start blinking when this happens. On the Android invoke the Blue Control app and select the configure button on the android device (usually three or so horizontal lines). Select “connect to device”. The app will search for available devices and it should present an “HC-06” device. Select the HC-06 and it should return to it main screen and display a “connected to device HC-06” message within a few seconds.Select the forward button to start the Tank.