How to use Me RGB Line Follower in mblock5


#1

Hello.

I would like to use RGB line follower in mblock5 (ver 5.0.1 latest version ).

I have already added Extended RGB line follower block like this↓.

so I would like to know RGB line follower block(on mblock5) description.

I have done making program RGB line follower in mblock3

My purpose is to make program RGB line follower in mblock5 like this↓

thank you.


Using RGB line follower with mBlock 5
#2

Hello gisu271806,
Try this one:


#3

Hi, tech_support.

Thank you for your advice!

I will try it !!


#4

Hi,
What is the difference between chosinf fill light to green , red or blue (or any other color)? how does this affect to follow line?


#5

The fill light color refers to the color of the LED. The amount of reflected light will depend on the background color and the color of the LED. White background will reflect any color light. A black background won’t reflect light of any color. Green will reflect green, but not red or blue, etc. Of course it isn’t really all or none, but having a green light on a red background will have reflectivity values much closer to black than to white. For a black line on a white background, the color of the light would probably not make much difference.
I should add that you always need to check that what your robot sees is what you expect and calibrate accordingly. I just gave the tech support program shown above a try. It works fine for blue or green light, but not red.


#6

Hello
Ranger (auriga) stars up

last201

Is there anything wrong with the picture above?

it says 1 slot on both engines

for the right and left motor, we need to write 1 slot at the top and 2 slots at the bottom, right?

how to write with makeblock5


#7

Hi zafercopur,

Where did you find the above program? You’re right, it should be this one:
image
You can find more instruction regarding to the RGB Line follower sensors in this link.

Regarding to how to use the RGB line follower sensor with mBlock5 software, we will add explanatory materials to the above link, please kindly keep an eye on it. Temporarily, you can refer to the program example I posted on Feb '19.