Samuel Potozkin
Published © MIT

AI C-3PO Droid Head with Real-Time Voice

Raspberry Pi-powered droid head that holds real-time conversations using speech recognition, AI, and character voice synthesis.

AdvancedShowcase (no instructions)3
AI C-3PO Droid Head with Real-Time Voice

Things used in this project

Hardware components

Raspberry Pi 5
Raspberry Pi 5
Runs the full real-time voice pipeline including speech-to-text, AI processing, and text-to-speech
×1
INMP441 I2S MEMS Microphone
Captures real-time audio input for speech recognition with low-latency digital output
×1
MAX98357A I2S Amplifier
Drives audio output directly from the Pi over I2S for clean digital-to-analog sound conversion
×1
Dayton Audio DAEX25FHE-4 Framed High Efficiency 25mm Exciter 24W 4 Ohm
Transmits sound through the structure itself, creating the effect of the voice originating from within the head
×1
Pre-wired 5MM 5V LEDs
Provides internal lighting for the eyes to enhance visual realism and character presence
×1

Software apps and online services

OpenAI API
Handles natural language understanding and response generation for conversational interaction via an API key inside of the Python program.
Eleven
Generates realistic, character-style voice output from AI-generated text responses via an API key inside of the Python program.

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)
Used to fabricate the main enclosure and structural components of the droid head
Soldering iron (generic)
Soldering iron (generic)
Used to securely connect audio components, microphone, and wiring for reliable operation
Paint/Finishing Materials
Airbrush, Spray cans, and other materials used to achieve a character-accurate external appearance.

Story

Read more

Custom parts and enclosures

C3PO Head by Jesse_M

A modified scan of the original film prop by Creator Jesse M that I found online

C-3PO Eye Redesign by GordonTarpley

A housing for the 5MM LEDs that sit inside of the eyes. Created by Gordon Tarpley

Slim Case for Raspberry Pi 5 with Active Cooler by jeraff24

The case/housing for the Raspberry Pi created by jeraff24.

Schematics

System wiring overview (prototype stage)

Prototype wiring showing Raspberry Pi, I2S MEMS microphone, MAX98357A amplifier, and audio output configuration.

Code

Threepio: Embedded Ai Conversational Droid

Source code for Threepio, a fully embedded, real-time conversational AI system running on a Raspberry Pi. The repository includes the full voice interaction pipeline: Microphone → Speech-to-Text → Language Model → Text-to-Speech → Audio Output It also contains setup instructions for Raspberry Pi deployment, hardware configuration (I2S microphone, MAX98357A amplifier), and environment configuration for API-based services. To run: - Clone the repository - Set environment variables (OpenAI, ElevenLabs, etc.) - Run ambient mode to enable always-on, real-time conversation Designed as a modular system for experimenting with embodied AI, low-latency speech interaction, and physical AI interfaces.

Credits

Samuel Potozkin
1 project • 0 followers

Comments