RGB Grayscale Sensor is specially designed for line detect competition. It contains 4 RGB fill flashes and 4 photodiodes. This sensor can be used to detect line on deep background with light color track and light background deep color track as well. RGB Grayscale Sensor can detect line when grey value is greater than threshold value.( It is advised that the threshold value is greater than 30, that the effect is better.) This module has the functions of fast detection, learn court via button and the advantage of well adapted. The color code of the sensor’s port is blue and white, it means double digital, I2C port, and it needs to link to the port which has blue and with color code on the main board.