PiSugar/whisplay-ai-chatbot

Pocket-sized AI chatbot built using a RPI Zero 2w / 5

What it solves

Whisplay-AI-Chatbot turns a small Raspberry Pi board (Zero 2W or 5) and a PiSugar Whisplay HAT (screen, speaker, microphone) into a pocket-sized voice assistant. Instead of typing or using a phone, you press a button, speak, and the device talks back — like a walkie-talkie that answers questions. It also supports hands-free wake-word use, auto-listening, image generation from text, and optional offline AI accelerator cards for faster on-device processing.

How it works

The software runs on the Raspberry Pi and uses the Whisplay HAT's built-in microphone and speaker. You press the physical button (or an on-screen button on Whisplay Plus) to start a voice session, speak, and release to send the recording. The device transcribes your speech, sends it to an AI model (cloud or local via accelerator cards), gets a response, and speaks it back. It can also listen continuously with auto-listening mode, where a single press starts listening and speech ends after a pause. Wake-word support allows hands-free activation. The project includes a whisplay command-line tool for configuration, a build script, and a service that can start on boot. It supports live subtitles with the Zipformer offline speech recognizer, and on Whisplay Plus you can use the camera for photos.

Who it’s for

Hobbyists, makers, and developers who want a portable, voice-controlled AI gadget they can build themselves. It’s ideal for people comfortable with Raspberry Pi setup, soldering or assembling a HAT, and running command-line scripts. It’s also for those who want to experiment with offline AI on small hardware using accelerator cards like the LLM8850 or Raspberry Pi AI HAT+ 2 (Hailo-10H).

Highlights

  • Pocket-sized voice chatbot: press a button, speak, get a spoken reply.
  • Works on Raspberry Pi Zero 2W or Raspberry Pi 5 with the PiSugar Whisplay HAT.
  • Auto-listening mode: a single press starts continuous listening; speech ends after a pause.
  • Wake-word support for hands-free interaction.
  • Optional offline AI accelerator cards (LLM8850, Hailo-10H) for whisper, LLM, VLM, and image generation.
  • Live subtitles with the Zipformer offline speech recognizer.
  • On Whisplay Plus: fullscreen touchscreen UI, camera preview, and orientation switching.
  • Pre-built images and detailed wiki documentation for easy setup.

Related

  • Project
  • Project
  • Project
  • Project
  • Project