cannot connect to duet 2 Wi-Fi or board
-
@droftarts <Configuration file for Duet WiFi (firmware version 3.3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.3.16 on Wed Dec 13 2023 17:00:01 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
M669 K1 ; select CoreXY mode; 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 S0 ; physical drive 2 goes backwards
M569 P3 S0 ; physical drive 3 goes backwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 E98.00 ; set steps per mm
M566 X600.00 Y600.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X18000.00 Y18000.00 Z180.00 E1500.00 ; set maximum speeds (mm/min)
M201 X3000.00 Y3000.00 Z100.00 E1000.00 ; set accelerations (mm/s^2)
M906 X950 Y950 Z950 E950 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 X1 S1 P"xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop
M574 Y1 S1 P"ystop" ; configure switch-type (e.g. microswitch) endstop for low 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 T6000 ; set Z probe type to bltouch and the dive height + speeds
M558 H30 ;*** Remove this line after delta calibration has been done and new delta parameters have been saved
G31 P500 X0 Y0 Z2.5 ; 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 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 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 S350 ; set temperature limit for heater 1 to 350C; 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; Tools
M563 P1 D0 H1 F0 ; define tool 1
G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C; Custom settings are not defined
; Miscellaneous
M501 ; load saved parameters from non-volatile memory
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss> -
@droftarts I am able to log on to Wi-Fi and it is getting connected now The only thing that is not working is connecting to yat be a USB but it is connecting to Wi-Fi it's been 2 days now and it's still working via Wi-Fi
-
@Blunt2007 That's good to hear. Your config.g looks generally sensible, and has
M552 S1
which enables WiFi, in it.One point: your machine name is 'Ender 5 plus'. Unless you have modified your printer, these machines are cartesian printers, not CoreXY, which you have set with
M669 K1
. Is that correct?For the USB, have you tried connecting since the config.g has been updated, and you can reliably connect via WiFi? It may have been continually rebooting before, if there was a configuration problem, which may have caused USB not to connect.
If that still doesn't work, can you post a picture of the back of the USB port, where the pins are? I want to check all the pins are soldered correctly. If they are not, we can exchange it under warranty.
Ian
-
@droftarts Yes it is an ender 5 plus from what I found on the internet that is what I selected of course I'm fairly new at this so I can be completely wrong I could use your help if you know of anybody that has a ender 5 plus with the files already made up I can really appreciate it and the list and documentation so I can read up on G-Code. I did boot the computer up into safe mode and it said that the comports are not available and safe mode so I'll send you a picture of the USB connection thanks for your help
-
@Blunt2007 Thanks for the picture. It looks like the pins are correctly soldered and there doesn't seem to be any missing, blown or damaged components in that area. So it is a bit of a mystery why it won't connect. I can't tell if it's a Windows problem or a board problem. If you're up and running now, perhaps see how you get along. If you can find a different USB cable, and a different computer to try it with (I can't remember if you have already tried that), then that would be a good test.
There's a number of different places you can see other people's configurations, but you do really need to understand what you are doing when using them. We keep a list here:
https://docs.duet3d.com/en/User_manual/Reference/Community_projects#machine-configurations-and-macros
There is one Ender 5 Plus here, which is probably closest to your setup (Duet 2 WiFi): https://github.com/Duet3D/RRF-machine-config-files/tree/master/Ender5Plus
And three more here: https://github.com/TeamGloomy/LPC-STM32-RRFUserConfigs/tree/masterPlease don't blindly copy them, though. It will depend how you have connected the wires to your board.
One thing they all don't have is
M669 K1
, though. Delete that from your config.g.Ian
-
@droftarts Yes I'm going to keep this board because it's working fine now see how it works out The board is under power and it's working fine. Don't really need to use the USB come on. Can you direct me to a link for All the G-Code and and macros documentation so I know what I'm doing better thanks all for all your help and your patience I really appreciate it have a Merry Christmas and a Happy New Year May your god bless you
-
@Blunt2007 Our documentation is here: https://docs.duet3d.com/
I think you have been following the 'How-to' guides; keep going with those, they will guide you through a lot of the journey.
The Gcode dictionary lists all Gcodes, with their function and parameters: https://docs.duet3d.com/en/User_manual/Reference/Gcodes
This page describes most of the configuration files and macros used in a standard cartesian setup: https://docs.duet3d.com/User_manual/Machine_configuration/Configuration_cartesian
For anything else, search the wiki or ask on the forum.
Ian
-
OP mentions Ultimaker Cura as a file suggestion for STL files. Cura tends to grab serial ports and needs to be not running when trying YAT or PuTTY.
-
@droftarts duet to Wi-Fi board hey I was wondering if you knew a way to be able to get another stepper motor connected to this board is there a dual stepper driver extension module that I can plug into this board because I'm looking to run dual nozzles what do you suggest is it impossible
-
@Blunt2007 said in cannot connect to duet 2 Wi-Fi or board:
@droftarts duet to Wi-Fi board hey I was wondering if you knew a way to be able to get another stepper motor connected to this board is there a dual stepper driver extension module that I can plug into this board because I'm looking to run dual nozzles what do you suggest is it impossible
There is a dual driver expansion for the Duet 2. https://docs.duet3d.com/en/Duet3D_hardware/Duet_2_family/Dual_Stepper_Driver_Expansion_Module
There's also a Duex5 with 5 drivers plus additional IO.
https://docs.duet3d.com/en/Duet3D_hardware/Duet_2_family/DueX2_and_DueX5The Duex2 is no longer made, but maybe you could find a used one out there.
-
@Phaedrux @Blunt2007 the dual driver expansion only works on the Duet 2 Maestro, you have a Duet 2 WiFi.
The last config.g I saw of yours has the drives mapped as:
M584 X0 Y1 Z2 E3 ; set drive mapping
That means you are using 4 drivers. Unless you changed it to put, say, one of the Z axes motors on driver 4 (marked E2), there should still be a spare driver on the board, spare heater output and temperature sensor input. So you may not need additional expansion.
See this page for external drivers: https://docs.duet3d.com/en/User_manual/Connecting_hardware/Motors_connecting_external
Ian
-
Sorry for the bad info. I should probably hold off posting when on the cold meds.
-
@droftarts for my dual extruder can you check the wiring on this for the drivers I got two question marks . Can you help me with the wiring upper left of the picture in my writing lower right is the motherboard Hope you can help me to get my drivers up and running 2209 and the pin has been cut for you UART
-
@Blunt2007 Sorry, I can't advise on how to wire this combination of boards. However, see this thread https://forum.duet3d.com/topic/34500/using-expansion-mini-2-on-duet-2-ethernet for someone who has done the same thing.
Ian
-
@droftarts okay thanks still working on it meanwhile I'm trying to get the 3D printer working turn on board and tried heating up bed and got this fail statement what's causing this can you help still having problems trying to connect to it with Wi-Fi and it won't connect try using USB not working still having the same problems over and over
With the Wi-Fi -
@Blunt2007 for the bed heater error, you need to PID tune the bed to get rid of this error. Run
M303 H0 S70
and save the PID tune values; see https://docs.duet3d.com/User_manual/Reference/Gcodes#m307-set-or-report-heating-process-parameters -
@Blunt2007 said in cannot connect to duet 2 Wi-Fi or board:
still having problems trying to connect to it with Wi-Fi and it won't connect try using USB not working still having the same problems over and over
With the Wi-FiOkay, let's get this board exchanged under warranty. Please send an email to warranty@duet3d.com and CC your reseller. Include a link to this forum thread and the details of your original purchase. You'll receive a reply with a form to fill out.
Ian
-
@droftarts I got my new board and tried connecting with USB and it would not connect but when I push the reset button it connected but I but I'm not able to connect by Wi-Fi so I upload it (runonce.g) to the system file and I was able to connect to Wi-Fi and it comes up with my duet is it possible that I have the bog rate set wrong I have it set at 9600 can you tell me what you guys set the bug rate to by the factory maybe that's why I cannot connect by USB
-
@Blunt2007 Glad you got a new board, sorry you're still having problems.
Are you using YAT to try and connect, or something else? 9600 baud rate should be fine, it's what I use, see second step here https://docs.duet3d.com/en/How_to_guides/Getting_connected/Getting_connected_to_your_Duet#h-3-connect-to-duet
9600 baud (bits per second), 8 data bits, Parity none, Stop bits 1.Is the WiFi working better this time? Does it stays connected, and reconnects, if you turn the Duet off and on?
Ian
-
-
@droftarts All my settings are correct and I still cannot connect USB to pontephase or yat. So far I'm able to to connect to the Wi-Fi hopefully sometime soon I'm going to upload a new profile to the new board I'll let you know if I lose Wi-Fi or not