Bad Wifi Module on New Duet 2 Wifi
-
I just replaced an older duet 2 wifi board that lost its 5v supply. When I mount the new board in the box the wifi led goes out and when I restart the board it won't even try to connect. If I remove it it will connect again but seems to have issues maintaining the connection.
My guess is a bad wifi module. Any other thoughts?
4/12/2022, 10:13:08 AM M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.2.2 running on Duet WiFi 1.02 or later + DueX5
Board ID: 0JD0M-9P6B2-NJ4S4-6JKDA-3S86K-KB16L
Used output buffers: 3 of 24 (14 max)
=== RTOS ===
Static ram: 23460
Dynamic ram: 74740 of which 88 recycled
Never used RAM 13792, free system stack 178 words
Tasks: NETWORK(ready,179) HEAT(blocked,308) DUEX(blocked,31) MAIN(running,417) IDLE(ready,20)
Owned mutexes: WiFi(NETWORK)
=== Platform ===
Last reset 00:09:26 ago, cause: power up
Last software reset at 2022-04-11 18:58, reason: User, GCodes spinning, available RAM 13792, slot 1
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
Aux0 errors 0,0,0
MCU temperature: min 18.6, current 20.0, max 20.5
Supply voltage: min 23.8, current 24.0, max 24.3, under voltage events: 0, over voltage events: 0, power good: yes
Driver 0: position 0, standstill, SG min/max not available
Driver 1: position 0, standstill, SG min/max not available
Driver 2: position 0, standstill, SG min/max not available
Driver 3: position 0, standstill, SG min/max not available
Driver 4: position 0, standstill, SG min/max not available
Driver 5: position 0, standstill, SG min/max not available
Driver 6: position 0, standstill, SG min/max not available
Driver 7: position 0, standstill, SG min/max not available
Driver 8: position 0, standstill, SG min/max not available
Driver 9: position 0, standstill, SG min/max not available
Driver 10: position 0
Driver 11: position 0
Date/time: 2022-04-12 10:13:06
Cache data hit count 685983135
Slowest loop: 129.96ms; fastest: 0.21ms
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 6.0ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== AuxDDARing ===
Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
=== 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.
=== Network ===
Slowest loop: 57.13ms; fastest: 0.00ms
Responder states: HTTP(2) HTTP(4) 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 0
WiFi firmware version 1.26
WiFi MAC address 48:3f:da:a6:83:44
WiFi Vcc 3.46, reset reason Power up
WiFi flash size 2097152, free heap 24400
WiFi IP address 192.168.1.221
WiFi signal strength -77dBm, mode 802.11n, reconnections 0, sleep mode modem
Clock register 00002002
Socket states: 4 2 0 0 0 0 0 0
=== DueX ===
Read count 1, 0.11 reads/min
4/12/2022, 10:11:35 AM Connection established
4/12/2022, 10:11:32 AM Connection interrupted, attempting to reconnect...
HTTP request timed out
4/12/2022, 10:03:51 AM Connection established
4/12/2022, 10:02:58 AM Connection interrupted, attempting to reconnect...
Network error
4/12/2022, 10:02:45 AM Connection established
4/12/2022, 10:02:37 AM Connection interrupted, attempting to reconnect...
HTTP request timed out
4/12/2022, 10:01:11 AM Connection established
- WiFi -
-
@alijambo73 said in Bad Wifi Module on New Duet 2 Wifi:
WiFi signal strength -77dBm,
The signal strength is quite bad.
What kind of a box is it?
What is the signal strength outside of the box?
What was the signal strength of the old board? -
It's a pla box that the original board has worked great in for a few years now. I'm confident the box is not the issue. Still looking for an explanation of why wifi goes dead when mounted. I think the weak signal and the complete loss of any function when mounted point to a bad wifi module.
-
On the Duet WiFi v1.05, the Wifi module was changed. This could result in what you're observing, if the signal was very weak/borderline to begin with.
If the reading above is without the PLA box, I'm not surprised that adding a few mm of plastic would cause it not to connect - it would be taking a weak signal and making it even weaker. I don't see how it is the boards fault if mounting it in a box is what "breaks" it.
-
To add on to my comment above: -77dBm is quite weak:
https://www.metageek.com/training/resources/wifi-signal-strength-basics/
At -80dBm, one should expect inconsistent connection/packet delivery. A few mm of plastic is worth 5-6 dBm of signal loss.
Can you move the printer closer to the router? How far is it currently, and through how many walls?
-
The problem was some bad solder connections on the wifi module.
-
Were you able to touch them up?
-
@phaedrux I didn't but I have a te h who did.