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

    Auto bed leveling

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    questions
    4
    15
    777
    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.
    • moe.adams9093undefined
      moe.adams9093
      last edited by

      I'm building a corxy system it uses 4 worm gear stepper motor driven by belts to left the Z axis can I install 4 mechanical endstop on the max side and a Zprob on the min side. So where when I request to home all I want the bed to go all the way to the max so it can adjust the 4 corners acording to the position of the limit switches and then to travel to min extruder side and do 4 corners probing.

      Zhang Jianyuundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
      • Zhang Jianyuundefined
        Zhang Jianyu @moe.adams9093
        last edited by

        @moe-adams9093 said in Auto bed leveling:

        I'm building a corxy system it uses 4 worm gear stepper motor driven by belts to left the Z axis can I install 4 mechanical endstop on the max side and a Zprob on the min side. So where when I request to home all I want the bed to go all the way to the max so it can adjust the 4 corners acording to the position of the limit switches and then to travel to min extruder side and do 4 corners probing.

        Yes you can do that if all four Z motors have their own drivers.

        Homing script would be pretty standard, you would just have to ensure it's configured to home to max, probably M574 Z2 ...

        For the 4-point leveling, you would have to set the coordinates of the bed pivots in config.g using M671

        Then you would have to probe all four corners, using G30 commands with coordinates specified.

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

          https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors#Section_Axis_levelling_using_endstops

          It's a lot easier to do in RRF3. Assign all z axis drivers and then specify the endstop switches for the z axis in a single M574 line for Z. Then home as normal using G1 H1 Z.

          You can also use the probe itself to do the leveling and save yourself some endstops. This is also described in that link.

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • moe.adams9093undefined
            moe.adams9093
            last edited by

            Thanks for the support

            1 Reply Last reply Reply Quote 0
            • moe.adams9093undefined
              moe.adams9093
              last edited by

              Quick question i have duet ethernet and duex 5 i need to add 2 closed loop external driver is it possible to add 2 extra external driver using conn-LCD with the duex 5 connected. thank you

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

                Yes I believe so.

                https://duet3d.dozuki.com/Wiki/Using_external_stepper_motor_drivers

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • moe.adams9093undefined
                  moe.adams9093
                  last edited by

                  So the expansion port pins are going to the duex5 only left is Coon-lcd and Coon-SD the form is only taking about Coon LCD so is that said only one external can be added or can I use coon lcd and coon SD for 2 motors. Please correct me if I'm wrong I just don't want to order them before I'm 100% sure Thank you.

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

                    @moe-adams9093

                    From DC42:
                    "yes, 2 on CONN_LCD
                    if some of the DueX5 motor outputs are not being used, you could also connect an EBOB to the Duet expansion connector in parallel with the DueX5, then you could use the step/dir outputs for those motor outputs on the EBOB, but not the enable outputs"

                    Z-Bot CoreXY Build | Thingiverse Profile

                    1 Reply Last reply Reply Quote 0
                    • moe.adams9093undefined
                      moe.adams9093
                      last edited by

                      Thanks for the response I have few questions to set some clarification before I do so. I have 2 avaliable drives on the duex5 if I disable the jumper on the underside for both and take step and dir and Ena will that provide +5v? Also my second question what about the ground lead for -step and -dir, -ena where they will be placed. Third question what will be the number for the drivers in the configuration file. Last question endstops will be connected to the drivers that are associated with the one I disabled. Thank you in advance

                      dc42undefined 1 Reply Last reply Reply Quote 0
                      • dc42undefined
                        dc42 administrators @moe.adams9093
                        last edited by dc42

                        @moe-adams9093 said in Auto bed leveling:

                        Thanks for the response I have few questions to set some clarification before I do so. I have 2 avaliable drives on the duex5 if I disable the jumper on the underside for both and take step and dir and Ena will that provide +5v? Also my second question what about the ground lead for -step and -dir, -ena where they will be placed. Third question what will be the number for the drivers in the configuration file. Last question endstops will be connected to the drivers that are associated with the one I disabled. Thank you in advance

                        Two issues here:

                        1. The signal levels on the expansion bus are 3.3V with low current. The EBOB converts them to 5V single-ended.

                        2. RepRapFirmware expects to find two TMC2660 drivers on a DueX2, or five on a DueX5. If you want to cut the Enable traces to use different numbers and use external drivers in the corresponding slots, you would need to recompile the firmware. We may implement auto-detection of TmC2660 drivers in the future, but that isn't in RRF yet.

                        Drivers that need single ended drive are best connected between STEP- and +5V on the EBOB for the step input, and similarly for DIR and ENA.

                        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
                        • moe.adams9093undefined
                          moe.adams9093
                          last edited by

                          Ok I see it looks like its a bit complicated going from EBOB terminal and I thought about one thing is I don't want to lose the additional drives maybe in the future might use those for additional extruder i would say it will better for me to install a shift registrar and convert 3.2 to 5 volt on the COON-LCD connection.
                          Question can I use boost converter from 3.3 v to 5v or it has to be a logic shift register. Thank you

                          1 Reply Last reply Reply Quote 0
                          • moe.adams9093undefined
                            moe.adams9093
                            last edited by

                            So I just got my hybrid servo closed loop stepper last week and I connected them to arduino and did a simple test just to make sure they can run on 3.3v and they did. Then I connected them to Conn LCD
                            So
                            On Driver #10
                            PUL - >> STP 10 ( LCD-DB5)
                            DIR - >> DIR 10 ( LCD - DB6)
                            EN- >> EN 10 ( LCD -DB7 )

                            PUL + > 3.3V ON Conn Lcd
                            DIR +> 3.3V ON Conn Lcd
                            EN + > 3.3V On Conn Lcd
                            All 3.3v terminal connected in parallel to motor driver
                            EndStop not connected yet


                            On Driver #11
                            PUL - >> STP 11 ( LCD - DB4)
                            DIR - >> DIR 11 ( LCD - E)
                            ENA - >> EN 11 ( LCD -RS)
                            Endstop not yet connected

                            PUL + > 3.3V ON Conn Lcd
                            DIR +> 3.3V ON Conn Lcd
                            EN + > 3.3V On Conn Lcd
                            All 3.3v terminal connected in parallel to motor driver
                            EndStop not connected yet

                            So the 2 Drivers are running on the same positive side pin from 3.3v

                            The problem I'm having now when I move axis both motors X&Y spins. Can you please explain what would be the solution to fix this problem.
                            Thanks

                            1 Reply Last reply Reply Quote 0
                            • moe.adams9093undefined
                              moe.adams9093
                              last edited by

                              Never mind I figured it out thanks anyway

                              1 Reply Last reply Reply Quote 0
                              • Phaedruxundefined
                                Phaedrux Moderator @moe.adams9093
                                last edited by

                                @moe-adams9093 said in Auto bed leveling:

                                corxy

                                Was it this?

                                Z-Bot CoreXY Build | Thingiverse Profile

                                1 Reply Last reply Reply Quote 0
                                • moe.adams9093undefined
                                  moe.adams9093
                                  last edited by

                                  Yes I forgot my build with corxy.

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