Makeblock RGB Line Follower Скачать руководство пользователя страница 3

 

 

cannot  perform  normal  line  following  even  though  programming  is  completed.  RGB  Line  Follower 

Learning Method is as follows: 

 

Adjusting the color of fill light: Long pressing the button to select the color of the fill light 

that is suitable for the current environment. 

 

Learning background color: Installing the RGB Line Follower module at the place to use it, 

so that all the 4 RGB lights directly face the background of the arena. Click the button, when the four 

indicators start to flash slowly, it indicates correct operation. After waiting for 2 to 3 seconds, the 

indicators stop flashing, it indicates the completion of background color learning. 

 

Learning track color: Installing the RGB Line Follower module at the place use it, so that all 

the 4 RGB lights directly face the track. Double-click the button, when the four indicators start to flash 

quickly, it indicates correct operation. After waiting for 2 to 3 seconds, the indicators stop flashing, it 

indicates the completion of track learning. 

 

Test Confirmation: Use the four probes to confirm that RGB Line Follower can correctly 

detect the color of background and track. When the background is detected, the LED corresponding to 

the probe turns on, and the corresponding LED turns off when the track is detected. 

 

Re-learning: Should any change in the arena, environment, RGB Line Follower installation 

location, etc., it is recommended to learn them again. The learning information will be saved in eeprom 

to prevent loss. 

 

5.

 

Programming tutorial 

5.1 Installing RGB Line Follower plug-in 

When using mBlock3 for the programming of RGB Line Follower, the RGB Line Follower plug-in 

must be installed. To install the plug-in, open the mBlock software → Extension → Extension Manager 

→ Find RGB Line Follower → Download plug-in package.                                                                                                                                               

The  RGB  Line  Follower  plug-in  is  based  on  the  coding  blocks  that  can  be  used  by  default  line 

following algorithm. Its coding blocks are as shown in Figure 3. 

 

Figure3: RGB Line Follower plug-in statement blocks 

Отзывы: