Arduino - LOVE O METER
Arduino - LOVE O METER
SUMMARY
In this project I will build a color mixing lamp. The main objective behind this project is to get
used to work with light sensors and analog inputs. Using Arduino UNO board, some light
sensors, a two tri-color LED and resistors, I will create a lamp that smoothly changes colors
depending on external lighting conditions. The assembly is quite simple. The three inputs of the
two tri-color led must be connected to three different digital outputs, always to put some
resistors for making the components not to overwork. The single leds output will be plugged in
the GND. Three photoresistors will be feeded directly from the 5V output, and will be
connected to three analog inputs. Three 10 Kilohm resistors will be connected between GND
and the light sensors. According to the amount of incident light, photo resistors will
change its resistance value, changing the intensity circulating through the blue, green
and red wires which are connected to analogic inputs (A0, A1, A2). Analogic inputs will
capture this intensity’s variation and will send a signal to digital outputs which feed the
two tri-color Led that will make a color or another depending on the received signal. The
program used in this project, although being quite long is easy to understand. Basically,
it captures the amount of light incident to the sensors and transforms it to an analogical
signal, which are captured by analogic inputs. Then, a signal is sent to the led through
digital outputs. And the two tri-color led will transform this signal into a colored light.