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

A few questions regarding switching to Duet

Scheduled Pinned Locked Moved
General Discussion
5
48
5.2k
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.
  • undefined
    siblues
    last edited by 14 Oct 2018, 05:37

    Thanks for the links I have a 220 x 220 pcb heater on mine and it is 12v so it shouldn't draw to much power.When the Duet gets here I will test the bed heater and measure what the ohm reading is on it.I will post the config once I have it.

    I received the board and I have started switching everything over to the Duet.I am new yto all of this so forgive the simple question I am about to ask.I will need to crimp and add the Duet specific pins and shells to the wiring is there any way I can fry the board if I incorrectly wire the motors?

    undefined 1 Reply Last reply 14 Oct 2018, 05:59 Reply Quote 0
    • undefined
      Phaedrux Moderator @siblues
      last edited by Phaedrux 14 Oct 2018, 05:59

      @siblues No, you can't fry the board by mixing up the wires.

      It's best practice to not unplug the motors while powered up, and don't move the print head or table by hand very quickly when the motors are connected. Motors are also generators and you can move it fast enough by hand to possibly damage something. Best to have belts or motors disconnected if you're testing mechanics.

      You can identify the motor coli pairings with a multimeter. https://www.youtube.com/watch?v=S0pGKgos498

      This may help you out as well.
      https://duet3d.dozuki.com/Wiki/Choosing_and_connecting_stepper_motors

      Identifying the stepper motor phases
      Here are two ways you can pair the stepper motor wires into phases:

      Use a multimeter. There should be a few ohms resistance between two wires that belong to the same phase, and no continuity between wires that belong to different phases.
      With the motor wires not connected, spin the spindle between your fingers. Short two of the wires together, then spin the spindle again. If it is much harder to spin than before, those two wires belong to the same phase. Otherwise, try again with a different pair of wires shorted together.

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • undefined
        siblues
        last edited by 14 Oct 2018, 07:47

        I meant more along the lines of wiring them incorrectly and powering up the Duet with the wires to the motors being wired wrong.I never unplug anything while it is powered on.The motors I have aren't the kind with the pigtail coming out of the motor they have plugs on them so I will have to cut the plugs off one end and crimping and inserting the pins into the plug shells.I was just wondering if the wires are wired up wrong can I fry the board when I power it on?

        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 14 Oct 2018, 08:21

          It's possible to damage the motor drivers by connecting the motors to them incorrectly. I did that one, although more usually the motors just vibrate if you do that. So I suggest you check the pairing of the wires to make sure you connect them correctly. See the post by Phaedrux.

          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
          • undefined
            siblues
            last edited by siblues 16 Oct 2018, 00:38

            I am currently reading up on quite a few things all at once so it is a bit difficult to absorb everything.I haven most of the wiring done I just need to crimp all of the ferrules and slide them into the plug shells.

            The lighting I am deciding on how and what to use at the moment but that isn't very high on my to do list so it can wait.

            I do need some advice on using a relay to power on and off my printer.I have a few Sainsmart 5v relays laying around and I was wondering what you guys recommend using for turning on and off a Meanwell psu?The specs on the relays I have are

            5V 2-Channel Relay interface board, and each one needs 15-20mA Driver Current
            Equipped with high-current relay, AC250V 10A ; DC30V 10A
            Standard interface that can be controlled directly by microcontroller (Arduino , 8051, AVR, PIC, DSP, ARM, ARM, MSP430, TTL logic)
            Indication LED’s for Relay output status
            It activates on low level.

            I don't know if I should make multiple threads or keep this one going to keep everything together and not clutter the forum with tons of random threads?

            undefined undefined 2 Replies Last reply 16 Oct 2018, 01:29 Reply Quote 0
            • undefined
              Phaedrux Moderator @siblues
              last edited by 16 Oct 2018, 01:29

              @siblues said in A few questions regarding switching to Duet:

              I don't know if I should make multiple threads or keep this one going to keep everything together and not clutter the forum with tons of random threads?

              A new focused thread with a new title might get the attention of someone who knows the answer to what you're asking.

              Z-Bot CoreXY Build | Thingiverse Profile

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators @siblues
                last edited by 16 Oct 2018, 13:09

                @siblues said in A few questions regarding switching to Duet:

                5V 2-Channel Relay interface board, and each one needs 15-20mA Driver Current
                Equipped with high-current relay, AC250V 10A ; DC30V 10A
                Standard interface that can be controlled directly by microcontroller (Arduino , 8051, AVR, PIC, DSP, ARM, ARM, MSP430, TTL logic)
                Indication LED’s for Relay output status
                It activates on low level.

                That sounds like a standard relay module with a driver and an optically-isolated input. If it is then it is suitable.

                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
                • undefined
                  siblues
                  last edited by siblues 31 Oct 2018, 02:02

                  I have everything wired up and sort of working.The motors and endstops are all working fine except for the extruder that hasn't been tested yet.I am working on the BLTouch right now.I have a few questions regarding setting it up.What do I need to do after using the RepRap configuration tool.I am assuming the pins the sensor is hooked up to are set with the configurator when the BLTouch is chosen and assuming you use the wiring diagram from the documentation.I am guessing that I need to manually enter the lines to deploy and retract the probe along with clearing the alarm on the sensor?I also am guessing that I need to set up a user defined macro to have a button for bed compensation/leveling.Thanks

                  Here is my deploy and retract probe files

                  ; deployprobe.g
                  ; called to deploy a physical Z probe
                  ;
                  ; generated by RepRapFirmware Configuration Tool on Tue Oct 30 2018 20:32:38 GMT-0400 (Eastern Daylight Time)
                  M280 P9 S10 I1

                  ; retractprobe.g
                  ; called to retract a physical Z probe
                  ;
                  ; generated by RepRapFirmware Configuration Tool on Tue Oct 30 2018 20:32:38 GMT-0400 (Eastern Daylight Time)
                  M280 P9 S90 I1

                  This is the Z Probe section in the config.g files

                  ; Z-Probe
                  M307 H8 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
                  M558 P9 H5 F120 T6000 ; Set Z probe type to bltouch and the dive height + speeds
                  G31 P25 X0 Y0 Z5 ; Set Z probe trigger value, offset and trigger height
                  M557 X15:205 Y15:205 S20 ; Define mesh grid

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    Phaedrux Moderator
                    last edited by Phaedrux 31 Oct 2018, 02:47

                    https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_BLTouch

                    This should get you going on the BLTouch.

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

                    And if you have issues.

                    For bed compensation and leveling you can use bed.g. That gets called by G32. If you have a paneldue there is also a button on the screen that will call it. It can also be ran from the DWC.

                    Z-Bot CoreXY Build | Thingiverse Profile

                    undefined 1 Reply Last reply 3 Nov 2018, 02:51 Reply Quote 0
                    • undefined
                      siblues @Phaedrux
                      last edited by 3 Nov 2018, 02:51

                      @phaedrux Thanks for that I will try to get that sorted out this weekend.I am very new to all of this so when setting up a cartesian style printer where the extruder's home position is in the lower left hand corner and the actual nozzle sits below and to the left of the actual bed how or what offsets need to be changed?I am assuming the simplest way of setting those up would be to accurately measure them and entering them as a negative into wherever the offsets are set?

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        Phaedrux Moderator
                        last edited by 3 Nov 2018, 03:01

                        Probably best to start with this.

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

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          Phaedrux Moderator
                          last edited by 3 Nov 2018, 06:28

                          Oh and this will help a lot with getting the bed and axis travel limits setup.

                          https://drmrehorst.blogspot.com/2017/08/setting-up-3d-printers-origin.html?m=1

                          Z-Bot CoreXY Build | Thingiverse Profile

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            siblues
                            last edited by 4 Nov 2018, 17:40

                            I am Following the documentation to set up my machine and Duet but when using a BlTouch is it recommended to not use a Zmin endstop? I am asking because I have both wired up at the moment and I figured I would ask if it is common practice to eliminate the Zmin endstop when using the BlTouch sensor?

                            undefined undefined 2 Replies Last reply 4 Nov 2018, 18:40 Reply Quote 0
                            • undefined
                              Phaedrux Moderator @siblues
                              last edited by 4 Nov 2018, 18:40

                              @siblues the BLTouch would become your z min endstop. Your homing files would need to be changed to use a G30 probe command instead of a G1 S1 Z move to trigger the endstop switch.

                              You could move the endstop switch to z max. Sometimes it's handy to be able to home to z max as well.

                              Z-Bot CoreXY Build | Thingiverse Profile

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                siblues
                                last edited by siblues 11 Apr 2018, 19:09 4 Nov 2018, 19:05

                                I have a cartesian style printer and setting it up at z max would be problematic when it comes to wiring it up.I am having a bit of a hard time setting up the bltouch and it is due to my lack of experience in using any type of firmware.I ran into the same problem when trying to set up my Smoothie and I couldn't get it to work for the life of me.I can care less if I have a zmin endstop or not as long as everything works as it should.I already have the zmin wired up but I can remove it if necessary to clean things up a bit. The problem I have is it isn't as simple as using the configurator to set up the machine and then copying and pasting the relevant lines of code for the bltouch sensor into the correct folders is it?

                                Which way would you recommend for an absolute beginner?The simplest route would be a better option for me at the moment.

                                undefined 1 Reply Last reply 4 Nov 2018, 19:35 Reply Quote 0
                                • undefined
                                  Phaedrux Moderator @siblues
                                  last edited by 4 Nov 2018, 19:35

                                  @siblues can you post your current config.g and homing files? Also the deployprobe and retractprobe files.

                                  What firm ware version are you using?

                                  I can take a look and see if anything else needs changing.

                                  There are 5 wires for the BLTouch. They need to go to the right place and the wires and crimps need to be working obviously. Wiring ends up being the culprit often. A multimeter to check continuity is helpful.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    dc42 administrators @siblues
                                    last edited by dc42 11 Apr 2018, 22:00 4 Nov 2018, 21:59

                                    @siblues said in A few questions regarding switching to Duet:

                                    I am Following the documentation to set up my machine and Duet but when using a BlTouch is it recommended to not use a Zmin endstop? I am asking because I have both wired up at the moment and I figured I would ask if it is common practice to eliminate the Zmin endstop when using the BlTouch sensor?

                                    It's entirely up to you whether you home Z using the Z probe or using an endstop switch. Set up the homing files according to your choice. See https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter#Section_Homing_Z.

                                    Having the option to home to Z max can be useful if you want to be able to resume a print after a power failure.

                                    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
                                    • undefined
                                      siblues
                                      last edited by siblues 6 Dec 2019, 05:49 5 Nov 2018, 00:07

                                      I have the BlTouch wired up how it is pictured here

                                      firmware version
                                      2.0(RTOS) (2018-06-05b3)

                                      alt text

                                      config.g

                                      ; Configuration file for Duet WiFi (firmware version 1.21)
                                      ; executed by the firmware on start-up
                                      ;
                                      ; generated by RepRapFirmware Configuration Tool on Tue Oct 30 2018 20:32:38 GMT-0400 (Eastern Daylight Time)

                                      ; General preferences
                                      G90 ; Send absolute coordinates...
                                      M83 ; ...but relative extruder moves

                                      ; Network
                                      M550 PTony's P3 Steel ; Set machine name
                                      M551 ; Set password
                                      M552 S1 ; Enable network
                                      ;*** Access point is configured manually via M587
                                      M586 P0 S1 ; Enable HTTP
                                      M586 P1 S0 ; Disable FTP
                                      M586 P2 S0 ; Disable Telnet

                                      ; Drives
                                      M569 P0 S1 ; Drive 0 goes forwards
                                      M569 P1 S1 ; Drive 1 goes forwards
                                      M569 P2 S0 ; Drive 2 goes forwards
                                      M569 P3 S1 ; Drive 3 goes forwards
                                      M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
                                      M92 X80 Y80 Z400 E420 ; Set steps per mm
                                      M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
                                      M203 X6000 Y6000 Z180 E1200 ; Set maximum speeds (mm/min)
                                      M201 X500 Y20 Z250 E250 ; Set accelerations (mm/s^2)
                                      M906 X1200 Y1200 Z1200 E1200 I30 ; Set motor currents (mA) and motor idle factor in per cent
                                      M84 S30 ; Set idle timeout

                                      ; Axis Limits
                                      M208 X0 Y0 Z0 S1 ; Set axis minima
                                      M208 X220 Y220 Z200 S0 ; Set axis maxima

                                      ; Endstops
                                      M574 Y1 Z1 S0 ; Set active low endstops
                                      M574 X1 S1 ; Set active high endstops

                                      ; Z-Probe
                                      M307 H8 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
                                      M558 P9 H5 F120 T6000 ; Set Z probe type to bltouch and the dive height + speeds
                                      G31 P25 X0 Y0 Z5 ; Set Z probe trigger value, offset and trigger height
                                      M557 X15:205 Y15:205 S20 ; Define mesh grid

                                      ; Heaters
                                      M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
                                      M305 P0 T100000 B3950 C0 R4700 ; Set thermistor + ADC parameters for heater 0
                                      M143 H0 S120 ; Set temperature limit for heater 0 to 120C
                                      M305 P1 T100000 B3950 C0 R4700 ; Set thermistor + ADC parameters for heater 1
                                      M143 H1 S290 ; Set temperature limit for heater 1 to 290C

                                      ; Fans
                                      M106 P0 S0.3 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                                      M106 P1 S1 I0 F500 H0:1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
                                      M106 P2 S1 I0 F500 H0:1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

                                      ; Tools
                                      M563 P0 D0 H1 ; Define tool 0
                                      G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
                                      G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

                                      ; Automatic saving after power loss is not enabled

                                      ; Custom settings are not configured

                                      deploy probe

                                      ; deployprobe.g
                                      ; called to deploy a physical Z probe
                                      ;
                                      ; generated by RepRapFirmware Configuration Tool on Tue Oct 30 2018 20:32:38 GMT-0400 (Eastern Daylight Time)
                                      M280 P7 S10 I1

                                      retract probe

                                      ; retractprobe.g
                                      ; called to retract a physical Z probe
                                      ;
                                      ; generated by RepRapFirmware Configuration Tool on Tue Oct 30 2018 20:32:38 GMT-0400 (Eastern Daylight Time)
                                      M280 P7 S90 I1

                                      home all

                                      ; homeall.g
                                      ; called to home all axes
                                      ;
                                      ; generated by RepRapFirmware Configuration Tool on Tue Oct 30 2018 20:32:38 GMT-0400 (Eastern Daylight Time)
                                      G91 ; relative positioning
                                      G1 Z5 F6000 S2 ; lift Z relative to current position
                                      G1 S1 X-225 Y-225 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
                                      G1 X5 Y5 F6000 ; go back a few mm
                                      G1 S1 X-225 Y-225 F360 ; move slowly to X and Y axis endstops once more (second pass)
                                      G1 S1 Z-205 F1800 ; move Z down stopping at the endstop
                                      G90 ; absolute positioning
                                      G92 Z0 ; set Z to axis minimum (you may want to adjust this)

                                      ; Uncomment the following lines to lift Z after probing
                                      ;G91 ; relative positioning
                                      ;G1 S2 Z5 F100 ; lift Z relative to current position
                                      ;G90 ; absolute positioning

                                      Home x

                                      ; homex.g
                                      ; called to home the X axis
                                      ;
                                      ; generated by RepRapFirmware Configuration Tool on Tue Oct 30 2018 20:32:38 GMT-0400 (Eastern Daylight Time)
                                      G91 ; relative positioning
                                      G1 Z5 F6000 S2 ; lift Z relative to current position
                                      G1 S1 X-225 F1800 ; move quickly to X axis endstop and stop there (first pass)
                                      G1 X5 F6000 ; go back a few mm
                                      G1 S1 X-225 F360 ; move slowly to X axis endstop once more (second pass)
                                      G1 Z-5 F6000 S2 ; lower Z again
                                      G90 ; absolute positioning

                                      home y

                                      ; homey.g
                                      ; called to home the Y axis
                                      ;
                                      ; generated by RepRapFirmware Configuration Tool on Tue Oct 30 2018 20:32:38 GMT-0400 (Eastern Daylight Time)
                                      G91 ; relative positioning
                                      G1 Z5 F6000 S2 ; lift Z relative to current position
                                      G1 S1 Y-225 F1800 ; move quickly to Y axis endstop and stop there (first pass)
                                      G1 Y5 F6000 ; go back a few mm
                                      G1 S1 Y-225 F360 ; move slowly to Y axis endstop once more (second pass)
                                      G1 Z-5 F6000 S2 ; lower Z again
                                      G90 ; absolute positioning

                                      home z
                                      ; homez.g
                                      ; called to home the Z axis
                                      ;
                                      ; generated by RepRapFirmware Configuration Tool on Tue Oct 30 2018 20:32:38 GMT-0400 (Eastern Daylight Time)
                                      G91 ; relative positioning
                                      G1 Z5 F6000 S2 ; lift Z relative to current position
                                      G1 S1 Z-205 F1800 ; move Z down until the endstop is triggered
                                      G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

                                      ; Uncomment the following lines to lift Z after probing
                                      ;G91 ; relative positioning
                                      ;G1 S2 Z5 F100 ; lift Z relative to current position
                                      ;G90 ; absolute positioning

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        Phaedrux Moderator
                                        last edited by Phaedrux 11 May 2018, 01:13 5 Nov 2018, 01:05

                                        If you're wired up the way its shown in that diagram you've got the wrong heater pin unbound. You've got 8 instead of 7 in M307.

                                        Heater pin 3 is also commonly used. Either way, check your config-override.g to see if there is a heater binding being applied after you've removed it.

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          Phaedrux Moderator
                                          last edited by 5 Nov 2018, 01:32

                                          You'll also have to modify your homeall and home z files to use G30 instead of G1 S1 Z-200

                                          Z-Bot CoreXY Build | Thingiverse Profile

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