

AI voice assistant
This project is a complete DIY AI voice assistant built around the ESP32-S3 microcontroller. It combines custom PCB design, advanced audio processing, and cloud-based AI to create a device that rivals commercial smart…
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 78
- Nets
- 86
- Pads
- 309
- Tracks, vias
- 13,465, 111
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 9.0 (file 20241229)
- Created
- 7 Oct 2025
- Updated
- 18 Apr 2026
Overview
AI voice assistant is an open-source printed circuit board by DhamuVkl, from the DhamuVkl/ESP32S3-AI-Voice-Assistant repository on GitHub, published under the MIT licence. It is a 2-layer board with 78 parts on 86 nets, routed with 13,465 tracks and 111 vias.
It is built around the ESP32-S3-WROOM-1-N8, MAX98357AETE+T and WS2812B, with the B2B-PH-SM4-TB(LF)(SN), ICS-43434 and SMT-0540-S-R among its other parts. Its parts include 25 resistors, 22 capacitors, 6 diodes, 4 ICs and 4 connectors. It belongs with the ESP32 boards of this library.
Main components
6ESP32-S3-WROOM-1-N8
SMD,25.5x18mm-40℃~+85℃ -98.2dBm 2.4GHz 20.5dBm 355mA 3V~3.6V 95mA Bluetooth5.0 ESP32-S3 Chip On-board PCB Antenna UART、SPI、I2C、I2S、USB SMD,25.5x18mm WiFi Modules ROHSEspressif SystemsWiFi ModulesMAX98357AETE+T
TQFN-16-EP(3x3)-40℃~+85℃ 2.4mA 2.5V~5.5V 3.2Wx1@4Ω 77dB 92% Automatic mute/no-noise switch、Enable/shutdown function、Filterless architecture Class D TQFN-16-EP(3x3) Audio Amplifiers ROHSMaxim Integrated (Analog Devices)Audio AmplifiersWS2812B
5mm X 5mm Surface Mount RGB LED with Intelligent ControlWorldsemiUncategorisedB2B-PH-SM4-TB(LF)(SN)
SMD,P=2mm-25℃~+85℃ 1 100V 1x2P 2 2A 2P 2mm 6.6mm 7.95mm 7mm Auxiliary Solder Pin Beige Copper alloy PA PH Surface Mount,Vertical Tin UL94V-0 SMD,P=2mm Wire To Board Connector ROHSJSTWire To Board ConnectorICS-43434
LGA-6(3.5x2.7)-26dB -40℃~+85℃ 0.98mm 1.65V~3.63V 2.65mm 3.5mm 550uA 64dB I2S Omnidirectional Omnidirectional pickup LGA-6(3.5x2.7) MEMS Microphones ROHSTDK InvenSenseMEMS MicrophonesSMT-0540-S-R
SMD,5x5mm-30℃~+70℃ 2.1mm 2V~4V 4kHz 5mm 5mm 78dB Electromagnetic Passive (Externally Driven) SMD,5x5mm Buzzers ROHSPUI Audio, Inc.Buzzers
README
README.mdDesign your own AI voice assistant
A fully custom, open-source AI voice assistant powered by ESP32-S3 and Xiaozhi AI framework
📋 Overview
This project is a complete DIY AI voice assistant built around the ESP32-S3 microcontroller. It combines custom PCB design, advanced audio processing, and cloud-based AI to create a device that rivals commercial smart speakers in functionality while remaining fully open-source and customizable.
Unlike simple voice-controlled devices, this assistant leverages the Xiaozhi AI framework to provide natural language understanding through large language models (LLMs) like Qwen, DeepSeek, and GPT. The system uses a hybrid architecture: lightweight tasks run locally on the ESP32-S3, while computationally intensive AI processing happens on cloud servers.
Key Highlights
- ✨ Natural Conversation: Powered by modern LLMs for intelligent, context-aware responses
- 🎙️ Dual-Microphone Array: Advanced audio capture with beamforming and echo cancellation
- 🔋 Battery Powered: Complete power management with USB-C charging and portable operation
- 💡 WS2812B LED Ring: Visual feedback with customizable animations
- 🏠 Smart Home Ready: Integration with Home Assistant and other platforms
- 🔧 Fully Customizable: Open hardware and software for endless possibilities
- 📱 Web-Based Control: Easy configuration through Xiaozhi console
- 🌐 Multi-Language: Support for multiple languages depending on AI model
🎯 Features
Hardware Features
- ESP32-S3-WROOM-1-N16R8 (Dual-core, 16MB Flash, 8MB PSRAM)
- Dual ICS-43434 MEMS Microphones for superior audio capture
- MAX98357A I²S Amplifier driving 3W speaker
- BQ24250 Li-Ion Charger with USB-C power delivery
- MAX20402 Buck-Boost Regulator for stable 3.3V output
- WS2812B RGB LED Ring for visual status indication
- Optional OLED Display header for screen integration
- Compact PCB Design (2-layer, professionally fabricated)
- Custom 3D-Printed Enclosure optimized for acoustics
Software Features
- Wake Word Detection using Espressif's WakeNet
- Audio Front-End (AFE) with noise reduction and echo cancellation
- WebSocket Communication for low-latency server connection
- Multiple AI Models (Qwen, DeepSeek, GPT-4, and more)
- Conversation History and context awareness
- Voice Profile Support for personalized responses
- Smart Home Integration via Xiaozhi skill marketplace
- OTA Updates for firmware upgrades
- Battery Monitoring with low-battery alerts
🛠️ Hardware
Bill of Materials (BOM)
| Component | Part Number | Quantity | Notes |
|---|---|---|---|
| Microcontroller | ESP32-S3-WROOM-1-N16R8 | 1 | Main processor |
| Microphones | TDK InvenSense ICS-43434 | 2 | Digital MEMS |
| Audio Amplifier | MAX98357AETE+ | 1 | Class-D I²S |
| Battery Charger | BQ24250RGER | 1 | Li-Ion charging IC |
| DC-DC Converter | MAX20402ATGA/+ | 1 | Buck-boost regulator |
| RGB LEDs | WS2812B-5050 | 8-12 | Addressable LEDs |
| USB-C Connector | USB4105-GF-A | 1 | Power & programming |
| Speaker | 3W 4Ω Cavity Speaker | 1 | Audio output |
| Battery | Li-Ion/LiPo 3.7V | 1 | 2000-3000mAh recommended |
| Capacitors | Various (0603/0805) | ~25 | See full BOM |
| Resistors | Various (0603) | ~15 | See full BOM |
| Switches | 6x6mm Tactile | 2 | Reset & Boot |
| TVS Diode | USBLC6-2SC6 | 1 | USB ESD protection |
📥 Full BOM with part numbers: Download BOM.csv
PCB Design
The custom PCB is a 2-layer design measuring approximately 80x60mm with careful attention to:
- Signal integrity for I²S audio
- Power distribution with minimal noise
- Thermal management for power ICs
- Acoustic isolation between microphones and speaker
3D Enclosure
The enclosure is designed for FDM 3D printing with features for:
- Acoustic optimization (speaker grille, microphone ports)
- LED light diffusion ring
- USB-C and button access
- Battery compartment
- Ventilation slots
🚀 Getting Started
Prerequisites
Hardware Tools:
- Soldering iron and supplies
- Multimeter for testing
- USB-C cable (data capable)
- 3D printer (optional, for enclosure)
Software Requirements:
- Visual Studio Code
- ESP-IDF Extension for VS Code
- ESP-IDF v5.4 or newer
- Git
Step 1: Hardware Assembly
- Order PCB: Upload
hardware/gerbers/gerbers.zipto JLCPCB, PCBWay, or ALLPCB - Source Components: Use the BOM to order parts from DigiKey, Mouser, or LCSC
- Assemble PCB: Follow the assembly guide for soldering instructions
- 3D Print Enclosure: Print the STL files and assemble
Step 2: WiFi Configuration
On first boot, the device creates a WiFi access point:
- Connect to WiFi network:
Xioazhi - Navigate to
http://192.168.4.1 - Enter your WiFi credentials
- Device will restart and connect to your network
Alternative: Configure WiFi via idf.py menuconfig before flashing
Step 3: Xiaozhi Cloud Setup
- Create account at xiaozhi.me
- Navigate to Console → Agents
- Click "Add Device" to generate Device ID and Pairing Code
- Device will auto-pair on first cloud connection
- Customize AI personality, voice, and skills through console
Step 4: Test Your Assistant
- Say the wake word: "Hey Wanda"
- Wait for LED confirmation (blue pulse)
- Speak your question or command
- Assistant responds through speaker
- LED returns to idle state
🤝 Contributing
Contributions are welcome! Here's how you can help:
Reporting Bugs
- Use GitHub Issues with detailed reproduction steps
- Include serial monitor logs
- Specify hardware revision and firmware version
Feature Requests
- Open a GitHub Issue with [Feature Request] tag
- Describe use case and benefits
- Discuss implementation approach
Contribution Guidelines: CONTRIBUTING.md
📊 Project Status
- PCB Design and fabrication
- Firmware core functionality
- Xiaozhi cloud integration
- Basic voice interaction
- 3D enclosure design
- Multi-device mesh networking
- Offline mode with local LLM
- Custom wake word training tools
- Mobile app for configuration
- Additional language packs
🔗 Related Projects
- Xiaozhi ESP32 - Official Xiaozhi firmware
- ESP-IDF - Espressif IoT Development Framework
- WakeNet - Espressif speech recognition
- Home Assistant - Smart home integration
📄 License
This project is licensed under the MIT License - see LICENSE for details.
Third-Party Licenses
- ESP-IDF: Apache 2.0
- Xiaozhi Framework: MIT
- Component datasheets: Respective manufacturers
🙏 Acknowledgments
- Espressif Systems for the amazing ESP32-S3 platform and development tools
- Xiaozhi Team for creating and maintaining the AI framework
- Open-source community for countless libraries and examples
- PCB manufacturers (JLCPCB, PCBWay) for affordable prototyping
- Everyone who contributed feedback, testing, and improvements
Xiaozhi Community:
- Forum: xiaozhi.me/community
- Documentation: docs.xiaozhi.me
Built with ❤️ by makers, for makers
Parts
78| Qty | Value | Footprint | References |
|---|---|---|---|
| 8 | 1uF | Capacitor_SMD:C_0603_1608Metric | C1, C2, C4, C14, C17, C18, C19, C20 |
| 5 | 10K | Resistor_SMD:R_0603_1608Metric | R4, R5, R6, R19, R20 |
| 4 | 0.1uF | Capacitor_SMD:C_0603_1608Metric | C9, C10, C11, C16 |
| 4 | 2.2uF | Capacitor_SMD:C_0603_1608Metric | C7, C8, C12, C13 |
| 4 | WS2812B | LED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mm | D1, D2, D3, D4 |
| 3 | 0R | Resistor_SMD:R_0603_1608Metric | R7, R8, R25 |
| 3 | 20K | Resistor_SMD:R_0603_1608Metric | R13, R14, R18 |
| 3 | LOGO | LOGO | G***, G***, G*** |
| 2 | 100K | Resistor_SMD:R_0603_1608Metric | R12, R15 |
| 2 | 1K | Resistor_SMD:R_0603_1608Metric | R16, R17 |
| 2 | 220pF | Capacitor_SMD:C_0603_1608Metric | C21, C22 |
| 2 | 22uF | Capacitor_SMD:C_0805_2012Metric | C5, C6 |
| 2 | 33R | Resistor_SMD:R_0603_1608Metric | R21, R22 |
| 2 | 5K1 | Resistor_SMD:R_0603_1608Metric | R1, R2 |
| 2 | B2B-PH-SM4-TB(LF)(SN) | Connector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_Vertical | J2, J3 |
| 2 | FerriteBead_Small | Inductor_SMD:L_0805_2012Metric | FB1, FB2 |
| 2 | ICS-43434 | Sensor_Audio:InvenSense_ICS-43434-6_3.5x2.65mm | MK1, MK2 |
| 2 | LED Red | LED_SMD:LED_0603_1608Metric | LED1, LED2 |
| 2 | MountingHole_Pad | MountingHole:MountingHole_2.7mm_M2.5_DIN965_Pad | H1, H2 |
| 2 | NC | Resistor_SMD:R_0603_1608Metric | R23, R24 |
| 2 | SLW-66527511-SMT-TR | SMD_Slide_switch:slide switch spdt | SW1, SW2 |
| 1 | 1.5K | Resistor_SMD:R_0603_1608Metric | R3 |
| 1 | 1.5uH | Inductor_SMD:L_Cenker_CKCS5020 | L2 |
| 1 | 10uF | Capacitor_SMD:C_0603_1608Metric | C15 |
| 1 | 1uH | Inductor_SMD:L_Cenker_CKCS6045 | L1 |
| 1 | 249R | Resistor_SMD:R_0603_1608Metric | R9 |
| 1 | 267R | Resistor_SMD:R_0603_1608Metric | R11 |
| 1 | 274K | Resistor_SMD:R_0603_1608Metric | R10 |
| 1 | 33nF | Capacitor_SMD:C_0603_1608Metric | C3 |
| 1 | BQ24250RGER | BQ24250RGER:QFN50P400X400X100-25N-D | IC1 |
| 1 | Conn_01x08 | Connector_JST:JST_PH_B8B-PH-K_1x08_P2.00mm_Vertical | J4 |
| 1 | ESP32-S3-WROOM-1 | Espressif:ESP32-S3-WROOM-1 | U1 |
| 1 | MAX20402AFLB_VY+T | MAX20402AFLB_VY+T:MAX20402AFLBVYT | IC2 |
| 1 | MAX98357AETE+T | MAX98357AETE+T:QFN50P300X300X80-17N | IC3 |
| 1 | RESET | 3x4x2:Tactile 3x4x2mm TS-A010 | BOOT1 |
| 1 | SMT-0540-S-R | Connector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_Vertical | SPK1 |
| 1 | SolderJumper_3_Open | Jumper:SolderJumper-3_P2.0mm_Open_TrianglePad1.0x1.5mm | JP1 |
| 1 | UBOOT | 3x4x2:Tactile 3x4x2mm TS-A010 | BOOT2 |
| 1 | USB_C_Receptacle_USB2.0 | Connector_USB:USB_C_Receptacle_XKB_U262-16XN-4BVC11 | J1 |
Similar boards
- 2 layers140.6 × 29.3 mm

- 2 layers140.6 × 25.9 mm

ESP32 SmartGlass
jobitjoseph/ESP32-AI-SmartGlass
The ESP32 AI Smartglass is an innovative wearable device that blends the power of artificial intelligence with the convenience of home automation.
47 parts16 - 4 layers108.6 × 87.7 mm

Blinky badge light
rowr111/blinky-badge-light
lighting badge with unique patterns and sound reactivity
123 parts9MIT - 4 layers84.4 × 39.9 mm

Signal acquisition board
solderneer/nexus-silent-speech
A novel approach to enhancing silent speech recognition systems with a multiplexed star electrode array, developed for my final year dissertation at University College London (UCL).
124 parts - 2 layers105 × 90 mm

Low Power Desktop Weather Station
jobitjoseph/Desktop-Weather-Station
This project offers a practical way to build a clean and minimal weather station using an ESP32 microcontroller and an E-Ink display.
65 parts4 - 2 layers22.3 × 17.8 mm

- 4 layers88.1 × 59.4 mm

Chromapi motherboard v1
Mowibox/chromapi_motherboard
Raspberry Pi control HAT dedicated to the quadruped robot Chromapi.
139 parts2Apache-2.0 - 2 layers80 × 65 mm

Yukkuri terminal routed
balacccpbule-ux/yukkuri-terminal
油库里语音伙伴:Android 独立版、PC 原型与 KiCad 硬件设计;中文离线识别、幻想乡口音与 DeepSeek 对话。
53 parts
Questions
What parts does the AI voice assistant use?
78 parts, built around the ESP32-S3-WROOM-1-N8, MAX98357AETE+T, WS2812B and B2B-PH-SM4-TB(LF)(SN). The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the AI voice assistant KiCad files?
From the DhamuVkl/ESP32S3-AI-Voice-Assistant repository on GitHub, at the commit this page was made from: the board is Hardware/PCB/KiCAD_files/AI voice assistant.kicad_pcb and its schematic Hardware/PCB/KiCAD_files/AI voice assistant.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the AI voice assistant design in my own project?
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).