loading

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

    <p>Thank you been trying to make on of these for a while. (just wanted to see if i could do it)</p><p>Not very neat work on mine i know but just wanted to get it working.</p><p>The D cell Battery on the tail of mine is just a counter weight for the phone (as it had to go on that end for easy mounting)</p><p>Great Instructable!</p><p>Thanks</p>
    <p>Can you help me wire them up. So can you take pictures of the wiring closely and where they end.</p>
    <p>I cheated a little with mine (since i had one laying around) I used a pre setup one which had all the pin outs labeled (got it from eBay ages ago)</p><p>(Link to a similar one <a href="http://www.ebay.com.au/itm/L298N-Stepper-Motor-Drive-Controller-Board-Dual-Module-fr-Arduino-H-Bridge-New-/301568600555?pt=LH_DefaultDomain_15&hash=item4636e3a9eb" rel="nofollow"> http://www.ebay.com.au/itm/L298N-Stepper-Motor-Dr...</a> )</p><p>be Careful though that one I linked says it has a 12v input (and that would work yes) but if your motors cant handle 12 volts this will cause trouble, For mine I used the 5v coming from the arduino (does not go super fast but it does work just fine)</p>
    <p>Look wire them like i did, i posted all the wiring steps :) if you have any questions you are welcomed :)</p>
    <p>AWESOMEE :D Great work , loved it :D<br>thank you for posting the pictures :D keep going ;)</p>
    <p>Thanks for the inspiration! I just finished my build and it works great! I used an old Elenco line following &quot;mouse&quot; as the main chassis and reused the original gear-motors that came with it. A L298 motor driver shield simplifies wiring a bit and an inexpensive HC-05 bluetooth module provides the communication. </p>
    <p>hi,</p><p>project is so cool. congrats !</p><p>one question, if i want to put the old android to a tilt-pan (like <a href="http://www.ebay.com.au/itm/191736193225?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT" rel="nofollow">http://www.ebay.com.au/itm/191736193225?_trksid=p2...</a> )</p><p>which changes shuld we made on code? is it possible? how can we control pan tilt via ?</p><p>I really appreciate any help you can provide.</p>
    <p>Hello my friend.Your robot is excellent.Could you send me please your source code(.aia) in this email mitsos_argos1992@hotmail.com</p><p>Thank you for your time.</p>
    <p>sorry i cant give it to you. but i can help you :)</p>
    <p>help me please</p>
    <p>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</p>
    <p>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</p>
    Can I use either 6v or 9v battery instead o 7.2 v? <br>
    I will pay you if you make one for me
    <p>okay no problem , where do you live?</p>
    <p>CAN I USE 9V BATTERY INSTEAD OF 7.2V?</p>
    <p>I live in the U.K and can you make me one for money</p>
    <p>do you want one too?!</p>
    <p>yes</p><p>I can make myself but I don't know how to mount the L298N on the breadboard</p>
    <p>Look closely at the step 4</p>
    <p>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.</p>
    <p>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 :)</p>
    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?
    <p>Hello, can you send me the code of your app. in .aia, please. Thank you</p>
    <p>how to connect L293d</p>
    <p>hai bro without L298 is it works r not <br><br>i am using only relays as motor drivers......<br><br>is it necessary to use pwm pins 5,6 and 10,11 in L298......?</p>
    Can anyone please tell me how to connect the L298N?
    <p>Look at step 4<br></p><p><br>1- Gnd</p><p>2,3- Motor1</p><p>4- Motor feed (batterypack) arduino's VIN pin</p><p>5- arduino's pin5</p><p>6- supply with 5v</p><p>7- arduino's pin6</p><p>8- Gnd</p><p>9- supply with 5v</p><p>10- arduino's pin10</p><p>11- supply with 5v</p><p>12- arduino's pin11</p><p>13,14- Motor2</p><p>15- Gnd</p>
    <p>I am using L298N it doesnt look like yours. </p>
    <p>okay connect all the wires as it says in your picture</p>
    <p>how do I use the new dual h-bridge board especially L298N</p>
    <p>Look at step 4</p><p><br>1- Gnd</p><p>2,3- Motor1</p><p>4- Motor feed (batterypack) arduino's VIN pin</p><p>5- arduino's pin5</p><p>6- supply with 5v</p><p>7- arduino's pin6</p><p>8- Gnd</p><p>9- supply with 5v</p><p>10- arduino's pin10</p><p>11- supply with 5v</p><p>12- arduino's pin11</p><p>13,14- Motor2</p><p>15- Gnd</p>
    like is there a possibility that I could use an iPhone????
    <p>try useing any ios app that communicates with the arduino over bluetooth</p>
    does it have to be an android?
    <p>no, any thing with bluetooth</p>
    <p>Is using a normal IC L298 is sufficient rather than using the dual H-bridge board itself? and also is the BLUEBEE bluetooth module usable for this setup? thanks. :)</p>
    <p>yes you can use both it dosen't really matters in handling low voltages ,<br>and i don't know bluebee , can you give me a link so i can help you?!</p>
    <p>hey. :) your project is super cool! mind if i can get your email to contact you to ask questions on this? </p>
    <p>sure you are welcomed any time :)</p><p>Mahmoud.Alaa989@gmail.com</p>
    <p>I voted! nicely done man.... Thanks for sharing</p>
    <p>thank you really i appreciate that :D</p>
    <p>Very Well Done.. </p>
    <p>thank you :D</p>
    <p>that's awesome men :D , can u send me your android program ? <br>I'm very interested with your apk xD<br><a href="mailto:edmundarmin@gmail.com" rel="nofollow">edmundarmin@gmail.com</a></p>
    <p>you will find in the attachments :D and dont forget to vote :D</p>
    <p>oww heheh , I mean your coding on android studio or eclipse , hehehe :P</p><p>alredy vote ^_^</p>
    <p> thank you for your voting :)<br>i dont have the source code i made it with mit app inventor</p>

    About This Instructable

    15,238views

    245favorites

    Bio: 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 More »
    More by Mahmoud Alaa:TV kill switch , Arduino Tv-B-Gone!! DIY Bluetooth Controlled Robot (Rover) With Live Stream Video!! My Home Made Dremel or Rotary Tool 
    Add instructable to: