-
Notifications
You must be signed in to change notification settings - Fork 101
Use PWM/TTL Laser #186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I believe the laser PWM input would be wired to the spindle PWM port. On your BTT SKR3 board - the spindle output should be pin 9 on the EXP1 header..
(Note also that you can check pin assignments with the |
@terjeio I don't have a laser module, but just wanted to check the outputs look sane on a logic analyser.. I found this laser_mode page on the old repo, which explains the constant & dynamic PWM modes. Where does the PPI plugin fit into all this? Thanks.. |
PPI mode is a third option for laser power control, it switches the laser on/off based on distance moved. IMO it provides the best power control for cutting as it has close to linear relationship between power delivered to the cut vs. feed rate. |
Thanks, have checked the output on a logic analyser & makes sense.. One thing I observed with the PPI plugin though, the specified pulses per inch is only correct at low feed rates. Haven't tested on anything but H7, but for me it starts to drop off somewhere between 400 & 500 mm/min? Oh, and noticed a minor typo in the F7 code;
|
Jon, pin 9 is pwm with 3.3v max. Can be configured for 5v? Laser module is 5v, right? |
I found extra information. Laser can be connected to any of HE0/HE1 (PB3/PB4) ports by manual from BTT. I was trying to do this. 1 - Configure ports
2 - Connect voltmeter instead laser to HE0 3 - Test HE0 output.
Way A - with jumper. Voltmeter show about 6V output for S200 Way B is right way by BTT manual, but not works or I have mistake in wire? |
Good find!
Just a mistake in the wiring I think, try taking the signal from the lower connector where you removed the jumper (the one in the red square). That should be the PWM output once it's passed through the 5V buffer IC. Edit: If you want to use one of the screw terminal connections, the FAN ones look a bit more flexible for voltage (just looking at the schematic on their GitHub page). By default VFAN is connected to VBB (the DC input voltage) - but can be jumpered to VOT instead. Looks like the intent for VOT is to be supplied by an optional DC-DC converter, but don't see why you couldn't just jumper the onboard 5V to VOT instead.. But please don't take my word for it, double check the schematic if you want to try this way! |
lower connector where you removed the jumper Jon, this works! Thank you! |
Not really an issue, more a call for help.
Trying setup laser cutter/engraver.
Laser module have VCC, GND and PWM pins.
As I imagine, laser PWM pin can be wired with FAN or E0 (extruder) board port.
What is the easy/better way to use Laser with grblHAL?
The text was updated successfully, but these errors were encountered: