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 to use as a platform, you will be creating your own model of robotic fish. You can either use a 3D printed model or use acrylic to cut your own. This will provide the basic swimming mechanism; the rest is up to you.