PyPI
pypi.org › project › RPi.GPIO
RPi.GPIO · PyPI
Note that the current release does ... on the RPi yet. This is planned for the near future - watch this space! One-wire functionality is also planned. Although hardware PWM is not available yet, software PWM is available to use on all channels. For examples and documentation, visit http://sourceforge.net/p/raspberry-gpio-python/w...
» pip install RPi.GPIO
Pinout.xyz
pinout.xyz
Raspberry Pi GPIO Pinout
GPIO - General Purpose Input/Output, aka "BCM" or "Broadcom". These are the big numbers, e.g. "GPIO 22". You'll use these with RPi.GPIO and GPIO Zero.
Raspberry Pi GPIO Uses?
GPIO is used for "general purpose input and output". Basically, it is a very simple interface to communicate with electronic accessories and peripherals. Each pin can be individually configured as an input device or an output device. An output device is usally something like an LED, speaker, or LCD display. Input devices can be some kind of sensor, such as a photodetector (i.e. light sensor), accelerometer, or microphone. Many sensors need the help of an analog-to-digital converter (ADC), which I don't think the raspberry pi has, so you would probably need to supply your own. Lastly, a group of GPIO pins can be used together to bit-bang a more complicated protocol, such as serial, SPI or I2C. This opens you up to many more possibilities with more advanced peripherals. More on reddit.com
Help me find rpi.gpio library
For python libraries pypi (no relation to the Pi folk) is a good place to start. This gives install instructions and a link to the projects home page: https://pypi.org/project/RPi.GPIO/ and https://sourceforge.net/projects/raspberry-gpio-python/ Where you will find the wiki in this case https://sourceforge.net/p/raspberry-gpio-python/wiki/Home/ Note this library is not great and well out of date - it is missing some core functionality (I2C, SPI, hardware PWM spring to mind) and IIRC support for the Pi 5. The Pi folk now use the GPIO Zero module https://www.raspberrypi.com/documentation/computers/os.html#use-gpio-from-python More on reddit.com
Difference between GPIOZERO / RPI.GPIO / digitalio
Gpiozero is a simple, easy to use library. Rpi.gpio i think is more complex and requires more knowledge of the hardware in some cases. That said, its still very easy to use, but probably harder to use for things like i2c. Idk what digitalio is. Gpiozero and rpi.gpio will probably be equally as difficult/easy to use for the project youre doing from the sound of it. You could always refactor the code with rpi.gpio or digitalio after you do it with gpiozero to see which you like more More on reddit.com
Pi Pico - desolder components to get more GPIO Pins
Not meaning to demean the work you have done so far but ever thought you may be heading in the wrong direction? Keyboard encoding chips exist (heck even an eprom can do the job), BCD encoders and decoders can help, I/O port expanders exist (lots using I2C) and other processors with more I/O exist. It's quite often a trap we all fall into - going down a route so far that we are loath to step 'backwards' and dig ourselves deeper and deeper. Have a read up on the XY Problem - fascinating subject for IT folk. More on reddit.com
Videos
04:09
How GPIOs Work - Raspberry Pi 5 Tutorial (#6) - YouTube
04:35
Raspberry Pi GPIO: A Beginner’s Guide (2025) - YouTube
10:47
You NEED to Learn Raspberry Pi GPIO Pins (Beginner to Pro) - YouTube
16:07
GPIO Explained! How Raspberry Pi Talks to the Real World - YouTube
Raspberry Pi GPIO Python Guide
13:16
Raspberry Pi GPIO Python Guide - YouTube
Raspberry Pi Forums
forums.raspberrypi.com › board index › programming › python
What is the official Raspberry Pi library for accessing GPIO ports ? - Raspberry Pi Forums
September 14, 2024 - You can install the latest version with `pip install gpiod`. Here are some examples of using it. I'm not sure exactly what you mean by "I want to program the raw hardware as I want", but I'm not about to suggest you mess with the hardware registers directly on a Pi running Linux, as some of the older libraries do, as that is a bad idea for beginners, IMHO. ... Sat Sep 14, 2024 10:34 pm So far I succesfully used RPi.GPIO library to work with the GPIO ports of a Raspberry Pi 4.
Raspberry Pi Forums
forums.raspberrypi.com › board index › hardware and peripherals › interfacing (dsi, csi, i2c, etc.)
Beginners Guide to Wiring Things to the GPIO - Raspberry Pi Forums
For convenience, I recommend obtaining the Adafruit Pi T-Cobbler Plus (or the Adafruit Pi T-Cobbler if you have an old RPi A or B model with a 26-pin GPIO) and a small breadboard - the T-Cobbler links the RPi GPIO header to the breadboard, and the breadboard provides an array of sockets into which electronic components can be inserted to make connections without soldering (the photo shows flying leads off to other circuits, but individual components can be inserted directly on the breadboard):
Gentoo Wiki
wiki.gentoo.org › wiki › Raspberry_Pi_Install_Guide › Raspberry_Pi_GPIO
Raspberry Pi Install Guide/Raspberry Pi GPIO - Gentoo wiki
GPIO and the 40 pin header section from the Raspberry Pi's hardware page. Taking It To Another Level: Making 3.3V Speak With 5V article which explains what level shifters are and explains how to make one. RPi Low-Level peripherals page at eLinux wiki.
Reddit
reddit.com › r/raspberry_pi › raspberry pi gpio uses?
r/raspberry_pi on Reddit: Raspberry Pi GPIO Uses?
August 7, 2012 -
I'm looking into getting a Pi just for making a small box that'll house several emulators and run all my old games. I've already confirmed the power needed and RP has plenty. I'm curious about the GPIO pins though, would I use them or is it safe to "ignore" that part of the board for now when I make my case? So I've come here to hear what some of the possibilities are of the GPIO to make that decision, any knowledge you can leave is greatly appreciated.
Top answer 1 of 5
4
GPIO is used for "general purpose input and output". Basically, it is a very simple interface to communicate with electronic accessories and peripherals. Each pin can be individually configured as an input device or an output device. An output device is usally something like an LED, speaker, or LCD display. Input devices can be some kind of sensor, such as a photodetector (i.e. light sensor), accelerometer, or microphone. Many sensors need the help of an analog-to-digital converter (ADC), which I don't think the raspberry pi has, so you would probably need to supply your own. Lastly, a group of GPIO pins can be used together to bit-bang a more complicated protocol, such as serial, SPI or I2C. This opens you up to many more possibilities with more advanced peripherals.
2 of 5
2
Tbh, i don't know, but try the wiki , this describes the pins , and a list of expansion boards . (The Gertboard was the first i think, but again, i don't really know.)
TME
tme.com › main page › news › knowledge base › gpio functions and applications on the raspberry pi
GPIO functions and applications on the Raspberry Pi | Transfer Multisort Elektronik USA
December 17, 2025 - Since in RPi this interface is supported in hardware, buffer handling and data sending is done natively, providing very stable transmission even at higher speeds (typically this will be 9600b/s). The limitation here is , unfortunately, quite restrictive - UART is used for communication between two devices only. Nevertheless, many electronic modules, e.g. GPS receivers, GSM modems (LTE, 4G, 5G) require the use of such an interface. Two GPIO ...
SourceForge
sourceforge.net › home › browse › raspberry-gpio-python › wiki
raspberry-gpio-python / Wiki / Home
Not sure if it helps but you can try this (non interactive) : python -c 'import RPi.GPIO as GPIO; print(dir(GPIO))'
SourceForge
sourceforge.net › home › browse › raspberry-gpio-python › wiki
raspberry-gpio-python / Wiki / BasicUsage
By doing it this way, you can refer to it as just GPIO through the rest of your script. To import the module and check to see if it is successful: try: import RPi.GPIO as GPIO except RuntimeError: print("Error importing RPi.GPIO! This is probably because you need superuser privileges.
SparkFun Learn
learn.sparkfun.com › tutorials › raspberry-gpio › python-rpigpio-api
Python (RPi.GPIO) API - Raspberry gPIo - SparkFun Learn
That statement "includes" the RPi.GPIO module, and goes a step further by providing a local name -- GPIO -- which we'll call to reference the module from here on.
Varac
varac.net › docs › hardware › single-board-computers › raspberry › gpio.html
Raspberry PI GPIO - Varac's documentation
RPi docs: GPIO and the 40-pin header · RPi A+/B+, Pi 2/3/4 pin numbers and GPIO numbers · A history of GPIO usage on Raspberry Pi devices, and current best practices, 2024-08 · Legacy: WiringPi · "Due to the underlying hardware changes on Raspberry Pi 5, Wiring Pi does not yet work on this device.
W3Schools
w3schools.com › nodejs › nodejs_raspberrypi_gpio_intro.asp
Node.js Raspberry Pi GPIO Introduction
The Raspberry Pi has two rows of GPIO pins, which are connections between the Raspberry Pi, and the real world.
Luis Llamas
luisllamas.es › inicio › cursos › curso raspberry pi
What are GPIO and how to use them on Raspberry Pi
May 9, 2025 - We learn what GPIO (General Purpose Input/Output) are on Raspberry Pi, how they work, and how to use them to interact with hardware
SparkFun Learn
learn.sparkfun.com › tutorials › raspberry-gpio › all
Raspberry gPIo - SparkFun Learn
GPIO Pinout -- An overview of the Pi's GPIO header. ... RPi.GPIO API -- An overview of the Python functions you can use to drive GPIO.
Raspberry Pi
raspberrypi.com › documentation › computers › raspberry-pi.html
Raspberry Pi computer hardware - Raspberry Pi Documentation
Use the --cacertder option of the rpi-eeprom-config tool to add the DER-encoded certificate. You must place a hash of the certificate in the EEPROM config settings to ensure that the certificate is not modified. Run the following command to generate a DER-encoded certificate: ... <hash> with the hash value you generated above, e.g. 701bd97f67b0f5483a9734e6e5cf72f9a123407b346088638f597878563193fc ... [all] BOOT_UART=1 POWER_OFF_ON_HALT=0 BOOT_ORDER=0xf461 [gpio8...
GitHub
github.com › sarnold › RPi.GPIO
GitHub - sarnold/RPi.GPIO: A Python module to control the GPIO on a Raspberry Pi · GitHub
Starred by 8 users
Forked by 3 users
Languages C 71.1% | Python 27.3% | C++ 1.2% | Makefile 0.4%
Electropeak
electropeak.com › learn › tutorial-raspberry-pi-gpio-programming-using-python-full-guide
Raspberry Pi GPIO Pins Programming Using Python [Full Guide]
March 3, 2024 - In this tutorial, you will explore the input and output pins of the Raspberry Pi and learn how to control them using the powerful Python 3 programming language. We will focus on two widely used libraries, Gpiozero and Rpi.GPIO, to facilitate GPIO (General Purpose Input/Output) pin control and ...
Reddit
reddit.com › r/raspberrydiy › help me find rpi.gpio library
r/raspberryDIY on Reddit: Help me find rpi.gpio library
November 24, 2025 -
internet for books that would help me learn rpi.gpio library but couldn't find one. Been to their official site didn't got any please provide me link to lean gpio library for rasberry pi 4