DIY Bluetooth Controlled Robot (Rover) With Live Stream Video!!

by Mahmoud Alaa in Circuits > Robots

18755 Views, 243 Favorites, 0 Comments

DIY Bluetooth Controlled Robot (Rover) With Live Stream Video!!

556bba464fbade25fc000064.jpeg
DIY Bluetooth Controlled Robot (Rover) With Live Stream Video!!

WARNING: THIS INSTRUCTABLE CONTAINS A SUPER AWESOME CONTENT SO BE AWARE.
Did you ever wanted to make super awesome robot or rover controlled wirelessly with your mobile device?!
Did you ever wanted to make something look a like mars rover or something?!
Did you ever wanted a spy robot?!
If your answer is yes then you've came to the right guy in the right place :D
This instructable contains easy and simple steps to guide you to make this awesome robot by using simple Electronic parts like arduino, bluetooth module and couple motors, so lets get started :D.

Let's Gear Up :D.

2.PNG
1.PNG

So, we will need a lot of things to get this rover up and running.
Tools & Materials that we need:

  • Robot base (any design will be fine).
  • 2x geared motor or normal one.
  • 2x wheels.
  • coaster wheel.
  • screwdriver and screws.
  • Arduino.
  • Bluetooth Module. (i used HC-06).
  • Dual H-bridge board (i used L298).
  • Powerfull 7.2v BatteryPack.
  • Breadboard and some jumper wires.
  • An Old Android Smartphone (used as IP cam).
  • Another Android Smartphone for controlling the robot.

Assemble the Base and Adding the Motors & the Wheels .

3.PNG
4.PNG
5.PNG
6.PNG
7.PNG
8.PNG
9.PNG
10.PNG
11.PNG
12.PNG
13.PNG
14.PNG
15.PNG
16.PNG
17.PNG
19.PNG
20.PNG

So we will begin by assembling the rover's base using screws and screwdrivers.
After that mount the 2 motors and secure them with their own screws.
Then mount the wheels and sceure them in their place.
At last add the coaster wheel in the back to balance the base.
And finally add the top base.

Mount the Arduino and the Breadboard.

21.PNG
22.PNG
23.PNG
24.PNG

Chose a good spot to mount your arduino and your breadboard and secure them using some screws and your screwdriver.

Mounting and Wiring the Dual H-Bridge to the Arduino.

25.PNG
26.PNG
27.PNG
l298 wiring.png

Mount The Dual H-Bridge on the breadboard and then connect the wires like following.

1- Gnd

2,3- Motor1

4- Motor feed (batterypack) arduino's VIN pin

5- arduino's pin5

6- supply with 5v

7- arduino's pin6

8- Gnd

9- supply with 5v

10- arduino's pin10

11- supply with 5v

12- arduino's pin11

13,14- Motor2

15- Gnd

Wiring the Bluetooth Module.

28.PNG

Add the Bluetooth module on the breadboard then connect
Bluetooth Module's TX to the Arduino's RX
Bluetooth Module's RX to the Arduino's TX
Bluetooth Module's Vcc to the breadboard's Vcc
Bluetooth Module's Gnd to the breadboard's Gnd

Adding the Batteries.

30.PNG
31.PNG
32.PNG
29.PNG

Find a good place to add your batteries and secure them in place.

Mount Your Android SmartPhone on the Rover.

34.PNG
35.PNG

Mount your android smartphone on the rover with a dock or by using a tall screw like i did.

Programming Your Arduino.

37.PNG
38.PNG

Connect your arduino to your Pc and upload this sketch, but first read it and understand it, i made it very simple to undrstand.

Downloads

Android Softwares.

P1040749.JPG
33.PNG
screenshot-20150225-100542pm.png
Screenshot_2015-06-02-13-18-56.png

First, toggle wifi hotspot on your android device, then connect your old device (the one that is mounted on the robot) on the wifi network that you've just made.

Then, download this application called IP Webcam on your old android device and download "BT Controller" from the attachments to your android device that you're going to control the robot from then follow these easy steps:-

  1. launch the app and scroll to the bottom and click "start server".
  1. copy the provided ip link and add "/browserfs.html" to the end of the link so it will look like that http://192.168.1.8:8080/browserfs.html
  2. launch the "BT controller" on the other device.
  3. click the "Select Robot" button and chose your Bluetooth module and pair with it (default password for HC-06 is 0000 or 1234).
  4. paste your link (in my case it was http://192.168.1.8:8080/browserfs.html ) on the text box and click connect
  5. you're ready to go :D

Downloads

Finally.

32.PNG
556bba464fbade25fc000064.jpeg
DIY Bluetooth Controlled Robot (Rover) With Live Stream Video!!

Debugging:

  • If your robot (rover) doesn't move correctly then reverse the motor wires that is connected to the H-Bridge.
  • If you can't get a clear image from the "BT Controller" app paste the provided link as it is without the "/browserfs.html" and click connect again , browse the web page that will pop up and chose another video render type.

Now connect the batteries to the arduino , fire it up :D and go test it and show off with it like a boss :D hope you've liked my instructable, feel free to comment and submit pictures of your own rover :D

DON'T FORGET TO VOTE FOR ME :D