Temperature Controlled RGB LED Light Stick – Mood Light

  • Rajkumar Sharma
  • 2.913 Views
  • moderate
  • Tested
  • SKU: EL104157
  • Quote Now

The circuit presented here is a LED light stick which changes its color in respect with the room temperature. This is an Arduino compatible open source project consisting of 20 x WS2812B Addressable RGB LEDs, LM35 Temperature Sensor and ATmega328 microcontroller. Atmega328 microcontroller reads the LM35 temperature sensor and changes the RGB LEDs color as per sensor analog output. Multiple units of this board can be installed in the room to create full light color effects. Colors of this light will change as the atmosphere’s temperature changes. Placing the LED stick underneath a furniture or behind picture frames on the wall helps create a nice effect as well as improve the ambience of the room.

Features

  • Operating Supply 5V DC
  • Current Consumption 200mA (When all LEDs on)
  • 20 x WS2812 RGB Addressable LEDs
  • On Board LM35 Temperature Sensor
  • PCB dimensions: 159.86 x 13.81 mm

Arduino I/O Configuration (ATmega328 Chip)

  • WS2812 LEDs connected to Digital Pin D2
  • Temperature Sensor LM35 Connected to ADC Analog pin A0

Programing

Example Arduino Code is provided to test the board and the code and can be modified or re-written as per user requirements.

Read the following tutorial about Atmega328 microcontroller Programming using Arduino IDE: https://www.arduino.cc/en/Tutorial/BuiltInExamples/ArduinoToBreadboard

WS2812B LED

WS2812B is an intelligent control LED light source that the control circuit and RGB chip are integrated in a package of 5050 components. It internal include intelligent digital port data latch and signal reshaping amplification drive circuit. Also include a precision internal oscillator and a voltage programmable constant current control part, effectively ensuring the pixel point light color height consistent. The data transfer protocol uses single NZR communication mode. After the pixel power-on reset, the DIN port receive data from controller, the first pixel collects initial 24bit data then sent to the internal data latch, the other data which reshaping by the internal signal reshaping amplification circuit sent to the next cascade pixel through the DO port. After transmission for each pixel, the signal to reduce 24bit. pixel adopt auto reshaping transmit technology, making the pixel cascade number is not limited the signal transmission, only depend on the speed of signal transmission. RESET time>280μs, it won’t cause wrong reset while interruption, it supports the lower frequency and inexpensive MCU. Refresh Frequency updates to 2KHz, Low Frame Frequency and No Flicker appear in HD Video Camera, it improves excellent display effect. LED with low driving voltage, environmental protection and energy saving, high brightness, scattering angle is large, good consistency, low power, long life and other advantages. The control chip integrated in LED above becoming more simple circuit, small volume, convenient installation.

Schematic

Parts List

SR.QNTYREF.DESCVENDOR/DIGIKEY/MOUSER
11CN14 PIN MALE HEADER 2.54MM PITCHDIGIKEY S1011EC-40-ND
224C1 TO C20,C23,C25,C26,C270.1uF/50V SMD SIZE 0805YAGEO
32C21,C2222PF 50V SMD SIZE 0805YAGEO
41C24100uF/16V SDM SIZE 1210YAGEO
51R110K 5% SMD 0805YAGEO
61R210E 5% SMD SIZE 0805YAGEO
720U1 TO U20WS2812B LED 5050DIGIKEY 1528-1104-ND
81U21ATMEGA328-DIP28DIGIKEY ATMEGA328P-PU-ND
91U22LM35 SMD SOIC8DIGIKEY LM35DMX/NOPBCT-ND
101Y116MHZDIGIKEY X1103-ND

Connections

Gerber View

Photos

Video

WS2812B Datasheet

Please follow and like us:
Pin Share

PCB

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments

RELATED PROJECTS

TOP PCB Companies