Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raspberry-pi

A Claude Code plugin for Raspberry Pi development. Provides hardware reference, wiring guides, sensor recipes, protocol configuration, fleet management patterns, and MicroPython examples — directly in your coding session.

Install

claude plugin add actually-useful-ai/pi

What You Get

/raspberry-pi command

Ask questions or get guidance on any Pi topic:

/raspberry-pi "How do I wire a BME280 to a Pi 5?"
/raspberry-pi "Set up I2C with multiple sensors"
/raspberry-pi "Fleet provisioning with Ansible"
/raspberry-pi "MicroPython WiFi on Pico W"

@cadence agent

Hardware specialist that understands GPIO constraints, protocol tradeoffs, power budgets, and the differences between Pi models. Automatically invoked when questions involve hardware.

Comprehensive skill reference

The skill includes ready-to-use code for:

  • GPIO with gpiozero (works on both Pi 4 and Pi 5)
  • I2C sensors (BME280, MPU6050, SGP30, SSD1306 OLED)
  • 1-Wire temperature (DS18B20, multi-sensor bus)
  • SPI peripherals (MCP3008 ADC)
  • MQTT pub/sub between Pis
  • Camera capture, video, timelapse with picamera2
  • MicroPython on Pico/Pico W (blink, ADC, WiFi, HTTP server, PIO)
  • systemd services for persistent Python scripts
  • Docker with GPIO passthrough
  • Ansible playbooks for fleet management
  • SSH hardening and VPN (WireGuard/Tailscale)
  • Headless setup from first boot

Coverage

Area Details
Models Pi 5, Pi 4B, Zero 2W, Pico, Pico W, Pico 2
GPIO 40-pin mapping, electrical limits, library comparison
Protocols I2C, SPI, UART, 1-Wire, MQTT
Sensors DS18B20, BME280, MPU6050, HC-SR04, DHT22, BMP390, TSL2591, SGP30
System config.txt, headless, SSH, systemd, SD card longevity
Fleet Ansible, SSH config, MQTT logging, centralized monitoring
MicroPython Pin mapping, ADC, WiFi, PIO state machines
Camera picamera2, dual CSI on Pi 5, timelapse
Docker arm64, GPIO devices, compose stacks
Network WireGuard, Tailscale, static IP, mDNS

Troubleshooting

The skill includes a diagnostic section covering:

  • Under-voltage detection (vcgencmd get_throttled)
  • I2C device scanning (i2cdetect)
  • Pi 5 GPIO library migration (RPi.GPIO -> gpiozero/lgpio)
  • SD card longevity (tmpfs, swap disable, NVMe boot)
  • WiFi power management issues
  • Camera detection failures

License

MIT

About

Claude Code plugin — Raspberry Pi and embedded systems, GPIO, sensors, systemd, fleet management

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors