Introduction: Raspberry Pi Spy Tank

About: 31 years old tinker and diy hobbyist. From Oulu, Finland. IG @mkarvonen_instructables

I got a first prize from PI/E day contest. (yaayyy. Thanks for all the awesome voters!!!)

I would like to reward the first 10 people to contact me. I have 10 pieces of 3 month PRO membership codes to giveaway. Write a comment to this project or send me a message and tell me why you should get a free code. The best answer will get a free 1 year PRO membership! So in total 11 PRO memberships are given away!

Like, follow and vote ;) Thank you!

The prize pack included a GoPiGo kit witch is a good robot for beginners to experts.

However the basic model case is pretty clumsy and too tall to move around the house efficiently.

So i made my own case for the whole thing and basically build the whole bot from scratch.

This project requires some modifications to the original GoPiGo board.

Step 1: Parts

The parts used are straight from the GoPiGo kit.

This includes:

-Raspberry pi B+

-Raspberry camera

-Two motors

-GoPiGo board

-Wifi Dongle

-SD card with GoPiGo image. You can download yours from here!


-LED's for light


Step 2: Printing the Parts.

The case is a remix of this project here.

Parts are printed with Printrbot makers kit.

Print material is PLA plastic.

Print speed varies from 20mm/s to 50mm/s.

Layer height is 0.2mm.

Total cost for all the prints were about 25 dollars. This was however made with a expensive PLA plastic that costs about 50 dollars/1kg. With cheaper alternative (look at ebay) You can get a half of the price down.

Parts check list. "aka" how many of what?

Bottom lid x1

Head x1

Sides x4

Tail x1

Track x52 (26/side)

trackFrame x2

Wheel x4

WheelGuard x4

Step 3: Clean Up the Parts.

Clean up the exes plastic and check that everything looks like it should look.

Do a test assembly for the parts to see that everything fits.

Step 4: Connect Camera

Connect camera to its own place. Use screws or hot glue to hold it up.

At this point you could attach the LED's to the holes if needed. I added the LED's lastly and it was pretty hard to get them there.

Note that the camera goes upside down to the head.

Step 5: Assemble the Wheels

Assemble the wheels as show in the picture. Use hot glue or anything you like to ensure that the parts stay on its place.

Remember to test that the wheels turn without force. If you have to apply force to the wheel's to move them try sandpapering the parts until they fit perfectly.

Step 6: Tracks

Connect the tracks to each other with toothpicks.

Toothpicks are cheap and work really well on the tracks. Note that the track's outer holes are smaller than the middle one. This is to keep the middle "hinge" loose when the toothpick is bushed through the smaller outer holes.

Use some force to push the toothpick to the track. Use small drill if needed to enlarge the outer holes.

Step 7: Motor

Put some clue to the wheel hole to ensure that the motor stays in place. Push the motor shaft in to the hole and put some hot glue around the motor just to make sure it stays there.

Step 8: Assemble Body.

Use hot glue to attach the side part and wheels to the main frame.

Glue only one side to the head and tail part.

If you glue both at the same time you will have a hard time to fit all the electronic parts inside.

Step 9: Slim Up.

To slim up the GoPiGo board we will remove the unneeded parts. (the parts can be soldered back if you need them later)

Motor pins change the side from down to up.

Remove everything from the downside of the board.

This includes

-Two led's

-Servo pins

-motor pins.

-ISP pins

-IR slot sensors

Step 10: Fit the Board to the Case.

The fit is tight. Watch out for the camera module!

Remove the side pillar for easy access if needed.

Connect the motors to positive and negative cables. If your wheels act all strange, change the positive and negative cables on the motors.

This would also be a good time to update the GoPiGo software and make the WiFi Dongle setup if you haven't done it yet.

Also try out the camera.

You can read from here about the update process of the GoPiGo image used

Step 11: Rest of the Case.

Use a small amount of glue to the other side part. That just in case if you will have to fix something inside. The small glue will come off a lot easier than whole tube of glue put in there.

Step 12: Tracks

Put the previously build tracks now on the wheels.

Put the tracks under the wheels and move the heads to the up side of the wheels.

Insert last toothpick to the connecting points and you are all done.

Make sure that the tracks and wheels spin easily. If not, make sure that everything is in line and smooth.

Step 13: Case Is Done

The case is finally done. 2 days used to print all of these parts.

Inside the case is enough room for two 9V battery for stealth but quick run.

Step 14: Run Program

To run the program you will need a SSH connection to your raspberry.

Make sure that the raspberry is on WiFi and find the IP address of the raspberry.

This is found from raspberry itself with ifconfig command at terminal OR via your own router setup site witch is your routers address. This address can be found from your routers manual or their website. Just Google

""insert your router name and type here" ip address".

After you are all set up. Download PuTTy and click SSH and type to Host Name your Raspberrys IP address

and click Open.

Now it will ask login name and password

Login name is: pi

Password is : raspberry

After that it should say pi@raspberrypi~#

To start the web server type:

This opens the folder the program is in

cd Desktop/GoPiGo/Software/Python/Examples/Browser\ Streaming\ Robot/

Then make the web server a executable file with

sudo chmod +x

And lastly start the web server.

sudo ./

Lastly type raspberrypi.local/ to your URL arddres bar on you browser

If that does not work use your raspberry's IP address to acces the site.

Now you can acces to the robot controls and live video with anything that has a internet connection and is in the same network.

Step 15: Optional.

Attach the led's to the holes. Hook up them in series with 560 Ohm resistor. Connect the positive and negative wires to your battery lead wires. In the video the Led's were pretty dim because the battery was running out. When the battery was full they were really bright.

Step 16: Bottom Lid

Push the bottom lid on to its place. This should just snap on. Easy to remove with flat head screwdriver.

Make a small hole to the corner if you are going to use bigger battery pack than the case can fit inside.

Step 17: You Are Now Done.

The bot is now complete.

Play with it and see where it can go. Use the live video and bright led's to see under your bed and discover horrible mess from there.

For stealth approach use two 9V battery's inside the case in stead of that hudge 8 AA battery pack. I used that because i was running low on battery's and these had just enough power left to do the debugging and test driving.

Thanks for reading!

And Remember to vote and follow :)

I would like to reward the first 10 people to contact me. I have 10 pieces of 3 month PRO membership codes to giveaway. Write a comment to this project or send me a message and tell me why you should get a free code. The best answer will get a free 1 year PRO membership! So in total 11 PRO memberships are given away!

Move It

Participated in the
Move It

Mind for Design

Participated in the
Mind for Design

3D Printing Contest

Participated in the
3D Printing Contest