O'Reilly logo

Raspberry Pi Essentials by Jack Creasey

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

Line-following robot

In the following image, you can see that the I2C PWM card is mounted externally on the Pi case due to a lack of holes in the case to allow for the servo leads:

Line-following robot

Note the following assembly details in the preceding image:

  • We used the Poweradd Pilot 2GS USB Powerbank to power the system which gave a ridiculously long runtime of about 12 hours for the Raspberry Pi alone, but increased the weight considerably.
  • The servo power is from a 4 x AA size battery holder mounted onto the frame.
  • The camera is mounted through a hole in the tray with two foam washers allowing easy extraction from the robot.
  • The shutdown and start/pause switches and ...

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