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 RDK X5

RDKX5 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

  • RDK X5
  • Voice interaction module
  • Type-C data cable

2. Wiring diagram

  • Use type-c wiring to connect to the motherboard

image-20250227120120962

  • Slide the module to the right, use the serial port of the stc firmware,

image-20250227120559817

  • Input in the terminal, the ttyUSB0 device appears, indicating that it has been recognized normally (normally it is ttyUSB0, and it may also be other device numbers)
ls /dev/ttyUSB*

image-20250227120329611

3.Achievement effect

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

image-20250227120622322

image-20250227120635131

  • 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-20250227110546799

  • Enter the following command in the terminal to run the program. When you hear I am ready, it means the program is running
xxxxxxxxxx
python3 uart_test.py

image-20250227120804068

  • After I say the wake-up word to wake up, I say "Close light" and the debugging assistant will reply to receive 10

image-20250227120833125

  • 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, decimal 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 Jetson
PC serial port communication

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