Psi-Pi: Voice-Controlled Chatbot Powered by ChatGPT

Psi-Pi is a fully self-contained AI voice assistant powered by a Raspberry Pi. Housed in a custom 3D-printed enclosure, it listens for voice commands using a USB microphone, responds using OpenAI’s GPT model, and speaks through a MAX98357 amplifier and Echo Pop speaker. The system is powered by a 3S LiPo battery regulated by a buck converter, with active cooling from dual 5V fans. A potentiometer allows manual volume control. The compact, portable design makes Psi-Pi a functional and creative fusion of hardware, software, and artificial intelligence. As soon as Psi-Pi is powered on, it is able to listen to questions and respond with an answer provided from ChatGPT. You need a paid subscription to OpenAI. The Plus plan is sufficient.

Connection Table

Component Pin/Wire Connection
MAX98357 Amp VIN Breadboard +5V
MAX98357 Amp GND Breadboard GND
MAX98357 Amp DIN Raspberry Pi GPIO 16
MAX98357 Amp BCLK Raspberry Pi GPIO 20
MAX98357 Amp LRC Raspberry Pi GPIO 21
MAX98357 Amp GAIN Potentiometer Middle Pin
Potentiometer VCC Breadboard +5V
Potentiometer GND Breadboard GND
Speaker + AMP Speaker Output +
Speaker AMP Speaker Output −
USB Microphone USB Raspberry Pi USB Port
Fans + / − Breadboard 5V / GND
Screen GPIO Pins First 26 Pins(direct mount)
Buck Converter VOUT + / − Breadboard +5V / GND
Buck Converter VIN + / − LiPo Battery + / −

Wiring Diagram