Claude Skill

sebastianvkl/pizero-openclaw

pizero-openclaw is an open-source Python project for controlling a robotic claw via Raspberry Pi Zero GPIO and servo motors, ideal for DIY robotics and education.

Overview

Stars477
Forks71
LanguagePython
Last pushed2026-03-26
Last synced2026-07-03
View on GitHub

Repository

Ownersebastianvkl
Repositorypizero-openclaw
Full namesebastianvkl/pizero-openclaw
Repo ID1,164,230,582

Install this Skill

pip install requests python-dotenv # or: pip install -r requirements.txt

Registry

Typeopenclaw_skill
Quality score75/100
Verificationreadme_parsed
Last verified2026-06-10
Platforms
OpenClaw
Capabilities
memoryvideoterminal
Detected files
README.mdrequirements.txt
Config keys
OPENAI_API_KEYOPENCLAW_TOKENOPENCLAW_BASE_URLURL

Summary

pizero-openclaw is a Python-based open-source project that enables robotic claw control using a Raspberry Pi Zero, leveraging GPIO and servo motor interfaces for precise manipulation.

Key features

  • Raspberry Pi Zero compatible
  • Python-based control logic
  • GPIO and servo motor integration
  • Open-source hardware design

Use cases

  • Educational robotics projects
  • DIY robotic arm experiments
  • Prototyping small-scale grippers
  • Learning GPIO programming on Raspberry Pi

README excerpt

# pizero-openclaw A voice-controlled AI assistant built on a Raspberry Pi Zero W with a [PiSugar WhisPlay board](https://www.pisugar.com). Press a button, speak, and get a streamed response on the LCD — powered by [OpenClaw](https://openclaw.ai) and OpenAI. ## How it works ``` Button press → Record audio → Transcribe (OpenAI) → Stream LLM response (OpenClaw) → Display on LCD → Speak aloud (OpenAI TTS, optional) ``` 1. **Press & hold** the button to record your voice via ALSA 2. **Release** — the WAV is sent to OpenAI for transcription (~0.7s) 3. The transcript (with conversation history) is streamed to an **OpenClaw gateway** for a response 4. Text streams onto the **LCD** in real time with pixel-accurate word wrapping 5. Optionally **speaks the response** via OpenAI TTS as sentences complete 6. The idle screen shows a **clock, date, battery %, and WiFi status** The device maintains **conversation memory** across exchanges and includes a **silence gate** to skip empty recordings. ## Hardware - **Raspberry Pi Zero 2 W** (or Pi Zero W) - **[PiSugar WhisPlay board](https://www.pisugar.com)** — 1.54" LCD (240x240), push-to-talk button, LED, speaker, microphone - **PiSugar battery** (optional) — shows charge level on screen ## Setup ### Prerequisites - Raspberry Pi OS (Bookworm or later) - Python 3.11+ - An [OpenAI API key](https://platform.openai.com/api-keys) for speech-to-text (and optionally TTS) - An [OpenClaw](https://openclaw.ai) gateway running somewhere accessible on your network ### Install dependencies ```bash sudo apt install python3-numpy python3-pil pip install requests python-dotenv # or: pip install -r requirements.txt ``` The WhisPlay hardware driver should be

Topics

No topics yet.

Explore more

Data from GitHub. Synced on 2026-07-03