Programming the Raspberry Pi, Third Edition: Getting Started with Python, 3rd Edition
by Simon Monk
9
Interfacing Hardware
The Raspberry Pi has a double row of pins on one side of it. These pins are called the GPIO (General Purpose Input/Output) connector and allow you to connect electronic hardware to the Pi as an alternative to using the USB port.
The maker and education communities have created many expansion and prototyping boards you can attach to your Pi so you can add your own electronics. This includes everything from simple temperature sensors to relays. You can even convert your Raspberry Pi into a controller for a robot.
In this chapter, we explore the various ways of connecting the Pi to electronic devices using the GPIO connector. Because this is a fast-moving field, it is fairly certain that new products will have come on the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access