Arduino color sensor

Whilst creating a few things in VR it would of been nice to get the exact color of the object to use as the Diffuse/Albedo color to use in the shader. I had a look around and theirs a few tools out there to do it like the Nix Color sensor but they were just way to pricy. So had a look into color sensors and Sunfounder make this one “color sensor” for on $12. So thought I’d have a go at making my own with an arduino. Took a couple of hours to cobble it together with a display. But works pretty well, giving a constant reading of the RGB on the left and the average over a couple of seconds on the right. Might make a little enclosure for the sensor to stop the light leaking in but doing the job pretty well for now.

Leave a Reply

Your email address will not be published. Required fields are marked *