Testing PWM Driver

Post Reply
thekameleon
Posts: 137
Joined: Sat Feb 16, 2013 7:44 am

Testing PWM Driver

Post by thekameleon »

Anyone got a good way of testing a PWM driver without hooking everything up?
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Testing PWM Driver

Post by lnevo »

AA and 9V batteries work I believe.
User avatar
DrewPalmer04
Posts: 818
Joined: Tue May 29, 2012 2:12 pm
Location: Christopher, IL

Re: Testing PWM Driver

Post by DrewPalmer04 »

Yep. Hook up the LEDs. Then two AA batteries in series will give you 3v or 30%. One AA will give 1.5v or 15%
Out for now...but not over.

VISIT: Ethernet Module/Wifi Alternative
thekameleon
Posts: 137
Joined: Sat Feb 16, 2013 7:44 am

Re: Testing PWM Driver

Post by thekameleon »

Will that work with n a PWM driver? I would think on only a 1 -10v dimmable driver... I'd love to find a PWM generator.
User avatar
DrewPalmer04
Posts: 818
Joined: Tue May 29, 2012 2:12 pm
Location: Christopher, IL

Re: Testing PWM Driver

Post by DrewPalmer04 »

It'll work :)
Out for now...but not over.

VISIT: Ethernet Module/Wifi Alternative
thekameleon
Posts: 137
Joined: Sat Feb 16, 2013 7:44 am

Re: Testing PWM Driver

Post by thekameleon »

Ok... Does this mean the PWM LED drivers support both dimming and PWM?
User avatar
DrewPalmer04
Posts: 818
Joined: Tue May 29, 2012 2:12 pm
Location: Christopher, IL

Re: Testing PWM Driver

Post by DrewPalmer04 »

Well I think you mean:

PWM is driver specific. I.E. meanwell "P"

Analog is linear: I.E. meanwell "D" people report being able to use both PWM and analog on the D drivers with no issue.

PWM drivers should only use PWM in my opinion. But you wanted to "test" the PWM driver. So supplying voltage (constant) is ok for testing. But you'll want to use PWM signal if you want PWM drivers.
Out for now...but not over.

VISIT: Ethernet Module/Wifi Alternative
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Testing PWM Driver

Post by rimai »

Depends on the driver.
What driver are you referring to?
If meanwell, the D version uses analog signal. You can however use PWM, but the dimming curve won't be linear.
The P version uses PWM signal. You can also use analog signal, but the dimming will be linear, but with a slight offset.
For testing purposes, you can use 9V battery just fine.
Other drivers may not work with analog signals as the meanwell does.
Roberto.
thekameleon
Posts: 137
Joined: Sat Feb 16, 2013 7:44 am

Re: Testing PWM Driver

Post by thekameleon »

It worked yet, if the 2 AA, I tested with is actually 30%... That is going to be one bright fixture.
thekameleon
Posts: 137
Joined: Sat Feb 16, 2013 7:44 am

Re: Testing PWM Driver

Post by thekameleon »

After reading this article: http://pcbheaven.com/wikipages/PWM_Modulation/ I totally understand now. The PWM drivers are not interpreting the signal and determining the output based on the clock or duty cycle. Instead they are smoothing out the pulses into a voltage using capacitors and resistors to filter the signal. This could have a number of advantages, however it also means applying a 1 - 10v analog circuit will work just as well. And if I wanted to convert an analog circuit to handle a PWM all I need to do is create a proper filter in front of the signal. one cool thing with PWM is I could isolate it from my driver. So not that it is important or anything, but the Reef angel when I adjust the values from 0 - 255 am I changing the clock or duty cycle?

And he is a brainstorming thought... I could turn the Digital IO Expansion module into a serial transceiver, couldn't I?
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Testing PWM Driver

Post by rimai »

I changes duty cycle.
The frequency is always the same.
Yes, you can do that with the I/O
Roberto.
Post Reply