Chapter 21

Ten Great Add-Ons for the Raspberry Pi

IN THIS CHAPTER

Bullet Building an arcade machine

Bullet Making a robot

Bullet Setting your Raspberry Pi to turn on or off on schedule

Bullet Adding new inputs: a piano keyboard, temperature sensor, and gesture sensor

Bullet Adding new outputs: LEDs, LCDs, electronic paper, and a speaker

In addition to being able to connect your own electronics projects to the Raspberry Pi’s general-purpose input/output (GPIO) pins, you can use the pins to mount add-on boards. Extension boards that sit on top of the Pi boards are often called HATs (HAT is short for “hardware attached on top”). HATs comply with a standard and are sized to sit on a full-size Raspberry Pi without overhanging it. Add-ons that are the same size as the Pi Zero are often called pHATs, short for partial HATs. You can use HATs or pHATs with any Raspberry Pi computer.

If you’re using a Raspberry Pi 400, the GPIO pins are parallel to the desk, pointing away from you. On other devices, they point up to the ceiling. ...

Get Raspberry Pi For Dummies, 4th 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.