Claude Skill

sebastianvkl/pizero-openclaw

pizero-openclaw 是一个开源 Python 项目,通过树莓派 Zero 的 GPIO 和舵机控制机械爪,适合 DIY 机器人和教育场景。

概览

Stars477
Forks71
语言Python
最后更新2026-03-26
最近同步2026-07-04
前往 GitHub

仓库信息

拥有者sebastianvkl
仓库pizero-openclaw
完整名称sebastianvkl/pizero-openclaw
Repo ID1,164,230,582

安装这个 Skill

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

Registry 信息

类型openclaw_skill
质量分75/100
验证状态readme_parsed
最近验证2026-06-10
平台
OpenClaw
能力
memoryvideoterminal
识别文件
README.mdrequirements.txt
配置键
OPENAI_API_KEYOPENCLAW_TOKENOPENCLAW_BASE_URLURL

项目简介

pizero-openclaw 是一个基于 Python 的开源项目,利用树莓派 Zero 的 GPIO 和舵机接口实现机械爪的精确控制。

要点

  • 兼容树莓派 Zero
  • 基于 Python 的控制逻辑
  • GPIO 与舵机集成
  • 开源硬件设计

使用场景

  • 教育机器人项目
  • DIY 机械臂实验
  • 小型抓取器原型制作
  • 学习树莓派 GPIO 编程

README 摘要

# 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

话题

暂无话题

探索更多

数据来自 GitHub,同步时间:2026-07-04