cannot connect to duet 2 Wi-Fi or board
-
; Configuration file for Duet WiFi (firmware version 3.3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.4.0 on Mon Jan 01 2024 15:36:02 GMT-0600 (Central Standard Time) ; General preferences M575 P1 S1 B57600 ; enable support for PanelDue G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"1 Ender 5 plus" ; set printer name ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S1 ; physical drive 0 goes forwards M569 P1 S1 ; physical drive 1 goes forwards M569 P2 S1 ; physical drive 2 goes forwards M569 P3 S1 ; physical drive 3 goes forwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z800.00 E130.00 ; set steps per mm M566 X900.00 Y900.00 Z60.00 E150.00 ; set maximum instantaneous speed changes (mm/min) M203 X3000.00 Y3000.00 Z3000.00 E3000.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z100.00 E5000.00 ; set accelerations (mm/s^2) M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X350 Y350 Z400 S0 ; set axis maxima ; Endstops M574 X2 S1 P"xstop" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin xstop M574 Y2 S1 P"ystop" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin ystop M574 Z1 S2 ; configure Z-probe endstop for low end on Z ; Z-Probe M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch M558 P9 C"^zprobe.in" H5 F120 T12000 ; set Z probe type to bltouch and the dive height + speeds G31 P500 X0 Y0 Z2.51 ; set Z probe trigger value, offset and trigger height M557 X15:215 Y15:195 S20 ; define mesh grid ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 B0 S1.00 ; disable 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 B4138 ; 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 S450 ; set temperature limit for heater 1 to 450C ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S1 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 H-1 ; set fan 1 value. Thermostatic control is turned on M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency M106 P2 S1 H1 T45 ; set fan 2 value. Thermostatic control is turned on ; Tools M563 P0 D0 H1 F0 ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; Custom settings are not defined ; Miscellaneous M501 ; load saved parameters from non-volatile memory T0 ; select first tool
-
@Blunt2007 For your WiFi problems:
=== WiFi ===
Interface state: active
Module is connected to access point
Failed messages: pending 0, notrdy 0, noresp 0
Firmware version 1.26
MAC address bc:ff:4d:e8:23:dc
Module reset reason: Power up, Vcc 3.40, flash size 2097152, free heap 27104
WiFi IP address 192.168.1.21
Signal strength -32dBm, channel 0, mode 802.11n, reconnections 0
Clock register 00002002
Socket states: 0 0 0 0 0 0 0 0
1/23/2024, 8:51:55 AM Connected to 192.168.1.21This generally looks fine. -32dBm is a good, strong signal. Does your Duet have an external aerial?
A possible problem is that it is set to channel 0; I think this is reporting incorrectly (there is no channel 0, only 1 to 12) as you are on a slightly older version of the WiFi firmware, 1.26.
As you are using the latest RRF version 3.5.0-rc.2, you could update the WiFi version. From https://github.com/Duet3D/RepRapFirmware/releases/tag/3.5.0-rc.2 upload the "DuetWiFiServer.bin" file. You will need to input your SSID and password again, using the "runonce.g" script.
Also make sure you are using the same version of DWC as firmware. Check by looking at the Setting > General and Machine-specific tabs. If it is not the same, upload the "DuetWebControl-SD.zip" file from the firmware release.
Then send M122 again, and see what channel you are connected on. If you don't have an external aerial that plug in, the following might be the cause of disconnections:
Particularly if using channel 1, change the router WiFi channel. Duets with onboard WiFi antennas may be more susceptible to interference from the Duet itself at this frequency. Try channel 6 or 11.
Ian
-
@droftarts every time I try loading a m 420 bad leveling it kicks me off. And then I got to restart my browser to access board again and then when I try entering m420 bed leveling it kicks me off again I'm trying to get this on there because the screen is coming up with a m 420 does not exist. I got the fan working that was wires were reversed fan is working now now I'm trying to get my BL touch to work
-
M420 is not supported in RepRapFirmware. Are you maybe running G29 or G32?
-
-
@Blunt2007 printer moving slowly I sent you a config file the code list that you sent me there's a bunch of them on there can you look at it and I'm using cura 5.2.1 as my slicer I haven't updated it in about 6 months and when I load a file from there it goes real real real real real real real real slow thanks for your wisdom and understanding
-
@oliof how can I tell what code I'm running I'm not sure it comes up on the screen as a m420
-
@Blunt2007 Okay, new problem,
Bed levelling problem
Whatever guide you're following, don't. It's meant for Marlin firmware, not RepRapFirmware. Don't use M420. See this page for bed mesh levelling: https://docs.duet3d.com/en/User_manual/Connecting_hardware/Z_probe_mesh_bed
Moving slow problem:
Your config.g speeds aren't that fast, but they are not that bad. M203 X3000 Y3000 is 50mm/second. What speeds are you expecting?
If you are using Cura, make sure you have 'RepRap' chosen in the Machine Settings > G-code flavor
Otherwise it will put in speed and acceleration settings in the Gcode that will mess up the ones in config.g
Fan problem
Your config.g shows:
; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S1 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 H-1 ; set fan 1 value. Thermostatic control is turned on M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency M106 P2 S1 H1 T45 ; set fan 2 value. Thermostatic control is turned on
The fan connected to the Fan0 output is your part cooling fan, and is controlled by Gcode.
The fan connected to the Fan1 output is set up the same, ie controlled by Gcode
The fan connected to the Fan2 output is set to be your hot end cooling fan, and comes on when the hot end gets to 45C.Make sure the correct fan is connected to the correct output.
Ian
-
@droftarts I am still having problems with the Wi-Fi how do I change the channel from zero to six or 12
-
@droftarts I give up on duet
-
@droftarts I am unable to connect Wi-Fi or USB so this duet board is more trouble than what it's worth I've been trying in between going to the hospital for my dad he fell and broke his hip that's why I haven't Post it you earlier. Can I get a refund
-
@droftarts I'm sorry I'm just so frustrated I just wanted to work
-
@Blunt2007 sorry you have been having issues with the configuration. We already provided a warranty replacement and this makes it clear its not a hardware issue but a issue with configuration. Please review the documentation, for example you asked about changing WIFI channel:
https://docs.duet3d.com/en/User_manual/Troubleshooting/WiFi_troubleshootingAs you can see, a wifi router sets the wifi channel in use, not the client:
- Try changing the channel on your WiFi router. Most routers default to Auto, but can be set to use a fixed channel instead. The channels overlap, so it is common to use channel 1, 6 or 11. This may also help if another device is causing interference.
- Particularly if using channel 1, change the router WiFi channel. Duets with onboard WiFi antennas may be more susceptible to interference from the Duet itself at this frequency. Try channel 6 or 11.
-
@T3P3Tony yeah I know you guys replaced the previous board and this board was working good for a while but now it will not connect to the Wi-Fi and from the beginning it wouldn't connect to USB if I turn the machine off and then turn it back on it loses its Wi-Fi if I reload runonce.g it will connect to the Wi-Fi again but if I turn the machine off it will not reconnect to Wi-Fi unless I reload runonce.g then it will reconnect to Wi-Fi but as soon as I turn the machine off it will not connect to Wi-Fi this board was not working properly from the beginning because it would not connect to USB this board was working correctly except it would not connect to USB from the beginning so this board is messed up it is a default board from the beginning because it would not connect USB so clearly this board is a default board from the beginning it will connect to USB if I push the reset button but as soon as I disconnect it and try reconnecting it it will not connect to USB unless I push the reset button so clearly this board was default from the beginning and I was trying to work with you guys to get this going and it did work for a little while but now it's not connecting to you to Wi-Fi are you guys going to back up your product or not
-
@T3P3Tony I am willing to look into buying a new router what router do you recommend that works with this product just to make sure that it is not my hardware
-
@Blunt2007 We're a bit confused about the board replacement. We don't have any record of you submitting a warranty request, at least not from the name and email address you registered with. From where and when did you buy the original board?
If you did replace the board, I find it very unlikely that you would get two boards that exhibit exactly the same problem. Did you send back the original board before receiving the replacement, or is it possible you could have kept the original board by mistake?
Please can you post a picture of the whole board, if possible.
What make and model of router are you currently using? It may be that there is a setting that continually tries to force the Duet to use 5GHz WiFi, but the Duet can only do 2.5GHz WiFi.
Ian
-
![17079268194356958301088299834109.jpg](Request Entity Too Large) ![17079264559383776398370068987908.jpg](Request Entity Too Large) @droftarts The new board would not connect by USB from the beginning so I did load runonce.g to the system file and I was able to connect buy Wi-Fi to the board and I was configuring the board but just recently I was not able to connect by Wi-Fi it was working fine but now it will not connect by Wi-Fi to the board I mailed the old board on June 28th 2024 I will include a picture of the drop off slip. The new board is set to channel 10 and it is running at 2.4 G and I'm still not able to connect via Wi-Fi! I purchased the original board from printed![1707926955140444270627850315521.jpg](Request Entity Too Large) solid
[17079263815565014596051133997642.jpg](Request Entity Too Large) -
@droftarts I purchased the original board from printedsolid
-
@Blunt2007 said in cannot connect to duet 2 Wi-Fi or board:
@droftarts I purchased the original board from printedsolid
Okay, I'll ask @Phaedrux to check that.
When connected via USB, do you still see the Duet in the device manager? If so, can you right click on it, and take a screenshot of the properties?
For the WiFi, have you set the router channel to 10 on the router? It is not something that the Duet can force, it has to come from the router. When you try to connect via WiFi, does it just not connect and result in a blank screen, or do you get some other message? Again, a screenshot may be useful.
Ian
-
@droftarts Yes on the router it is set to channel 10 at 2.4 I sent you a picture of the router connection and yes via USB it comes up in the Device Manager as duet![17079303616003203406867574172911.jpg](Request Entity Too Large)