Author Topic: potentiometer to control LEDs  (Read 7901 times)

0 Members and 1 Guest are viewing this topic.

Offline GrayfoxTopic starter

  • Regular Contributor
  • *
  • Posts: 100
potentiometer to control LEDs
« on: October 15, 2013, 10:24:20 am »
Hey

I want to make a simple RGB LED light that can have each color adjusted.
I want to make it very simple/

I tried using a potentiometer to control a sinle LED a while back.
But it went from dim to bright with a 1/8 of a turn on a 270* B1K Linear pot.

Is there a way I can adjust the brightness in an easy manner.
 

Offline WarSim

  • Frequent Contributor
  • **
  • Posts: 514
potentiometer to control LEDs
« Reply #1 on: October 15, 2013, 10:37:52 am »
The easiest is with a potentiometer. 
If the adjustment is in the wrong place on the pot, use series and parallel fixed resistors. 
Even better use a more appropriate valued pot and a series fixed resistor. 

I am assuming you pot is set up as a variable series resistor. 
If it is set up as a variable voltage divider, it is a waist of power and you will need a series resistor on the whipper. 

There are much more accurate/complex methods with PWM, LED drivers or programable constant current sources. 
 

Offline GrayfoxTopic starter

  • Regular Contributor
  • *
  • Posts: 100
Re: potentiometer to control LEDs
« Reply #2 on: October 15, 2013, 10:44:49 am »
My circuit was


12v Battery----1Kohm Linear Pot-----LED---500Ohm resistor---Ground
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 8134
  • Country: de
  • A qualified hobbyist ;)
Re: potentiometer to control LEDs
« Reply #3 on: October 15, 2013, 12:09:55 pm »
You could try a potentiometer with a lower resistance (250 Ohms) and increase the value of the fixed resistor to get a finer control.
 

Offline WarSim

  • Frequent Contributor
  • **
  • Posts: 514
potentiometer to control LEDs
« Reply #4 on: October 15, 2013, 01:41:08 pm »
Any details on the LED like colour, type, purpose.  Without an idea of the voltage and desired current span. Giving accurate values I'd somewhat impossible. 
 

Offline sleemanj

  • Super Contributor
  • ***
  • Posts: 3043
  • Country: nz
  • Professional tightwad.
    • The electronics hobby components I sell.
Re: potentiometer to control LEDs
« Reply #5 on: October 15, 2013, 02:11:39 pm »
My circuit was


12v Battery----1Kohm Linear Pot-----LED---500Ohm resistor---Ground

Let's assume that we are talking about the Blue channel, because that probably gives the largest Vf of around 3.2v

So with the pot dialled all the way back, you have 500R dropping 8.8v, 17.6mA, that seems a little low for "full bright".
With the pot dialled all the way in, you have 1500R dropping that 8.8v, 5.8mA, that seems a little high for "full dark".
So you might want to play with the values, reduce your fixed resistor, increase your potentiometer.

But dimming an LED just by limiting the current may not be the best way to do it, modern leds are fairly bright even at small currents so you'll likely find that there is a perception that the dimming isn't very fine, but rather granular (bright, not-quite-so-bright, pretty-much-off).  PWM dimming will probably produce a better result.  Grab a 555 timer, your 1k pot, and a couple of passives and make up a text book 555 pwm circuit.  See how it compares.





~~~
EEVBlog Members - get yourself 10% discount off all my electronic components for sale just use the Buy Direct links and use Coupon Code "eevblog" during checkout.  Shipping from New Zealand, international orders welcome :-)
 

Offline casper.bang

  • Frequent Contributor
  • **
  • Posts: 311
  • Country: dk
  • Pro SE, amateur EE.
    • BangBits
Re: potentiometer to control LEDs
« Reply #6 on: October 15, 2013, 02:36:13 pm »
Hey

I want to make a simple RGB LED light that can have each color adjusted.
I want to make it very simple/

I tried using a potentiometer to control a sinle LED a while back.
But it went from dim to bright with a 1/8 of a turn on a 270* B1K Linear pot.

Is there a way I can adjust the brightness in an easy manner.

The problem with a discrete solution using potmeters and 555's, is that the 3 LED's needs different voltages and currents. On top of that, you can't assume that a 50% duty-cycle of one color matches the brightness from a 50% duty cycle of another color. While these things are tweak-able in hardware (resistors), you might want to try your luck with a microcontroller solution (ATTiny85 has 3x PWM out) which you can tweak very precisely in software.
 

Offline G7PSK

  • Super Contributor
  • ***
  • Posts: 3865
  • Country: gb
  • It is hot until proved not.
Re: potentiometer to control LEDs
« Reply #7 on: October 15, 2013, 02:53:01 pm »
Use a multi turn pot perhaps with a vernier drive as well.
 

Offline GrayfoxTopic starter

  • Regular Contributor
  • *
  • Posts: 100
Re: potentiometer to control LEDs
« Reply #8 on: October 16, 2013, 12:51:34 pm »
Plan on using a RGB LED strip off ebay.
Mainly want to control each color.
 

Offline casper.bang

  • Frequent Contributor
  • **
  • Posts: 311
  • Country: dk
  • Pro SE, amateur EE.
    • BangBits
Re: potentiometer to control LEDs
« Reply #9 on: October 16, 2013, 02:04:24 pm »
Plan on using a RGB LED strip off ebay.
Mainly want to control each color.
Unless you are in this strictly for the learning aspect, let me just point out that ebay has $10-$15 RGB LED drivers complete with remote control. I used one of those recently to pimp my wifes greenhouse: http://blog.bangbits.com/2013/08/how-to-pimp-greenhouse.html
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf