- This topic has 2 replies, 3 voices, and was last updated 13 years, 3 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
|
Electronics › Electronics › Simple LED fader
Hi there! I’m looking to build a little project, but I don’t really know where to start.
I want to have 3 fader-type potentiometers that will control the R, G and B parts of an RGB LED. I have a bit of experience with micro controllers and it’s something that would be easy with that, but I want to build it as an analog circuit. The things I know are this: Any one have any tips regarding how to start? Should I just breadboard something up and try things until it works? Thanks!
|
|
|
You really want the pots to control the current of a variable constant current source.
Basically, you have a sense resistor in series with the LED and you use an op-amp to compare the voltage across the sense resistor with the voltage on the pot.
An alternative is to use the pot to control the duty cycle of a PWM signal used to power the LED(s).
For an Ideal control of LED brightness, PWM is the right choice and the most commonly used one(as others replied)…