Robot Kit Overview
The ZeroClaw Robot Kit is a complete toolkit for building AI-powered robots. Designed for Raspberry Pi deployment with offline Ollama inference, it provides all the tools an AI agent needs to interact with the physical world.Features
| Tool | Description | Hardware |
|---|---|---|
| drive | Omni-directional movement (forward, strafe, rotate) | Motor controller, wheels |
| look | Camera capture + vision model description | USB webcam or Pi Camera |
| listen | Speech-to-text via Whisper.cpp | USB microphone |
| speak | Text-to-speech via Piper TTS | Speaker + amplifier |
| sense | LIDAR, motion sensors, ultrasonic distance | RPLidar, PIR, HC-SR04 |
| emote | LED expressions and sound effects | LED matrix, buzzer |
Architecture
Hardware Requirements
Minimum Setup
- Computer: Raspberry Pi 4 (4GB) or Pi 5
- Camera: USB webcam
- Microphone: USB microphone
- Speaker: Speaker with amplifier
- Motors: Motor controller (L298N, TB6612) + 4 DC motors + omni wheels
Recommended Setup
- Computer: Raspberry Pi 5 (8GB)
- Storage: 64GB+ NVMe drive
- Sensors: RPLidar A1, PIR motion sensors, HC-SR04 ultrasonic
- Display: LED matrix (8x8) for expressions
- Safety: E-stop button, bump sensors
Full Bill of Materials
| Component | Model | Price (approx) |
|---|---|---|
| Raspberry Pi 5 | 8GB | $80 |
| NVMe SSD | 64GB+ | $15-30 |
| Motor Controller | L298N or TB6612FNG | $5-15 |
| DC Motors | 4× TT Motors | $20-40 |
| Omni Wheels | 4× 48mm | $10-20 |
| LIDAR | RPLidar A1 | $100 |
| Camera | Pi Camera 3 or USB webcam | $25-50 |
| Microphone | USB mic | $10-30 |
| Speaker | 3W amp + speaker | $10-20 |
| LED Matrix | 8×8 WS2812B | $10 |
| E-Stop Button | Big red mushroom | $5 |
| Bump Sensors | 2× Microswitches | $3 |
| Power | Battery pack (12V, 5A) | $30-50 |
| Chassis | Robot platform kit | $30-80 |
Software Dependencies
All software runs offline on the Raspberry Pi:- Ollama (local LLM inference):
llama3.2:3b,moondream(vision) - Whisper.cpp (speech-to-text):
ggml-base.binmodel - Piper TTS (text-to-speech):
en_US-lessac-mediumvoice - RPLidar SDK (obstacle detection): Python or Rust driver
- ZeroClaw (AI agent runtime): Built from source
Safety Philosophy
The AI can REQUEST movement, but SafetyMonitor ALLOWS it. The safety system runs as an independent task and can override any AI decision:- Pre-movement checks: No obstacles in path?
- Real-time monitoring: Slow down near walls
- Collision response: Reverse if bump sensor triggered
- Watchdog: Auto-stop if no commands for 30s
- Hardware override: E-stop button cuts all motors
Use Cases
Play Companion
Patrol Mode
Interactive Conversation
Personality: Buddy the Robot
The kit includes a default personality file (SOUL.md) that defines:
- Playful: Enjoys games and jokes
- Patient: Never frustrated
- Safe: Always prioritizes safety
- Curious: Loves exploring together
- Counts to 20 for hide and seek
- Stays 1 meter away unless invited closer
- Alerts adults if child seems hurt
- Remembers each child’s name and preferences
Quick Start
1. Build Robot Kit
2. Configure
3. Install Dependencies
See Robot Kit Setup for detailed Ollama, Whisper, and Piper installation.4. Test Components
Safety Notes
Integration with ZeroClaw
The robot kit is currently a standalone crate. It defines its ownTool trait compatible with ZeroClaw but doesn’t require it.
To integrate with core ZeroClaw runtime:
- Create adapter that maps robot-kit tools to
src/tools::Tool - Register in tool factory
- Load
robot.tomlconfig - Enable
safetyfeature for SafetyMonitor
Next Steps
Setup Guide
Complete hardware and software setup
API Reference
Tool specifications and examples
Raspberry Pi Setup
Configure Raspberry Pi GPIO
Supported Boards
Hardware platform comparison
Examples
Full example code is incrates/robot-kit/examples/:
basic_drive.rs: Move forward/backward/rotatevision_test.rs: Capture and describe imagesspeech_test.rs: Listen and speakpatrol.rs: Autonomous room patrolhide_and_seek.rs: Interactive game