Which GPIO pIns can I use for LEDs and relays Circuit Diagram Support: WiringPi supports all Raspberry Pi Boards including Pi 5 ( ๐ง On the Pi 5, only the GCLK functionality is currently not supported due to missing documentation of the RP1 chip). High Performance: By directly accessing the hardware registers, WiringPi ensures minimal latency and maximum performance for your GPIO operations. The comprehensive add-on boards & GPIO Pinout guide for the Raspberry Pi. Raspberry Pi Pinout. 1 3v3 Power; 3 GPIO 2 (WiringPi 8) 5 GPIO 3 (WiringPi 9) 7 GPIO 4 (WiringPi 7) 9 Ground; 11 GPIO 17 (WiringPi 0) The goal is to have a single common platform and set of functions for accessing the Raspberry Pi GPIO across multiple languages Note that GPIO_2 and GPIO_3 each have a 1800 ohm resistor pull-up to +3.3V fitted on the RPi PCB, which makes these pins unsuitable for these recommended safe switch circuits. To use GPIO_2 or GPIO_3 for a switch input: connect the switch with 220 ohms in series to 0V only , but avoid using them except as a last resort (they are designated for

Pinout! The Raspberry Pi GPIO pinout guide. This GPIO Pinout is an interactive reference to the Raspberry Pi GPIO pins, and a guide to the Raspberry Pi's GPIO interfaces. Pinout also includes hundreds of pinouts for Raspberry Pi add-on boards, HATs and pHATs. Support Pinout.xyz. If you love Pinout, please help me fund new features and improvements: And to compare, here is the Raspberry Pi pinout (for more info, here is a complete guide about Raspberry Pi 4, 3B, 3B+ pinout): The table you see with gpio readall is quite complete, it gives you a lot of useful information. The table is separated into 2 parts, which are mirrored, exactly as the Raspberry Pi pinout overview on the second image.

Raspberry Pi GPIO Introduction Circuit Diagram
The official documentation for Raspberry Pi computers and microcontrollers. GPIO and the 40-pin header. Outputs. Inputs. View a GPIO pinout for your Raspberry Pi. Permissions. GPIO pads. Interrupts. Alternative functions. Voltage specifications. GPIO pads control. Control drive strength. The image below shows the GPIO pin layout for the Raspberry Pi B+. We can see the red and orange pins can be used to provide power, and the brown act as grounds. The green pins can be configured Raspberry Pi GPIO (General-Purpose Input/Output) pins allow you to interact with external hardware like LEDs, buttons, motors and sensors. These pins make the Raspberry Pi a powerful tool for learning electronics and building IoT and robotics projects. Raspberry Pi GPIO Pinout. The GPIO pins are located on a 40-pin header (on most models

The website pinout.xyz is useful for looking up these kinds of diagrams. It gives you the exact layout and role of each pin. I also have a dedicated article to the Raspberry Pi Pico pinout if you're using this model.. If your breadboard or GPIO kit didn't come with one, I recommend printing this image out.
