Chapter 4. Building a Robotic Fish

Now you've built an R2D2 and a Wall-E robot. Let's turn your attention to the great deep. Let's build a robot that can swim in water. This will use your knowledge of how to control servos, and you'll want a webcam to see what your fish is seeing, but this project can't be controlled using a wireless connection, as that doesn't work well in water. So you'll control your fish using a LAN cable so that you can control your fish from the surface.

In this chapter, we'll cover these topics:

  • Creating a swimming robot using servos and Raspberry Pi
  • Connecting an IMU unit to help the robot stay upright, and also a compass to know which direction the robot fish is going

Since it is much more difficult to buy an existing toy ...

Get Raspberry Pi Robotic Projects - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.