Difference between revisions of "LED"

From Fab Lab Bcn WIKI
Jump to: navigation, search
(http://bolao.info/forum/index.php?topic=44709.0 slots free online http://bolao.info/forum/index.php?topic=44710.0 play free slots games http://bolao.info/forum/index.php?topic=44711.0 elvis slot mac)
 
(70 intermediate revisions by 6 users not shown)
Line 1: Line 1:
http://bolao.info/forum/index.php?topic=44709.0 slots free online
+
A '''light-emitting diode''' ('''LED''') is a semiconductor light source. LEDs are used as indicator lamps in many devices, and are increasingly used for lighting. Introduced as a practical electronic component in 1962, early LEDs emitted low-intensity red light, but modern versions are available across the visible spectrum|visible, ultraviolet and infrared wavelengths, with very high brightness.
http://bolao.info/forum/index.php?topic=44710.0 play free slots games
+
 
http://bolao.info/forum/index.php?topic=44711.0 elvis slot machines las vegas
+
'''This page focus on driving LED's and RGB LED's using small programmable microcontrollers such as the [[Arduino]] platform.'''
 +
== Arduino LED's basics ==
 +
*Arduino LED basics http://fritzing.org/projects/digital-output-loop/
 +
*Arduino basic RGB LED mixer http://www.instructables.com/id/RGB-LED-Tutorial-using-an-Arduino-RGBL/step3/Example-Circuit/
 +
*Arduino basic RGB LED mixer http://fritzing.org/projects/rgb-led-mixer/
 +
*Arduino basic RGB LED mixer http://fritzing.org/projects/colored-light-rgb-led/
 +
*Arduino power more LED's http://fritzing.org/projects/digital-output-npn-power-transistor/
 +
*Arduino basic RGB LED strips http://fritzing.org/projects/arduino-controlled-rgb-led-light-strips/
 +
 
 +
== LED's control with the Arduino. ==
 +
 
 +
''(most of the examples are compatible with other microcontroller paltforms)''
 +
 
 +
The Arduino output is limited to 5V 40mA per PIN, to drive higher currents we will need to use [http://blog.makezine.com/archive/2009/03/make_presents_the_transistor.html transistors]. There are so many different kinds of transistors and we will need one for each output so to do the job easy usually is better to use a chip that packs together everything. [http://www.kameraku.co/harga-kamera-sony Sony Alpha]
 +
 
 +
===ULN2003===
 +
The ULN2003 is basically and array of 7 transistors allowing as to run 7 LED's up to 50V each.
 +
 
 +
*Tutorial on building an RGB mood light using 3W powerful LED's http://fightpc.blogspot.com/2008/03/arduino-mood-light.html
 +
*Tutorial on building an Arduino shield to run LED's http://fritzing.org/projects/multicolor-rgb-led-controller-shield-for-arduino/
 +
*Datasheet http://focus.ti.com/lit/ds/symlink/uln2003a.pdf
 +
 
 +
The Arduino has a maximum of 12 digital outputs. So controlling a huge number of LED's requires the use of external hardware. That became really interesting when playing with LED matrix. There are two main solutions to do that Multiplexer chips and Shift-Out chips.
 +
 
 +
=== Multiplexers ===
 +
*Multiplexers http://itp.nyu.edu/physcomp/Tutorials/Multiplexer
 +
*Multiplexers tutorial using the 4052 chip http://fritzing.org/projects/mux-demux-cd4051-parlor-tricks/
 +
*Multiplexers tutorial using the 4052 chip http://www.arduino.cc/playground/Learning/4051
 +
*Arduino shield to multiplex your outputs up to 48 inputs and outputs http://www.sparkfun.com/products/9832
 +
 
 +
=== Shift-Out ===
 +
*Arduino tutorial using the 74HC595 shifting-out chip http://www.arduino.cc/en/Tutorial/ShiftOut
 +
*Basic LED driver using the 4794 chip http://www.arduino.cc/en/Tutorial/LEDDriver
 +
*Example: A good example of the use of Shifting-Out Registers is the [http://www.monome.org Monome project ]
 +
*Shift Registers Simulator http://conductiveresistance.com/interactive-595-shift-register-simulator/
 +
*Drive up to 768 outputs with a single Arduino using 595 shift registers http://arduino.cc/forum/index.php/topic,66988.0.html
 +
 
 +
 
 +
The Arduino can dim LED's using its PMW Outputs (AnalogWrite). Considering we need 3 of them for each RGB LED's and the Arduino has just 6 PMW outputs one could think the maximum number we could drive are 2 LED's. Luckly there are a bunch of chips that can easily expand our Arduino PMW ports allowing us to drive a huge number of RGB LED's easily but also any other kind of devices that require these outputs as standard LED's or DC Motors. [http://www.buletinsamsung.com/harga-samsung-galaxy-tab-a-7-2016 Harga Galaxy Tab A7]
 +
 
 +
=== TLC5940 ===
 +
TLC5940 is a 16 channel PWM unit, so you can drive 5 RGB's LED's. There's an arduino library to easy work with it.
 +
 
 +
*Datasheet http://www.ti.com/lit/gpn/tlc5940
 +
*Library http://code.google.com/p/tlc5940arduino/
 +
*Tutorial http://www.arduino.cc/playground/Learning/TLC5940/
 +
*Tutorial (Shield design available) http://fritzing.org/projects/pwm-expander-rgb-ledsservos/
 +
*Buy it at SparkFun http://www.sparkfun.com/products/10136
 +
 
 +
=== M5451 ===
 +
M5451 is a chip specially designed to drive up to 70 LED's . There's an arduino library to easy work with it that implements PMW support.
 +
 
 +
*Library http://code.google.com/p/arduino-m5451-current-driver/
 +
*Datasheet http://www.datasheetcatalog.org/datasheet2/e/0zqj6og5wcoq8y1zyxt7r79056py.pdf
 +
 
 +
==Packet solutions  ==
 +
 
 +
=== Rainbowduino ===
 +
 
 +
Rainbowduino is a packet Arduino compatible solution for driving RGB LED's
 +
 
 +
*Rainbowduino http://www.seeedstudio.com/depot/rainbowduino-led-driver-platform-atmega-328-p-371.html?cPath=93_99
 +
 
 +
=== ShiftBrite ===
 +
ShiftBrite is a packet modular RGB LED. There's an arduino library to easy program it.
 +
 
 +
*ShiftBrite http://macetech.com/blog/node/54
 +
*ShiftBrite Shop http://macetech.com/store/index.php?main_page=product_info&cPath=1&products_id=1
 +
*Library http://www.arduino.cc/playground/Main/ShiftBriteLib
 +
 
 +
=== BlinkM ===
 +
BlinkM is an RGB led packet together with an small microcontroller so you can control a huge number of RGB LED's over a single data bus. An Arduino could be use to communicate with the bus and control all the LED's [http://www.buletinac.com/cara-menghitung-kebutuhan-pk-ac/ Menghitung PK AC]
 +
 
 +
*BlinkM http://thingm.com/products/blinkm
 +
 
 +
=== DMX ===
 +
Allow your Arduino to talk [http://en.wikipedia.org/wiki/DMX512 DMX] so you can manage stage professional LED lighting equipment.
 +
 
 +
*Arduino and DMX http://www.arduino.cc/playground/Learning/DMX
 +
*DMX Shield http://www.arduino.cc/playground/DMX/DMXShield
 +
*Diagram on using the MAX485 chip http://fritzing.org/projects/arduino-to-dmx-converter/
 +
 
 +
== Helpful links for programming RGB LED's  ==
 +
*RGB to Hex Conversion [http://www.javascripter.net/faq/rgbtohex.htm]
 +
 
 +
[[Category:Arduino]]

Latest revision as of 21:24, 2 November 2017

A light-emitting diode (LED) is a semiconductor light source. LEDs are used as indicator lamps in many devices, and are increasingly used for lighting. Introduced as a practical electronic component in 1962, early LEDs emitted low-intensity red light, but modern versions are available across the visible spectrum|visible, ultraviolet and infrared wavelengths, with very high brightness.

This page focus on driving LED's and RGB LED's using small programmable microcontrollers such as the Arduino platform.

Arduino LED's basics

LED's control with the Arduino.

(most of the examples are compatible with other microcontroller paltforms)

The Arduino output is limited to 5V 40mA per PIN, to drive higher currents we will need to use transistors. There are so many different kinds of transistors and we will need one for each output so to do the job easy usually is better to use a chip that packs together everything. Sony Alpha

ULN2003

The ULN2003 is basically and array of 7 transistors allowing as to run 7 LED's up to 50V each.

The Arduino has a maximum of 12 digital outputs. So controlling a huge number of LED's requires the use of external hardware. That became really interesting when playing with LED matrix. There are two main solutions to do that Multiplexer chips and Shift-Out chips.

Multiplexers

Shift-Out


The Arduino can dim LED's using its PMW Outputs (AnalogWrite). Considering we need 3 of them for each RGB LED's and the Arduino has just 6 PMW outputs one could think the maximum number we could drive are 2 LED's. Luckly there are a bunch of chips that can easily expand our Arduino PMW ports allowing us to drive a huge number of RGB LED's easily but also any other kind of devices that require these outputs as standard LED's or DC Motors. Harga Galaxy Tab A7

TLC5940

TLC5940 is a 16 channel PWM unit, so you can drive 5 RGB's LED's. There's an arduino library to easy work with it.

M5451

M5451 is a chip specially designed to drive up to 70 LED's . There's an arduino library to easy work with it that implements PMW support.

Packet solutions

Rainbowduino

Rainbowduino is a packet Arduino compatible solution for driving RGB LED's

ShiftBrite

ShiftBrite is a packet modular RGB LED. There's an arduino library to easy program it.

BlinkM

BlinkM is an RGB led packet together with an small microcontroller so you can control a huge number of RGB LED's over a single data bus. An Arduino could be use to communicate with the bus and control all the LED's Menghitung PK AC

DMX

Allow your Arduino to talk DMX so you can manage stage professional LED lighting equipment.

Helpful links for programming RGB LED's

  • RGB to Hex Conversion [1]