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

    Duet Wifi setup - need help

    Scheduled Pinned Locked Moved
    General Discussion
    8
    79
    13.8k
    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.
    • dc42undefined
      dc42 administrators
      last edited by

      I don't advise starting from the Mini Kossel files for a Cartesian printer because too many things need to change. Try the online configuration tool. During initial testing, it's useful to reduce the motor currents and homing speeds, to reduce the risk of damage if you don't get the files quite right.

      For PID settings, things changed with the 1.15 release. See https://duet3d.com/wiki/Tuning_the_heater_temperature_control.

      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
      • ScotYundefined
        ScotY
        last edited by

        Where can I find the online configuration tool?

        Can I use this for my PID settings? It's what I was using before and, while not perfect, it worked well enough.
        M301 H1 P30 I0.02 D150
        M304 H0 P10 I0.02 D305

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

          You will need to change the PID settings as described in the page I linked to. Another user linked to the configuration tool a few posts back.

          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
          • ScotYundefined
            ScotY
            last edited by

            Thanks, I'm not sure how I missed that…I'm in the process of using the configuration tool and have some questions.

            1. I'm assuming to set Reprap for the firmware compatibility? I'm just confused as the default config.g file says set output to look like Marlin.

            2. The settings I pulled from my old control board for acceleration was this:
            M201 X800 Y800 Z20 E10000
            Do these settings sound right and should I use them in the configurator?

            3. I don't understand the tool mapping page. Do I need to set anything here? The printer is a simple cartesian printer with heated bed and a single nozzle.

            4. What should my motor currents be set to? I'm installing the Duet Wifi into a Monoprice Mini Select and it uses JKong JK42HS34-1334AC-02F motors on X, Y, and extruder. The Z-axis motor is a weird round can motor with no markings.

            JKong motor specs:
            Current/phase 1.33 amps
            Resistance/phase 2.1 ohms
            Inductance/phase 2.5mH

            1 Reply Last reply Reply Quote 0
            • elmoretundefined
              elmoret
              last edited by

              1.) Either should be OK, I'd probably stick with Marlin.
              2.) Those settings are reasonable
              3.) Should be fine leaving as is
              4.) I'd do the defaults (800mA)

              That should get you up and running, you can tweak from there.

              1 Reply Last reply Reply Quote 0
              • ScotYundefined
                ScotY
                last edited by

                Thanks! Any idea why the z-axis acceleration is so low and the extruder so high?

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

                  Your extruder acceleration looks rather high to me, although it may be OK if it is a direct drive extruder with only about 100 steps/mm. I suggest you reduce it to 3000.

                  It's normal to use a low Z acceleration when the Z axis is driven by a threaded rod and has a very high steps/mm.

                  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
                  • ScotYundefined
                    ScotY
                    last edited by

                    Good morning!

                    The extruder is a bowden type with a relatively short tube length, i.e. small printer. Steps/mm is 406.

                    The z-axis is driven by a finely threaded rod and is 1097 steps/mm.

                    I wish to integrate the infrared sensor, mine is a v1,1 version, I believe. As stock, the printer has a microswitch for the z-axis. Do I understand correctly that I do not use this micro switch for the z any longer?

                    Sounds like it's time for me to cut off the many JST style connectors from my printer and attach the Molex type. I have been holding off until I figured out enough about the Duet Wifi so as to minimize my down time.

                    Thanks again for all the help!

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

                      Your extruder evidently has gearing of around 3:1, so you should definitely reduce the extruder acceleration to 1000-3000 until you have time to test what it is capable of.

                      If you use the IR probe for Z homing on a Cartesian or CoreXY printer, then you don't need a Z microswitch. But you don't need to disconnect it either, so you may as well leave it in place and connected for now. That will give you a choice of how to do Z homing.

                      I assume your JST connectors are the ones with a pitch finer than 2.54mm, not the Molex-compatible ones.

                      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
                      • ScotYundefined
                        ScotY
                        last edited by

                        Hello,

                        Yes, you are correct, I'm using a E3D Titan extruder. Thank you, I will follow your advice.

                        The JST connectors seem to have the same pin spacing but I think the holes the pins go into are smaller? I tried to push them on but they didn't seem to want to go. Didn't want to break anything. Should they fit enough for testing? I'm thinking I really need to extend all the wiring as it's looking pretty tight in the enclosure and perhaps I should mount the Duet outside.

                        1 Reply Last reply Reply Quote 0
                        • ScotYundefined
                          ScotY
                          last edited by

                          Ah, I should look closer before typing! The JST connectors indeed will fit onto the Duet board. The stepper motor wire coloring does not match up though. I am assuming it will be okay and rotation direction can be changed by editing the config.g?
                          Duet colors are - red/blue/green/black
                          Current wiring will be - green/black/red/blue
                          I do show resistance between the green/black and red/blue pairs so I assume this is all normal and will work.

                          1 Reply Last reply Reply Quote 0
                          • ScotYundefined
                            ScotY
                            last edited by

                            Okay…for some reason, I thought if you connect 12v to the board, you should not connect the USB simultaneously? Is this correct?

                            1 Reply Last reply Reply Quote 0
                            • ScotYundefined
                              ScotY
                              last edited by

                              I have everything wired up and 12v applied to the board. The LEDs are lit up but I don't really know what they mean. I can connect to the board via the web interface, but cannot connect in my slicer (Simplify3D). I'm assuming I need to connect the USB cable? If so, do I need to move a jumper beforehand?

                              1 Reply Last reply Reply Quote 0
                              • ScotYundefined
                                ScotY
                                last edited by

                                I've read the Wiki again and it's not clear to me. I don't want to feed power back into my computer if I connect the USB. Puzzled…

                                1 Reply Last reply Reply Quote 0
                                • elmoretundefined
                                  elmoret
                                  last edited by

                                  You don't need to connect via S3D, just use it to save .gcode files and upload those via the web interface. No need to connect USB.

                                  1 Reply Last reply Reply Quote 0
                                  • ScotYundefined
                                    ScotY
                                    last edited by

                                    I'm have my extruder connected to E0 Heat and the thermistor on E0 Temp. I can see the temperature reading but the heater doesn't turn on using the web interface. I can get the bed to turn on and warm up with a correct temperature reading. Once again, I am confused.
                                    This is what is in the config.g below:

                                    ; Heaters
                                    M143 S260 ; Set maximum heater temperature to 260C
                                    M570 S150 ; Set maximum heating time to 150s
                                    M305 P0 T100000 B3950 C0.0000000000000000 R4700 L0 H0 ; Set thermistor + ADC parameters for heater 0
                                    M305 P1 T100000 B3950 C0.0000000000000000 R4700 L0 H0 ; Set thermistor + ADC parameters for heater 1

                                    1 Reply Last reply Reply Quote 0
                                    • ScotYundefined
                                      ScotY
                                      last edited by

                                      Thank you, elmoret. I know it's not recommended to print via USB but I kind of like it. Seems easiest for me. Maybe I can learn to do it another way.

                                      1 Reply Last reply Reply Quote 0
                                      • ScotYundefined
                                        ScotY
                                        last edited by

                                        Well crap, I figured out why the nozzle wasn't heating up! I clicked on the Heater 1 in the web interface and it went from standby to active. What purpose does this serve, aside from challenging newbies?

                                        1 Reply Last reply Reply Quote 0
                                        • ScotYundefined
                                          ScotY
                                          last edited by

                                          Latest issue…extruder motor was running the wrong way. Changed M569 P3 S1 to M569 P3S0. This worked to reverse a different motor earlier today. Now, in the web interface, I cannot get the extruder motor to turn and get this error message:

                                          M120
                                          M83
                                          G1 E-5 F600
                                          M121
                                          Attempting to extrude with no tool selected.

                                          So...what the heck did I do wrong now?

                                          1 Reply Last reply Reply Quote 0
                                          • elmoretundefined
                                            elmoret
                                            last edited by

                                            There are two heaters in the web interface because some printers have two extruders.

                                            If you changed it to "M569 P3S0", the problem is not having a space between 3 and S.

                                            Also, if you flip the connector on a stepper motor, it will reverse motor direction.

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