Smart voice interaction car¶
Copyright © Quectel Wireless Solutions Co., Ltd. 2026. All rights reserved.
This solution builds on the hardware basis of the Smart vision car by adding a microphone array and an AMOLED display to the Quectel Pi H1 smart single-board computer. It provides a second smart car solution centered on voice interaction. The wake word is “小远同学” (Xiaoyuan Tongxue). After network configuration, you can control the car using voice commands or a mobile app.
Main functions:
Voice interaction: After saying the wake word “小远同学” (Xiaoyuan Tongxue), you can hold multi-turn conversations in natural language and issue motion commands.
App control: After network configuration and device binding, you can view the device status and control the car in the mobile app.
Emotional expressions: The display shows happy, surprised, hurt, or sad expressions based on the conversation, accompanied by spoken responses.
Smart applications: The car supports weather and location queries, music playback, storytelling, and alarm settings.
Smart motion: The car supports voice-controlled movement, autonomous obstacle avoidance, and person following.
Visual recognition: The car recognizes scenes, objects, and packaging and supports multi-turn visual question answering based on live camera footage.
Note
Differences from the smart vision car solution: The vision solution uses the third-party WonderPi app for remote control, color selection, and other operations. For details, see Smart vision car. This solution uses the WonderFree app (developed by Quectel) for network configuration and device binding. After network configuration, voice interaction is the primary means of operation; the app provides supplementary control and device status information.
The assembled car is shown below:
Solution overview¶
This solution and the Smart vision car are part of the smart car series, designed for education and research, robotics innovation, and validation of embedded AI applications. They share the same chassis (the smart vision car kit), Quectel Pi H1, and ROS 2 software stack, providing two solutions on one hardware platform. The vision solution uses the WonderPi app for remote control, target tracking, color-based line following, QR code recognition, and smart obstacle avoidance. The voice solution adds a microphone array and an AMOLED display to the chassis and primarily uses the wake word “小远同学” (Xiaoyuan Tongxue) and natural-language interaction. It supports emotional expressions, voice conversations and alarms, voice-controlled movement, person following, and visual recognition (visual question answering). The WonderFree app can also be used for network configuration and control.
Application product features¶
Integrated hardware solution: The shared chassis integrates a pan-tilt camera, an ultrasonic sensor, line-following sensors, and a multi-DOF drive structure. The voice solution adds a microphone array and an AMOLED display.
Hardware and software development: Provides a ROS 2 workspace, module source code for voice wake-up, speech recognition, and large language model (LLM) conversations, and deployment scripts for further development.
Examples for multiple scenarios: Examples cover remote control, target tracking, color-based line following, QR code recognition, smart obstacle avoidance, emotional expressions, voice-controlled movement, person following, and visual recognition.
Rapid replication and deployment: Provides one-click deployment scripts and systemd services, and supports automatic startup at boot.
Support list¶
Category |
Supported features |
|---|---|
Hardware platform |
Quectel Pi H1, expansion board, pan-tilt camera, ultrasonic sensor, line-following sensors, TT motors, and an 18650 battery holder. The voice solution also includes a Sipeed MicArray microphone array and a 5-inch HDMI AMOLED display. |
System and software |
Debian 13 and ROS 2 Humble. The vision solution uses the WonderPi app, and the voice solution uses the WonderFree app. Both apps are available for Android and iOS. |
Interfaces |
I2C9, UART12, GPIO, PWM servo interfaces, and four line-following sensor interfaces. The voice solution also includes audio input/output interfaces and an HDMI display interface. |
Control methods |
Vision solution: direct mobile app connection or LAN connection, ADB/SSH, and Docker containers. |
Main functions |
Vision solution: remote control, target tracking, color-based line following, QR code recognition, and smart obstacle avoidance. |
Development accessory list¶
Accessory name |
Quantity |
Specifications |
|---|---|---|
Quectel Pi H1 smart single-board computer |
1 |
Quectel Pi H1 board, model QSM565DPWFPA-8H128-PI-H1; board only, accessories not included |
Smart vision car kit |
1 |
|
Sipeed MicArray microphone array |
1 |
|
5-inch HDMI AMOLED display |
1 |
Note
Accessory roles: The car kit provides motion and vision capabilities, the microphone array provides audio input and sound source localization, and the Quectel Pi H1 provides system coordination and processing power. Together, they form a complete smart car hardware platform.
Preparations¶
Software deployment¶
Both solutions share the same chassis and Quectel Pi H1, and use the same open-source software. The repository contains both vision and voice modules, so the deployment procedure applies to both solutions. Deployment consists of three steps: (1) flash a system image with the ROS 2 runtime environment preinstalled; (2) obtain the source code; and (3) run the one-click deployment script. Alternatively, build the deployment package yourself as described in Build deployment package from source.
Flash system image¶
Download the system image from the ROS 2 system image package and flash it as described in Firmware flashing.
The image must include the ROS 2 Humble runtime environment; otherwise, the ROS 2 workspace cannot be built. Follow the flashing instructions included in the image package. After flashing, power on the Quectel Pi H1 and verify that the system starts correctly.
Obtain source code¶
Run the following command on the host to clone the source repository. The repository contains the source code for the modules of voice wake-up, speech recognition, LLM dialogue, expression display, target tracking, and ROS 2 chassis control, as well as the ai_tools/ directory with the deployment scripts.
git clone https://github.com/Quectel-Pi/Expr_Sense_Bot.git
Deployment preparation¶
Install adb on the host and connect the PC to the debug port on the Quectel Pi H1 using a USB data cable. Verify that adb devices list the device.
If multiple ADB devices are connected to the host PC, select the target by serial number using adb -s
<serial_number>shell. To select the target for the ADB commands in the deployment script, set ANDROID_SERIAL to the target serial number in the host shell before running the script: use export ANDROID_SERIAL=<serial_number>on Linux or set ANDROID_SERIAL=<serial_number>in Windows Command Prompt.Flash the Quectel Pi H1 smart single-board computer with the system image specified above and verify that it starts correctly. Ensure that ROS 2, colcon, Python 3, and pip3 are available on the device.
Prepare the ai_car_output/ deployment package, either supplied with the repository or generated as described in “Build the deployment package from source”.
One-click deployment (recommended)¶
The ai_tools/ directory provides equivalent one-click deployment scripts for Windows and Linux. They transfer files to the device, repair the environment, build the ROS 2 workspace, enable Bluetooth, and deploy system services.
Note
Before using the one-click deployment commands below, verify that your deployment package contains ai_car_output/ and the script for your host operating system: push_output.sh for Linux or push_output.bat for Windows. These instructions assume the deployment package described in this document. The current public repository does not include ai_tools/push_output.sh, and its Windows script differs from the procedure below. Obtain the matching deployment package before proceeding.
cd Expr_Sense_Bot/ai_tools
chmod +x push_output.sh
./push_output.sh
cd Expr_Sense_Bot\ai_tools
push_output.bat
The script performs the following operations in sequence:
Transfer the directories under ai_car_output/ to /mnt/car_test/ on the device.
Repair the ROS 2 build environment by adding the placeholder library for foonathan_memory and Python dependencies such as smbus2 and transforms3d.
Enable the 40-pin expansion board interfaces. The device tree blob (DTB) is flashed during the first deployment.
Build the ROS 2 workspace on the device using colcon build.
Enable onboard Bluetooth and create the hci0 interface.
Deploy and enable the start_car service for automatic startup at boot.
Verify each device status item and report PASS or FAIL.
Note
During the first deployment, the script writes the 40-pin configuration to the boot partition and automatically restarts the device when deployment finishes. The restart takes approximately 1 to 2 minutes. After the restart, the 40-pin interfaces, Bluetooth, Wi-Fi, and the start_car service are enabled automatically.
Verify deployment and start the car¶
After deployment, run the following commands to verify the key device status items:
adb shell "systemctl is-enabled start_car.service" # Expected output: enabled
adb shell "systemctl status start_car.service" # Check the service status
adb shell "hciconfig -a" # Expect hci0
adb shell "test -e /dev/i2c-9 && echo 40pin-ok" # 40-pin I2C9 on the H1 is enabled
The start_car service is configured to start automatically at boot. After the device restarts, the car functions start automatically. To start them manually, run:
adb shell "bash /mnt/car_test/quecpi_smartcar/service_config/run/start_car.sh"
Build deployment package from source (for developers)¶
If you need to modify the source code, build it on a Linux host PC with the Quectel cross-compilation SDK installed to generate the complete ai_car_output/ deployment package. The current build.sh script loads the SDK environment from ../environment-setup-armv8-2a-qcom-linux; ensure that this file is available before building. Source the script to load its build functions, and then call build_sdk:
cd Expr_Sense_Bot
source ./build.sh
build_sdk # Build the complete ai_car_output/ deployment package
To build only the executable after sourcing build.sh, run build_all. The output is located at build/ai_car_demo. If you only need to deploy and run the software without modifying its source code, use the existing ai_car_output/ package and skip these build steps.
Car assembly and power-on¶
This solution uses the same car body as the Smart vision car. Refer to that document for mechanical assembly, battery charging, and power-on instructions. This solution also requires connections for the microphone array and AMOLED display; follow the documentation for the corresponding peripherals.
After powering on the car, prepare it for network configuration as follows:
Verify that the car is powered on correctly and that the power switch on the expansion board is set to ON.
Press and hold the K1 button on the expansion board for approximately 5 seconds to enter network configuration mode.
Turn on Bluetooth on your phone.
Have the name and password of a 2.4 GHz Wi-Fi network ready for network configuration.
App installation¶
Install the Quectel app (WonderFree) using the QR code below. On Android, scan the code to download the app. On iOS, search for WonderFree in the App Store and install it.
App network configuration, device addition, and car control¶
The app discovers nearby cars over Bluetooth, configures a 2.4 GHz Wi-Fi connection, and binds the device. The process consists of the following four steps.
Step 1: Add a device¶
Open the app and go to the home page (My Home). Tap the Add Device card in the center of the page or the + icon in the upper-right corner:
Step 2: Search for and select the car¶
On the Add Device page, the app automatically scans over Bluetooth for nearby cars awaiting network configuration. When 1 device found appears at the top, tap Add on the right:
Step 3: Configure a 2.4 GHz Wi-Fi connection¶
The list displays detected cars, such as Robot_5588 in the screenshot. Tap the blue + icon next to the device. In the dialog, select a 2.4 GHz Wi-Fi network, enter its password, and tap Next:
Step 4: Complete device binding¶
The app automatically connects and binds the device. The screenshot shows 1 device scanned, 1 successfully added at the top and Added successfully with a green check mark next to the device. Tap Done at the bottom to complete network configuration and start using the car:
App car control screen¶
After network configuration and device binding, you can use the app control screen to operate the car, in addition to voice commands. The control screen is shown below:
Operating procedure
Check the device status: Verify that the car is powered on, network configuration is complete, and the device appears online in the app.
Open the control screen: Select the bound car in the app and open its device control screen.
Control the car: Use the on-screen buttons and observe the car’s response. The video in this section demonstrates the procedure.
Choose app or voice control to suit the scenario. App control is suitable for precise operation and checking device status; voice control is suitable for hands-free, immediate commands. Button icons and layout may vary with the app version.
Note
Place the car on a flat, open surface and keep it within sight at all times. Keep it away from table edges, stairs, and other locations where it could fall.
App control demonstration¶
The video below demonstrates app operation and the car’s physical response. Refer to “App car control screen” above while watching.
Full video: App control of the car (approximately 44 seconds).
If network configuration or connectivity fails, see “FAQ and troubleshooting”.
Try the car functions¶
The following sections describe voice interaction with the car. For mobile app operation, see “App car control screen” above. The general voice interaction procedure is as follows:
Wake the car: Move close to the car and say the wake word “小远同学” (Xiaoyuan Tongxue) in a quiet environment.
Confirm wake-up: Wait for the car’s spoken prompt before issuing a command.
Wait for a response: After executing each command, the car gives spoken confirmation, such as “收到” (received) or “正在前进” (moving forward). Wait for this feedback before issuing the next command.
End the conversation: Say “你退下吧” (That’s all) to end the current conversation.
Note
Usage recommendations: Use the car in a well-lit indoor environment. Keep the camera’s field of view clear and unobstructed, and avoid noisy environments during voice interaction. The illustrations in this chapter are screenshots from videos of the actual car and serve as previews. Full videos are provided below the relevant sections and can be played or downloaded in Feishu. Refer to the videos for the actual motion, spoken responses, and expression changes.
Voice-controlled movement¶
After saying the wake word, use voice commands to control the car’s movement.
Full video: Voice-controlled movement (approximately 42 seconds).
Step 1: Wake the car
Say the wake word “小远同学” (Xiaoyuan Tongxue) to the car. A spoken response confirms successful wake-up, after which you can issue control commands.
Step 2: Issue motion commands
Command |
Car action |
|---|---|
“小车前进” (Move forward) |
All four Mecanum wheels rotate forward simultaneously, and the car moves forward in a straight line. |
“小车后退” (Move backward) |
All four Mecanum wheels rotate backward simultaneously, and the car moves backward in a straight line. |
“小车左转” (Turn left) |
The wheels on the left and right sides rotate in opposite directions under differential control, turning the car counterclockwise in place. |
“小车右转” (Turn right) |
The wheels on the left and right sides rotate in opposite directions under differential control, turning the car clockwise in place. |
“小车停止” (Stop) |
The motors stop rotating immediately, and the car quickly comes to a stop at its current position. |
Note
The car uses four Mecanum wheels, allowing sideways or diagonal movement without changing its heading. These movements must be triggered using the corresponding voice commands.
Expression interaction¶
The car infers emotions from the conversation, displays matching expressions, and provides spoken responses.
Full video: Emotional expressions (approximately 53 seconds).
Step 1: Wake the car
Say “小远同学” (Xiaoyuan Tongxue). The display shows two eyes and a question mark, and the car replies, “小主人是在叫小远同学吗?小远同学在呢” (“Are you calling Xiaoyuan, young master? Xiaoyuan is here.”).
Step 2: Interact through emotions
Trigger (example phrase) |
Xiaoyuan’s response |
On-screen expression |
|---|---|---|
“今天我很开心” (I’m very happy today) |
“Wow, that’s wonderful. What has made you so happy, young master?” |
A happy smile, with the eyes curved upward. |
“我中了一个很大的彩票” (I won a large lottery prize) |
“Wow, you’re so lucky, young master! Have you thought about how to spend the money?” |
A surprised expression, with the eyes wide open. |
“给我做一个委屈的表情” (Show me a hurt expression) |
“Oh, young master, Xiaoyuan really can’t make faces. Why don’t you make one for Xiaoyuan instead?” |
A hurt expression, with the eyes curved downward. |
“今天我赔了1000块钱” (I lost 1,000 yuan today) |
“Oh, young master, you must be feeling down today. But that’s all right…” |
A crying expression, with the eyes curved downward and blue tears. |
Note
Xiaoyuan understands natural language and is not limited to the example phrases in the table. Describe your mood or ask questions in your own words; Xiaoyuan responds with expressions and speech based on the conversation.
Voice conversations and alarms¶
After waking the car, you can hold multi-turn voice conversations, check the weather, request your location, play music, listen to stories, and set alarms.
Full video: Voice conversations and alarms (approximately 2 minutes 29 seconds).
Common conversation functions
Function |
Example phrase |
Xiaoyuan’s response |
|---|---|---|
Voice wake-up |
“小远同学” (Xiaoyuan Tongxue) |
The car sounds a prompt tone and enters listening mode. |
Weather query |
“今天天气怎么样” (What’s the weather like today?) |
The car announces the current weather and temperature. |
Location query |
“我现在在哪里” (Where am I now?) |
The car announces the full address of your current location. |
Music playback |
“给我放首歌” (Play a song for me). You can specify a style, such as “开心的歌” (a cheerful song). |
The car plays music matching the request. |
Storytelling |
“给我讲个故事” (Tell me a story) |
The car tells a fairy tale in a human-like conversational style. |
End conversation |
“你退下吧” (That’s all) |
The car says goodbye and ends the interaction. |
Set an alarm
Wake the car: Say “小远同学” (Xiaoyuan Tongxue).
Issue the command: Say “给我定一个X分钟之后的闹钟” (Set an alarm for X minutes from now), for example, “定一分钟后的闹钟” (Set an alarm for one minute from now).
Wait for confirmation: The car announces the scheduled alarm time.
Wait for the alarm: At the scheduled time, the alarm sounds continuously and stops automatically when playback finishes.
Smart obstacle avoidance¶
The car automatically detects obstacles ahead and plans a route around them for autonomous obstacle avoidance.
Full video: Obstacle avoidance (approximately 36 seconds).
Operating procedure
Prepare the car: Power on the car and place it on a flat, open indoor surface with sufficient clearance around it.
Wake the car: Say “小远同学” (Xiaoyuan Tongxue). The car sounds a prompt tone and enters standby mode.
Move forward: Say “小车前进” (Move forward). The car starts moving, and the camera and sensors begin operating.
Detect obstacles: When the ultrasonic sensor detects an obstacle within 10 cm ahead, active obstacle avoidance is triggered and the car automatically calculates a route around it.
Navigate around obstacles: The car adjusts its direction, passes through gaps between obstacles, and continues moving forward.
Stop the car: Say “小车停止” (Stop). The car stops immediately and returns to standby mode.
Usage recommendations
Use the car in offices, living rooms, corridors, or similar areas with flat floors and sufficient lighting.
Use regularly shaped obstacles, such as boxes or furniture. Avoid complex, irregularly shaped obstacles.
Allow sufficient turning space for the car to plan and follow an obstacle avoidance route.
Precautions
Do not use obstacle avoidance on stairs, raised platforms, near water, or in other hazardous locations.
Keep the ultrasonic sensor and camera clean to prevent dust from affecting detection.
Supervise the car throughout operation and keep it within a safe area.
Avoid very dark environments or strong backlighting, which may affect visual recognition.
If obstacle avoidance fails or movement is unstable, see “Obstacle avoidance and motion issues”.
Person following¶
The car uses its camera to detect and lock onto a person, then follows the target while maintaining a safe distance.
Full video: Person following (approximately 40 seconds).
Operating procedure
Prepare the car: Power on the car and place it on a flat indoor surface where the camera has a clear view of the person.
Wake the car: Say “小远同学” (Xiaoyuan Tongxue). The car sounds a prompt tone and gives a spoken response.
Detect the person: The camera detects and locks onto the target person.
Start following: Say “开始人体跟随” (Start person following). The car enters person-following mode.
Confirm the command: The car gives spoken feedback after receiving the command.
Stop following: Say “测试结束” (End the test). The car stops following and returns to standby mode.
Usage recommendations
Use person following on flat indoor surfaces. Following works best when the person walks at 0.5 to 2 m/s.
Avoid clothing with colors similar to the background to help the camera detect the person accurately.
Do not use person following on stairs, raised platforms, near water, or in other hazardous locations.
Avoid very dark or backlit environments. Keep the camera lens clean to prevent dust from affecting recognition accuracy.
Visual recognition (visual question answering)¶
After waking the car, you can ask it to recognize and describe live camera footage and answer follow-up questions about what it sees.
Full video: Visual recognition of real objects (approximately 1 minute 35 seconds).
Functions and operation
Function |
User action |
Xiaoyuan’s response |
|---|---|---|
Voice wake-up |
Say “小远同学” (Xiaoyuan Tongxue) and keep the camera’s field of view clear. |
The camera gimbal rotates, indicating that the car has entered listening mode. |
Scene recognition |
Say “你现在看到了什么” (What do you see now?). |
The car recognizes and describes the surroundings, such as buildings, trees, and lighting visible through a window. |
Object recognition |
Place an object in front of the camera and ask “你看到了什么” (What do you see?). |
The car describes the object’s color and shape. |
Packaging recognition |
Show an item to the camera, such as a packet of tissues. |
The car describes the packaging’s color and main patterns. |
Visual conversation |
Hold a multi-turn conversation after waking the car. |
The car recognizes the scene and answers questions based on live camera footage. |
Usage recommendations
Lighting: Provide sufficient lighting in front of the camera to improve recognition accuracy.
Field of view: Keep the camera unobstructed and its field of view clear.
Object distance: Place objects 30 to 60 cm in front of the camera so that their overall features can be recognized.
Natural language: Ask questions in natural language to improve recognition and response accuracy.
FAQ and troubleshooting¶
App network configuration and device connection¶
Issue |
Possible cause |
Suggested solution |
|---|---|---|
The app cannot find the car. |
|
|
Network configuration times out or the connection fails. |
|
|
The device is offline after being added. |
The car is too far from the router. |
Place the car near the wireless router during network configuration. |
Network connection failure¶
Symptom: The app shows Added successfully, but the car remains offline and voice conversations are unavailable.
Cause: The car is connected to Wi-Fi, but the on-site Wi-Fi network, such as a campus or office network, cannot access the car’s cloud server. This prevents the car from coming online. The issue is usually caused by the on-site network environment, rather than a car malfunction.
Solution: Use a spare phone’s hotspot
Enable the personal hotspot on a spare phone. Use the 2.4 GHz band where possible.
In the app, configure the car’s network again by selecting the hotspot and entering its password.
After connecting to the hotspot, the car comes online within a few seconds and voice conversations resume.
Note
A phone hotspot uses the mobile network and bypasses restrictions on the on-site network. If the car cannot connect to the cloud, try switching to a phone hotspot first. This method has been verified to restore the connection immediately.
Obstacle avoidance and motion issues¶
Issue |
Troubleshooting advice |
|---|---|
Obstacle avoidance fails. |
Check whether the sensor is obstructed or dirty. Try restarting the car and cleaning the sensor. |
Movement is unstable. |
Check that the surface is flat and the Mecanum wheels rotate correctly. |