yahboom
HomeLearn
Solution
Blog
Online Store
About Us
EN/中文
Voice interaction module📖
1.Introduction
  • Introduction
2.Write the firmware
  • Write the firmware
3.PC serial port control
  • Control via PC serial port communication
4.MCU control course
  • RPI code
  • Jetsonnano code
  • Arduino code
5. ROS1 Using Tutorialsnew
  • 1、Environmental construction
  • 2、Voice control of car movement
  • 3、Voice controlled automatic driving for car line inspection
  • 4、Voice controlled car color tracking
  • 5、Voice controlled multi-point navigation
6. ROS2 Using Tutorialsnew
  • 1、Environmental constructionnew
  • 2、Voice control of car movement
  • 3、Voice controlled automatic driving for car line inspection
  • 4、Voice controlled car color tracking
  • 5、Voice controlled multi-point navigation
Download
  • MCU Course Code
  • ROS2 Code
  • ROS1 Code
  • Communication_protocol
  • Software File
Download ZIP

Welcome to Voice interaction module repository

Arduino code

1. Learning Objectives

In this course, we mainly learn to use the Jetson NANO and the voice interaction module to realize the recognition and broadcast.

2. Preparation

The voice interaction module adopts UART communication, the program adopts virtual serial port, and the TXD and RXD of the module are respectively connected to the A1 and A2 pins of the arduino UNO board. 5V and GND are connected to 5V and GND of the arduino UNO respectively.

Note: The module needs sufficient power to work normally, and external power needs to be supplied to the arduino UNO DC port.

Wiring

image.png

3. Code

Serial port receives data

image.png 

Data processing

image.png 

Judging data and broadcasting

image.png 

4. Compiling and downloading code

4.1 We need to open the XXX.ino file by Arduino IDE software. Then click“√”in the menu bar to compile the code, and wait for the word "Done compiling " in the lower left corner, as shown in the figure below.

 image.png

4.2 In the menu bar of Arduino IDE, we need to select 【Tools】---【Port】--- selecting the port that the serial number displayed by the device manager just now, as shown in the figure below.

image.png 

image.png 

4.3 After the selection is completed, you need to click “→”under the menu bar to upload the code to the UNO board. When the word “Done uploading” appears in the lower left corner, the code has been successfully uploaded to the UNO board, as shown in the figure below.

image.png

5. Experimental phenomenon

After the code is run, open the serial monitor and set the baud rate to 9600.

You can say: “Hi, Yahboom”, the speaker will reply: “Hi, i am here”. The terminal will print: hi.

You can say: “ Close light”, the speaker will reply: OK, lights is closed. The terminal will print: OK.

 


Jetsonnano code
Environmental construction

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