• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Laser that worked in the past and should work, but doesn't

Scheduled Pinned Locked Moved
Laser Cutters
2
4
264
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    Mr Yod
    last edited by 16 Jul 2021, 12:18

    I have an odd problem with a pure chinesium 5W laser that doesn't even have a TTL controller circuit (I control the power via PWM on the Vcc/GND cables).

    I have a Duet Maestro that used to control a Hypercube Evo @12V, now upgraded to a HEVOrt @24V, when it still was a HEvo I controlled the laser via the second hotend terminals on the Maestro using the following config:

    M307 H2 A-1 C-1 D-1 ; Disable Heater output on H2
    M452 P2 R255 F2000 ; Enable Laser mode, on output 2 (heater 2), with max intensity being 255, and a PWM frequency of 2000
    M563 P1 S"Laser" ; Define tool 1

    And it all worked just fine, I engraved many wooden things.

    But after I upgraded to a HEVOrt @24V (I still power the laser with 12V) the laser doesn't turn on anymore.
    At first I tried with an SSR connected to a 12V mini PSU controlled by the Maestro's second hotend terminals, but nothing, so I tried to connect the laser directly to the 12V PSU and it turns on, I tired to switch the 2 SSR's control cables (maybe I put them in reverse) but nothing, I then deactivated the automatic power saving and I brought the main PSU's voltage to 12V (it's a 0~24V PSU that can be set via a potentiometer) and I tried to power directly the laser with the Maestro (it worked in the past) and... nothing... =(

    Then I checked if the second hotend exit was burned: I moved the hotend cables from the first terminals to the second (and I brought th voltage back to 24V) and the second exit works just fine since the hotend's temperature raises.
    I then connected again the laser directly to the 12V PSU and it works (so I didn't burn it).

    Now: the 24V PSU is not the problem since it can power a 300x300 DC heatbed and a 30W hotend at the same time without problems, so a tiny 5W laser is nothing, so: WTF? 🤔

    My config now is this:

    ; Drives
    M584 X0 Y1 Z2:4 U4 E3 P3 ; Dual Z
    M569 P0 S0 D3 V100 ; Drive 0 goes backwards Stealthchop
    M569 P1 S1 D3 V100 ; Drive 1 goes forwards Stealthchop
    M569 P2 S0 D2 ; Drive 2 goes forwards Spreadcycle
    M569 P3 S1 D2 ; Drive 3 goes forwards Spreadcycle
    M569 P4 S0 D2 ; Drive 4 goes forwards Spreadcycle
    M350 X32 Y32 Z16 U16 E16 I1 ; Configure microstepping with interpolation
    M92 X320.80 Y320.80 Z800.00 U800.00 E400.00 ; Set steps per mm (E409 @ 16 steps, in teoria... X160.00 Y160.00 Z1600.00)
    M566 X900.00 Y900.00 Z12.00 U12.00 E120.00 ; Set maximum instantaneous speed changes (mm/min)
    M203 X1800.00 Y1800.00 Z240.00 U240.00 E900.00 ; Set maximum speeds (mm/min)
    M201 X3000.00 Y3000.00 Z50.00 U50.00 E3000.004 ; Set accelerations (mm/s^2)
    M906 X1000.00 Y1000.00 Z1200.00 U1200.00 E1000.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout
    ; Axis Limits
    M208 X-15 Y0 Z0 S1 ; Set axis minima
    M208 X300 Y300 Z260 S0 ; Set axis maxima
    ; Endstops
    M574 X1 Y1 S1 ; Set active high endstops
    ; Z-Probe
    M574 Z1 U1 S2 ; Set endstops controlled by probe
    M558 P9 H3 F120 T6000 A1 ; Set Z probe type to bltouch and the dive height + speeds, one time(s)
    G31 P500 X60 Y-45 Z2.50 ; Set Z probe trigger value, offset and trigger height; valore basso per il piatto più distante, valore alto per piatto più vicino
    M557 X20:280 Y40:230 S20 ; Define mesh grid
    ; Heaters
    M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
    M305 P0 T100000 B4138 R2200 ; Set thermistor + ADC parameters for heater 0
    M143 H0 S120 ; Set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4138 R2200 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S290 ; Set temperature limit for heater 1 to 290C
    ; Fans
    M106 P0 S0.0 I0 F35000 H-1 C"Stampante" ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1.0 I0 F35000 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S0.0 I0 F35000 H-1 C"Pezzo" ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off
    ; Tools
    M563 P0 S"Hemera" D0 H1 F2 ; Define tool 0
    G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
    G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C
    M307 H2 A-1 C-1 D-1 ; Disable Heater output on H2
    M452 P2 R255 F2000 ; Enable Laser mode, on output 2 (heater 2), with max intensity being 255, and a PWM frequency of 2000
    M563 P1 S"Laser" ; Define tool 1
    ; Automatic power saving
    M911 S22 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; Set voltage thresholds and actions to run on power loss
    ; Filament Sensor
    M591 D0 P1 C3 S1 ; Set switch filament sensor to E0, active low, E0 stop
    ; Custom settings are not configured
    M570 H1 S120 ; Set heater fault detection
    M501 ; Load config-override.g

    (I still don't have an expansion board so I can't control 3 Z motors independently)

    undefined 1 Reply Last reply 17 Jul 2021, 07:34 Reply Quote 0
    • undefined
      o_lampe @Mr Yod
      last edited by o_lampe 17 Jul 2021, 07:34

      @mr-yod
      you also updated to RRF3? Then this line in M452-Wiki applies to you:

      In RRF3, the P and I parameters are removed. Use the C parameter to select the laser control pin instead.
      undefined 1 Reply Last reply 17 Jul 2021, 17:23 Reply Quote 0
      • undefined
        Mr Yod @o_lampe
        last edited by Mr Yod 17 Jul 2021, 17:23

        @o_lampe Nope: still with 2.05

        Maybe when it worked I used a previous version of RRF, but I'm not sure.

        undefined 1 Reply Last reply 18 Jul 2021, 09:30 Reply Quote 0
        • undefined
          Mr Yod @Mr Yod
          last edited by 18 Jul 2021, 09:30

          @mr-yod said in Laser that worked in the past and should work, but doesn't:

          @o_lampe Nope: still with 2.05

          Maybe when it worked I used a previous version of RRF, but I'm not sure.

          Disclaimer: I know that I upgraded from a previous version to the 2.05, what I'm not sure about is if I used or not the laser after the firmware upgrade. 😃

          1 Reply Last reply Reply Quote 0
          1 out of 4
          • First post
            1/4
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA