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

    DuetWifi and Duex5 v0.7 external drive

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    12
    325
    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.
    • minvayuundefined
      minvayu
      last edited by

      I have a DuetWifi and Duex5 v0.7 which will be used on a polar printer. We have tested the controller using the internal drives and smaller motors and it works fine. We need to connect larger drives and thought we could use external drives from the Duex5 v0.7 that we have. Sadly we notice this board is missing the external drive ability that is present in the newer boards.

      Could we use a level shifter and take the signal from the duetWifi output?

      As an NGO in India we are unable to afford any new boards so we need some suitable hack.

      Jorge at Minvayu

      dc42undefined 1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Have you seen this?

        https://docs.duet3d.com/en/User_manual/Connecting_hardware/Motors_connecting_external

        Z-Bot CoreXY Build | Thingiverse Profile

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

          @minvayu how many external drivers do you need to connect, and how many internal drivers will you still need? Are you using any other features of he DueX5 apart from the drivers?

          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

          minvayuundefined 2 Replies Last reply Reply Quote 0
          • minvayuundefined
            minvayu @dc42
            last edited by

            @dc42 I need to run 4 external drives, one vfd (for cement pump). This is a portable house 3d printer, so am not using any heaters or inbuilt drives, only need the signal to external stepper drives, servo and vfd.

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

              @minvayu in that case you could use the Expansion Breakout Board instead of the DueX. See https://docs.duet3d.com/Duet3D_hardware/Duet_2_family/Duet_Expansion_Breakout_Board. There is a link to the design files if you want to make your own.

              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
              • minvayuundefined
                minvayu @dc42
                last edited by

                @dc42 As recommended I built an expansion breakout board. I have tested it with a external drive using T2.5,2.5,2.5,5 and it worked fine. Now I am testing the Panasonic AC servo drive and am not having the same luck. I have set the drive under every possible setting and nothing has worked. Below are the tables that indicate possible settings. I am assuming I should use setting 01 03 for Pulse and Direction with T2.5,2.5,2.5. I am giving 5V supply and am wondering if drive requires a higher voltage (12 or 24V?) It is Liqi Panasonic servo

                Pulse Signal Table.jpg

                minvayuundefined 1 Reply Last reply Reply Quote 0
                • minvayuundefined
                  minvayu @minvayu
                  last edited by

                  @minvayu I meant Pr 0.06 = 0 and Pr 0.07 = 3. Since this did not work I tried all combinations, but nothing worked.

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

                    @minvayu what output chips are you using on your expansion breakout board, and how did you connect the outputs of that board to your drivers? There are two ways of using the output on our EBOB depending on whether your drivers want 5V single-ended drive or 3V differential drive.

                    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
                    • minvayuundefined
                      minvayu
                      last edited by

                      I used the AM26LC31 IC Low Voltage High Speed Quadruple Differential line driver IC. That was available in SMD format here in India and when I checked they seemed identical to your version

                      I tried using the differential output and this did not work. So today I used a bidirectional level shifter to boost from 3.3v to 5v. First I tested it on the original stepper drive and it worked fine, so I tested it on the AC Servo drive. Results were the same. It works on the stepper but not on the servo.

                      minvayuundefined 1 Reply Last reply Reply Quote 0
                      • minvayuundefined
                        minvayu @minvayu
                        last edited by

                        Below is the wiring diagrams for pnp and npn. Which one do you suggest for the duet?IMG-20220902-WA0006.jpg IMG-20220902-WA0008.jpg

                        1 Reply Last reply Reply Quote 0
                        • minvayuundefined
                          minvayu
                          last edited by

                          I have managed to test several connections to Panasonic Liqi Drive according to recommendations from the dealer. We tried differential Step/Dir, +5v/Step- and +5v/Dir- but neither one worked. I am giving +-24V power to drive and it is turned on when sending signals. Please check my config script to see if I am making any errors there. When testing I can run a stepper motor with the same settings. I have tested different values for T from 1:1:1:5 up until 4:4:4:5. For Externally Drivel Stepper I used 2.5:2.5:2.5:5 and it worked fine.

                          Panasonic Drive Setup:
                          Command Pulse Direction Setup options:
                          Option 0 is: B Phase advances to A, Signal High (this is setting I have tested)
                          Option 1 is: B Phase lags to A, Signal Low

                          Command Pulse input mode is Pulse Train + Signal

                          Command Pulse counts per revolution is set to 10,000

                          Testing is done by sending code G91 and G1 H2 X10 F100

                          Below is my config fileMinvayu Duet Config 1.txt

                          minvayuundefined 1 Reply Last reply Reply Quote 0
                          • minvayuundefined
                            minvayu @minvayu
                            last edited by

                            @minvayu Also I tested a pulse generator and this worked fine with the Panasonic Drive, so the drive is fine.
                            What else is missing?

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