Raspberry Pi GPIO Pinout: What Each Pin Does on Pi 4, Earlier Models
by from Tomshardware on (#6A8SJ)
The Raspberry Pi has 40 GPIO pins that connect to sensors, lights, motors and other devices. Here's a map and detailed explanation of what each does, including on the Pi 4.