Skip to the content
2 layersAI voice assistant, the printed circuit board in 3D

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

6

README

README.md

Design your own AI voice assistant

Project Status License ESP-IDF Platform

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)

ComponentPart NumberQuantityNotes
MicrocontrollerESP32-S3-WROOM-1-N16R81Main processor
MicrophonesTDK InvenSense ICS-434342Digital MEMS
Audio AmplifierMAX98357AETE+1Class-D I²S
Battery ChargerBQ24250RGER1Li-Ion charging IC
DC-DC ConverterMAX20402ATGA/+1Buck-boost regulator
RGB LEDsWS2812B-50508-12Addressable LEDs
USB-C ConnectorUSB4105-GF-A1Power & programming
Speaker3W 4Ω Cavity Speaker1Audio output
BatteryLi-Ion/LiPo 3.7V12000-3000mAh recommended
CapacitorsVarious (0603/0805)~25See full BOM
ResistorsVarious (0603)~15See full BOM
Switches6x6mm Tactile2Reset & Boot
TVS DiodeUSBLC6-2SC61USB 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:

Step 1: Hardware Assembly

  1. Order PCB: Upload hardware/gerbers/gerbers.zip to JLCPCB, PCBWay, or ALLPCB
  2. Source Components: Use the BOM to order parts from DigiKey, Mouser, or LCSC
  3. Assemble PCB: Follow the assembly guide for soldering instructions
  4. 3D Print Enclosure: Print the STL files and assemble

Step 2: WiFi Configuration

On first boot, the device creates a WiFi access point:

  1. Connect to WiFi network: Xioazhi
  2. Navigate to http://192.168.4.1
  3. Enter your WiFi credentials
  4. Device will restart and connect to your network

Alternative: Configure WiFi via idf.py menuconfig before flashing

Step 3: Xiaozhi Cloud Setup

  1. Create account at xiaozhi.me
  2. Navigate to Console → Agents
  3. Click "Add Device" to generate Device ID and Pairing Code
  4. Device will auto-pair on first cloud connection
  5. Customize AI personality, voice, and skills through console

Step 4: Test Your Assistant

  1. Say the wake word: "Hey Wanda"
  2. Wait for LED confirmation (blue pulse)
  3. Speak your question or command
  4. Assistant responds through speaker
  5. 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


📄 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:

Built with ❤️ by makers, for makers

Documentation • Hardware Files • Firmware • Community

Parts

78
QtyValueFootprintReferences
81uFCapacitor_SMD:C_0603_1608MetricC1, C2, C4, C14, C17, C18, C19, C20
510KResistor_SMD:R_0603_1608MetricR4, R5, R6, R19, R20
40.1uFCapacitor_SMD:C_0603_1608MetricC9, C10, C11, C16
42.2uFCapacitor_SMD:C_0603_1608MetricC7, C8, C12, C13
4WS2812BLED_SMD:LED_WS2812B_PLCC4_5.0x5.0mm_P3.2mmD1, D2, D3, D4
30RResistor_SMD:R_0603_1608MetricR7, R8, R25
320KResistor_SMD:R_0603_1608MetricR13, R14, R18
3LOGOLOGOG***, G***, G***
2100KResistor_SMD:R_0603_1608MetricR12, R15
21KResistor_SMD:R_0603_1608MetricR16, R17
2220pFCapacitor_SMD:C_0603_1608MetricC21, C22
222uFCapacitor_SMD:C_0805_2012MetricC5, C6
233RResistor_SMD:R_0603_1608MetricR21, R22
25K1Resistor_SMD:R_0603_1608MetricR1, R2
2B2B-PH-SM4-TB(LF)(SN)Connector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_VerticalJ2, J3
2FerriteBead_SmallInductor_SMD:L_0805_2012MetricFB1, FB2
2ICS-43434Sensor_Audio:InvenSense_ICS-43434-6_3.5x2.65mmMK1, MK2
2LED RedLED_SMD:LED_0603_1608MetricLED1, LED2
2MountingHole_PadMountingHole:MountingHole_2.7mm_M2.5_DIN965_PadH1, H2
2NCResistor_SMD:R_0603_1608MetricR23, R24
2SLW-66527511-SMT-TRSMD_Slide_switch:slide switch spdtSW1, SW2
11.5KResistor_SMD:R_0603_1608MetricR3
11.5uHInductor_SMD:L_Cenker_CKCS5020L2
110uFCapacitor_SMD:C_0603_1608MetricC15
11uHInductor_SMD:L_Cenker_CKCS6045L1
1249RResistor_SMD:R_0603_1608MetricR9
1267RResistor_SMD:R_0603_1608MetricR11
1274KResistor_SMD:R_0603_1608MetricR10
133nFCapacitor_SMD:C_0603_1608MetricC3
1BQ24250RGERBQ24250RGER:QFN50P400X400X100-25N-DIC1
1Conn_01x08Connector_JST:JST_PH_B8B-PH-K_1x08_P2.00mm_VerticalJ4
1ESP32-S3-WROOM-1Espressif:ESP32-S3-WROOM-1U1
1MAX20402AFLB_VY+TMAX20402AFLB_VY+T:MAX20402AFLBVYTIC2
1MAX98357AETE+TMAX98357AETE+T:QFN50P300X300X80-17NIC3
1RESET3x4x2:Tactile 3x4x2mm TS-A010BOOT1
1SMT-0540-S-RConnector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_VerticalSPK1
1SolderJumper_3_OpenJumper:SolderJumper-3_P2.0mm_Open_TrianglePad1.0x1.5mmJP1
1UBOOT3x4x2:Tactile 3x4x2mm TS-A010BOOT2
1USB_C_Receptacle_USB2.0Connector_USB:USB_C_Receptacle_XKB_U262-16XN-4BVC11J1

Similar boards

  • 2 layers140.6 × 29.3 mmATOM M3, the printed circuit board in 3D

    ATOM M3

    mananshAlt/Reddit_post

    PCB and Schematic file for reddit query

    34 parts
  • 2 layers140.6 × 25.9 mmESP32 SmartGlass, the printed circuit board in 3D

    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 mmBlinky badge light, the printed circuit board in 3D

    Blinky badge light

    rowr111/blinky-badge-light

    lighting badge with unique patterns and sound reactivity

    123 parts9MIT
  • 4 layers84.4 × 39.9 mmSignal acquisition board, the printed circuit board in 3D

    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 mmLow Power Desktop Weather Station, the printed circuit board in 3D

    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 mmWaterFlowMeter, the printed circuit board in 3D

    WaterFlowMeter

    Circuit-Digest/IoT-Water-Flow-Meter

    43 parts2
  • 4 layers88.1 × 59.4 mmChromapi motherboard v1, the printed circuit board in 3D

    Chromapi motherboard v1

    Mowibox/chromapi_motherboard

    Raspberry Pi control HAT dedicated to the quadruped robot Chromapi.

    139 parts2Apache-2.0
  • 2 layers80 × 65 mmYukkuri terminal routed, the printed circuit board in 3D

    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).