raspberrypi-5

Document Raspberry Pi 5 GPIO pinouts and Python/Go interfaces for I2C, SPI, UART, and PWM.

1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/therebelrobot/microcontroller-base --skill raspberrypi-5
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: raspberrypi-5
Source: https://github.com/therebelrobot/microcontroller-base/tree/main/.roo/skills/raspberrypi-5
Command: npx skills add https://github.com/therebelrobot/microcontroller-base --skill raspberrypi-5

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pin mapping and GPIO interfacing on the Raspberry Pi 5 are complex without a centralized reference.

Core Features & Use Cases

  • Pinout reference and GPIO mappings for the Raspberry Pi 5 40-pin header, including BCM numbers and alternate functions.
  • Python and Go development guides for GPIO programming using gpiozero, RPi.GPIO, periph.io, and libgpiod.
  • I2C, SPI, UART, and PWM configuration guidance, plus integration patterns for multi-board projects with XIAO microcontroller nodes.

Quick Start

Power up your Raspberry Pi 5, install the recommended GPIO libraries, and begin wiring peripherals while following this guide.

Frequently Asked Questions about raspberrypi-5

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure Raspberry Pi 5 GPIO pins for I2C, SPI, and UART?

To configure Raspberry Pi 5 GPIO pins for I2C, SPI, and UART, use this centralized pinout reference for BCM numbers and alternate functions, then apply the provided configuration guidance for safe interfacing.

What is the correct 40-pin header pinout for the Raspberry Pi 5?

The Raspberry Pi 5 40-pin header pinout reference maps BCM numbers and alternate functions, resolving pin assignment confusion by providing centralized board specs and GPIO mappings.

Can I use gpiozero and RPi.GPIO libraries for Raspberry Pi 5 GPIO programming?

Yes, gpiozero and RPi.GPIO are supported for Raspberry Pi 5 GPIO programming, alongside libgpiod and periph.io, with development guides available for both Python and Go workflows.

How do I set up PWM on a Raspberry Pi 5?

Set up PWM on a Raspberry Pi 5 by following the GPIO configuration guidance for PWM, ensuring you reference RP1-specific considerations and use up-to-date libraries like libgpiod or gpiozero.

Does Raspberry Pi 5 GPIO interfacing require RP1-specific considerations?

Yes, Raspberry Pi 5 GPIO interfacing requires RP1-specific considerations and reference data on RP1 features to function safely, as pin mapping is complex without a centralized reference.

What are the limitations when using multi-board projects with XIAO nodes on Raspberry Pi 5?

Limitations include needing up-to-date GPIO libraries and careful integration patterns for multi-board projects with XIAO nodes, requiring PCIe and RP1 feature reference data to function safely.