# Voice Programming Mode ## Voice Direct Control ### **Demonstration** ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode01.gif) ### How to control the motor's movement using voice commands? Steps: 1. Preparation | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode02.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode03.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode04.png) | | :---: | :---: | :---: | | KIDZQbot Xiao Q Robot × 1 | Voice Recognition Sensor ×1 | Motor × 1                      | 1. Steps Display | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode05.gif) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode06.gif) | | --- | --- | | 1、Press and hold the power button on the Xiao Q Robot for 3s to power it on. | 2、Connect the motor to Port 1 (green side). | | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode07.gif) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode08.gif) | | 3、Connect the voice sensor to Port 1 (blue side). | 4、Wake up the voice recognition sensor by saying "Hello Xiao Q" and wait for the response.
Say “Motor 1 forward” to rotate the motor. The system will reply,
“Motor 1 forward recognized,” and the motor will rotate.
Say “Stop” to stop the motor. | **Note:** The voice command should match the motor's port, as shown below: | Port Connection | Command Word
(Motor 1 Forward) | Command Word
(Motor 2 Forward) | | :---: | :---: | :---: | | Port 1 connected to motor | Motor rotates | Motor does not rotate | | Port 2 connected to motor | Motor does not rotate | Motor rotates | | Both Port 1 and Port 2 connected to motors | Both motors rotate | Motor rotates | *Other command word effects can be tried on your own. --- ## Voice Programming Control ### **Demonstration** ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode09.gif) ### How to use voice programming to control the robot's movement? 1. Preparation | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode10.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode11.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode12.png) | | :---: | :---: | :---: | | KIDZQbot Xiao Q Robot × 1 | Voice Recognition Sensor ×1 | Motors × 2                      | 2. Structure Setup | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode13.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode14.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode15.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode16.png) | | :---: | :---: | :---: | :---: | | Step 1 | Step 2 | Step 3 | Step 4 | | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode17.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode18.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode19.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode20.png) | | Step 5 | Step 6 | Step 7 | Step 8 | | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode21.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode22.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode23.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode24.png) | | Step 9 | Step 10 | Step 11 | Step 12 | | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode25.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode26.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode27.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode28.png) | | Step 13 | Step 14 | Step 15 | Step 16 | | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode29.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode30.png) | | | | Step 17 | Step 18 | | | 3. **Demonstration** ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode31.gif) 4. Steps Display | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode32.gif) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode33.gif) | | --- | --- | | 1、Press and hold the power button on the Xiao Q Robot for 3s to power it on.
Connect the motor modules to Ports 1 and 2 (green side). | 2、Connect the voice recognition sensor to Port 1 (blue side). | | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode34.gif) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/VoiceProgrammingMode35.png) | | 3、Wake up the voice recognition sensor by saying "Hello Xiao Q" and
wait for the response. Say the command: “Start programming”,
“Turn left”, “Wait for 1 second”, “Stop”, and “End programming.”
Say “Execute program” for the motors to perform the corresponding actions. | Attached: Detection diagram of the voice recognition sensor. | *Other command word effects can be tried on your own. [Click here to learn more command words. ](#aEc3E) ## Voice Command List | Type | Commands | Responses | | :---: | :---: | :---: | | wake-up phrase | Hello,Xiao Q | Xiao Q is here | | Motion commands | Move forward | Move forward recognized | | Motion commands| Move backward | Move backward recognized | | Motion commands | Turn left | Turn left recognized | | Motion commands | Turn right | Turn right recognized | | Motion commands| Stop movement | Stop movement recognized | | Motor commands | Motor 1 run forward | Motor 1 run forward recognized | | Motor commands | Motor 1 run backward | Motor 1 run backward recognized | | Motor commands | Motor 1 stop | Motor 1 stop recognized | | Motor commands | Motor 2 run forward | Motor 2 run forward recognized | | Motor commands | Motor 2 run backward | Motor 2 run backward recognized | | Motor commands | Motor 2 stop | Motor 2 stop recognized | | Waiting commands | Wait for one second | Wait for one second recognized | | Waiting commands | Wait for two seconds | Wait for two seconds recognized | | Waiting commands | Wait for three seconds | Wait for three seconds recognized | | Waiting commands | Wait for ten seconds | Wait for ten seconds recognized | | Waiting commands | Wait for twenty seconds | Wait for twenty seconds recognized | | Waiting commands | Wait for thirty seconds | Wait for thirty seconds recognized | | Waiting commands | Wait for tilting | Wait for tilting recognized | | Waiting commands | Wait for shaking | Wait for shaking recognized | | Waiting commands | Wait for approching | Wait for approching recognized | | Waiting commands | Wait for button 1 press | Wait for button 1 press recognized | | Waiting commands | Wait for button 2 press | Wait for button 2 press recognized | | Light commands | Turn on the light | Turn on the light recognized | | Light commands | Turn off the light | Turn off the light recognized | | Light commands | Red light | Red light recognized | | Light commands | Yellow light | Yellow light recognized | | Light commands | Green light | Green light recognized | | Light commands | Blue light | Blue light recognized | | program start / finish command | Start programing | Start programing recognized | | program start / finish command | Finish programing | Finish programing recognized | | program run / stop commands | Run the program | Run the program recognized | | program run / stop commands | Stop the program | Stop the program recognized |