Through the GPIO, we are able to connect to the outside world. Here is a diagram of the Raspberry Pi GPIO pins:
The following is an explanation of these pins:
- Red pins represent power coming out of the GPIO. The GPIO provides 3.3 Volts and 5 Volts.
- Black pins represent pins used for electrical ground. As you can see, there are 8 ground pins on the GPIO.
- Blue pins are used for Raspberry Pi Hardware Added on Top (HATs). They allow communication between the Raspberry Pi and the HAT's Electrical Erasable Programmable Read-Only Memory (EEPROM).
- Green pins represent the input and output pins that we may program for. Please note that some of the green GPIO pins double up with additional functionality. We will not be covering the additional functionality for this project.
The GPIO is what lies at the heart of the Raspberry Pi. We can connect...