In this article you will find out what a colour sensor is and how to use it

Colour sensor registers the color of the surface. The sensor receives reflected light in the visible range of colors and encodes it.
Technical description:

– Size (L*W*H): 40x24x24
– The sensor reads the color reflected from the surface, encodes it and transmits it to the controller via the I2C bus.
– Operating voltage: 3.3V
– F-Dupont 5pin connector for connecting to another device

Functionality when connected to the RED X controller:

Determining the surface colour

Colour sensor connecting scheme

Program example
*Physically, the colour sensor connected to the I2C port reads the red colour and outputs its value to the port monitor
Technical support
If you face a problem, drop us a line to or fill in the form below

© R:ED – Robotics Education. All rights reserved