Got my lights hooked up to 48V power, and drivers.
I coded up a quick arduino uno sketch that reads an input and writes the output 0-255 to pwm pin 11.
I have 5 values
0, 25, 64, 102, 160, 255
For all 5 values I do see the light intensity change, but not by much, and there is always a flicker. Even at 255 (full bright), the LEDs flicker.
this happens for all 5 channels. Is the Uno just too slow to give smooth dimming?
Edit: Here is what I found on the PWM frequency:
Writes an analog value (PWM wave) to a pin. Can be used to light a LED at varying brightnesses or drive a motor at various speeds. After a call to analogWrite(), the pin will generate a steady square wave of the specified duty cycle until the next call to analogWrite() (or a call to digitalRead() or digitalWrite() on the same pin). The frequency of the PWM signal on most pins is approximately 490 Hz. On the Uno and similar boards, pins 5 and 6 have a frequency of approximately 980 Hz. Pins 3 and 11 on the Leonardo also run at 980 Hz.
Edit2: Nevermind, I didn't have the LED supply and Uno with a common ground. After fixing that . . . holy crap! Those LEDs are bright!
Last edited by lovingHDTV; 03-29-2016 at 01:38 AM.