Skip to content
HardwareLab

RPi 5 AI robot

Raspberry Pi 5 robot with wake word, voice chat, camera questions, motor control and an autonomous explore mode with obstacle avoidance.

Hardware:
Raspberry Pi 5, camera, motors, distance sensor
Difficulty:
Intermediate
Creator:
shatrix

'Hey Jarvis, explore': a Pi 5 rover with local LLMs.

RPi 5 AI robot
No photo in the source; GitHub repository card, served from HardwareLab.

By shatrix

What it does

Raspberry Pi 5 robot with wake word, voice chat, camera questions, motor control and an autonomous explore mode with obstacle avoidance. It runs offline or offloads to a network GPU.

What you need

Runs offline
Yes, per the source
Difficulty
Intermediate
License
No license stated

Parts

  • 1 × Raspberry Pi 5 (4GB RAM (minimum))
  • 1 × SPI Touch Display (3.5" piscreen compatible)
  • 1 × Raspberry Pi Camera Module 3 (IMX708)
  • 1 × USB Audio Adapter (With mic input + speaker output) [not stated]
  • 1 × Microphone (USB or via USB audio adapter)
  • 1 × Speakers (Powered speakers (USB or 3.5mm))
  • 1 × Motor Driver HAT (Waveshare (PCA9685 + TB6612FNG))
  • 4 × DC Motors (Geared motors with 48mm Mecanum wheels)
  • 2 × HC-SR04-P (3.3V version)
  • 5 × Push Buttons (Momentary SPST)
  • 1 × Battery Pack (7.2V NiMH or 2S LiPo)
  • 1 × Active Cooler (Official RPi5 Active Cooler) [recommended]
  • 1 × SD Card / NVMe (16GB+ (32GB recommended))
  • 1 × Robot Chassis (Tank/differential drive compatible) [not stated]
  • Wires & Connectors (Various) [not stated]
AI model or service
Llama 3.2, Moondream, qwen3-vl, VOSK, Piper

Prices, notes and sources: Parts and requirements

Parts and requirements

PartSpec / notesNeededPrice
1 × Raspberry Pi 5 4GB RAM (minimum)Required
1 × SPI Touch Display 3.5" piscreen compatibleRequired
1 × Raspberry Pi Camera Module 3 (IMX708) Required
1 × USB Audio Adapter With mic input + speaker outputNot stated
1 × Microphone USB or via USB audio adapterRequired
1 × Speakers Powered speakers (USB or 3.5mm)Required
1 × Motor Driver HAT Waveshare (PCA9685 + TB6612FNG)Required
4 × DC Motors Geared motors with 48mm Mecanum wheelsRequired
2 × HC-SR04-P (3.3V version) Required
5 × Push Buttons Momentary SPSTRequired
1 × Battery Pack 7.2V NiMH or 2S LiPoRequired
1 × Active Cooler Official RPi5 Active CoolerRecommended
1 × SD Card / NVMe 16GB+ (32GB recommended)Required
1 × Robot Chassis Tank/differential drive compatibleNot stated
Wires & Connectors VariousNot stated

Full build guide

Steps

Difficulty
Intermediate
  1. Flash Raspberry Pi OS (64-bit, Debian 13 Bookworm) to the SD card or SSD.
  2. Display connections: VCC to Pin 2, GND to Pin 6, MOSI to Pin 19, SCLK to Pin 23, CS to Pin 24, DC to Pin 18, RST to Pin 22.
  3. Camera Module 3 (IMX708): FFC Cable (22-pin) to CAM0 or CAM1 Port.
  4. Motor HAT: VCC (Logic) to Pin 1, GND to Pin 9, SDA to Pin 3 (GPIO 2), SCL to Pin 5 (GPIO 3); I2C Address: 0x40.
  5. HC-SR04-P ultrasonic sensors: Left Trigger to GPIO 22, Echo to GPIO 23; Right Trigger to GPIO 16, Echo to GPIO 12.
  6. SSH to the Raspberry Pi, cd ~/rpi5-rpios-ai-robot, and run sudo ./setup.sh.

Full instructions: View original

How it works

OpenWakeWord + VOSK + Ollama (Llama 3.2 / Moondream or qwen3-vl) + Piper; QML display.

Limits and caveats

  • Raspberry Pi 5: 4GB RAM minimum.
  • 16GB+ SD card or NVMe SSD; 32GB+ recommended for models.
  • Battery powers only the motors; the RPi5 requires separate power (USB-C).

Like this build? Get the weekly builds

Every Thursday: the 5 best gadget hacks you can copy. Free.

Built something? Submit a build

Hardware

  • Raspberry Pi 5
  • camera
  • motors
  • distance sensor

More Raspberry Pi builds

This page is a short summary written by HardwareLab. Build steps, code and photos belong to the creator; follow “View original” for the full project.

Featured? Add this badge

Built this? Paste the badge into your README. It links back to this page.

Featured on HardwareLab

Markdown

[![Featured on HardwareLab](https://hardwarelab.dev/badge.svg)](https://hardwarelab.dev/projects/rpi5-ai-robot/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w)

HTML

<a href="https://hardwarelab.dev/projects/rpi5-ai-robot/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w"><img src="https://hardwarelab.dev/badge.svg" alt="Featured on HardwareLab" width="188" height="20"></a>

Sources

  1. github.com/shatrix/rpi5-rpios-ai-robot/blob/1d5424e1615a5ae16a8ba8bd12f3cbe09a332824/docs/HARDWARE_CONNECTIONS.md#L352-L354
  2. github.com/shatrix/rpi5-rpios-ai-robot/blob/1d5424e1615a5ae16a8ba8bd12f3cbe09a332824/docs/HARDWARE_CONNECTIONS.md#L352-L355
  3. github.com/shatrix/rpi5-rpios-ai-robot/blob/1d5424e1615a5ae16a8ba8bd12f3cbe09a332824/docs/HARDWARE_CONNECTIONS.md#L352-L356
  4. github.com/shatrix/rpi5-rpios-ai-robot/blob/1d5424e1615a5ae16a8ba8bd12f3cbe09a332824/docs/HARDWARE_CONNECTIONS.md#L357
  5. github.com/shatrix/rpi5-rpios-ai-robot/blob/1d5424e1615a5ae16a8ba8bd12f3cbe09a332824/docs/HARDWARE_CONNECTIONS.md#L358
  6. github.com/shatrix/rpi5-rpios-ai-robot/blob/1d5424e1615a5ae16a8ba8bd12f3cbe09a332824/docs/HARDWARE_CONNECTIONS.md#L359
  7. github.com/shatrix/rpi5-rpios-ai-robot/blob/1d5424e1615a5ae16a8ba8bd12f3cbe09a332824/docs/HARDWARE_CONNECTIONS.md#L360
  8. github.com/shatrix/rpi5-rpios-ai-robot/blob/1d5424e1615a5ae16a8ba8bd12f3cbe09a332824/docs/HARDWARE_CONNECTIONS.md#L361
  9. github.com/shatrix/rpi5-rpios-ai-robot/blob/1d5424e1615a5ae16a8ba8bd12f3cbe09a332824/docs/HARDWARE_CONNECTIONS.md#L352-L362
  10. github.com/shatrix/rpi5-rpios-ai-robot/blob/1d5424e1615a5ae16a8ba8bd12f3cbe09a332824/docs/HARDWARE_CONNECTIONS.md#L352-L363
  11. github.com/shatrix/rpi5-rpios-ai-robot/blob/1d5424e1615a5ae16a8ba8bd12f3cbe09a332824/docs/HARDWARE_CONNECTIONS.md#L352-L364
  12. github.com/shatrix/rpi5-rpios-ai-robot/blob/1d5424e1615a5ae16a8ba8bd12f3cbe09a332824/docs/HARDWARE_CONNECTIONS.md#L365
  13. github.com/shatrix/rpi5-rpios-ai-robot/blob/1d5424e1615a5ae16a8ba8bd12f3cbe09a332824/docs/HARDWARE_CONNECTIONS.md#L366
  14. github.com/shatrix/rpi5-rpios-ai-robot/blob/1d5424e1615a5ae16a8ba8bd12f3cbe09a332824/docs/HARDWARE_CONNECTIONS.md#L367
  15. github.com/shatrix/rpi5-rpios-ai-robot/blob/1d5424e1615a5ae16a8ba8bd12f3cbe09a332824/docs/HARDWARE_CONNECTIONS.md#L368
  16. github.com/shatrix/rpi5-rpios-ai-robot/blob/1d5424e1615a5ae16a8ba8bd12f3cbe09a332824/README.md
  17. github.com/shatrix/rpi5-rpios-ai-robot/blob/1d5424e1615a5ae16a8ba8bd12f3cbe09a332824/README.md#L11-L11
  18. github.com/shatrix/rpi5-rpios-ai-robot/blob/1d5424e1615a5ae16a8ba8bd12f3cbe09a332824/README.md#L19-L19
  19. github.com/shatrix/rpi5-rpios-ai-robot/blob/1d5424e1615a5ae16a8ba8bd12f3cbe09a332824/docs/HARDWARE_CONNECTIONS.md#L218-L221