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

    Add laser for duet2 wifi

    Scheduled Pinned Locked Moved
    Laser Cutters
    6
    34
    5.0k
    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.
    • EasyTargetundefined
      EasyTarget
      last edited by

      @yaman Sorry for not getting back earlier, I still think this card will suit your needs.

      I've just spent all week fitting a 32bit 3.3v controller to my cnc/laser rig (not a Duet, something based on a 7 Euro ESP32 NodeMCU module) , this and the above discussion has me a bit over-focused on laser driving from 3.3v. systems.

      The laser on my upgraded rig is a 5.5W unit with a pure TTL input. I'm lucky, it can simply be wired to my controller directly; the float voltage on this pin (measured) is 3.27v, and it is high-impedance meaning it does not absorb or supply any real power, it simply follows the voltage. Switch on voltage is around 1.5V . I can simply connect this to the relevant pin of the ESP module.

      I'm also going to put my 8/15W unit into a new machine with a big bed (fabric/leather cutting and decorating is the main goal) but have not worked out the specifics of this yet, it's somewhat low priority, and whatever I do will be a full custom solution. For your application I think a unit like you are getting is ideal.

      Disaster? The original Printeye is dying with RRF 3.5 (M208 depreciated).
      PrintPy2024 to the rescue!
      MicroPython based; with simple wiring and and no custom PCB.

      yamanundefined 1 Reply Last reply Reply Quote 1
      • yamanundefined
        yaman @EasyTarget
        last edited by

        @EasyTarget
        thanks for reply
        II am Waiting for my shipping to arrive (right now in SHANGHAI, Arrival at outward office of exchange)
        and I wish you luck with your project with ESP32 ☺
        until it's arrive I want to know
        is there any specific command i have to add to connect the laser in config file ?

        1 Reply Last reply Reply Quote 0
        • yamanundefined
          yaman @EasyTarget
          last edited by yaman

          @EasyTarget
          @dc42
          so after Received the part and test
          it won't work
          it's just convert PWM to TTL ONLY
          the DC plug it's just for test the Laser If it work or not

          so we back to Square 0

          Right now I thinking to use mosfet Or make the the 74HCT02D

          1 Reply Last reply Reply Quote 0
          • Danalundefined
            Danal
            last edited by

            I know you want to buy a circuit... nonetheless, you might want to try this, it can be built for a few cents, and no board:

            a2009845-6b97-4302-b838-f9f50ef4e605-image.png

            Note the original diagram shows 13V in. 24V in (from the heater 6 connector) will require NO changes.

            It also shows 3.3V out. For five volt out, change the 150K and 39K in the lower right to 100K and 100K.

            This is "old school" analog conversion. It will not make the signal any cleaner, but it won't make it any worse, either, in that nothing in that diagram has a limited switching speed.

            Delta / Kossel printer fanatic

            1 Reply Last reply Reply Quote 1
            • yamanundefined
              yaman
              last edited by

              @Danal said in Add laser for duet2 wifi:

              e the original diagram shows 13V in. 24V in (from the heater 6 connector) will require NO changes.
              It also shows 3.3V out. For five volt out, change the 150K and 39K in the lower right to 100K and 100K.

              thanks Danal for your Replay ☺
              I think this circuit is easy to build
              here you can see the change I make for heater 6-7

              analog conversion.jpg

              EasyTargetundefined Danalundefined 2 Replies Last reply Reply Quote 0
              • EasyTargetundefined
                EasyTarget @yaman
                last edited by EasyTarget

                @yaman said in Add laser for duet2 wifi:

                so after Received the part and test
                it won't work

                I'm sorry for putting you off-course with this, I see what you mean about the DC power port being for testing; I'd assumed that was the principle power port, my apologies.

                Your values and @Danal 's circuit look much more suitable. And easy to source all the parts for.

                For reference in this thread: I just drew up the circuit I plan to drive my similar 15/8w diode laser module from a 3v3 controller (esp32 based) .
                I will use an optocoupler, I have some at home already; the basic circuit looks like:
                opto.out.jpg
                The OutputLimiter resistor is probably being over-cautions, the 4n35 can take 100mA/30v, but the laser module might provide enough residual power on the PWM lines to make it a good idea.
                (Edit; I just looked at my circuit, I refer to 'nagative' values, probably a faux-pas, not a typo.]

                Disaster? The original Printeye is dying with RRF 3.5 (M208 depreciated).
                PrintPy2024 to the rescue!
                MicroPython based; with simple wiring and and no custom PCB.

                yamanundefined 1 Reply Last reply Reply Quote 1
                • Danalundefined
                  Danal
                  last edited by

                  @EasyTarget circuit also looks quite good. More "standard" way in the digital world... 😉

                  Delta / Kossel printer fanatic

                  1 Reply Last reply Reply Quote 0
                  • Danalundefined
                    Danal @yaman
                    last edited by

                    @yaman Yes, your modifications to the values are correct. Solder it up, wrap it in tape, and give it a try.

                    Delta / Kossel printer fanatic

                    yamanundefined 1 Reply Last reply Reply Quote 0
                    • yamanundefined
                      yaman @Danal
                      last edited by yaman

                      @Danal
                      here are the complete drawing between Laser ; header and the circuit
                      do I need to add anything else
                      laser.jpg

                      EasyTargetundefined 1 Reply Last reply Reply Quote 0
                      • yamanundefined
                        yaman @EasyTarget
                        last edited by

                        @EasyTarget
                        never mind it's only 10$ ☺

                        1 Reply Last reply Reply Quote 0
                        • EasyTargetundefined
                          EasyTarget @yaman
                          last edited by

                          @yaman said in Add laser for duet2 wifi:

                          here are the complete drawing between Laser ; header and the circuit
                          do I need to add anything else

                          Looks good to me; I was going to suggest a switch but I see you have that covered.

                          Disaster? The original Printeye is dying with RRF 3.5 (M208 depreciated).
                          PrintPy2024 to the rescue!
                          MicroPython based; with simple wiring and and no custom PCB.

                          1 Reply Last reply Reply Quote 1
                          • Danalundefined
                            Danal
                            last edited by Danal

                            Looks correct, and the values given will work with a Duet (expansion) at 12V or 24V.

                            As with any project, verify as much as possible with a voltmeter or o-scope, every step of the way.

                            Delta / Kossel printer fanatic

                            yamanundefined 1 Reply Last reply Reply Quote 2
                            • yamanundefined
                              yaman @Danal
                              last edited by yaman

                              @Danal
                              @EasyTarget
                              OK so after some work with solder
                              the circuit not work exactly but after I make little change the Laser finally work 😇 😇
                              laser_2.jpg

                              2019-10-27 16.26.43.jpg
                              youtube for Laser Test

                              https://www.youtube.com/watch?v=1KxYv2g96GY

                              1 Reply Last reply Reply Quote 1
                              • EasyTargetundefined
                                EasyTarget
                                last edited by

                                AhHA! a 10V pwm input. Same as mine; when I was looking at this last year I'd noted that 10V pwm/analogue seems to be a bit of a standard in the laser world. It's common in many CO2 lasers.

                                Disaster? The original Printeye is dying with RRF 3.5 (M208 depreciated).
                                PrintPy2024 to the rescue!
                                MicroPython based; with simple wiring and and no custom PCB.

                                1 Reply Last reply Reply Quote 0
                                • hectorundefined
                                  hector
                                  last edited by hector

                                  Something like this would work?

                                  https://www.amazon.com/Voltage-0-100-Linear-Conversion-Transmitter/dp/B00U7GJDVO

                                  alt text

                                  connected to a fan or heater, take the pwm at 24v and transform it to 0-5V DC

                                  yamanundefined 1 Reply Last reply Reply Quote 0
                                  • yamanundefined
                                    yaman @hector
                                    last edited by yaman

                                    @hector
                                    thanks for you replay
                                    but this circuit will not work in my case because I don't have Fan 2
                                    fan 2 I use it for tool 2
                                    I have heater 6 -7 with 5v PWM

                                    https://forum.duet3d.com/assets/uploads/files/1570300649740-laser_cable_2.jpg

                                    1 Reply Last reply Reply Quote 0
                                    • Danalundefined
                                      Danal
                                      last edited by

                                      @yaman said in Add laser for duet2 wifi:

                                      after I make little change the Laser finally wor

                                      Sounds like that laser wants 10V in.

                                      Some want 5V (TTL), some want 10V. The two versions of the circuit above will work for the respective cases.

                                      Delta / Kossel printer fanatic

                                      yamanundefined 1 Reply Last reply Reply Quote 1
                                      • yamanundefined
                                        yaman @Danal
                                        last edited by

                                        @Danal
                                        @EasyTarget
                                        @T3P3Tony
                                        Thanks for your replay
                                        that what I find maybe the real test will be in G code file and let the machine work for hours
                                        but first I have to do some work at Firmware

                                        Right now I'm at Version 2.0.0-RC2
                                        so any Suggestions for good version work fine with 3dprinter and Laser ?

                                        EasyTargetundefined 1 Reply Last reply Reply Quote 0
                                        • Danalundefined
                                          Danal
                                          last edited by

                                          I haven't personally tried laser, so can't comment on releases.

                                          I can say I've had very good results using the "latest", including release candidates.

                                          Delta / Kossel printer fanatic

                                          1 Reply Last reply Reply Quote 2
                                          • EasyTargetundefined
                                            EasyTarget @yaman
                                            last edited by

                                            @yaman said in Add laser for duet2 wifi:

                                            Suggestions for good version work fine with 3dprinter and Laser ?

                                            The latest release, always the latest.
                                            https://github.com/dc42/RepRapFirmware/releases/latest

                                            Duet makes upgrading super easy, there is no real excuse for not upgrading asap and when new releases come out. Currently it is 2.03.

                                            This is especially true if doing CNC machine control, Duet3D are pushing heavily in this direction at present and related features are appearing in each new release.

                                            If you want to throw caution to the wind, try the latest 2.0x Release candidate, but I would avoid the 3.0 series betas at this time for general users. Though the 3.x series will eventually bring even more CNC related feature goodness.

                                            Disaster? The original Printeye is dying with RRF 3.5 (M208 depreciated).
                                            PrintPy2024 to the rescue!
                                            MicroPython based; with simple wiring and and no custom PCB.

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