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

    Converting the Duet WiFi to use an external antenna

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    10
    27
    10.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.
    • dc42undefined
      dc42 administrators
      last edited by

      Are you putting the ssid and password inside double quote characters?

      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
      • fmaundefined
        fma
        last edited by

        Yes. I tried with Pronterface (using single quote to prefix each lower case char), and with minicom. Same error each time.

        Whatever I use as S/P values, I get the error.

        Did I fry the esp module? I don't think, as the firmware was successfully updated, but…

        Frédéric

        1 Reply Last reply Reply Quote 0
        • fmaundefined
          fma
          last edited by

          I just upgraded to lastest stable firmwares (1.20), and all is now working fine!

          Frédéric

          1 Reply Last reply Reply Quote 0
          • fmaundefined
            fma
            last edited by

            I have a question… M122 returns:

            WiFi signal strength -73dBm
            
            

            But my router says:

            Signal    Noise     RX Rate       TX Rate
            -59 dBm   -89 dBm   54.0 Mbit/s   65.0 Mbit/s
            
            

            Why is there such difference in signal level? In fact, while I'm now using the ESP-07 with a +6dB gain antenna, the signal level returned by M122 didn't changes that much (I think I was around -75dB before)…

            Frédéric

            1 Reply Last reply Reply Quote 0
            • garyd9undefined
              garyd9
              last edited by

              Large differences is wifi signal strength are normal for differing wifi devices. Each one "hears" the other differently. This can be due so many different factors it's impractical to enumerate. Usually, it's different radio power, different antennas, or different propagation paths.

              In your case, it appears the router has "bigger ears" (better antenna.)

              "I'm not saying that you are wrong - I'm just trying to fit it into my real world simulated experience."

              1 Reply Last reply Reply Quote 0
              • fmaundefined
                fma
                last edited by

                Ok, I see.

                But why switching from the default ESP (no antenna) to the new one (6dB gain antenna) didn't change that much the signal strength returned by the Duet?

                I don't have signal values given by the router with the default ESP (didn't think to read it at the time); so I don't know if it really changed. But the thing is I know have a much better connection: transfers are very fast and I don't get any disconnection anymore.

                Frédéric

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

                  If M122 is telling you that the signal strength is -73dBm now, that is already very low. If it was even lower before, that would explain the disconnections you had.

                  Which wifi channel is your router set to? Does the reported signal strength vary if you switch between channels 1, 6 and 11?

                  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
                  • fmaundefined
                    fma
                    last edited by

                    Yes, it is low. But, as said, real transmissions work much better and faster, now. And no more disconnection.

                    I will make tests with different channels (I think I'm on channel 1 - the router is in auto and chose this one).

                    Frédéric

                    1 Reply Last reply Reply Quote 0
                    • parovoZZundefined
                      parovoZZ
                      last edited by

                      Hi!

                      I have WiFi signal strength -61dBm in three meters from the router. The ESP-07 has a very very weak antenna ((
                      I will change to ESP-07S or connect external to ESP-07.
                      Laptop, iPhone, Nokia etc. - everything works fine.

                      1 Reply Last reply Reply Quote 0
                      • fmaundefined
                        fma
                        last edited by

                        I used a wifi analyser on my phone, and noticed that there where 3 other AP on channel 1. In fact, it depends where I am in the house, and on the AP side, they are not detected. So the AP chose this channel. But on the printer side, they where as powerfull as my AP!

                        I moved to channel 3, unused by other wifi AP, and I now have -66dB strength…

                        Frédéric

                        1 Reply Last reply Reply Quote 0
                        • ephemerisundefined
                          ephemeris
                          last edited by

                          Will this be available as a build option?

                          1 Reply Last reply Reply Quote 0
                          • martinsundefined
                            martins
                            last edited by

                            ESP-07S sold out in RS-online 🙂 how thats possible

                            1 Reply Last reply Reply Quote 1
                            • S1lencerundefined
                              S1lencer
                              last edited by

                              Hi, i have a problem since i changed the Module.
                              I can only connect to the Duet Wifi in Accesspoint mode. If i change it to M552S1 it only says: Wifi reported error: no known networks found.
                              The wifi is defenitly present.
                              Did flash the right firmware files main as also the Wifiserver one.
                              Running 1.21

                              Anyone a clue why this could be?

                              1 Reply Last reply Reply Quote 0
                              • S1lencerundefined
                                S1lencer
                                last edited by

                                Got the Problem solved.
                                David, i think the firmware 1.21 has a problem with loading the M587 with the Router data from the config.g to the remembered list.
                                Got my problem solved with Repetier host, did send the M587 with ssid and password via g-code console.

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

                                  @S1lencer:

                                  Got the Problem solved.
                                  David, i think the firmware 1.21 has a problem with loading the M587 with the Router data from the config.g to the remembered list.
                                  Got my problem solved with Repetier host, did send the M587 with ssid and password via g-code console.

                                  How did you send the M587 command originally?

                                  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
                                  • S1lencerundefined
                                    S1lencer
                                    last edited by

                                    Via the config script

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

                                      Sending M587 in config.g isn't going to work, because the wifi module doesn't get enabled until the end of running config.g. That's why I suggest using a macro to send those commands.

                                      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 1
                                      • S1lencerundefined
                                        S1lencer
                                        last edited by

                                        Ok for the next time i will do that.
                                        Should be mentioned in the Wiki.

                                        1 Reply Last reply Reply Quote 1
                                        • TheBasedDogeundefined TheBasedDoge referenced this topic
                                        • infiniteloopundefined infiniteloop referenced this topic
                                        • First post
                                          Last post
                                        Unless otherwise noted, all forum content is licensed under CC-BY-SA