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 RPi5

Raspberry Pi IIC communication

1. Experimental preparation

  • Raspberry Pi
  • Voice interaction module
  • Dupont line

2. Wiring diagram

  • Wiring diagram
Raspberry PiVoice interaction module
3SDA
5SCL
GNDGND
5V5V

image-20250227155149809

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

image-20250227150352826

  • Enter the command in the terminal, and the iic device address appears, indicating that it has been recognized normally.
xxxxxxxxxx
sudo i2cdetect -y 1

image-20250227155213764

3.Achievement effect

  • Select the broadcast content by modifying the code in the program as shown below

image-20250227155252514

  • The broadcast content can be viewed according to the Command word broadcast word protocol list V3_EN file provided in the attachment,

where the first and second bytes are AA FF indicates the frame header of the protocol, the third byte FF indicates the broadcast function, and the fourth is the ID of the broadcast content. Here you can see that "I am ready" is hexadecimal 67, so in the program, sending 0x67 to register 0x03 can 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 iic_test.py

image-20250227155315668

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

image-20250227155342650

  • 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 PICO
For Jetson

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

Copyright © 2017-2026 Yahboom. All Rights Reserved.

EN/中文