The Reading Color Changer Extravaganza

Allison and Brad's project

This a project done by Allison Brotherton and Brad Schock.

Our project, when placed on a surface, will read that color and the light will turn the same color as the surface.

In more technical terms: the photoresistor, a resistor whose resistance decreases with increasing light intensity and increases with decreasing light intensity, will read the amount of resistance it receives from the surface color that is being tested. To test that color, we used a solid black container with an open end and inserted the photoresistor and a multi-color LED light that flashes the three primary colors of light. The light reflections bounce inside the opaque colored container sending an accurate reading of any surfaces color it is placed on. Upon reading each resistance value from the reflection of the flashing colors of the LED off the surface color, the photosreistor comes up with a value that's between 0 and 1023. The photoresistor sends back the values to the arduino board, which is programmed to change these resistance values to a value that is between 0 and 255. That value is then used to tell the arduino what color to set the fading LED light. The fading LED light is programmed to use the three primary colors of light to combine and create a multitude of light combinations. Using the converted resistor value and the fading LED light variations, the fading LED turns the color of the surface.