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

    H-bridge dc motor on 1XD

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    7
    468
    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.
    • verminsupundefined
      verminsup
      last edited by

      I have been working on a Stratasys conversion for work. They want to use all the original hardware, this includes the Dc servo motors for the extruder. I have been using servo drives together with 1XD boards but now one of the drives is broken and they want me to use a H-bridge for the extruder. I know this isn't a good idea but it's not up to me.

      I'm using the L298N
      260a868a-c3be-491e-8321-9038abda1047-image.png

      The pins for the stepper driver and how I have them configured right now on the L298N
      D0_STEP(-)
      D0_STEP(+)
      D0_DIR(-) pin 8
      D0_DIR(+) pin 9
      D0_EN(-) EN-
      D0_EN(+)

      On the L298N I can supply a Pwm signal for speed control on pin 7 and then set the direction with the standard dir pins. I was wondering if the other pins from the 1XD drive give out a pwm signal (and be used for an extruder)? Or is there another way of configuring this like using the fan pwm signal. I was told that the step pins have a pwm signal but I can't set the speed with those.

      This is the part of the config that matters for the drive
      M569 P0 S1 R0 T4000;

      alankilianundefined o_lampeundefined 2 Replies Last reply Reply Quote 0
      • alankilianundefined
        alankilian @verminsup
        last edited by

        @verminsup

        I'm not quite sure what you are trying to do, so I'll type what I think I read fro your posting:

        • You are trying to run a Stratasys extruder which has a DC motor and encoder on it.
        • You are going to ignore the encoder and run the extruder using PWM through an H-Bridge driver.

        Questions:

        • How are you going to have the Duet control the amount of extrusion?
        • How are you going to get yourself out of this situation of having other people make design decisions you have to try to implement? (That's just a joke. I feel your pain man.)

        I'm probably misunderstanding something (I hope anyway.) If not, we can get you squirting out plastic at a nonconstant rate, but I'm not sure we can get you to something that's going to make parts.

        SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

        verminsupundefined 1 Reply Last reply Reply Quote 1
        • o_lampeundefined
          o_lampe @verminsup
          last edited by

          @verminsup
          I've experiemnted with DC-encoder motors to act like steppers and controlled them via step, dir, enable. From my experience you can't do that without reading the encoder signals.

          BTW: I use the TB6612FNG driver which has way better performance than the dinosaur L298.

          verminsupundefined 1 Reply Last reply Reply Quote 0
          • verminsupundefined
            verminsup @o_lampe
            last edited by

            @o_lampe
            I have found this driver.
            0ab3e230-09ef-445a-8c8d-895cbb1708c1-image.png
            But I'm still not sure how I'm going to let the duet extrude a specific amount.

            I'll check that driver

            1 Reply Last reply Reply Quote 0
            • verminsupundefined
              verminsup @alankilian
              last edited by

              @alankilian
              I'm not sure how I can give a specific extrusion amount
              By having someone stubborn above me

              1 Reply Last reply Reply Quote 0
              • verminsupundefined
                verminsup
                last edited by

                Also I got it working just fine but now all of a sudden both drives have stopped working.
                Got some very nice prints out of it
                72aa863c-8e5d-4a36-bd58-748d80b9288f-image.png

                alankilianundefined 1 Reply Last reply Reply Quote 1
                • alankilianundefined
                  alankilian @verminsup
                  last edited by

                  @verminsup Yeah!

                  That Rhinomc.com driver looks perfect for your job although I can't find it on their page, so maybe they don't make it anymore.

                  It's great you've gotten your machine running again.

                  SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

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