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.
    • 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
                                • dc42undefined
                                  dc42 administrators @tfjield
                                  last edited by dc42

                                  @tfjield thanks for the photos.

                                  I think the soldering is OK. The WiFi modules have gold plated recesses on the sides - see photo below. The solder appears to have wicked up int those recesses, so it should be making good contact.

                                  2022-07-07 09.01.23.jpg

                                  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

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

                                    @dc42

                                    Haven't restarted my machine in a while, but i had to now due to some maintenance. And when i try to turn it back on it's doing this crap again 😖

                                    I'm on my 16th power toggle now without it connecting / starting the wifi module or what the F's actually going on.

                                    It must be something fishy on the FW side causing this since it's happening on/off like it is, were it an HW issue the fault should persist shouldn't it?

                                    EDIT:
                                    To be clear since i forgot to mention it, i'm running all the latest FW (3.4.4).

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

                                      @Exerqtor What do the solder points on the edges of the wifi module look like on your board?

                                      If you use a PanelDue or USB terminal, can you send the M552 S1 commands to enable the module and see if it reports any errors?

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      Exerqtorundefined 1 Reply Last reply Reply Quote 0
                                      • Exerqtorundefined
                                        Exerqtor @Phaedrux
                                        last edited by Exerqtor

                                        @Phaedrux said in Intermittent WiFi Connection at Startup:

                                        @Exerqtor What do the solder points on the edges of the wifi module look like on your board?

                                        Pretty much a carbon copy of tfjield's ones. So i don't think it's a HW issue tbh.

                                        If you use a PanelDue or USB terminal, can you send the M552 S1 commands to enable the module and see if it reports any errors?

                                        Yeah i've got a due, but nothing happen if i just input M552 S1. This is the error i get if i restart the module or machine at least:
                                        alt text

                                        EDIT;
                                        Have you found a solution or work-arround for this @tfjield? Or have you just also had the machine in a steady on-state the last 4 months? 😅

                                        Phaedruxundefined tfjieldundefined 2 Replies Last reply Reply Quote 0
                                        • Phaedruxundefined
                                          Phaedrux Moderator @Exerqtor
                                          last edited by

                                          @Exerqtor How old is your board? Do you feel comfortable giving the solder points a touch with an iron and a dab of fresh solder?

                                          Z-Bot CoreXY Build | Thingiverse Profile

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

                                            @Phaedrux said in Intermittent WiFi Connection at Startup:

                                            @Exerqtor How old is your board? Do you feel comfortable giving the solder points a touch with an iron and a dab of fresh solder?

                                            Uhm i'm not 100% sute to be honest!
                                            But yeah i'll pull out the iron and some flux paste and give it a reflow tomorrow and see if it does anything ✌️

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