Jump to content

OK, where are the electronic gurus?


G+_Kyle Boyington
 Share

Recommended Posts

61yXGzvfbVL._SL1200_.jpg

OK, where are the electronic gurus?

I am hoping to find a way to control a high power LED with my Raspberry Pi. I have successfully controlled a  RGB light strip with pi-blaster, but not sure how different an LED like this would be.

 

Anyone have any experience with this? Can I use it just like a LED strip?

Link to comment
Share on other sites

you'll need an LED Driver capable of powering that LED.  More or less it'll be a constant current driver that uses a separate power source to power the LED but is controlled via the GPIO pins on the raspberry pi.

 

http://www.parts-express.com/sure-electronics-high-power-led-driver-10-20w--073-054

 

I've used the smaller version of those before and they use a PWM signal to enable the led.  Basically if you have a GPIO pin connected to it and pulled high, its on, pulled low its off, and if you PWM depending on the duty cycle it can dim the light.

Link to comment
Share on other sites

Kyle Boyington Watts and Volts are not the same, so we can't really tell you. 

 

Watts = Volts * Amps

 

There should be a voltage range for the device. For example, if it's a 3-12 volt/10 watt part, then at 3 volts it will pull 3.3 amps to make 10 watts. At 10 volts it will pull 1 amp to make 10 watts. At 12 volts it will pull .83 amps to make 10 watts.

 

Peace,

Padre

Link to comment
Share on other sites

Kyle, it's really not a question of voltage but a question of current. You will find in the datasheet for that LED a specification for Forward Voltage drop. Once you exceed that voltage the LED will turn on. How bright depends upon how much current you allow to flow through it.

Let's say the Vf for that LED is 2 volts. And you put a 2 ohm current limiting resistor in series with it. You will drop 2 of the 12 volts across the LED and the other 10 volts will be dropped across the resistor. 10v /2 Ohms = 5 amps of current.

So at that point the LED will be dissipating 2V * 5A = 10watts. And you are meeting your 10watt spec. But be careful. That resistor is now needing to dissipate 10 watts. 2 ohms * 5 amps = 10w That is a whopping big resistor. So you see how steady state this gets ugly in a hurry. That is what makes PWM so attractive.

With PWM you are switching the current on and off and not needing to dissipate a lot of energy in the form of heat.

 

By the way, that 2 ohms mentioned above will be just about the on resistance of the FET you might be using to switch the current on and off. So you may not even need this resistor in series. The FET will be your power dissipation point.

Link to comment
Share on other sites

As promised, check out this device.  AS3693B  It is an I2C controllable PWM modulator for LEDs.   With it you can drive a huge LED.  In fact you can drive 16 of them at different levels of brightness.   As others have suggested you use a FET to turn the LED on and off and this will control the pulsing of the gate of the FET.    I2C makes this very easy to code in Python.   And it offloads the heavy lifting from the PI and leaves the PI twiddling it's thumbs doing nothing until you tell it to change brightness of the LED.   

Link to comment
Share on other sites

 Share

×
×
  • Create New...