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

    Extending the Duet2 with Maestro

    Scheduled Pinned Locked Moved
    General Discussion
    3
    12
    498
    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.
    • McAbraundefined
      McAbra
      last edited by

      Hello.

      I saw a hew topics created around this and the great article https://duet3d.dozuki.com/Wiki/Using_external_stepper_motor_drivers. Since I'm working on something (for the community, if someone is interested, a 3 Z belted design as an addition to the linked thing is what I'm working on) that would require 6 drives and I only have a Duet 2 Wifi with no option to get anything else due to the crisis I would like to figure out a temporary installation for a 3 Z assembly with only what I have lying around: a Maestro 2 stepper expansion (still available in a store I can reach) and a few things I have already - some 8-bit MKS boards with TMC2130, TMC2208.

      The question is should I go for the Maestro option and use that as a custom expansion? Or is it not advisable? I would like to try with those little stepper driver boards but the "up to 9V" sign scares me - I'm using 24V.

      I understand that a DUEX2 is the way to go or even a Duet3 but until this sad thing ends I can't get those and I don't want to be blocked with this project of mine - it's a coping mechanism for me and I think some other people as well. Good people I ask for guidance (and a little bit of friendship as well I think 🙂 )

      Thank you,
      Paweł Kucmus

      A Former User? 1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User @McAbra
        last edited by A Former User

        @McAbra said in Extending the Duet2 with Maestro:

        but the "up to 9V" sign scares me

        where does it say up to 9v?

        https://hobbycomponents.com/motor-drivers/892-breakout-board-for-a4988-stepper-motor-driver says 5v logic and 8-34v supply.

        the maestro expansion doesn't list any specs, but it would match the maestro of 3.3v logic and max 25v supply
        (edit: if you're wanting to use a Duet 2 Maestro expansion with a Duet 2 Wifi you'd have to confirm you can configure the TMC2224 over a spare UART; or that they can be used without configuration. The docs say SPI but I believe that is incorrect for the 2224.)

        1 Reply Last reply Reply Quote 0
        • McAbraundefined
          McAbra
          last edited by

          Thanks.

          It's printed on the solder mask 06231061-c308-4c11-bcd5-1fd705c9f781-image.png

          Is it possible to "talk" to TMC UART or SPI drives as one would from a Marlin?

          A Former User? 1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User @McAbra
            last edited by

            @McAbra said in Extending the Duet2 with Maestro:

            It's printed on the solder mask

            wouldn't worry about the solder mask not being 24v compatible 😛 jokes aside, 99.999% Vin/9v goes straight to Vmot and it'll be fine. Its probaly related to arduino and highlighting you need more than 8v to supply the motor driver.

            so refer to Vmot for the driver you want to use instead.

            @McAbra said in Extending the Duet2 with Maestro:

            Is it possible to "talk" to TMC UART or SPI drives as one would from a Marlin?

            it is, the Maestro does use UART and Duet duet 2 wifi does use SPI, combining the two will likely require some custom code and building the firmware which is a little less easy compared to Marlin (but 11 out of 10 users don't need to compile RepRapFirmware)

            1 Reply Last reply Reply Quote 0
            • A Former User?
              A Former User
              last edited by

              but this is an unorthodox approach to using smart stepper drivers with controllers that can't configure them correctly

              https://github.com/Sergey-77/Cetus3d_TMC2208

              1 Reply Last reply Reply Quote 0
              • McAbraundefined
                McAbra
                last edited by

                The Maestro Expansion aside then. If I were to add TMC2130 (which are SPI) how would I set i.e. the spreadCycle mode for them in a Duet config? Or is that unsupported and would require firmware changes?

                1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User
                  last edited by

                  i think the default firmware expects all smart drivers to be of the same type. if the tmc2660 of the wifi and tmc2130 are compatible with respect to spi configs i do not know but should be doable to adapt the firmware if not a bit of work.

                  maybe dc42 or someone else can chime in on the compatability.

                  dc42undefined 1 Reply Last reply Reply Quote 0
                  • dc42undefined
                    dc42 administrators @A Former User
                    last edited by

                    @bearer said in Extending the Duet2 with Maestro:

                    i think the default firmware expects all smart drivers to be of the same type. if the tmc2660 of the wifi and tmc2130 are compatible with respect to spi configs i do not know but should be doable to adapt the firmware if not a bit of work.

                    That's correct. The Duet WiFi/Ethernet firmware is only set up to drive TMC2660 drivers and dumb drivers, the Maestro firmware is only set up to drive TMC2208 or TMC2224 or dumb drivers (but would probably work with TMC2209 as well).

                    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
                    • A Former User?
                      A Former User
                      last edited by

                      the 2130' stepsticks can be configured as dumb at least, path of least resistance.

                      or https://github.com/dc42/RepRapFirmware/blob/dev/BuildInstructions.md

                      1 Reply Last reply Reply Quote 0
                      • McAbraundefined
                        McAbra
                        last edited by

                        Thank you. I got it to work. Had to plow through the datasheet to configure all the CFG pins (that are relevant in the "standalone" mode) to achieve the mode I wanted without any motor whining.

                        Should I document that somewhere?

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

                          @McAbra said in Extending the Duet2 with Maestro:

                          Thank you. I got it to work. Had to plow through the datasheet to configure all the CFG pins (that are relevant in the "standalone" mode) to achieve the mode I wanted without any motor whining.

                          Should I document that somewhere?

                          Yes please! https://duet3d.dozuki.com/Wiki/Using_external_stepper_motor_drivers#Section_Connecting_Pololu_style_drivers would be a good place.

                          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
                          • McAbraundefined
                            McAbra
                            last edited by

                            @dc42 I made the change - please take a look - English is not my first language.

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