- Joined
- Sep 12, 2007
- Messages
- 9,399
- Points
- 113
^Depends on the pulse frequency and how big the filter cap is.
Last edited:
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
This is false. You are using PWM rather than true analog control, which means your laser is running always at 500mA.
However, it is being cycled on and off at a given duty cycle. So, your maximum duty cycle is 99% on / 1% off, and will give you what SEEMS like 99% current.
For example, 50% PWM duty looks like '''_'''_'''_'''_'''_'''_'''_'''_'''_''', rather than ---------------------. The latter would be a true 250mA analog output.
...but, like Cyparagon said, if you take that digital output and feed it into a filter capacitor, you can get fairly solid analog output. This you could feed into a FlexMod P3 or something, and have true analog control.
Trevor
I could try converting it to analog through a RC filter. :beer:
No, enable pins aren't meant to work that way. They rely on digital threshold voltages. You might be able to affect the circuit with a very fast PWM though, which could get filtered at the output if it doesn't react fast enough. Not sure how this would affect the DC-DC converter.
I would recommend increasing the modulation frequency: 150 Hz or so is -really- slow and on the border of visible. If you move the beam around you'll also see clear on-off-on stripes on the wall even at slow speed.
Something around 100 kHz would probably be preferable, provided the enable pins on the drivers can handle it. You'll still get some dot/stripe pattern when moving it around really quickly, but its less pronounced. Also, from a safety standpoint, modulating at this rate actually makes a difference, altough i wouldn't rely on it.
Perhaps, i'm not sure the ps/sync can be used for modulation. The EN response is much too slow though - seems to have a rise time of 150 uS, and i reckon a similar fall off time, so little chance to get much beyond a kilohertz using that.
I really want to try 528 Hz for Red LED and Laser for therapy. Let me know if it can be done? -Glenn