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

    Help me get connected to my Duet2Wifi

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    6
    126
    6.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.
    • Kwad3dundefined
      Kwad3d @Phaedrux
      last edited by

      @Phaedrux So I think Im done setting up the machine. I got a message when sending M500 so save my pid tune saying "Warning: M500: No M501 command was executed in config.g"

      Do I just add M501 after the last line in config.g or am I good to turn it off now?

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

        @Kwad3d said in Help me get connected to my Duet2Wifi:

        Do I just add M501 after the last line in config.g

        Yeah you need to add M501 at the end of config.g to load the saved values at boot from config-override.g.

        The saved values are still there in config-override.g whether you turn it off or not.

        Z-Bot CoreXY Build | Thingiverse Profile

        Kwad3dundefined 1 Reply Last reply Reply Quote 0
        • Kwad3dundefined
          Kwad3d @Phaedrux
          last edited by

          @Phaedrux Hi again. So I ran into a issue with my bed leveling. When I got the probe grid mapped out for my printer I used the hight map to manually level the bed. I did such a good job that I never noticed that the printer was not compensating for irregularities. I recently changed the build surface and now my mesh is no longer as flat as I posted in the pic. Now Im noticing that the printer is not adjusting the z axis for a good first layer. What to I need to do to turn on leveling based off the generated hight map?

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

            The heightmap is not loaded at startup automatically. You need to either use G29 to create a fresh map, or use G29 S1 to load the previously created heightmap. That would usually happen in your slicer start gcode after the axis have been homed (and Z has been homed with the probe).

            Z-Bot CoreXY Build | Thingiverse Profile

            Kwad3dundefined 1 Reply Last reply Reply Quote 0
            • Kwad3dundefined
              Kwad3d @Phaedrux
              last edited by

              @Phaedrux Yea I have G29 in my start G code but the Z axis makes no adjustments to follow the mesh. Here is my G code.

              G28 ; home all axes
              G29 S1
              G1 Z5 F3000 ; lift
              G1 X10 Y10 F1500 ; move to prime
              G1 Z0.2 F3000 ; get ready to prime
              G92 E0 ; reset extrusion distance
              G1 X120 E15 F600 ; prime nozzle
              G1 X140 F5000 ; quick wipe-

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

                How are you determining that it's not compensating?

                If you send M122 after the print is started, does it show "compensation: mesh"?

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • Kwad3dundefined
                  Kwad3d
                  last edited by

                  I marked my Z motor's 20T gear with a black line. There is no movement other than adjusting for a new layer. I entered M122 in the console and this is what came back

                  M122
                  === Diagnostics ===
                  RepRapFirmware for Duet 2 WiFi/Ethernet version 3.1.1 running on Duet WiFi 1.02 or later
                  Board ID: 08DJM-9178L-L4MSJ-6JTD8-3S86L-K826N
                  Used output buffers: 3 of 24 (21 max)
                  === RTOS ===
                  Static ram: 27980
                  Dynamic ram: 93912 of which 52 recycled
                  Exception stack ram used: 648
                  Never used ram: 8480
                  Tasks: NETWORK(ready,268) HEAT(blocked,1224) MAIN(running,1732) IDLE(ready,80)
                  Owned mutexes: WiFi(NETWORK)
                  === Platform ===
                  Last reset 105:28:54 ago, cause: software
                  Last software reset at 2020-12-31 07:13, reason: User, spinning module GCodes, available RAM 8528 bytes (slot 3)
                  Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task MAIN
                  Error status: 0
                  MCU temperature: min 40.1, current 40.5, max 40.7
                  Supply voltage: min 23.8, current 23.9, max 24.2, under voltage events: 0, over voltage events: 0, power good: yes
                  Driver 0: ok, SG min/max 0/126
                  Driver 1: standstill, SG min/max 0/1023
                  Driver 2: standstill, SG min/max not available
                  Driver 3: ok, SG min/max not available
                  Driver 4: standstill, SG min/max not available
                  Date/time: 2021-01-04 16:43:33
                  Cache data hit count 4294967295
                  Slowest loop: 88.77ms; fastest: 0.14ms
                  I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
                  === Storage ===
                  Free file entries: 9
                  SD card 0 detected, interface speed: 20.0MBytes/sec
                  SD card longest read time 1.3ms, write time 41.5ms, max retries 0
                  === Move ===
                  Hiccups: 0(0), FreeDm: 166, MinFreeDm: 154, MaxWait: 0ms
                  Bed compensation in use: mesh, comp offset 0.000
                  === MainDDARing ===
                  Scheduled moves: 2501, completed moves: 2493, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: 3
                  === AuxDDARing ===
                  Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1
                  === Heat ===
                  Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
                  Heater 0 is on, I-accum = 0.2
                  Heater 1 is on, I-accum = 0.5
                  === GCodes ===
                  Segments left: 1
                  Movement lock held by null
                  HTTP is idle in state(s) 0
                  Telnet is idle in state(s) 0
                  File is doing "G1 X120.948 Y165.948 E2.6605" in state(s) 0
                  USB is idle in state(s) 0
                  Aux is idle in state(s) 0
                  Trigger is idle in state(s) 0
                  Queue is idle in state(s) 0
                  Daemon is idle in state(s) 0
                  Autopause is idle in state(s) 0
                  Code queue is empty.
                  === Network ===
                  Slowest loop: 201.12ms; fastest: 0.09ms
                  Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
                  HTTP sessions: 1 of 8

                  • WiFi -
                    Network state is active
                    WiFi module is connected to access point
                    Failed messages: pending 0, notready 0, noresp 1
                    WiFi firmware version 1.23
                    WiFi MAC address bc:dd:c2:31:a5:92
                    WiFi Vcc 3.40, reset reason Unknown
                    WiFi flash size 4194304, free heap 22840
                    WiFi IP address 192.168.1.10
                    WiFi signal strength -54dBm, reconnections 0, sleep mode modem
                    Socket states: 0 4 0 0 0 0 0 0
                  fcwiltundefined 1 Reply Last reply Reply Quote 0
                  • fcwiltundefined
                    fcwilt @Kwad3d
                    last edited by

                    @Kwad3d said in Help me get connected to my Duet2Wifi:

                    I marked my Z motor's 20T gear with a black line. There is no movement other than adjusting for a new layer. I entered M122 in the console and this is what came back

                    The movement can be very hard to see if you are looking at the gear.

                    Affix a pointer of some sort to magnify the apparent movement. I use a 50mm nail held to the lead screw with a small magnet.

                    Once I did that I could see the mesh adjustments.

                    Frederick

                    Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                    Kwad3dundefined 1 Reply Last reply Reply Quote 0
                    • Kwad3dundefined
                      Kwad3d @fcwilt
                      last edited by

                      @fcwilt Its not moving. I have 17 printers in the shop and I can visually see the z axis move when compensating for irregularities in the bed. Also you should be able to feel minor adjustments if you lightly tough the pully on the Z motor as well. I mean I can place a 3mm spacer under the front of the bed where the z is homed to exaggerate a out of level platform to prove its not working but its simply a waste of my time as I can tell its not working. I'm not speculating...

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

                        M122 indicates it's active. What does the heightmap image look like? Did you re-create the mesh with G29 after changing the bed surface? Do you have any taper off set with M376?

                        This thread is very long at this point and this is a completely unrelated issue. It might be a good idea to start a new thread with all your config files, etc

                        Z-Bot CoreXY Build | Thingiverse Profile

                        Kwad3dundefined 1 Reply Last reply Reply Quote 0
                        • Kwad3dundefined
                          Kwad3d @Phaedrux
                          last edited by

                          @Phaedrux So Im having trouble with the Wifi connection again. Guessing my router reset or something. I identified the new address for the board but when I connect it says "Your Duet rejected the HTTP request: overflow". I went through the guide again and also referred to our previous messages on this chain but I can not figure it out. My research only comes up with a SD card problem but nothing changed besides the address on the router

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

                            So your router gave the duet a new IP address? Can you set a DHCP reservation in the router so that the duet can keep the same ip long term?

                            Z-Bot CoreXY Build | Thingiverse Profile

                            Kwad3dundefined 1 Reply Last reply Reply Quote 0
                            • Kwad3dundefined
                              Kwad3d @Phaedrux
                              last edited by

                              @Phaedrux said in Help me get connected to my Duet2Wifi:

                              DHCP reservation

                              Ok I figured it out and have it reserved

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

                                What URL are you using to try and reach the Duet?

                                Z-Bot CoreXY Build | Thingiverse Profile

                                Kwad3dundefined 3 Replies Last reply Reply Quote 0
                                • Kwad3dundefined
                                  Kwad3d @Phaedrux
                                  last edited by

                                  @Phaedrux 192.168.1.3

                                  1 Reply Last reply Reply Quote 0
                                  • Kwad3dundefined
                                    Kwad3d @Phaedrux
                                    last edited by

                                    @Phaedrux I connected to YAT and went through the steps in the guide and confirmed the URL

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

                                      Have you tried a new SD card yet in case the /www folder has been corrupted?

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      1 Reply Last reply Reply Quote 0
                                      • Kwad3dundefined
                                        Kwad3d @Phaedrux
                                        last edited by

                                        @Phaedrux I also turned off all other wifi devices and deleted them from my router for now untill I get the duet connected

                                        1 Reply Last reply Reply Quote 0
                                        • Kwad3dundefined
                                          Kwad3d
                                          last edited by

                                          Just copy to a new card?

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

                                            Yes you can copy to a new card, but I would manually replace the contents of the /www folder with a known good download of the DWc files just in case.

                                            Assuming you're on 3.2, you should replace the contents of /www with the contents of this zip file.

                                            https://github.com/Duet3D/RepRapFirmware/releases/download/3.2/DuetWebControl-SD.zip

                                            Z-Bot CoreXY Build | Thingiverse Profile

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