Tutorials

Program the EV3 Color Sensor to Detect 16.8 Million Colors (Sort Of) – RGB Color Sensor

The RGB color sensor block, invented by David Gilday, greatly expands the possible number of colors that the EV3 color sensor can detect. It works by scanning a color and reporting the relative red, green, and blue (R,G,B) light intensities, each on a scale from 0 to 255. This means that in theory, the RGB programming block will allow the EV3 color sensor to detect 16.8 million distinct colors. In reality, due to factors such as variations in ambient light intensity, this number is closer to 1000 distinct colors, which is still a massive improvement over the EV3 color sensor’s original range of 7 colors. In today’s video, I will introduce the basics of RGB color, demonstrate programming with the RGB color sensor block, and make a simple program to detect the color orange.

The download for the RGB color sensor block is available on David Gilday’s website: http://mindcuber.com/mindcub3r/mindcub3r.html

Check out my book, “Building Smart LEGO MINDSTORMS EV3 Robots,” available on Amazon: https://amzn.to/2MyGVCl

My Patreon supporters for more than $5 for the month of July were: Creator Academy, Robert Damiano, Al Douglas, and Executor Akamia. Thank you very much!

My supporters on Patreon contribute additional funding that allow me to build up and improve this channel and to make more videos. If you would like to help, you can support me here: https://www.patreon.com/builderdude35

Special thanks to my friend Preston Nichols for designing Builderdude35’s awesome new introduction and logo!