Robot Inventor

Master the LEGO 51515 Color Sensor

LEGO 51515 comes with a redesigned color sensor. Today’s LEGO MINDSTORMS 51515 tutorial teaches you everything you need to know to truly master the new 51515 color sensor, including how to program the color sensor! The color sensor has always been an indispensable asset to FLL (FIRST LEGO League) robots, as well as LEGO MINDSTORMS hobbyists. Programming the color sensor is an essential skill for all LEGO MINDSTORMS enthusiasts!

The color sensor that comes with LEGO MINDSTORMS 51515 Robot Inventor is shared with the color sensor from the LEGO Spike Prime platform.

Whether you use this sensor competitively or casually, today’s LEGO 51515 programming tutorial teaches you everything you need to know to master the powerful color sensor. I compare the new sensor to the familiar EV3 color sensor. I explain how to access the three operating modes of the color sensor: color detection, reflected light intensity, and raw sensor values. I walk you through four sample programs with this sensor, which demonstrate events, comparisons, conditionals, and using senor data directly. I demonstrate how the color sensor eliminates interference from ambient light.

🔴 Watch my LEGO MINDSTORMS 51515 Review.

🤖 See all of my LEGO 51515 Tutorials here.

📕 Check out my book, “Building Smart LEGO MINDSTORMS EV3 Robots,” available on Amazon.

🔴 Subscribe to Builderdude35 on YouTube.

📷 Follow me on Instagram.

🦸‍♂️ 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 on Patreon here.

🎵 Thank you to my friend OTT for producing the beats and music used in this video. You can check him out on Instagram here.

📽 Thank you to my friend Preston Nichols for designing Builderdude35’s intro animation and logo!