Robot Kit Setup
Complete guide to building a ZeroClaw-powered robot on Raspberry Pi 5.Prerequisites
- Raspberry Pi 5 (8GB recommended) or Pi 4 (4GB+)
- All hardware components (see Overview)
- Basic soldering and wiring skills
- ~2-3 hours for full setup
Phase 1: Base Operating System
1. Flash Raspberry Pi OS
Use Raspberry Pi Imager:2. Update System
3. Install Rust
Phase 2: AI Software Stack
1. Install Ollama (Local LLM)
2. Install Whisper.cpp (Speech-to-Text)
3. Install Piper TTS (Text-to-Speech)
4. Install RPLidar SDK
Phase 3: Hardware Wiring
Wiring Diagram
Pin Assignments (BCM Numbering)
| Function | GPIO Pin | Device |
|---|---|---|
| E-Stop | 4 | Red mushroom button (normally closed) |
| Bump Left | 5 | Microswitch |
| Bump Right | 6 | Microswitch |
| Motor PWM 1 | 12 | L298N ENA |
| Motor PWM 2 | 13 | L298N ENB |
| PIR Motion 1 | 17 | PIR sensor |
| LED Matrix | 18 | WS2812B data pin |
| Ultrasonic Trig | 23 | HC-SR04 trigger |
| Ultrasonic Echo | 24 | HC-SR04 echo |
| PIR Motion 2 | 27 | PIR sensor |
E-Stop Wiring (Critical)
Phase 4: ZeroClaw Robot Kit Build
1. Clone and Build
2. Install Configuration
3. Configure robot.toml
Edit~/.zeroclaw/robot.toml for your hardware:
Phase 5: Component Testing
Test LIDAR
Test Camera
Test Microphone
Test Speaker
Test Ollama
Phase 6: Robot Startup
Manual Start
Automatic Startup Script
Create~/start_robot.sh:
Systemd Service (Auto-start on Boot)
Create/etc/systemd/system/zeroclaw-robot.service:
Phase 7: Personality Customization
Edit~/.zeroclaw/workspace/SOUL.md to customize the robot’s personality:
Safety Checklist
Before first run with real motors:- E-stop button wired and tested
- Bump sensors wired and tested
- LIDAR spinning and returning data
-
max_speedset to 0.3 or lower - Robot on blocks (wheels not touching ground)
- First test with
backend = "mock"in config - Adult supervision ready
- Clear space around robot (3+ meters)
- Emergency stop response time < 1 second
Troubleshooting
See detailed troubleshooting in:Common Issues
LIDAR not detected:Next Steps
API Reference
Tool specifications and usage
Overview
Architecture and features
Raspberry Pi
GPIO and Pi-specific setup
Examples
Example robot programs