Search models, users, collections, and posts

BoBoMaker Card Xiaozhi AI Voice Chat Robot

Print Profile(1)

All
A1
X1 Carbon
H2D Pro
H2D
P1S
X1E
A1 mini
X1
P1P
H2S
P2S
H2C
X2D
A2L

0.2mm layer, 2 walls, 70% infill
0.2mm layer, 2 walls, 70% infill
Designer
2.1 h
2 plates

Open in Bambu Studio
Boost
40
68
0
0
29
8
Released 

Description

Content has been automatically translated.
Show original

Project Introduction

[Replication Discussion Group: 192429844, password: bobomaker]

JialiChuang Open Source Address: Card Xiaozhi·2k Sales·High-Value Large Components Easy to Replicate by BoBo - Lichee Open Source Hardware Platform
Hello everyone, I'm a DIY enthusiast from BoBoMaker. I enjoy making small circuits, designing 3D drawings, tuning large models, and developing programs... I started working on voice robots last September. Later, I saw Brother Xia's project, and since I was new to it, I chose the easiest breadboard to integrate and develop, which led to this current board. The internal version number is v1.9, and it seems quite stable at present, with extremely low replication difficulty; even primary school students above grade 3 can replicate it.

image.png
image.png


These are all made by me

ca8f9d81f5388bd3a4fe2da636e5f362.jpg

Project Features

1. Can connect to Brother Xia's Xiaozhi server, or connect to a third-party Xiaozhi protocol server to achieve very realistic conversations with AI;
2. Simulated chat with anime personality and voice (I recommend my own Bobo server, O(∩_∩)O, the emotions are lifelike after calling the Doubao Pro model);
3. Call third-party MCP to implement various functions, such as playing API music, live stream interaction, checking weather, checking news, etc.;
4. Serves as the core for many recent AI plush toys;
5. Integrates with HomeAssistant to achieve smart home control.

Project Parameters

The main components used on this circuit board are as follows:

  • ESP32S3-N16R8 module: main control, responsible for communication with the server, local amplifier, and mic audio processing;
  • INMP441 module: I2S digital microphone;
  • MX98357 module: I2S amplifier, used for connecting to speakers;
  • MCP73831T: Charge and discharge management;
  • AMS1117-3.3RG: Linear voltage regulator, outputs stable 3.3V to power the main control, microphone, and amplifier.

Principle Analysis (Hardware Description)

The board is divided into three main modules: main control, audio, and power supply:

This project primarily receives and processes voice signals through the I2S digital microphone, sends them to the server for speech recognition, large model invocation, and sound generation, which is then returned to the device for playback. Borrowing Brother Xia's diagram:

image.png

The following diagram might be more intuitive

image.png

I added very stable power management based on this

image.png

Software Code

1. The firmware is written using the IDF framework, code repository: https://github.com/78/xiaozhi-esp32
2. Python server code for the Xiaozhi protocol: https://github.com/xinnan-tech/xiaozhi-esp32-server

Hardware List

Except for the microphone and amplifier, all other components can be purchased with one-click ordering from Lichee EDA:
The BOM list is in the attachment. Except for the items listed below, all can be purchased with one-click ordering from Lichee EDA.
[Disclaimer: The following links are for reference only, as the prices were suitable or in stock at the time. If you can find other options, as long as the model and wiring are correct, feel free to use them]

  • INMP441 module: https://e.tb.cn/h.S2X7DJf6R69sYGH?tk=7EKM4uDVJSv It doesn't have to be this specific link; as long as it's this model, it's fine. Note: Make sure to choose the version without soldered header pins, otherwise those pins will be difficult to remove.
  • MX98357 module: https://e.tb.cn/h.S2XkOnCt1eGhQT3?tk=05op4uDSW5o It doesn't have to be this specific link either. As long as you choose the 98357 chip, and it must be the slightly more expensive, larger chip version (small chips have a high rate of missed soldering and are prone to being faulty; money is not the issue, but you'll have to remove and replace it, which is time-consuming and laborious), choose unsoldered.
2d3e6a555cac7e16a2e8db1d583ef75f.jpg
image.png
ede378704c50900a471c95ed2d896c36.jpg
6e8fe2c62dcfbd3dbddc927af9bf4f03.jpg
image.png

Assembly Tutorial

First, a family photo:

image.png

1. Assemble the top cover (M2*4 4 pieces)

image.png


2. Secure the circuit board (M2*4 4 pieces), then use hot glue to fix the screen, speaker, and battery

image.png


3. Install the back panel (M2*6 4 pieces)

image.png

Comment & Rating (0)

(0/1000)