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 STM32

STM32 serial 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

  • STM32F103C8T6 minimum core board
  • Voice interaction module
  • 4pin DuPont adapter cable

2. Wiring diagram

STM32Voice interaction module
PA9RX
PA10TX
GNDGND
5V5V

image-20250226150839940

3. Program download

  • Connect the stm32 motherboard and the computer with a Type-C data cable

image-20250226150902481

  • Open the stm32 firmware burning tool FlyMcu.exe, select the corresponding device port, bit rate 115200, and burn the program to the development board, as shown below

image-20250226151353428

  • Click the three dots and select the hex file under the OBJ file in the iic folder under the stm32 communication source code.

image-20250226151414852

  • Select the option below in the software

image-20250226151436978

  • Click Start Programming to write the program to the stm32 development board

image-20250226151332677

4.Achieve the effect

  • After the burning is completed, we power on the stm32 development board again, press the stm32 reset button, and you can hear the voice module broadcast "Initialization completed", which means that the program is running normally
  • You can select the broadcast content by modifying the code in the program as shown below

image-20250226151531524

image-20250226151617758

  • 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 67 in hexadecimal, so the program sends 0x67 to register 0x03 to broadcast the corresponding content. The fifth byte is the end frame.

image-20250226151641256

  • Open the serial port debugging assistant provided in the attachment, select the corresponding port, and set the baud rate to 115200

image-20250226151652908

  • Open the serial port assistant, when I say the wake-up word to wake up, say "close light", the debugging assistant will reply with the receiving ID: 10

image-20250226152252813

  • At this time, you can open the attached Command Word Broadcast Word Protocol List V3_Chinese 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 RDK X5
For Arduino

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/中文