![Innovative iBIT RACER Скачать руководство пользователя страница 81](http://html1.mh-extra.com/html/innovative/ibit-racer/ibit-racer_activity-booklet_2063844081.webp)
Programmable robot with micro:bit
81
6.3 Black line detection with 2 sensors
This activity demonstrates the black line detection by reading both IR reflector
sensors; Left and Right then compare with the reference value. Result is shown on LED
display of the micro:bit.
Procedure :
(1) Create the program following the block code below.
(2) Connect the iBIT:Racer robot with computer’s USB port.
(3) Download the code into micro:bit. Disconnect the microUSB cable.
(4) Turn on the POWER switch of the iBIT:Racer robot.
(5) Place the robot over the white surface. See the result from micro:bit LED display.
The display shows
SAD
icon.
Because the both sensor values are more than the
reference value (left > 1500 and right > 1500).
(6) Place the robot over the black line. See the result from micro:bit LED display.
The display shows
HAPPY
icon.
Because the both sensor values are less than the
reference value (left < 1500 and right < 1500).
Содержание iBIT RACER
Страница 4: ...4 Programmable robot with micro bit...
Страница 18: ...18 Programmable robot with micro bit...
Страница 30: ...30 Programmable robot with micro bit Now the BIT Racer robot is ready for coding and fun...
Страница 38: ...38 Programmable robot with micro bit...
Страница 50: ......
Страница 56: ...56 Programmable robot with micro bit Figure 5 2 How to make code for micro bit of the iBIT Racer Robot...
Страница 61: ...Programmable robot with micro bit 61...
Страница 63: ...Programmable robot with micro bit 63...
Страница 70: ...70 Programmable robot with micro bit...
Страница 91: ...Programmable robot with micro bit 91 Procedure 1 Create the program following the block code below...