hardware/raspberry-pi/SKILL.md
Raspberry Pi hardware interfacing: GPIO, I2C, SPI, UART, and Python programming for SBC hardware.
npx skillsauth add aeondave/malskill raspberry-piInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Goal: Interface hardware peripherals (sensors, actuators, radios) with a Raspberry Pi running a standard Linux OS (Raspberry Pi OS).
The 40-pin GPIO header provides multiple buses.
raspi-config. Built-in pull-up resistors (1.8kΩ) exist on these pins./dev/serial0 (disables Bluetooth console on Pi 3/4).Prefer gpiozero for simple UI/sensors and smbus2 or spidev for deep bus control.
sudo apt install i2c-tools
i2cdetect -y 1
from smbus2 import SMBus
with SMBus(1) as bus:
# Read a byte from device 0x48, register 0x00
b = bus.read_byte_data(0x48, 0)
development
Auth/lab ref: Unicorn Engine CPU-only emulation for shellcode, decryptors, custom VM handlers, instruction tracing, memory hooks, and register-level experiments.
development
Auth/lab ref: Renode board and SoC simulation for MCU/RTOS firmware, UART/GPIO/peripheral modeling, GDB remote debugging, REPL platforms, and RESC scripts.
development
Auth/lab ref: Qiling OS-layer binary emulation for PE/ELF/Mach-O/UEFI/shellcode with rootfs, syscall/API hooks, filesystem mapping, and runtime patching.
databases
Auth/lab ref: QEMU user-mode and full-system emulation for cross-arch binaries, firmware, kernels, disks, serial consoles, networking, and GDB stubs.