Book Image

Raspberry Pi Essentials

By : Jack Creasey
Book Image

Raspberry Pi Essentials

By: Jack Creasey

Overview of this book

Table of Contents (15 chapters)
Raspberry Pi Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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:

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 LED are wired into a small breadboard area on the I2C board.

Assembling the robot

We assembled our robot from readily available parts that are available from multiple sources and in most countries.

If you decide to use a robot kit, select one with a tail dragger or skid steer configuration based on a two-wheel drive. Keep in mind that our design is...