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

    How can I tell which pin to wire to?

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    19
    476
    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.
    • jay_s_ukundefined
      jay_s_uk @Jonty 0
      last edited by

      @Jonty-0 you don't use M950 etc after using M452. You use M3 to turn the laser on and M5 to turn it off and the S value on G1 moves sets the power level, with S255 being full power and S0 being off.
      I use lightburn to generate gcode. Vcarve should work too

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      Jonty 0undefined 1 Reply Last reply Reply Quote 0
      • Jonty 0undefined
        Jonty 0 @jay_s_uk
        last edited by

        @jay_s_uk Thanks so to check I've got this right.

        I put this code in to turn laser on.
        M452 ; put into laser mode
        M3 S255 - Turns laser on full power
        M3 S0 - Turns laser off - or M5 right?

        Brill - I think that's the code vcarve created using M3 etc. Thanks mate.

        Jonty 0undefined o_lampeundefined 2 Replies Last reply Reply Quote 0
        • Jonty 0undefined
          Jonty 0 @Jonty 0
          last edited by

          @Jonty-0 Hey - So I've just downloaded lightburn to use for this as having trouble using vcarve.

          Is the key to this to use the right start G code in lightburn? If so - would you mind sharing the code I can put in so I can double check against myself?

          Thanks in advance! J

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @Jonty 0
            last edited by

            @Jonty-0 here's a good explanation for setting up lightburn for RRF https://github.com/TeamGloomy/LPC-STM32-RRFUserConfigs/tree/master/K40 CO2 Laser - SKR 2 - ESP - paulg4h

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            Jonty 0undefined 1 Reply Last reply Reply Quote 0
            • o_lampeundefined
              o_lampe @Jonty 0
              last edited by o_lampe

              @Jonty-0 said in How can I tell which pin to wire to?:

              I put this code in to turn laser on.
              M452 ; put into laser mode
              M3 S255 - Turns laser on full power
              M3 S0 - Turns laser off - or M5 right?

              No, it's G1 Xnnn Sppp that set's the power level while moving the (X) axis for example.
              With M3 and M5 you switch it on/off.

              M3 and M5 no longer turn the laser on and off; use G1 Snn moves to control laser power.
              

              These lines are generated by lightburn AFAIK.
              There are also laser engraving plugins for Inkscape. Although that's quite oldschool, it's still useful. The graphic tools are better than lightburns

              Jonty 0undefined 2 Replies Last reply Reply Quote 1
              • Jonty 0undefined
                Jonty 0 @jay_s_uk
                last edited by

                @jay_s_uk Thanks jay - I'll have a go with that and see if I can get it to work. Looks like I can choose M3/M5 in the dialogue box on that page so I'll try that. Thanks. I think once I've got it set, I'll be ok but it's just getting there. I'm also worried about how to focus the laser as it doesn't seem like there's a good option for that that I've found. I need it on 10% while I make small z adjustments etc.

                1 Reply Last reply Reply Quote 0
                • Jonty 0undefined
                  Jonty 0 @o_lampe
                  last edited by

                  @o_lampe Thanks a lot - So I should see the laser working if manually type in G1 X-100 S255 for example?

                  1 Reply Last reply Reply Quote 0
                  • Jonty 0undefined
                    Jonty 0 @o_lampe
                    last edited by

                    @o_lampe - OK that works - the laser came on, went off - Yessss! No just need to figure the lightburn setup to create the right g code.

                    1 Reply Last reply Reply Quote 1
                    • kumarundefined
                      kumar
                      last edited by

                      Introduction: Identifying LED Pins

                      1, Looking down from the top of the LED there is usually a flattened edge, this identifies the negative pin of the LED. 2, If the LED is new, there will be one lead longer than the other. The long lead is the positive pin and the short lead will be the negative pin.

                      1 Reply Last reply Reply Quote 0
                      • kumarundefined
                        kumar
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA