raspberrypi-4b

Reference Raspberry Pi 4B GPIO pinouts and develop with Python or Go.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a comprehensive GPIO pinout reference, board specifications, and development guidance for the Raspberry Pi 4 Model B, enabling faster and safer hardware interfacing.

Core Features & Use Cases

  • Pinout reference for the 40-pin header with BCM numbering and alternate functions (I2C, SPI, UART, PWM, PCM/I2S).
  • Board specifications including SoC, memory, connectivity, and power details to inform compatibility and sizing.
  • Python and Go development guides with example code and setup instructions for GPIO programming, I2C, SPI, UART, and PWM; supports multi-board projects with XIAO peripheral nodes.

Quick Start

Follow this guide to begin GPIO development on a Raspberry Pi 4B by consulting the pinout, enabling interfaces, and running sample Python/Go code.

Frequently Asked Questions about raspberrypi-4b

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

FAQPage Schema
How do I find the correct GPIO pinout for the Raspberry Pi 4 Model B 40-pin header?

The Raspberry Pi 4 Model B GPIO pinout reference maps the 40-pin header using BCM2711 numbering and specifies alternate functions for I2C, SPI, UART, PWM, and PCM/I2S to ensure safe hardware interfacing.

Can I use Go and Python libraries together for Raspberry Pi 4B GPIO programming?

Yes, this guide supports both Python and Go development workflows for Raspberry Pi 4B GPIO programming by providing setup instructions and example code using libraries like gpiozero, RPi.GPIO, and periph.io.

Does the Raspberry Pi 4B development guide support multi-board setups with XIAO peripherals?

Yes, the Raspberry Pi 4B development guide supports multi-board project configurations by providing integration instructions and examples for connecting and managing XIAO peripheral nodes.

What are the board specifications and connectivity details for the Raspberry Pi 4 Model B?

The Raspberry Pi 4 Model B specifications detail the BCM2711 SoC, memory options, connectivity features, and power requirements to inform hardware compatibility and project sizing.

Why are my Raspberry Pi 4B PWM and UART signals not working correctly with external devices?

Proper Raspberry Pi 4B PWM and UART functionality requires enabling the correct alternate pin functions on the 40-pin header and verifying BCM2711 GPIO numbering to prevent signal misconfiguration.