List 6: Test Laser PWM Output
⚠️
SAFETY FIRST: Ensure proper multimeter/oscilloscope connections before applying power.
- Connect multimeter red probe to GPIO.12 (green terminal)
- Connect multimeter black probe to GND
- (Alternative: Use oscilloscope for measurement)
- Enter command:
M6 T2 ↵
- Switch to Laser PWM mode
- Enter command:
M3 S127 ↵
- Then enter:
G1 F1000 ↵
- Output should change from 0V to 2.5V
- Enter command:
M3 S255 ↵
- Then enter:
G1 F1000 ↵
- Output should change from 0V to 5V
- Enter command:
M5 ↵ - Output should return to 0V
💡
MOSFET ON/OFF measurement
- Connect red probe to MOSFET Vmot-main (orange terminal)
- Connect black probe to IO.12-MOS-GND (orange terminal)
- Enter command:
M3 S255 ↵
- Then enter:
G1 F1000 ↵
- Output: 0V to Vmot-main
- Enter command:
M5 ↵ turn off
- used to drive Vmot-main voltage loads such as solenoid valves
- M3 S127 + G1 F1000: Output changes from 0V to 2.5V
- M3 S255 + G1 F1000: Output changes from 0V to 5V
- M5: Output returns to 0V
- Mosfet output ON/OFF correctly with refer commands
Image shows
Video demonstrations
# Begin Laser
Laser:
pwm_hz: 5000
output_pin: gpio.12
enable_pin: NO_PIN
disable_with_s0: false
s0_with_disable: true
tool_num: 2
speed_map: 0=0.000% 255=100.000%
off_on_alarm: true
This version of the WIKI is still being edited. You can check out previous videos.
Beginner upload firmware set webUI tutorial
The V4.9 plus and V4.8A V4.9A is similar config, different is the v4.9 plus step/dir model onboard driver “MS3 pin” need set in yaml.
// Relay // PWM // Laser // 0~10V // Output Test //
The V4.9 plus and V4.8A V4.9A is similar config, different is the v4.9 plus step/dir model onboard driver “MS3 pin” need set in yaml.
// Connect hardware // Limits // Probe // Motor // Relays
The V4.9 plus and V4.8A V4.9A is similar config, different is the v4.9 plus step/dir model onboard driver “MS3 pin” need set in yaml.