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

    Struggling with New Board

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    12
    1.4k
    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.
    • retroglyphundefined
      retroglyph
      last edited by

      New to Duet Wifi - Apparently I need lots of help

      I got my Duet Wifi yesterday. Today, I removed an MKS sbase "smoothie" from my delta - all the components were working, but the motion got unpredictable at higher speeds. I have got some things working and not others.

      Not working:
      WiFi - I've got the Duet Wifi connected via USB to my Win 7 machine. I've found it as Duet on COM9. I've connected to it via Pronterface and issued M552 S1. From there it just seems to hang. I wait 30 seconds, then 30 more… I doesn't seem to show up on wifi. On the Windows 7 machine, I can open an explorer and see the web interface. Should the blue light on the wifi come on and stay on? It comes on when connecting to pc via usb for a moment, but then goes off. Is there a definitive "light chart" in regards to every LED and status?

      Fans - my always on fan works fine directly connected to 12v power supply. However, I think I have already fried my PWM Fan0 connection. On previous board, I had 3 12volt cooling fans connected to the "fan" connection. It worked. On the duet, I connected all three fans to Fan0. I think I misunderstood the use of the jumper...as I had placed it to bridge V-fan and Vin. When I issued a M106 S50, I let the magic smoke out of that part of the board. I would really appreciate strategies for testing Fan0 (and remaining Fan1 and 2) and correctly setting the jumper for 12v. My power supply is 12v 5A, so I had assumed that Vin was 12v

      Bed Thermistor - my bed is heated with mains via SSR and the bed thermistor is in the correct location next to the bed connection. When I try to heat the bed, the SSR switches on and bed starts to warm, but the thermistor continues to read the ambient room temp. So, I end up switching the bed back off. I'll continue to read about how to configure for this thermistor, which says RRRF100K in my old smoothie config.

      It homes correctly and seems to move correctly. Hotend heats correctly and extruder seems to work. But, I could use some ideas to get the rest of it working.

      Thanks

      Steve

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

        @retroglyph:

        New to Duet Wifi - Apparently I need lots of help

        That's what we're here to do!

        @retroglyph:

        WiFi - I've got the Duet Wifi connected via USB to my Win 7 machine. I've found it as Duet on COM9. I've connected to it via Pronterface and issued M552 S1. From there it just seems to hang. I wait 30 seconds, then 30 more… I doesn't seem to show up on wifi. On the Windows 7 machine, I can open an explorer and see the web interface.

        Please explain the apparent contradiction between "I doesn't seem to show up on wifi" and "On the Windows 7 machine, I can open an explorer and see the web interface". If you can see the web interface, it must be attaching to your WiFi network.

        @retroglyph:

        Should the blue light on the wifi come on and stay on?

        In the current firmware, it should not stay on. We may change that in future firmware.

        @retroglyph:

        Fans - my always on fan works fine directly connected to 12v power supply. However, I think I have already fried my PWM Fan0 connection. On previous board, I had 3 12volt cooling fans connected to the "fan" connection. It worked. On the duet, I connected all three fans to Fan0. I think I misunderstood the use of the jumper…as I had placed it to bridge V-fan and Vin. When I issued a M106 S50, I let the magic smoke out of that part of the board. I would really appreciate strategies for testing Fan0 (and remaining Fan1 and 2) and correctly setting the jumper for 12v. My power supply is 12v 5A, so I had assumed that Vin was 12v

        Please check your wiring. I suspect you had the + and - fan wires swapped, or else a short in your fan wiring. Driving 3 normal brushless fans from one fan output is OK. Putting the jumper to connect VFAN to VIN is the correct way to select 12V fan power, assuming you are using 12V VIN.

        @retroglyph:

        Bed Thermistor - my bed is heated with mains via SSR and the bed thermistor is in the correct location next to the bed connection. When I try to heat the bed, the SSR switches on and bed starts to warm, but the thermistor continues to read the ambient room temp.

        I assume you have connected the bed heater output terminals to the SSR control terminals. Please share your config.g file. Did you allow enough time for the heat to reach the thermistor? Are you sure that the thermistor has not become detached? I can't think of any other reasons why it would continue to read room temperature, unless you have configured it to read another thermistor which is at room temperature.

        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
        • retroglyphundefined
          retroglyph
          last edited by

          dc42, Thank you for taking the time to reply. I really appreciate it.

          To directly respond to your questions:
          "Please explain the apparent contradiction between "I doesn't seem to show up on wifi" and "On the Windows 7 machine, I can open an explorer and see the web interface". If you can see the web interface, it must be attaching to your WiFi network."
          -My windows 7 machine is not set up for wifi, it is connected to internet via ethernet cable attached to a wired and wireless router. My other machines are connected to same network wirelessly. So, I can connect the duet to my win 7 machine via USB. I can use pronterface to control machine via usb and issue M552 commands. I can issue M552 S1 to get an IP address. I can enter that IP address in an explorer on windows 7 machine and see the web interface. However, if I enter that same IP address using my Mac, chromebook, android phone, android tablet, they can't see the web interface. Also, when I unplug the usb cable from the Windows 7 machine, I then lose the connection to the Duet. So, it doesn't seem to be connecting via Wifi, it appears to be connecting only via usb.

          "Please check your wiring. I suspect you had the + and - fan wires swapped, or else a short in your fan wiring. Driving 3 normal brushless fans from one fan output is OK. Putting the jumper to connect VFAN to VIN is the correct way to select 12V fan power, assuming you are using 12V VIN."
          -Ok, good to know that I had the jumpers correct. I've tried a single fan and still no love on fan0. I assume from the drawing that V_fan is positive and Fan0- is negative. Later, I'll test the subsequent fans to see if they are switching on with M106 or if I have blown the fan "area" .

          regarding the bed thermistor… I was being a moron. After the fan blew, I wasn't thinking clearly. I solved it

          Thank you

          Steve

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

            @retroglyph:

            dc42, Thank you for taking the time to reply. I really appreciate it.

            Support is part of what you paid for when you bought a Duet - assuming you bought a genuine one, not an AliExpress clone.

            @retroglyph:

            My windows 7 machine is not set up for wifi, it is connected to internet via ethernet cable attached to a wired and wireless router. My other machines are connected to same network wirelessly. So, I can connect the duet to my win 7 machine via USB. I can use pronterface to control machine via usb and issue M552 commands. I can issue M552 S1 to get an IP address. I can enter that IP address in an explorer on windows 7 machine and see the web interface.

            Then the WiFi connection must be working. The web interface won't work over USB.

            @retroglyph:

            However, if I enter that same IP address using my Mac, chromebook, android phone, android tablet, they can't see the web interface.

            That's the odd part. For the chromebook and Androids, you may need to type http:// before the IP address, otherwise they may assume https which isn't supported by the Duet. For Mac, I'm sorry I am not familiar with Macs - maybe someone else can help.

            @retroglyph:

            Also, when I unplug the usb cable from the Windows 7 machine, I then lose the connection to the Duet. So, it doesn't seem to be connecting via Wifi, it appears to be connecting only via usb.

            Have you put a jumper across the I_5V_EN pins (next to the V_FAN jumper block) to enable the internal 5V supply?

            @retroglyph:

            "Please check your wiring. I suspect you had the + and - fan wires swapped, or else a short in your fan wiring. Driving 3 normal brushless fans from one fan output is OK. Putting the jumper to connect VFAN to VIN is the correct way to select 12V fan power, assuming you are using 12V VIN."
            -Ok, good to know that I had the jumpers correct. I've tried a single fan and still no love on fan0. I assume from the drawing that V_fan is positive and Fan0- is negative.

            Correct.

            @retroglyph:

            Later, I'll test the subsequent fans to see if they are switching on with M106 or if I have blown the fan "area" .

            Try connecting a fan to one of the always-on fan connectors. If it doesn't work and you have the V_FAN jumper in place, you have blown the fan "area" as you put it, but there is a simple fix. If it works, then it is only the Fan0 mosfet that is blown. You still have 2 fan mosfets left, and the Fan0 mosfet can be replaced.

            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
            • retroglyphundefined
              retroglyph
              last edited by

              Thank you for the ideas. I needed to run to my son's basketball game. Now I've got time to work on this. I did buy an actual Duet Wifi from SeeMeCNC. Oddly, it was shy a jumper on the Z. So I stole a jumper from the I_5V_EN (which I wrongly assumed would give power to the always on fan) . I powered the always on fan directly from the power supply.

              I will now make a jumper from a defunct fan by twisting the wires together to enable internal 5volts. Will let you know how I get on.

              Thank you again

              1 Reply Last reply Reply Quote 0
              • retroglyphundefined
                retroglyph
                last edited by

                Inserted a homemade jumper into I_5V_EN. Now the Wifi is working. Duet is no longer connected to Windows 7 via usb. Now I can access 192.168.1.101 via Mac and Windows and Android. Thank you

                Also, I tested a single fan on an always on and it works. So, I'll go with the assumption I only fried just Fan0.

                For now, I just need to learn how to switch on fan1 via gcode

                Thank you

                1 Reply Last reply Reply Quote 0
                • retroglyphundefined
                  retroglyph
                  last edited by

                  OK, I am chipping away at this. I plugged a fan into Fan1. I entered M106 P1 S100. Fan went on. This is GREAT. I entered M107. Fan stayed on. I entered M107 P1. Fan stayed on. I entered M106 P1 S0 and fan went off. So, control is good.

                  I believe I need to now map the fan, something like this:
                  M563 P0 D0 H1 F1 ; Define tool 0

                  Now M106 S### works for on and M106 S0 works for off. But M107 doesn't turn off fan. Any ideas?

                  1 Reply Last reply Reply Quote 0
                  • deckingmanundefined
                    deckingman
                    last edited by

                    M107 is deprecated. You ought to be using M106 S0. So M106 P1 S0 should turn fan 1 off. M107 P1 S0. should also work I'd have thought but take note that I used P1. By default, I believe M107 will turn off fan 0 the same as M106 with no "P" parameter but as I said, you ought to use M106 Pn S0 (where n is the number of the fan that you want to control). Hope that hasn't confused you even more.

                    Ian
                    https://somei3deas.wordpress.com/
                    https://www.youtube.com/@deckingman

                    1 Reply Last reply Reply Quote 0
                    • retroglyphundefined
                      retroglyph
                      last edited by

                      Thank you for all your help. Now that my fan is mapped, the M106 commands work. I'll see if my cura is generating M106 S0 or M107.. but if M107 then it is an easy edit.

                      Thank you again.

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • deckingmanundefined
                        deckingman
                        last edited by

                        @retroglyph:

                        Thank you for all your help. Now that my fan is mapped, the M106 commands work. I'll see if my cura is generating M106 S0 or M107.. but if M107 then it is an easy edit.

                        Thank you again.

                        Steve

                        If it helps, SliC3R generates M107 commands and Duet still still responds to them so no need to edit Cura. Although the Wiki says that M107 is deprecated, that doesn't mean that it won't work (at least for now).

                        Ian
                        https://somei3deas.wordpress.com/
                        https://www.youtube.com/@deckingman

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

                          I just checked how M107 is implemented. It doesn't accept a P parameter and it always turns fan 0 off. I will change it to turn the mapped print cooling fan off in firmware 1.20RC3.

                          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
                          • retroglyphundefined
                            retroglyph
                            last edited by

                            Wow - awesome support. Thank you!

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