![]() |
|
|||||||
| The Projects Forum Working on an electronics project and would like some suggestions, help or critiques? If you would like to comment or assist others with their projects, this is the place to do it. |
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I'm trying to build a circuit that uses multiple multi-color LEDs. I'm wanting this circuit the be able to create all possible colors with one potentiometer. It's really racking my brain (I'm a noob. Also, it doesn't help not knowing anything about ICs). I can easily figure out a 3-4 knob system. But, it just wont work for the application. could anyone suggest anything? I can figure the exact resistance and such that I'll need. I just need a basic layout. Thanks for the help!
|
|
#2
|
||||
|
||||
|
That is a tall order, as an RGB LED has three elements that make the colors (now one of the Japanese outfits is including a yellow LED for a better spectrum). See the link - http://www.sparkfun.com/commerce/pro...roducts_id=105
About the only way to get there from a single control would be to use a microprocessor (and perhaps an external ADC for the required precision) to read the control setting and translate that to three PWM streams to control those three LED's. Someone else may have another approach.
__________________
First comes the hardware, then the software. |
|
#3
|
||||
|
||||
|
It can be done pretty easily with 3 pots. It can also be done with 3 fader oscillators, where the colors come up pretty much at random.
__________________
.. "Good enough is enemy of the best." An old engineering saying, Author unknown. General info: If you have a question, please start a thread/topic. I do not provide gratis assistance via PM nor E-mail, as that would violate the intent of this Board, which is sharing knowledge ... and deprives you of other knowledgeable input. Thanks for the verbage Wookie. |
|
#4
|
|||
|
|||
|
Thanks guys. I might of found a solution, though. I found an IC that's made to handle it. I believe it was called an aat3129. I really appreciate your guys' help! Thanks!
|
|
#5
|
||||
|
||||
|
The serial digital input is not the same as a voltage off a pot - http://www.analogictech.com/products...rt.php?PID=106
__________________
First comes the hardware, then the software. |
|
#6
|
|||
|
|||
|
Ugh... Yep. I'm a noob. So, what's a serial digital input? Would I need to construct a circuit that translates voltage (from the pot) to faster and slower frequencies? This is much more complicated than I was thinking it would be.
|
|
#7
|
||||
|
||||
|
Go to the link and get the data sheet. The serial data is something that would come from a programmed microcontroller. See my post #2.
__________________
First comes the hardware, then the software. |
|
#8
|
|||
|
|||
|
Do you think I could use a pot to control a 555 and use the resultant sig from that into the aat3129 and program the aat to react to different timings? I'm also a newb with "C" programming. But, I could teach myself.
|
|
#9
|
||||
|
||||
|
No, unfortunately. The serial data carries meaning beyond simple frequency, as the pulses are organized as control words. The controller IC has internal logic that responds to the serial digital control words. The formatting and generation must be done external to the actual controller.
Here is a slightly informative article - http://www.oomlout.com/RGBL/RGBL-Guide.pdf And a more detailed article - http://www.ledsmagazine.com/features/4/11/2 The 555 approach is one that can work if the timers are set up to do PWM - plus you will need three of them to control each of the three LED's. The only way to have a single input do the full control is with a microprocessor to interpret the input according to a program. For some experimental fun, look up the topic "color organ" in the forums or with Google. You might find it interesting to make a three channel color organ to drive the LED's.
__________________
First comes the hardware, then the software. Last edited by beenthere; 05-31-2010 at 04:03 PM. Reason: added thought |
|
| Tags |
| controller, led, multicolor |
Related Site Pages
|
||||
| Section | Title | |||
| Textbook | Special-purpose diodes : Diodes And Rectifiers | |||
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| AC Fan Motor Controller; Much Help Needed | wescat | The Projects Forum | 22 | 02-10-2011 06:30 AM |
| LED Strobe Controller | bluerose79 | The Projects Forum | 11 | 04-25-2010 07:19 PM |
| PIC 16F84A to interface with NES controller | clabland | Embedded Systems and Microcontrollers | 3 | 11-04-2009 03:56 PM |
| A PWM DC Fan controller with rpm feedback and automatic rpm control! | kammenos | The Projects Forum | 4 | 08-18-2009 08:17 AM |
| Thread Tools | |
| Display Modes | |
|
|