Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Controlling LED color with microcontrollers????

Status
Not open for further replies.

xischaune

Full Member level 1
Full Member level 1
Joined
Mar 8, 2006
Messages
98
Helped
12
Reputation
24
Reaction score
4
Trophy points
1,288
Activity points
2,123
Hi...
Has anyone ever controlled the color (NOT BRIGHTNESS) of LEDs with the help of microcontroller
Also is there any LED that can give a complete range of colors from white to black by varrying its input current ????
Thanx
 

What kind of color? is it RGB led that you're talking about?
 

i want to say ....if i give it say 1mA current...it gives red light...if say 5mA it gives yellow...if 10mA it gives orange...if 15mA...it gives green...if 20mA...it gives blue...and so on...???
 

A single colour LED will always give you only this colour and you can vary its intensity by increasing or decreasing its current ..
If you want to generate several colours you need RGB LEDs and using 3-channel PWM controlled by a microcontroller change intensity of each channel ..

Regards,
IanP
 

Color of one LED may not be controlled but you can use tri color LEDs housed in one package. these type of things are available. try seaching "TriColor LEDs".
 

    xischaune

    Points: 2
    Helpful Answer Positive Rating
This should give you a good start.

**broken link removed**
**broken link removed**
 

You can use a LED driver IC like MAX6965:
h**p://www.maxim-ic.com/quick_view2.cfm/qv_pk/4099

anyway If you have available some PWM outputs IanP solution is the cheapes one...

hope this helps,
//a
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top