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

    Intermittent WiFi Connection at Startup

    Scheduled Pinned Locked Moved
    General Discussion
    8
    46
    2.5k
    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.
    • MintyTreborundefined
      MintyTrebor @Exerqtor
      last edited by

      @exerqtor I run Unifi AC Pro's too, and there are a couple of things I have found which improved connection stability for me with my printers and other home automation equipment (largely all ESP based wifi devices).

      1. Create a wifi network which operates in the 2.4gh band only - Many simpler wifi devices can have trouble with wifi access points that use the same network name on both 2.4 & 5Ghz bands.
      2. If you are running more than 1 Unifi AC Pro AP, then use the Unifi control software to force the printer to connect to the AP that is nearest/best signal. The automated processes that should manage this do not allways operate as expected.

      Other things to consider - even if your network configuration hasn't changed, the environment its operating in might have... eg An external wifi network may have switched channels, or a new one has been setup which is causing interference...It might be worth running the channel scanning tools available in the Unfi control software to see if anything has changed.

      NodeDSF - Native Node-Red integration with Duet boards.
      BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
      ReleaseMgr - Duet update info inside DWC.
      Repo

      tfjieldundefined 1 Reply Last reply Reply Quote 0
      • tfjieldundefined
        tfjield @MintyTrebor
        last edited by

        @mintytrebor
        Good advice! In my case my 2.4 GHz network has a separate SSID just for that reason, iot devices often aren't smart enough to navigate a dual network.

        I have had these issues with the Duet since day one. I added another AP to try to improve the situation, but it didn't help. And I recently scanned everything to make sure all was clear.

        Seems a bit coincidental that both of us with problems are running Unifi... It's not THAT common. But could be a coincidence.

        I really think there's either some kind of race condition. I thought it might be a voltage stabilization issue at startup, but since I get the same problems when I deactivate and reactivate the WiFi module, I don't think that makes sense.

        1 Reply Last reply Reply Quote 0
        • tfjieldundefined
          tfjield @Exerqtor
          last edited by

          @exerqtor
          But the fact you didn't have problems with the Duet 2 suggests that it's not the network and something about the specific Duet board...

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

            When and where did you purchase the Duet 2 Wifi?

            Z-Bot CoreXY Build | Thingiverse Profile

            tfjieldundefined 1 Reply Last reply Reply Quote 0
            • tfjieldundefined
              tfjield @Phaedrux
              last edited by

              @phaedrux
              It came with my Modix printer. I received it about 2 weeks ago. It was shipped with the other parts direct from China.

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

                Do you have another spare access point to test with? It would be good to isolate the issue before we go through the trouble of warranty replacement incase that won't actually solve the issue.

                Z-Bot CoreXY Build | Thingiverse Profile

                tfjieldundefined 1 Reply Last reply Reply Quote 0
                • tfjieldundefined
                  tfjield @Phaedrux
                  last edited by

                  @phaedrux
                  I do. It had the same problem with the AP in the house, so I thought maybe it needed a higher signal strength, so I put a new AP close to it. (The strength was good already, but I didn't want to be blasting everything else indoors if it needed more.) But I can crank up the indoor power temporarily and try connecting to that one again (different SSID's, so that's easy) to see if it makes a difference.

                  I can't do this until Monday, though. I'm sitting in a plane just about to take off! ☺️

                  oliofundefined 1 Reply Last reply Reply Quote 0
                  • oliofundefined
                    oliof @tfjield
                    last edited by

                    @tfjield is that still another Unifi AP, or some other make/model?

                    <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                    tfjieldundefined 2 Replies Last reply Reply Quote 1
                    • tfjieldundefined
                      tfjield @oliof
                      last edited by

                      @oliof It's Unifi. The current is model UAP, and the other one I can test is U6-LR.

                      1 Reply Last reply Reply Quote 0
                      • tfjieldundefined
                        tfjield @oliof
                        last edited by tfjield

                        @oliof @Phaedrux
                        I may have found something. On a hunch, I decided to replace the SD card with a faster one, thinking that there might be some kind of race condition occurring during startup.

                        The card that came with it is a SanDisk Edge 8 GB class 4. Here's a stock image of the card:
                        43983426-2011-4549-a057-036e0fd23447-image.png

                        I replaced it with a SanDisk Ultra.

                        With the original card it would boot and connect to WiFi no more than half the time. After replacing the card, it's connected 5 out of 5 reboots. I'll continue testing, but it seems much better!

                        EDIT: This is on the same AP; I've only changed the card.

                        Exerqtorundefined 1 Reply Last reply Reply Quote 2
                        • Exerqtorundefined
                          Exerqtor @tfjield
                          last edited by

                          @tfjield Interesting, keep us updated on this please 😅

                          tfjieldundefined 1 Reply Last reply Reply Quote 0
                          • tfjieldundefined
                            tfjield @Exerqtor
                            last edited by

                            @exerqtor
                            With the new card I've rebooted about 18 times so far, and it's only failed twice. Looks like a significant improvement, but not 100%.

                            To be completely sure it's not something else, I'll swap the old card back in later and see what happens.

                            tfjieldundefined 1 Reply Last reply Reply Quote 0
                            • tfjieldundefined
                              tfjield @tfjield
                              last edited by

                              Well, it turns out that this was not the fix. As time went on, the number of times it would fail vs. the number of times that it would succeed has increased a lot. We're back to 50/50 or greater failure rate.

                              To this day, once the WiFi is connected I have never lost connection.

                              I suppose this could be a hardware problem, but it sure seems more like some kind of race condition. Is there anything I can do to help determine the root cause for the failure?

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

                                Can you snag a close up pic of the soldering on the wifi module?

                                Z-Bot CoreXY Build | Thingiverse Profile

                                tfjieldundefined 1 Reply Last reply Reply Quote 0
                                • tfjieldundefined
                                  tfjield @Phaedrux
                                  last edited by

                                  @phaedrux
                                  These aren't great... Is there something specific you're looking for? If so, I can try to highlight it better. And these were with a cell phone camera... If these aren't good enough, I can pull out the USB microscope.

                                  3e9385d7-c377-4099-97c2-7cc2206bc1ff-image.png
                                  3a1fa8ce-e5b0-48bb-9b83-9f24cf0dc074-image.png

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

                                    Thanks for the photos. I will pass them on for evaluation.

                                    Z-Bot CoreXY Build | Thingiverse Profile

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

                                      I don't suppose you could get some better photos? Might have to take the board out.

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      tfjieldundefined 2 Replies Last reply Reply Quote 0
                                      • tfjieldundefined
                                        tfjield @Phaedrux
                                        last edited by

                                        @phaedrux Sure, I can get better photos. Anything in particular I should try to capture? Are you looking for a cold solder joint? Perhaps it would be better if I viewed it from a 45° angle...

                                        1 Reply Last reply Reply Quote 0
                                        • tfjieldundefined
                                          tfjield @Phaedrux
                                          last edited by

                                          @phaedrux Here are some better pictures. I tried to image near the pads on the bottom.

                                          d0513ec0-a96d-4d60-ba40-692b4a4e6a61-image.png
                                          7c30bcab-50f7-45b0-a687-0dec6e741e8b-image.png
                                          43854fcc-afd2-461a-9987-0d9c2fcc1aa8-image.png
                                          5824e79f-dc7c-45c4-a3f0-ffd53c6c8e74-image.png

                                          That's about the best I can do.

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

                                            Thanks I'll pass those along.

                                            Z-Bot CoreXY Build | Thingiverse Profile

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