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

    Support forPWM Conversion

    Scheduled Pinned Locked Moved
    Hardware wishlist
    6
    18
    893
    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.
    • Nightowlundefined
      Nightowl
      last edited by Nightowl

      Sadly, I'm not at the cutting edge of any of these technologies. I just want my machine to work with as few complications as possible - and the PWM converter is presenting those issues, i.e. not really controlling the speed.

      As I said in the other thread, I'll check the voltage output from the converter to see what's being provided against what is needed.

      I guess the overall answer to my question is a "No", then 🙄

      Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
      I'm still on my learning curve, so take everything I say with caution!

      RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

      dc42undefined 1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators @Nightowl
        last edited by

        @Nightowl the PWM converter is working well for some other users, so if you persevere you may get it working.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        Nightowlundefined 1 Reply Last reply Reply Quote 1
        • Nightowlundefined
          Nightowl @dc42
          last edited by

          Thanks @dc42

          Perseverence, by the way, was my school motto!

          Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
          I'm still on my learning curve, so take everything I say with caution!

          RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

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

            @dc42 said in Support forPWM Conversion:

            ...
            TBH I'm amazed that spindle controllers still use something as primitive as a 0-10V analog input to control the motor speed. It would make much more sense for the spindle controller to provide an optically isolated PWM input.

            I guess it's the simplicity of analog OP-amps against microcontrollers. They don't need to boot up and init I/O stuff, they work right away.
            While the PWM signal would need digital processing, right?

            dc42undefined 1 Reply Last reply Reply Quote 0
            • dc42undefined
              dc42 administrators @o_lampe
              last edited by

              @o_lampe said in Support forPWM Conversion:

              While the PWM signal would need digital processing, right?

              They could use a smoothing network, just as the PWM to analog converters do.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              1 Reply Last reply Reply Quote 0
              • timothyzundefined
                timothyz @dc42
                last edited by

                @dc42
                Just some food for your thought, another open source project has implemented RS485 communication to spindles in a CNC controller called the CNC xPro v5. RRF is definitely better developed overall, and it could be very powerful to port that feature. I am guessing your daughter board would be using a MAX485 style uart to RS485? I have one of those modules and could test if you were to implement it.

                This is a board I have that I am planning on hooking up to a spare UART: UART to RS485 Board

                The CNC xPRO V5 has a list of spindles that they have already integrated and you would be able to use those for references in your implementation (src/spindles folder). Obviously an RRF implementation would allow for the interface of way more than VFDs, and I think if done right could make it a very capable tool for more industrial hardware.

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

                  @timothyz i definitely agree. I have been asking for this feature for ages!

                  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

                  timothyzundefined 1 Reply Last reply Reply Quote 0
                  • timothyzundefined
                    timothyz @jay_s_uk
                    last edited by

                    @jay_s_uk It's so close to being capable I can taste it, maybe to start, we could allow M118 to optionally send data instead of pure strings. Though, I really don't grasp the deeper functionality of M118 so I'm not really sure. It may be best to change M260, but dc42 always seems to know the inner details and how to make things work.

                    dc42undefined 1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators @timothyz
                      last edited by

                      @timothyz M260 would be a better bet for sending binary data.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      1 Reply Last reply Reply Quote 0
                      • OwenDundefined
                        OwenD @dc42
                        last edited by

                        @dc42 said in Support forPWM Conversion:

                        @jay_s_uk RS485 is something we may support in future. We're already looking at making a daughterboard to support it.

                        FYI
                        Supporting RS485 also opens the door to controlling the output of a plasma cutting system from the cnc controller.
                        Here is the programmers refererence for Hypertherm RS485 implementation

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