yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
AI Voice Interaction Module📖
1. Module information
  • 0. Get started quickly
  • 1. Introduction to Voice Interaction Module
  • 2. Modify the wake-up word and command word
  • 3. Customized protocol entry creation
2. Firmware burning
  • Module firmware burning method
3. Multi-master communication
IIC communication
  • For STM32
  • For Arduino
  • For MSPM0G3507
  • For MSPM0G3519new
  • For ESP32
  • For PICO
  • For RPi5
  • For Jetson
  • For RDK X5
USART communication
  • For STM32
  • For Arduino
  • For MSPM0G3507
  • For MSPM0G3519new
  • For ESP32
  • For PICO2
  • For RPi5
  • For Jetson
  • For RDK X5
4. PC serial port communication
  • PC serial port communication
5. ROS voice interaction
ROS1
  • 1. Environment Construction
  • 2. Voice control car movement
  • 3. Voice control Autopilot
  • 4. Voice control color tracking
  • 5. Voice control multi-point navigation
ROS2
  • 1. Environment Construction
  • 2. Voice control car movement
  • 3. Voice control Autopilot
  • 4. Voice control color tracking
  • 5. Voice control multi-point navigation
Download
  • Code
  • Python driver library
  • Firmware
  • Communication Protocol
  • Software Tools
  • Voice chip datasheet
  • 3D Model File
Download ZIP

Welcome to AI Voice Interaction Module repository

For ESP32

ESP32 IIC communication

Note: The voice interaction module needs to be burned with factory firmware. If the voice chip has not been flashed with firmware after receiving it, it does not need to be burned

1. Experimental preparation

  • ESP32
  • Voice interaction module
  • Dupont line

2. Wiring diagram

ESP32Voice interaction module
38SDA
37SCL
GNDGND
5V5V

image-20250226182024385

3. Program download

  • Connect ESP32 to the computer using a serial port module or Type-C

image-20250226182332960

  • Download Flash Tool

Download URL:

https://www.espressif.com.cn/en/support/download/other-tools

image-20250226182441683

Unzip to get flash_download_tool, double-click to open.

As shown in the figure below, select serial port to burn ESP32-S3. Click OK to open the burning tool.

image-20250226182446454

  • Factory firmware burning

Select the firmware to be burned to ESP32S3 in ‘SPIDownload’. The correspondence between the file and the address is shown in the following table. Then select the connected COM port and keep the other configurations as default.

File nameFirmware addressNotes
bootloader.bin0x0000Boot file
partition-table.bin0x8000Partition table file
microROS_Robot.bin0x10000Function file

Select the bin file in the corresponding file directory of the source code,

image-20250226183041600

Click the Start button, and the tool will automatically start burning the firmware.

Note: If the firmware does not start burning automatically, please press and hold the boot0 key, then press the reset key, release the boot0 key, and manually enter the burning mode.

image-20250226183144313

  • When you hear the voice module announce "I am ready", it means the program has been written successfully.

4.Achievement effect

  • You can select the broadcast content by modifying the code in the program as shown below

image-20250226183231852

image-20250226183240084

  • The broadcast content can be viewed according to the Command Word Broadcast Word Protocol List V3_EN file provided in the attachment.

The first and second bytes AA FF represent the frame header of the protocol, the third byte FF represents the broadcast function, and the fourth is the ID of the broadcast content. Here you can see "I am ready" is hexadecimal 67, so the program sends 0x67 to register 0x03 to broadcast the corresponding content. The fifth byte is the end frame.

image-20250226183255531

  • Open the serial port debugging assistant provided in the attachment, select the corresponding port and the baud rate is 115200, and you can see that the terminal will print the received command word ID

image-20250226183320305

  • After I say the wake-up word to wake up, say "Close light", the debugging assistant will reply with the receiving ID: 10

image-20250226183350474

  • At this time, you can open the attached Command Word Broadcast Word Protocol List V3_EN file to view the "Turn off the light" protocol

image-20250226141429180

The first and second bytes AA FF represent the frame header of the protocol, the third byte represents the ID of the ten function words of the chip, and the fourth is the command word ID. Here you can see "Close light" is hexadecimal 0A, so decimal will return 10. The fifth byte is the end frame.

  • Say other command words, the serial port debugging assistant will also print the corresponding command word ID, you can try it yourself
For MSPM0G3519
For PICO

COMPANY

  • About us
  • Team Style
  • Blog

LEARNING & EXPLORATION

  • Tutorials
  • Edge AI hardware
  • Educational robots
  • Embedded intelligent hardware

WHERE TO BUY

  • Yahboom Online Store
  • Amazon
  • Alibaba
  • AliExpress
  • Mercado

TECHNOLOGY SUPPORT

  • Email: support@yahboom.com

BE A DISTRIBUTOR

  • Email: sales@yahboom.com
QR Code
QR Code

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文