# Programming Control Mode ## Case 1: Software Programming ### Xiao Q Robot Button Controls Character Movement ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode01.gif) ### How to use the Xiao Q Robot buttons to control the movement of a software character? 1. Prearation | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode02.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode03.png) | | :---: | :---: | | KIDZQbot Xiao Q Robot × 1 | Android Tablet ×1 / iOS Tablet ×1 | 2. Steps: | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode04.gif) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode05.gif) | | --- | --- | | 1、Press and hold the power button for 3s to power on the Xiao Q Robot.
Open the APP and connect to Bluetooth. After Bluetooth is connected,
the Xiao Q Robot will emit a “beep” sound. | 2、In the software, select the moon background and the Xiao Ai character, then start programming.
Use the Xiao Q Robot button 1 to move the character one step to the left,
and button 2 to move the character one step to the right. | | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode06.gif) | | | 3、Start the program and observe the result (Xiao Q Robot button 1 controls
Xiao Ai to move left, and button 2 controls Xiao Ai to move right). | | ## Case 2: Hardware-Software Interaction ### Tilt Sensor Controls Xiao Ai Character Skiing ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode07.gif) ### How to use the tilt sensor to control the movement of a software character? Steps 1. Prearation | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode08.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode09.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode10.png) | | :---: | :---: | --- | | KIDZQbot Xiao Q Robot × 1    | Tilt Sensor×1             | Android Tablet ×1 / iOS Tablet ×1 | 2. Steps Display | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode11.gif) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode12.gif) | | --- | --- | | 1、Press and hold the power button for 3s to power on the Xiao Q Robot. Open the APP and connect to Bluetooth. | 2、 Connect the tilt sensor to port 1 (input port).                              | | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode13.gif) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode14.gif) | | 3、In the software, select the character and background,
then program the character: when the tilt sensor tilts upward,
the character moves up; when tilted downward, the character moves down;
when tilted to the left, the character moves left;
and when tilted to the right, the character moves right. | 4、Effect display. | ## Case 3: Hardware-Software Interaction ### Programming Virtual Buttons to Control Car Movement ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode15.gif) ### How to create a virtual keyboard to control car movement? Steps 1. Prearation | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode16.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode17.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode18.png) | | :---: | :---: | :---: | | KIDZQbot Xiao Q Robot × 1    | Motors × 2                | Android Tablet ×1 / iOS Tablet ×1 | 1. Structure Setup | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode19.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode20.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode21.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode22.png) | | :---: | :---: | :---: | :---: | | Step 1 | Step 2 | Step 3 | Step 4 | | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode23.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode24.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode25.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode26.png) | | Step 5 | Step 6 | Step 7 | Step 8 | | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode27.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode28.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode29.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode30.png) | | Step 9 | Step 10 | Step 11 | Step 12 | | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode31.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode32.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode33.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode34.png) | | Step 13 | Step 14 | Step 15 | Step 16 | | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode35.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode36.png) | | | | Step 17 | Step 18 | | | 2. Steps Display | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode37.gif) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode38.gif) | | --- | --- | | 1、Press and hold the power button for 3s to power on the Xiao Q Robot. Open the APP and
connect to Bluetooth. | 2、Connect the motor modules to ports 1 and 2 (output ports). | | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode39.gif) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode40.gif) | | 3、In the software, add four directional arrows and a stop button. | 4、Program the up and down buttons:
Up button (Press → motor power 5 → both motors move forward);
Down button (Press → motor power 5 → both motors move backward).
Then program the left and right buttons and the stop button:
Left button (Press → motor power 5 → both motors move left → wait 2 seconds → move forward);
Right button (Press → motor power 5 → both motors move right → wait 2 seconds → move forward);
Stop button (Press → both motors stop). | | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode41.gif) | | | 5、Effect display. | | ## Case 4: Voice Programming Interaction ### Voice Programming to Control Character Movement ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode42.gif) ### How to use voice to control the movement of a software character in all directions? Steps 1. Prearation | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode43.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode44.png) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode45.png) | | :---: | :---: | :---: | | KIDZQbot Xiao Q Robot × 1 | Voice Recognition Sensor ×1 | Android Tablet ×1 / iOS Tablet ×1 | 1. Steps Display | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode46.gif) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode47.gif) | | --- | --- | | 1、Press and hold the power button for 3s to power on the Xiao Q Robot.
Open the APP and connect to Bluetooth. | 2、Connect the voice recognition sensor to port 1 or port 2 (input port). | | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode48.gif) | ![](https://pub-eed680a9b7c24a0c8ca64ceb3e12d6e4.r2.dev/icqbot/docs/KIDZQbot/04Featureoverview/img/ProgrammingControlMode42.gif) | | 3、In the software, select the grassland background and the rabbit character,
then program the rabbit to move according to the voice commands.
Voice command “Up” will make the rabbit move up,
“Down” will move it down, “Left” will make it move left, and “Right” will make it move right.
The voice command “Go home” will return the character to the starting position.
More voice command words can be found in the [Voice Command List](/docs/KIDZQbot/04Featureoverview/03VoiceProgrammingMode.html). | 4、Effect display. |