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

    Duet Wifi setup - need help

    Scheduled Pinned Locked Moved
    General Discussion
    8
    79
    13.7k
    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.
    • 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
                                  • ScotYundefined
                                    ScotY
                                    last edited by

                                    Oops, that was a typo…there is a space between the 3 and S. The funny thing is I changed it back to how it was originally (when the motor was working, just running backwards) and it still doesn't work. I've powered down, refreshed the web interface, and still doesn't work.

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

                                      Could you post your config.g here, please?

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

                                        There should be a line like:

                                        M563 P0 D0 H1 ; Define tool 0 to use extruder drive 0 and heater 1

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

                                          Also regarding the power from USB question:

                                          Specifically, the board can always safely be powered by USB

                                          https://duet3d.com/wiki/Power_wiring

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

                                            Hey Tim,
                                            Here it is…

                                            ; Configuration file for Duet WiFi (MP Select Mini)
                                            ; executed by the firmware on start-up
                                            ;
                                            ; generated by RepRapFirmware Configuration Tool on Tue Sep 27 2016 08:50:26 GMT-1000 (Hawaiian Standard Time)

                                            ; General preferences
                                            M111 S0 ; Debugging off
                                            G21 ; Work in millimetres
                                            G90 ; Send absolute coordinates...
                                            M83 ; ...but relative extruder moves
                                            M555 P2 ; Set firmware compatibility to look like Marlin
                                            M208 X0 Y0 Z0 S1 ; Set axis minima
                                            M208 X120 Y120 Z120 S0 ; Set axis maxima

                                            ;Wifi Networking (may not need this section)
                                            ;M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address
                                            ;M552 S1 ; Enable WiFi

                                            ; Endstops
                                            M574 X1 Y1 Z0 S0 ; Define active low and unused microswitches
                                            M558 P1 X0 Y0 Z1 H5 F120 T1200 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds
                                            G31 P500 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height

                                            ; Drives
                                            M569 P0 S1 ; Drive 0 goes forwards S1=forwards S0=reversed
                                            M569 P1 S1 ; Drive 1 goes forwards
                                            M569 P2 S0 ; Drive 2 goes forwards
                                            M569 P3 S0 ; Drive 3 goes forwards
                                            M350 X16 X16 X16 X16 I0 ; Configure microstepping without interpolation
                                            M92 X93 Y93 Z1097.5 E406 ; Set steps per mm
                                            M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
                                            M203 X1500 Y1500 Z180 E1200 ; Set maximum speeds (mm/min)
                                            M201 X800 Y800 Z20 E1000 ; Set accelerations (mm/s^2)
                                            M906 X800 Y800 Z600 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent
                                            M84 S30 ; Set idle timeout

                                            ; 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

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

                                            ; Network
                                            M550 PMP Select Mini ; Set machine name
                                            M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP

                                            ; 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 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
                                            M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

                                            ; Custom settings are not configured

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