Anybody Iis knows how to do amood rgb lamp thermo-controlled?

I want to do a light lamp, and configure it to change color with the temperature of the room with smooth transitions. We can setup it to light in blue with 18ºC or less, orange with between 19ºC and 22ºC, and red with 25ºC and more for example. Thanks

sort by: active | newest | oldest
ypstars5 years ago
LEDVIEW5 years ago

Love it, wanna know more about
led display
soft led display
flexible led curtain
led screen, thanks
nejo00177 years ago
I would suppose this quick and simple solution:

- LM35 tempsensor (The LM35 series are precision integrated-circuit temperature sensors, whose output voltage is linearly proportional to the
Celsius  temperature.)

- the Arrrduino (the most simple way to connect sensors to actuators with some
C-synthax in between...)
you can see my code for example in the "hue_to_rgb()" method

- RGB led

(# for a small lamp, just use  a 5mm rgb led with 20mA each... with some resistors you can drive it directly from the arduinoPins.
# for more power you can use 3W rgb-leds with a special driver between controller and led. )
if you need more information on a specific point, let me know.

here you can see my 3x1,5meter  wide rainbowlamp with 5 of those highPowerLeds, driven by a arduino and some additional cheap hardware like transistordriver and PWMchip TLC5940.


MattGyver928 years ago
Use a thermistor. A thermistor is a type of electrical componant that restricts the flow of electricity in a circuit and it's resistance varies on the temperature around it. Using a thermistor and a mood lamp that uses RGB LED's and knob to control the color, or a controllor of your choice, you could construct a lamp that changes the color light in produces depending on the temperature of the room.
randofo8 years ago
You would need a thermistor or temperature sensor. You would then take readings from the sensor using a micro controller board like an Arduino. You can take the readings from that to affect the lighting in the room.

The interface between the micro controller and the lights will be the trickiest since you will be controlling a high voltage. You can probably find a fan controller from an online store that can be interfaced with a low voltage DC controller (micro controller). You then pulse-width modulate (PWM) the AC signal in relation to the input temperature.