=====List 6: Test Laser PWM Output=====
⚠️
SAFETY FIRST: Ensure proper multimeter/oscilloscope connections before applying power.
1

Measurement Setup

  • Connect multimeter red probe to GPIO.12 (green terminal)
  • Connect multimeter black probe to GND
  • (Alternative: Use oscilloscope for measurement)
2

Laser PWM Mode Activation

  • Enter command: M6 T2
  • Switch to Laser PWM mode
3

Laser PWM Output Testing

  • 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
4

Vmot Laser PWM Output (Optional)

💡 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

Expected Results

  • 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 ==== Coming soon! ==== Video demonstrations ====
==== Related YAML code ==== # 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.