Introduction: Raspberry Pi Roboat

Raspberry pi roboat is an internet controlled water robot using an RC boat as it chassis. This will be use to check an unreachable sewer by giving a live picture stream to the web browser.

This thing is also could be another option to learn robotics with the raspberry pi because this robot was built on a basic simple python code using webiopi framework.

There is already an instructables about raspberry pi and boat:

https://www.instructables.com/id/Making-an-autonomo...

this robot will another version of it and will have manual control

Step 1: Parts & Tools

Parts
  1. Raspberry Pi (any model will do just fine)
  2. L298n Motor Driver module
  3. USB Wifi TP Link
  4. RC boat
  5. Battery Pack
  6. USB Power Bank
  7. USB Webcam Logitech c170/Raspberry Pi camera
  8. PerfBoard/Stripboard
  9. 4 bright white LED
  10. 330 ohm resistor
  11. BC547 transistor
  12. Cables
  13. 2 Used Plastic Bottle
  14. Plastic Box/project box
  15. bolt and nuts

Tools

  1. Solder
  2. Soldering iron
  3. Wire Striper
  4. Scissor
  5. screwdriver

Step 2: Disassemble RC Boat

For this project I used A cheap RC boat from the local toy store. Fortunately the RC boat has a big body and dual motor attached to it. The dual motor is great because it will give the boat a more precise driving control.

The boat itself already have a motor driver but after test it for a while there were some disconnected line on the PCB So I decide to cut the wire from the motor DC to motor drive and replace it with a L298n motor Driver module. After cutting the wire, solder the cable from motor DC to the jumper wire so it can make an easier connection to L298n module.

Pick up 4 female to female jumper cable and plug it in to IN1, IN2, IN3, IN4 in the L298n module. now save this part and we will continue the raspberry pi part

Step 3: Raspberry Pi Setup

Make sure the sd card are already installed with raspbian, if dont you know how to make a raspbian sd card you can search it in instructables. or use this one:

https://www.instructables.com/id/Getting-started-wi...

Plug the USB wifi and USB Camera to the USB port on the raspberry pi. Then boot it up until you get to the linux terminal.

Set Raspberry Pi network by openig wpa_supplicant.conf data using this command

pi@raspberry$ sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

change the SSID and wpa-psk with the wifi setup used at your house. then save it. when its done restart the pi and if the LED on the USB wifi that means the wifi connection is a success

  • Install MJPG-Streamer

http://blog.miguelgrinberg.com/post/how-to-build-a...

use the link above to install mjpg streamer, after following the instruction make sure the mjpg streamer are already running in background once the pi is booting

  • Install webiopi

https://kushrami.wordpress.com/2015/02/02/tutorial...

the link above are the step by step guide to install and use webiopi

after succesfully installing those application, now make new folder called "roboat" and the grab my code from here:

https://github.com/chalei/surocam

Step 4: Stabilized the Boat

the RC boat have a very sharp Hull but its not capable to hold all the add on componet placed on top of it.

Plastic bottle comes very helpful solving this problem, by adding two plastic bottle on each side the boat now become very sturdy and stable. Any plastic bottle is ok as long as it is not longer than the boat body.

Step 5: Putting It All Together

Take the plastic box and make some hole matched to the raspberry pi hole for bolts and nuts.

connect the jumper wire from the L298n to the GPIO Raspberry Pi. Place the plastic box on top of boat body. Make sure all the component and module are sealed in the box and no water will come in to the box except for USB camera.

Now you can turn it on try it on the nearest pool or lake nearby. And try to drive it using your laptop and mobile device

And This is the video demonstration of the Roboat

Raspberry Pi Contest

Participated in the
Raspberry Pi Contest

Remix 2.0 Contest

Participated in the
Remix 2.0 Contest