Show Posts
|
|
Pages: [1] 2 3 ... 8
|
|
4
|
Using Arduino / LEDs and Multiplexing / Re: make pwm output non linear
|
on: December 12, 2012, 05:15:03 am
|
|
I was just thinking about the implications of not having pwm anymore.
Do you know of any drivers or pwm generators that are similar to the ws2801? Ie can be daisy chained on the spi bus or similar? I really like how modular and expandable these chips are.
|
|
|
|
|
6
|
Using Arduino / LEDs and Multiplexing / Re: make pwm output non linear
|
on: December 11, 2012, 10:48:31 am
|
|
Hi dhenry.
Can you point me towards any example circuits that show how to 'utilize a transistor's b-e junction non-linearity' in this way? Also how do you work out the curve that a particular transistor would give you?
Btw, I plant use this if possible in two scenarios -
One is pwm source > non linear correction > mosfet (to control 12 led strip)
The other is pwm source > non linear correction > transistor + constant current source (to control a single hight power led)
Do you think your example can integrate with both these systems?
Many thanks
|
|
|
|
|
8
|
Using Arduino / LEDs and Multiplexing / Re: constantcurrentiness
|
on: December 10, 2012, 12:52:00 pm
|
|
A lot - something like 9A.
I need 16 outputs, more than the arduino has (pwm). Maybe a ws2803 (18 channel version of the ws2801) and a n channel mosfet will do the job?
edit - just remembered why I started using the TLC5940 - 12 bit pwm. Would be really nice to modify the schematic above to use common anode still...
|
|
|
|
|
9
|
Using Arduino / LEDs and Multiplexing / Re: constantcurrentiness
|
on: December 10, 2012, 12:27:19 pm
|
|
Thanks Mark, that looks useful for another project.
For this one though, I realised a few posts ago that id don't want constant current as I'm using led strip with integrated resistors!
So I've switched to using a TLC5940 as a pwm source ans a p channel mosfet to amplify the signal. It works but I've just realised I can't use common anode strip, as described above
|
|
|
|
|
10
|
Using Arduino / LEDs and Multiplexing / Re: constantcurrentiness
|
on: December 10, 2012, 11:50:51 am
|
Hi Grumpy. I just built the attached circuit using a p channel mosfet with a TLC5940 to control the 12v led strip. It works fine with a single channel, but I just realised that because the strip is common anode, I can't control each rgb channel independently! How do I change this circuit to allow me to use common anode? 
|
|
|
|
|
12
|
Using Arduino / LEDs and Multiplexing / make pwm output non linear
|
on: December 07, 2012, 10:33:09 am
|
|
Non sure if I'm phrasing this well, but is there a way to take a pwm signal to drive an led, and using external components, introduce a non linear curve into the effective current that flows through an led?
The desire is to apply gamma correction to a dimmable led setup, but I dont' want to do it in software, as there is not enough resolution in 8bits to have a smooth 'bottom end' when using this (ie lookup table on arduino) method.
So basically, is there a hardware way to allow me to make more use of those precious 8 bits?
|
|
|
|
|
13
|
Using Arduino / LEDs and Multiplexing / Re: constantcurrentiness
|
on: November 28, 2012, 06:27:15 am
|
Thanks Grumpy. All made sense and I got it working. A thought though - When using led strip like https://www.sparkfun.com/products/10259 Is a constant current driver not the best solution? I've configured a driver circuit to work with a particular length of strip, but now if I want to use a different length, requiring a different current, I'd need to change the value of the current setting resistor. Is this correct? If so, is this a situation when a constant voltage circuit is more suitable?
|
|
|
|
|
14
|
Using Arduino / LEDs and Multiplexing / constantcurrentiness
|
on: November 15, 2012, 12:02:09 pm
|
I'm trying to understand the circuit in figure 12, on page 6 of this data sheet - http://www.onsemi.com/pub_link/Collateral/NSI45090JD-D.PDF'Dimming using PWM' I want to use this constant current led driver with a ws2801 pwm driver (also cc) to allow me to control higher power leds with the ws2801, while retaining constant current functionality. I'm loaded with questions - - What are the two resistors doing in this circuit, and how do I calculate their value? - Am I right in thinking that while I can have an arbitrarily long chain of leds by supplying sufficient voltage, the maximum current through those leds (and therefore the ccr driver) can be 160mA? - If need more current capacity than this, I see I can use 2 ccrs in parallel, which presumably will double this to 320mA. What is figure 11 illustrating then with the use of a resistor on one ccr? Is it used to set the max current to some value betwwen 160 and 320mA? - If I need still more current than this, is there a better product or technique I could use? (bearing in mind the source is a pwm signal) Thanks!
|
|
|
|
|