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

Measurement Setup

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

PWM Mode Activation

  • Enter command: M6 T1
  • Switch to PWM mode
3

PWM Output Testing

  • Enter command: M3 S5000 - Output should change from 0V to 2.5V
  • Enter command: M3 S10000 - Output should change from 0V to 5V
  • Enter command: M5 - Output should return to 0V
4

Mosfet ON/OFF Test (Optional)

  • Connect red probe to MOSFET Vmot-main (orange terminal)
  • Connect black probe to IO.4-MOS-GND (orange terminal)
  • Enter command: M3 S10000 - Output:Vmot-main
  • Enter command: M5 - Output: 0V
  • used to drive inductive loads such as solenoid valves

Expected Results

  • M3 S5000: Output changes from 0V to 2.5V
  • M3 S10000: Output changes from 0V to 5V
  • M5: Output returns to 0V
  • Mosfet output Vmot-main or turn off
==== Image shows ==== Coming soon! ==== Video demonstrations ====
==== Related YAML code ==== # Begin PWM pwm: pwm_hz: 5000 # direction_pin: NO_PIN output_pin: gpio.4 enable_pin: NO_PIN disable_with_s0: false s0_with_disable: true # spinup_ms: 0 # spindown_ms: 0 tool_num: 1 speed_map: 0=0.000% 10000=100.000% off_on_alarm: false ---- 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.