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

16,378

247

63

Posted in TechnologyRobots

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

About: thank you sunshiine for supporting me : ) i am mahmoud , i live in Egypt , i like to inventing new things form junk and old toys and

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.

Step 1: Let's Gear Up :D.

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.

Step 2: Assemble the Base and Adding the Motors & the Wheels .

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.

Step 3: Mount the Arduino and the Breadboard.

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

Step 4: Mounting and Wiring the Dual H-Bridge to the Arduino.

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

Step 5: Wiring the Bluetooth Module.

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

Step 6: Adding the Batteries.

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

Step 7: Mount Your Android SmartPhone on the Rover.

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

Step 8: Programming Your Arduino.

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

Step 9: Android Softwares.

    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

    Step 10: Finally.

    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

    2 People Made This Project!

    Recommendations

    • Spotless Contest

      Spotless Contest
    • Trash to Treasure

      Trash to Treasure
    • Science of Cooking

      Science of Cooking
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    63 Comments

    hi,

    project is so cool. congrats !

    one question, if i want to put the old android to a tilt-pan (like http://www.ebay.com.au/itm/191736193225?_trksid=p2... )

    which changes shuld we made on code? is it possible? how can we control pan tilt via ?

    I really appreciate any help you can provide.

    Hello my friend.Your robot is excellent.Could you send me please your source code(.aia) in this email mitsos_argos1992@hotmail.com

    Thank you for your time.

    2 replies

    sorry i cant give it to you. but i can help you :)

    hello...can you teach me how to build video stream by using app inventor just like u have do...?? realy need it..please.. this my email: mohdadlyikhwan@gmail.com

    hello... can you teach me how to build video stream by using app inventor just like u do?? realy need it..please.. this is my email : mohdadlyikhwan@gmail.com

    Can I use either 6v or 9v battery instead o 7.2 v?

    okay no problem , where do you live?

    CAN I USE 9V BATTERY INSTEAD OF 7.2V?

    I live in the U.K and can you make me one for money

    yes

    I can make myself but I don't know how to mount the L298N on the breadboard

    I am trying to get live streaming done.Can you tell how you got the live streaming done? And why use the Bluetooth module only? Couldn't you have used the WiFi module for better range? Also what was the output of this? This will be helpful. thanks in advance.

    user

    Great work! I have to ask a simple question, you wrote 2,3- Motor1. Do you mean that one of the wires is going in pin 2 and the other in pin 3 on the Arduino? Which one should be in 2 and which one on 3? I'm a newbie :)

    Nice job man. I love this! I've been trying to put together something similar to this for awhile. Really helped to answer my questions. Thanks for sharing.

    Bro can I use l293d motor driver ic instead if that dual h bridge in your project......plz reply me fast........someone plzz reply

    awesome build. I have one problem though. the BT Controller app wouldn't download on my main phone. and I can't find it in the play store. is there any way to get me to it somehow?

    Hello, can you send me the code of your app. in .aia, please. Thank you