O'Reilly logo

Raspberry Pi Robotic Projects - Third Edition by Richard Grimmett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required