I generally expected the laser to somewhat follow the supply turning on/off at the pwm rate.
I also notice very large pulse at a much lower freq than the pwm.
I figured I would see a large excursion on leading edge of every pwm pulse as the tube ionizes.
Got to think about this more and experiment with various pwm DF and frequencies. My setup could also be lieing to me…
@K1111 I don’t know, does anyone? Unless you have a power meter at the output how do you know? I am fairly certain that the PWM is allowing 100% though?
If you pull P2.4 raw from the processor on the main board that’s a 3.3v signal and not open drain. So you need a level shifter to get a 5v transition. However level shifter are not set up as drivers, even if they provide 0-5v doesn’t mean the are compatible with the LPS input. I don’t plan to test this config and all of this is avoided by using one of the FET drivers and two wires.
Also a post on my blog that summarizes the how and why coming soon.
@Ariel_Yahni_UniKpty yes, that is one reason I was so convinced this would work, L is the only control from a nano to the LPS.
BTW:
I do not recommend using the LPS 5v for two reasons:
It is implemented with a 7805 and provides 1amp max.
I don’t like connecting the controller without isolation to a HV supply.
Note:
In some supplies IN is also not isolated.