Yahboom Omibox Robot Kit Remote control course 6.1 Basic IR control
1-1.The position of the Infrared receiver on the robot car
1-2.Learn how to use infrared remote control
As shown on the left figure above, the infrared receiver on the Omibox programmable robot circled by the red wire frame on the left.
As shown on the right figure above, infrared remote controller.
The infrared remote controller is used to send a signal to the infrared receiver, and the infrared receiver is used to receive the signal sent by the infrared remote controller.
In this lesson, we mainly learn how to make the infrared remote controller to control the following functions of the Omibox programmable robot by programming.
3.Search for blocks
The following is the location of the building blocks required for this programming.
About how to create a variable:
Step 1: Click 【Make a variable】 in the 【Variable】option as shown below.
Step 2: After clicking, you will see the interface shown below, enter the New variable name, and then click 【OK】, the new variable will be created.
Please see the Basic IR control.sb3 file for this experimental procedure.
After the program is uploaded, open the power of the car, the infrared remote controller corresponds to the following f
!!!Note:This experiment needs to be done indoors to reduce the interference of sunlight on the infrared receiver.
The code of the experiment: 1.Basic IR control.rar