Edit: Guys, I just bought a replacement power supply. I found this image done by Jason Farell and wanted to make sure I’m ok following it. The only difference is that I don’t run the m2nano but instead run a smoothie. The lo would be my pwm output but otherwise I think it’s ok. Any thoughts??
This was done by me for Jason lol.
@donkjr it figures!! Lol. But… is it still right. My data sheet for my power supply says to use the IN for the pwm signal. I thought I’d test both ways.
I got the impression that the PWM signal either went to the IN pin, or if you wanted to combine them replaces the 5V line to the potentiometer
It’s currently connected like shown and the controller fires the laser. I’m not sure if the pwm is controlling the power or not because I did a short test and wrapped it up for the night. I’ll experiment again tonight and hopefully nail it down.
@Chuck_Comito the power supplies specs often say to connect to the IN. This method is ok if you use the right kind of driver for your purpose:
An analog voltage proportional to the power control needed and from 0-5V.
Direct pwm connection with a 0-5VDC digital signal and you don’t care to control the power locally.
Most of us use the L pin to PWM and the pot on IN for manual power control. This will result in power control that TOTAL DF= DF(pot)*DF(pwm).
The schematic above will provide that kind of control if the TL pin is connected to the smoothie using the open drain method and the IN is connected in the conventional method to the POT. The 5V is unnecessary and the 24V comes from a standalone supply.
Was your PWM connected to L on the last supply?
@Justin_Mitchell it is possible to put the pot and pwm in the same circuit. It results in the same TOTAL DF but leaves out the ability to control the laser without PWM on [such as test firing]. This could be solved using a switch [that can inadvertently be left on]. All in all I found it easier to use the IN with a pot and L or TL signals with a smoothie open drain.
DF= duty factor
TL = L
Hi @donkjr , yes the pwm was connected to L previously. I’d like to maintain the ability to control the power via software as I did with the stock k40 supply.