Warning: Declaration of Graphene_Description_Walker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = NULL, $id = 0) in /homepages/11/d243493287/htdocs/web/stairlighting/wordpress/wp-content/themes/graphene/functions.php on line 718

Warning: Declaration of Walker_PageDescription::start_el(&$output, $page, $depth, $args, $current_page) should be compatible with Walker_Page::start_el(&$output, $page, $depth = 0, $args = Array, $current_page = 0) in /homepages/11/d243493287/htdocs/web/stairlighting/wordpress/wp-content/themes/graphene/functions.php on line 818
RGB LED DIY Stair Lighting using an Arduino Uno and TLC5940 chips » Stair Lighting

«

»

Apr
17

RGB LED DIY Stair Lighting using an Arduino Uno and TLC5940 chips

from Hack a Day shares a hack that he found by Geert on his Just a Thought blog. Geert wanted to jazz up his stairs but adding some DIY RGB LED stair lighting. He used an Arduino Uno for the brain and some TI TLC5940 chips to do the heavy lifting of doing the PWM (pulse width modulation) for all of the channels of LEDs.

“We need a lot of PWM controllers. With 12 steps, 3 colours per step, we need 36 PWM channels. My Arduino Uno only has 6 of them, so that’s not an option. Texas Intruments has a solution: TLC5940, a 16 channel PWM unit with 12 bit duty cycle control. It has a serial input, and can be daisy chained to create even more channels. In this case, I need 3. Luckily there is a library for this chip in the ¬†Arduino Playground”

 

 

1 ping

  1. RGB Stair Lighting using an Arduino Uno and TI TLC5940m PWM Chips - Hacked Gadgets – DIY Tech Blog says:

    […] Via: HackaDay and Stair Lighting […]

Comments have been disabled.