PIPE BOT - ARDUINO BLUETOOTH ROBOT.

Tuesday, June 28, 2016


Pipe bot arduino bluetooth robot.



Hello, Today I am showing how to make a cheap two wheeled arduino bluetooth robot, using PVC pipes and its joints(for making the body). It's simple to make and easy to program. It have a lot of fun to play with this robot. It is not only a common bluetooth robot but a robot having many functions and a unique (My own)design make it different from that of other arduino bluetooth robots. I made this robot not only for fun, also have a plan to add accelerometer and a camera to it and some other small sensors. Thus we can use this robot in various fields .This robot is only a basic design. My next plan to upgrade this robot to v2.0 when I purchase the mpu 6050.

Main uses/Possibilities -
  • Disaster management -
This robot have a simple design and only have two wheels and in a cylindrical shape therefore it can travel to almost all terrains and through dangerous areas .
  • Spying agent for military purpose -
This robot is look like a piece of PVC pipe there for no one can simply identify this is a robot since we can use this for taking images and fore collecting information as spying agent.
  • Home surveillance robot
Bluetooth application to control the pipe bot

Pipe bot in action. Watch the video to understanding the controlling of the pipe bot using the bluetooth app.



Read this tutorial in  - 





Here download all the files -Arduino code, Circuit diagram and fritzing file

Step 1: Tools required


  • Wire cutting
  • Screwdriver
  • Cutting tool
  • Soldering iron
  • Drilling machine(not important)
  • Glue gun(not important)

Step 2: Materials required




r55.jpg
 r33.jpg

  1. Arduino pro mini - Buy here
  2. L293d motor controller shield
  3. Hc-06/05 bluetooth module - Buy here
  4. FTDI parallel to serial converter - Buy here
  5. Arduino female pin socket - Buy here
  6. Perfboard
  7. 2* 9 volt battery
  8. 2* 9 volt battery clip
  9. lM 7805 regulator IC - Buy here
  10. Heat sink
  11. 2* Wheel - Buy here
  12. 2* Gear motor - Buy here
Now I used 200 rpm motors when I upgrade this to self balancing function, have to buy two 500 rpm motors.

Step 3: Size of the robot (length and number of pipe pieces and joints)



PVC pipe size - 1.5 inch(diameter)
  • 2 * pipe pieces. Length - 5.6 mm
  • 2 * cup (closer). Length - 65 mm
  • 2 * coupling (double side joint). Length - 37 mm

Step 4: Let's start drilling


      Picture of Let's start drilling

DSC00095.JPG
DSC00099.JPG
DSC00151.JPG
DSC00152.JPG





Make a large hole on the centre of the cup(closer) and small 5 holes around fore connecting the LEDs(use 4.5mm drilling bit) it as shown in the figure. Then connect five red LED's in parallel mode and solder it and take the input wire for giving power to the machine. Then connect the motor and screw it.
Do the same for both of the cups.


Step 5: Drilling the pipe pieces


Picture of Drilling the pipe pieces

  DSC00154.JPG
DSC00158.JPG
DSC00162.JPG

Drill five holes for fixing the LED around the pipe and insert the LEDs and take the connection out.
Do the same for both the pipe pieces

Step 6: Connecting the two parts and battery -


Picture of Connecting the two parts and battery -

DSC00171.JPG
DSC00170.JPG

Let's connect the two parts (PVC cup and pipe piece) together before taking cable out from motor. Now there are 3 wires are coming out from this part one from red LEDs another from whit LEDs and third one from motors and now we have 2 such identical parts.
Then insert the two 9 volt battery with the clips into one of such part as shown in the figure and connect the the PVC coupling to this part.
Here I used two '9' volt batteries but you can use some other rechargeable batteries with/above 9 volt and 2 ah current and with same size (or less size) as the two 9 volt batteries.

Step 7: Let's start making the electronic section


Picture of Let's start making the electronic section

DSC00114.JPG
DSC00122.JPG

Now make a shield fore placing arduino board after cutting the perfboard in round manner and Try to cut the perfboard and l293d module in round shape as same diameter as pipe (which will fit inside the pvc pipe and to avoid the wastage of place).

Step 8: Wiring all electronic parts together (circuit diagram)


Picture of Wiring all electronic parts together - arduino bluetooth robot (circuit diagram)
DSC00174.JPG
DSC00173.JPG
DSC00175.JPG
Insert the arduino to the socket and connect the bluetooth mudule, lm7805 regulator IC and l293d motor controller as shown in the circuit diagram. Now we can see that there are two cables coming out of the board with 4 wires ,these are going to be connected with motor sheild and the LEDs.(the white cables I got from old DVD player).
Wiring Instructions -
Bluetooth module
- "TX of Bluetooth Module" goes to "RX of Arduino"
- "RX of Bluetooth Module" goes to "TXof Arduino"
- "VCC of Bluetooth Module" goes to "5v of Arduino"
- "GND of Bluetooth Module" goes to "GND of Arduino"
- The State & Key pins of the BT modules are unused.
Motor controller
- "C1-A of motor controller" goes to "PIN 8 of Arduino"
- "C1-B of motor controller" goes to "PIN 7 of Arduino"
- "C2-A of motor controller" goes to "PIN 6 of Arduino"
- "C2-B of motor controller" goes to "PIN 5 of Arduino"
LEDs
- "Positive leg of red LEDs" goes to "PIN 10 of Arduino"
- "Positive leg of red LEDs" goes to "PIN 13 of Arduino"
Battery
- "Positive Terminal of battery" goes to "+v input of lm7805 regulator IC "
- "Negative Terminal of battery" goes to "Ground pin of lm7805 regulator IC "
- "Ground pin of lm7805 regulator IC " goes to "GND of Arduino"
- "+v output pin of lm7805 regulator IC " goes to "RAW of Arduino"

Step 9: Gluing them together and programming the arduino


Picture of Gluing them together and programming the arduino

DSC00178.JPG
DSC00179.JPG
DSC00181.JPG

Connect the wires to motor sheild as shown in the figure. Now there is only one cable free ,that is for connecting with the LEDs. Then glue the the motor controller and arduino sheild together using hot glue gun. In the last image I have shown that the long jumper wires connected to the bluetooth module is winded on the blutooth module board in order to save space.
In next step we are going to insert the electronic parts in to the PVC pipe ,there we need to program it .
I 'am using the FTDI parallel to serial converter to program the arduino pro ,if you don't have this converter . Go through this instructable to program it using arduino uno.
Here is the program ,Download it and upload it to arduino pro mini.Feel free to edit it ;)


Step 10: Finishing the electronic section


    Picture of Finishing the electronic section

DSC00183.JPG
DSC00184.JPG
DSC00185.JPG
DSC00187.JPG

Connect the remaining cables with the LEDs after connecting all white LEDs and red LEDs together. Then connect the board with battery and let's put the board facing to the motor controller into one section(where coupling is not included ).
In the last image we can see there where only little space on either side of the 9 volt battery and this is the place for bluetooth module and for lm7805 regulator.
Now we have completed the wiring of all electronic parts. The main things to be noted here is ,the space available inside the PVC is very less and we have to utilise all the small space remaining after connecting the battery and motors inside the PVC pipes.

Step 11: Last step - adding a switch

      Picture of Last step - adding a switch

DSC00189.JPG
DSC00190.JPG
DSC00191.JPG
DSC00192.JPG
DSC00193.JPG
DSC00195.JPG

Here we are going to add a small switch to the pipe bot ,for this make a small hole in rectangular shape after measuring the size of the switch. Then connect the switch to the wire coming out of the PVC and Glue the switch to the pipe bot. Insert the bluetooth module and ln7805 regulator IC as described in the previous step.
Then connect all parts together and glue the side of the joints(if not glued they may become loose on running ) At last connect the wheels on both sides .
Now we have finished the work and we have a PIPE BOT !.
Future plans and upgrades -
  • Adding an 'mpu 6050' accelerometer to always face same direction (or to avoid rotation) and to avoid the worm like moment of the pipe bot
  • Adding a camera.
  • Replace the 200 rpm motor with 500 rpm

"If you have any doubts or any suggestions please comment below"

    You Might Also Like

    3 comments

    Click on 'Notify me' to get replies of your comment.

    Popular Posts

    Like us on Facebook

    Contact Form

    Name

    Email *

    Message *