LED Lighting Control: Dimming Channels with Resistance and Microcontrollers

In summary, the conversation discusses the building of an LED striplight for a room and the desire for three separate channels for easy color mixing. The use of a basic potentiometer or rheostat for dimming each channel is mentioned, but concerns about heating and finding a rheostat with a large enough resistance range are raised. The option of using microcontrollers for more control is also mentioned, but the individual is not familiar with the process. It is also noted that CMY mixing is used in theatrical lighting design, but RGB is recommended for LED lighting. The use of PWM controllers and building a microcontroller is suggested for better control. The conversation also touches on the difference between CMY and RGB colors and the use of RGB LEDs
  • #1
wil3
179
1
Hello. I am building an LED striplight for my room. For the device, I would like to have three separate channels so that I can easily color mix Cyan, Magneta, and Yellow. I know the basics of circuitry and wiring the channels, but I am not sure how to control the channels.

I was considering using a basic potentiometer or rheostat on each channel and simply dimming each channel by varying the resistance. My concerns with this approach are heating and being able to find a rheostat with a resistance range large enough to give me full intensity control of each channel. Does anyone have a better way of doing resistance dimming?

I do theatrical lighting design at a local theatre, and so I am also aware that there are more sophisticated ways of dimming each channel using microcontrollers and such. I believe that this approach would give me much more control over my lighting, but I know almost nothing about making computerized electronics and I would appreciate some advice on the process.

Also, I am using CMY mixing because those are the colors we mix for subtractive color mixing in automated dichroic lights at hte theatre. Are different colors used for LEDs?

Thank you in advance.
 
Engineering news on Phys.org
  • #2
LEDs are not available in CMY colors--well, except the Y part. LEDs can only be manufactured to produce spectral colors (that's not entirely true, since they could, in principle, do what they do to make white LEDs and use a spectral color to fluoresce a dye of some sort but the demand for such things seems low, so they don't bother). You're better off with RGB.

If you want a better way of controlling your LEDs, look into PWM (pulse width modulation). There are off-the-shelf PWM controllers available which should work for you and if you'd like to try the microcontroller approach, it's fairly straightforward to build your own and you'd only need a modest initial outlay for the programmer to get started.
 
  • #3
To elaborate on what negitron said, you typically use CMYK colours in print / physical media, because you have to mix toner / paint / whatever together such that the light reflected off of something appears to be a certain colour. When dealing with TVs, monitors, and, say, coloured cellophane for a stage show, you use RGB because you're mixing transmitted light together.

This is a big headache in graphics, because you often have something done in RGB colour space (the light you see on your monitor) which often looks different from the output you get on your printer (well, that's usually because your printer isn't calibrated), and even what you see when you get something back from the (professional) Printers. You usually only make that mistake once or twice, however (or, get a Mac, which has a native CMYK display model--this along with Pantone colour matching, and the first run suites of professional design software--is probably what's made Apple the computer of choice for graphics professionals).

Anyways, back to the topic at hand, you can often find LEDs that have all 3 colours on board (RGB LEDs), for instance:
http://www.lumex.com/product.aspx?id=838

If you go up to a jumbotron, or one of the really bright large-area video displays, you'll see that it's not a really big (and really, really expensive) plasma TV or LCD display, but rather that it's composed of thousands (or even millions) of RGB LEDs:
http://www.big-tv.co.uk/LED_explained.htm

EDIT: I have to quit posting after drinking (or more thoroughly read first posts). Given that you use dichroics, and know the term subtractive colour mixing, you probably already understand the above discussion, but perhaps it'll be of use when somebody stumbles into this thread down the road. My tip: pick up a microcontroller and figure out how to do PWM. (Resistive) dimmer control will not give you very fine grain control, and will be problematic if you want to keep a certain light intensity.
 
Last edited by a moderator:
  • #4
Thank you both for some excellent information. I am actually a high school student, so don't worry about sounding patronizing MATLAB, because it is very true that I am a bit of a newbie to LED lighting. I do have a bit of experience patching moving lights and dichroics, which is why I knew about those terms. Also, I agree that Macs are fantastic for graphics editing.

RGB with PWM definitely sounds like my best bet- I have also heard that resistance dimming can cause manufacturing disparities to become very obvious. I saw a decent three channel dimmer on Ebay with the exact specifications I need, but I think I will look into building my own first just because I need to learn more about microcontrollers.

Also, would either of you happen to know any more specific information about dimming protocols outside of resistance dimming? I am specifically interested in theatre light dimming, which I believe uses a protocol similar to PWM but that truncates the sine wave without converting it to a square waveform.

Thanks again.
 

FAQ: LED Lighting Control: Dimming Channels with Resistance and Microcontrollers

How do I control the brightness of LED lights using resistance and microcontrollers?

LED lights can be controlled using a method called pulse width modulation (PWM). This involves rapidly turning the LED on and off at varying intervals to create the illusion of different brightness levels. By adjusting the ratio of on and off time, the perceived brightness can be controlled. This can be done using a microcontroller to generate the necessary signals and using a resistor to limit the current flow.

What are the advantages of using LED lights with dimming control?

LED lights are highly efficient and have a long lifespan. By using dimming control, you can further increase their efficiency and save on energy costs. Dimming also allows for more customization and can create different lighting moods for different settings.

Can I use any type of microcontroller for LED lighting control?

Yes, as long as the microcontroller has a PWM output. This output can be used to generate the necessary signals for dimming the LED lights. Some popular options for microcontrollers include Arduino, Raspberry Pi, and PIC.

How do I determine the appropriate resistance value for controlling the brightness of LED lights?

The appropriate resistance value can be determined by using Ohm's Law, which states that resistance is equal to voltage divided by current. By knowing the voltage and current requirements of your LED lights, you can calculate the necessary resistance value. Additionally, you can use a potentiometer connected in series with the LED to adjust the resistance and find the desired brightness level.

Is it possible to dim multiple LED lights using a single microcontroller?

Yes, it is possible to control multiple LED lights using a single microcontroller. This can be achieved by connecting the LED lights in parallel and using a separate resistor for each one. The microcontroller can then be programmed to send the same PWM signal to each LED, allowing for simultaneous dimming control.

Similar threads

Replies
3
Views
2K
Replies
38
Views
4K
Replies
1
Views
1K
Replies
21
Views
3K
Replies
19
Views
2K
Replies
13
Views
3K
Replies
11
Views
7K
Back
Top