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

    WIFI Antenna Mounting

    Scheduled Pinned Locked Moved Solved
    General Discussion
    2
    15
    390
    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.
    • SonnyD1undefined
      SonnyD1 @Phaedrux
      last edited by

      @Phaedrux
      Send code...
      2/23/2023, 4:20:40 PM M122
      === Diagnostics ===
      RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.5 (2022-11-30 19:36:12) running on Duet WiFi 1.02 or later + DueX5v0.11
      Board ID: 0JD0M-9P6B2-NJ4S4-6JKFJ-3SJ6Q-T82AK
      Used output buffers: 1 of 26 (24 max)
      === RTOS ===
      Static ram: 23836
      Dynamic ram: 76448 of which 0 recycled
      Never used RAM 11796, free system stack 174 words
      Tasks: NETWORK(ready,13.5%,242) HEAT(notifyWait,0.0%,333) Move(notifyWait,0.0%,363) DUEX(notifyWait,0.0%,24) MAIN(running,86.1%,438) IDLE(ready,0.3%,30), total 100.0%
      Owned mutexes: WiFi(NETWORK)
      === Platform ===
      Last reset 00:03:54 ago, cause: power up
      Last software reset at 2023-02-23 16:02, reason: User, GCodes spinning, available RAM 11796, slot 1
      Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
      Error status: 0x00
      Aux0 errors 0,0,0
      Step timer max interval 0
      MCU temperature: min 35.2, current 39.8, max 40.1
      Supply voltage: min 23.9, current 24.1, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes
      Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
      Events: 0 queued, 0 completed
      Driver 0: standstill, SG min n/a
      Driver 1: standstill, SG min n/a
      Driver 2: standstill, SG min n/a
      Driver 3: standstill, SG min n/a
      Driver 4: standstill, SG min n/a
      Driver 5: standstill, SG min n/a
      Driver 6: standstill, SG min n/a
      Driver 7: standstill, SG min n/a
      Driver 8: standstill, SG min n/a
      Driver 9: standstill, SG min n/a
      Driver 10:
      Driver 11:
      Date/time: 2023-02-23 16:20:37
      Cache data hit count 4294967295
      Slowest loop: 11.39ms; fastest: 0.18ms
      I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
      === Storage ===
      Free file entries: 10
      SD card 0 detected, interface speed: 20.0MBytes/sec
      SD card longest read time 3.2ms, write time 0.0ms, max retries 0
      === Move ===
      DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
      === MainDDARing ===
      Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === AuxDDARing ===
      Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === Heat ===
      Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
      Heater 1 is on, I-accum = 0.0
      === GCodes ===
      Segments left: 0
      Movement lock held by null
      HTTP is idle in state(s) 0
      Telnet is idle in state(s) 0
      File is idle 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
      LCD is idle in state(s) 0
      Daemon is idle in state(s) 0
      Autopause is idle in state(s) 0
      Code queue is empty
      === DueX ===
      Read count 1, 0.26 reads/min
      === Network ===
      Slowest loop: 41.63ms; fastest: 0.00ms
      Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
      HTTP sessions: 1 of 8
      = WiFi =
      Network state is active
      WiFi module is connected to access point
      Failed messages: pending 0, notready 0, noresp 0
      WiFi firmware version 1.26
      WiFi MAC address f4:cf:a2:68:3b:2f
      WiFi Vcc 3.38, reset reason Power up
      WiFi flash size 2097152, free heap 18872
      WiFi IP address 192.168.1.243
      WiFi signal strength -41dBm, mode 802.11n, reconnections 0, sleep mode modem
      Clock register 00002002
      Socket states: 0 0 0 0 0 0 0 0

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

        @SonnyD1 said in WIFI Antenna Mounting:

        Do I have a short somewhere?

        Seems that way.

        Post your config.g and the results of M98 P"config.g" as well please.

        Z-Bot CoreXY Build | Thingiverse Profile

        SonnyD1undefined 2 Replies Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator @SonnyD1
          last edited by

          @SonnyD1 said in WIFI Antenna Mounting:

          WiFi firmware version 1.26

          I think you're one version out of date. Please upload this zip file to the system tab in DWC.

          https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.5/Duet2and3Firmware-3.4.5.zip

          Z-Bot CoreXY Build | Thingiverse Profile

          SonnyD1undefined 1 Reply Last reply Reply Quote 0
          • SonnyD1undefined
            SonnyD1 @Phaedrux
            last edited by

            @Phaedrux ; Configuration file for Duet WiFi (firmware version 3.3)
            ; executed by the firmware on start-up
            ;
            ; generated by RepRapFirmware Configuration Tool v3.3.15 on Sun Feb 19 2023 17:01:06 GMT-0500 (Eastern Standard Time)

            ; General preferences
            G21 ; work in milimeters
            G90 ; send absolute coordinates...
            M83 ; ...but relative extruder moves
            M550 P"IDEX" ; set printer name
            M111 S0 ; debug off

            ; Network
            M552 S1 ; enable network
            M586 P0 S1 ; enable HTTP
            M586 P1 S1 ; enable FTP
            M586 P2 S0 ; disable Telnet
            M575 P1 B57600 S1 ; enable support for PanelDue

            ; Drives
            M569 P0 S1 ; physical drive 0 goes forwards - X stepper
            M569 P1 S1 ; physical drive 1 goes forwards - Z stepper (left)
            M569 P2 S1 ; physical drive 2 goes forwards - Z stepper (right)
            M569 P3 S1 ; physical drive 3 goes forwards - E0 stepper
            M569 P6 S1 ; physical drive 6 goes forwards - Y stepper (left)
            M569 P7 S0 ; physical drive 7 goes backwards - Y stepper (right)
            M569 P8 S1 ; physical drive 8 gows forwards - U stepper
            M569 P9 S1 ; physical drive 9 goes forwards - E1 stepper
            M584 X0 Y6:7 Z1:2 U8 E3:9 ; set drive mapping
            M350 X16 Y16 Z16 U16 E16:16 I1 ; configure microstepping with interpolation
            M92 X80.00 Y80.00 Z800.00 U80.00 E400.00:400.00 ; set steps per mm
            M566 X900.00 Y900.00 Z60.00 U900.00 E120.00:120.00 ; set maximum instantaneous speed changes (mm/min) - jerk
            M203 X6000.00 Y6000.00 Z180.00 U6000.00 E1200.00:1200.00 ; set maximum speeds (mm/min)
            M201 X500.00 Y500.00 Z20.00 U500.00 E250.00:250.00 ; set accelerations (mm/s^2)
            M906 X2300 Y2300 Z2300 U2300 E600:600 I30 ; set motor currents (mA) and motor idle factor in per cent
            M84 S30 ; Set idle timeout

            ; Axis Limits
            M208 X-26 Y0 U10 Z0 S1 ; set axis minima
            M208 X290 Y300 U330 Z300 S0 ; set axis maxima

            ; Endstops
            M574 X1 S1 P"e1stop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin e1stop
            M574 U1 S1 P"exp.e6stop" ; configure switch-type (e.g. microswitch) endstop for high end on U via pin exp.e6stop
            M574 Y1 S1 P"exp.e5stop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin exp.e5stop
            M574 Z1 S2 ; configure Z-probe endstop for low end on Z
            ; M591 D0 P1 C"xstop" S1 ; configure filament monitor for E0
            ; M591 D1 P1 C"exp.e4stop" S1 ; configure filament monitor for E1

            ; BLTouch
            M950 S0 C"duex.pwm1" ; create servo pin 0 for BLTouch
            M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to bltouch, connected to zprobe.in and the dive height + speeds
            G31 P500 X-31 Y-14.5 Z2.5 ; set Z probe trigger value, offset and trigger height
            M557 X20:270 Y20:280 S50 ; define mesh grid

            ; Heaters
            M308 S0 P"duex.e4temp" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin duex.e4temp
            M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
            M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
            M140 H0 ; map heated bed to heater 0
            M143 H0 S120 ; set temperature limit for heater 0 to 120C
            M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin e0temp
            M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
            M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
            M143 H1 S300 ; set temperature limit for heater 1 to 300C
            M308 S2 P"duex.e3temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 2 as thermistor on pin duex.e3temp
            M950 H2 C"duex.e6heat" T2 ; create nozzle heater output on duex.e6heat and map it to sensor 2
            M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
            M143 H2 S300 ; set temperature limit for heater 2 to 300C

            ; Fans
            M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
            M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
            M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
            M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
            M950 F2 C"duex.fan3" Q500 ; create fan 2 on pin duex.fan3 and set its frequency
            M106 P2 S0 H-1 ; set fan 2 value. Thermostatic control is turned off
            M950 F3 C"duex.fan4" Q500 ; create fan 3 on pin duex.fan4 and set its frequency
            M106 P3 S1 H2 T45 ; set fan 3 value. Thermostatic control is turned on

            ; Tools
            M563 P0 D0 H1 F0 ; define tool 0 that used low end X carriage
            G10 P0 X-26 Y0 Z0 ; set tool 0 axis offsets
            G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
            M563 P1 D1 H2 F2 ; define tool 1 that used high end U carriage
            G10 P1 X359 Y0 Z0 ; set tool 1 axis offsets
            G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C

            Phaedruxundefined 1 Reply Last reply Reply Quote 0
            • SonnyD1undefined
              SonnyD1 @Phaedrux
              last edited by

              @Phaedrux said in WIFI Antenna Mounting:

              M98 P"config.g"

              2/23/2023, 4:25:34 PM M98 P"config.g"
              HTTP is enabled on port 80
              FTP is enabled on port 21
              TELNET is disabled

              1 Reply Last reply Reply Quote 0
              • SonnyD1undefined
                SonnyD1 @Phaedrux
                last edited by

                @Phaedrux said in WIFI Antenna Mounting:

                @SonnyD1 said in WIFI Antenna Mounting:

                WiFi firmware version 1.26

                I think you're one version out of date. Please upload this zip file to the system tab in DWC.

                https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.5/Duet2and3Firmware-3.4.5.zip

                DONE!

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

                  @SonnyD1 said in WIFI Antenna Mounting:

                  M574 U1 S1 P"exp.e6stop" ; configure switch-type (e.g. microswitch) endstop for high end on U via pin exp.e6stop
                  M574 Y1 S1 P"exp.e5stop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin exp.e5stop

                  Your endstops are on the duex5 correct, not just the bare expansion header?

                  Instead of exp.e6stop use duex.e6stop for example.

                  https://docs.duet3d.com/Duet3D_hardware/Duet_2_family/DueX2_and_DueX5#pin-names

                  Z-Bot CoreXY Build | Thingiverse Profile

                  SonnyD1undefined 1 Reply Last reply Reply Quote 0
                  • SonnyD1undefined
                    SonnyD1 @Phaedrux
                    last edited by SonnyD1

                    @Phaedrux said in WIFI Antenna Mounting:

                    @SonnyD1 said in WIFI Antenna Mounting:

                    M574 U1 S1 P"exp.e6stop" ; configure switch-type (e.g. microswitch) endstop for high end on U via pin exp.e6stop
                    M574 Y1 S1 P"exp.e5stop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin exp.e5stop

                    Your endstops are on the duex5 correct, not just the bare expansion header?

                    Instead of exp.e6stop use duex.e6stop for example.

                    https://docs.duet3d.com/Duet3D_hardware/Duet_2_family/DueX2_and_DueX5#pin-names

                    Thank you...Thats done. I think we've managed to get off topic trying to fix this thing. We can call this solved and I can start another thread if you'd like. I think we've established that it was not the wifi antenna mounting causing my issues.

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

                      Did you identify the short?

                      Z-Bot CoreXY Build | Thingiverse Profile

                      SonnyD1undefined 1 Reply Last reply Reply Quote 0
                      • SonnyD1undefined
                        SonnyD1 @Phaedrux
                        last edited by SonnyD1

                        @Phaedrux Yes I found it. I had two wires swapped on the U axis endstop. Thank you very much. I'm still not up and running but its progress. WIFI Module fires right up now.

                        1 Reply Last reply Reply Quote 1
                        • SonnyD1undefined SonnyD1 has marked this topic as solved
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA