build an Ai Speaker for less than $20

Ai is everywhere so why not make use of it for our next project? In this project I build an Ai assistant speaker that you can talk to and ask anything. Here is a simple diy ai speaker chatbot that is easy to build.

About the Circuit

in this project I used ESP32-S3 super mini module. A cheap and small but powerful module. Below is the pinout of the module

here’s the connection you need:

Max98357a Audio Amplifier
Din – Pin5
Bclk – Pin6
Lrc – Pin7
Vin, Sd- 5V
Gain – gnd

Inmp441 MIC
Vcc 3v3
Ws – Pin2
Sck – Pin3
Sd/din – Pin4
Lr gnd

OLED Display
Vcc 3v3
Scl – Pin9
Sda – Pin8

wake up button is connected to Pin1

Programming

Luckily there is an available firmware that we can just use so we wont need to worry about the code. Head over to tandev.click to flash the firmware.