Can I use the line follower array sensor to detect red, green and blue lines?


#1

I would like my students to be able to use Mbots to compete in the robocup. However to do this the robots need to be able to sense colour markings on the floor. Does the Line follower Array sensor do this? Or is there another way


#2

I believe that the line sensor is a dark/light style of sensor, not a color sensor and as far as I can tell Makeblock does not have a color sensor. You might be able to use the Adafruit RBG sensor or one from Modern Robotics but you’d likely have to be creating the program in Arduino (C/C++) and you will need to wire it into the mBot.

@tec_support, can you confirm the above is accurate?


#3

Yes, you’re right, the sensors on the line follow array can only detect white or black. It has the same working principle with the line follower sensor in this link.

Currently, we don’t have color sensor available for sell though there is plan which would take some time.


#4