Help duet 2 wifi is just not working correctly
-
OK so i think that fixed the wifi, right now its running and connected but the file keeps failing to upload cause of network error. For some reason the network here is really slow, even though its more than fast enough on my computer.
There is a m552 s1 command in my config
and this is the result from the m122 command
[14:54:07:644] === Diagnostics ===␊ [14:54:07:644] RepRapFirmware for Duet 2 WiFi/Ethernet version 3.3 (2021-06-15 21:44:54) running on Duet WiFi 1.02 or later␊ [14:54:07:646] Board ID: 0JD0M-9P6M2-NW4SD-6J1FA-3SJ6N-1AQMK␊ [14:54:07:646] Used output buffers: 2 of 24 (14 max)␊ [14:54:07:646] === RTOS ===␊ [14:54:07:646] Static ram: 23876␊ [14:54:07:646] Dynamic ram: 78984 of which 188 recycled␊ [14:54:07:646] Never used RAM 8512, free system stack 144 words␊ [14:54:07:646] Tasks: NETWORK(ready,13.6%,233) HEAT(delaying,0.0%,330) Move(notifyWait,0.1%,313) MAIN(running,86.2%,442) IDLE(ready,0.1%,29), total 100.0%␊ [14:54:07:646] Owned mutexes: WiFi(NETWORK) USB(MAIN)␊ [14:54:07:646] === Platform ===␊ [14:54:07:646] Last reset 00:28:30 ago, cause: power up␊ [14:54:07:646] Last software reset details not available␊ [14:54:07:646] Error status: 0x00␊ [14:54:07:646] Aux0 errors 0,0,0␊ [14:54:07:646] Step timer max interval 0␊ [14:54:07:646] MCU temperature: min 28.2, current 28.7, max 28.9␊ [14:54:07:646] Supply voltage: min 14.2, current 14.3, max 14.4, under voltage events: 0, over voltage events: 0, power good: yes␊ [14:54:07:646] Heap OK, handles allocated/used 99/0, heap memory allocated/used/recyclable 2048/8/8, gc cycles 0␊ [14:54:07:646] Driver 0: position 7200, standstill, SG min/max not available␊ [14:54:07:646] Driver 1: position 7200, standstill, SG min/max not available␊ [14:54:07:646] Driver 2: position 0, standstill, SG min/max not available␊ [14:54:07:646] Driver 3: position 0, standstill, SG min/max not available␊ [14:54:07:646] Driver 4: position 0, standstill, SG min/max not available␊ [14:54:07:646] Driver 5: position 0␊ [14:54:07:646] Driver 6: position 0␊ [14:54:07:646] Driver 7: position 0␊ [14:54:07:646] Driver 8: position 0␊ [14:54:07:646] Driver 9: position 0␊ [14:54:07:646] Driver 10: position 0␊ [14:54:07:646] Driver 11: position 0␊ [14:54:07:646] Date/time: 2021-09-03 14:54:06␊ [14:54:07:646] Cache data hit count 4294967295␊ [14:54:07:646] Slowest loop: 18.10ms; fastest: 0.18ms␊ [14:54:07:646] I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0␊ [14:54:07:646] === Storage ===␊ [14:54:07:646] Free file entries: 9␊ [14:54:07:646] SD card 0 detected, interface speed: 20.0MBytes/sec␊ [14:54:07:646] SD card longest read time 2.7ms, write time 8.2ms, max retries 0␊ [14:54:07:646] === Move ===␊ [14:54:07:646] DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000␊ [14:54:07:681] === MainDDARing ===␊ [14:54:07:681] Scheduled moves 38, completed moves 38, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1␊ [14:54:07:681] === AuxDDARing ===␊ [14:54:07:681] Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1␊ [14:54:07:681] === Heat ===␊ [14:54:07:681] Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1␊ [14:54:07:681] === GCodes ===␊ [14:54:07:681] Segments left: 0␊ [14:54:07:681] Movement lock held by null␊ [14:54:07:681] HTTP is idle in state(s) 0␊ [14:54:07:681] Telnet is idle in state(s) 0␊ [14:54:07:681] File is idle in state(s) 0␊ [14:54:07:681] USB is ready with "m122" in state(s) 0␊ [14:54:07:681] Aux is idle in state(s) 0␊ [14:54:07:681] Trigger is idle in state(s) 0␊ [14:54:07:681] Queue is idle in state(s) 0␊ [14:54:07:681] LCD is idle in state(s) 0␊ [14:54:07:681] Daemon is idle in state(s) 0␊ [14:54:07:681] Autopause is idle in state(s) 0␊ [14:54:07:681] Code queue is empty.␊ [14:54:07:681] === Network ===␊ [14:54:07:681] Slowest loop: 200.84ms; fastest: 0.09ms␊ [14:54:07:681] Responder states: HTTP(0) HTTP(3) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions␊ [14:54:07:681] HTTP sessions: 1 of 8␊ [14:54:07:681] - WiFi -␊ [14:54:07:681] Network state is active␊ [14:54:07:681] WiFi module is connected to access point ␊ [14:54:07:681] Failed messages: pending 0, notready 0, noresp 1␊ [14:54:07:681] WiFi firmware version 1.23␊ [14:54:07:681] WiFi MAC address 84:0d:8e:b3:01:f7␊ [14:54:07:681] WiFi Vcc 3.40, reset reason Turned on by main processor␊ [14:54:07:681] WiFi flash size 4194304, free heap 25720␊ [14:54:07:681] WiFi IP address 128.153.181.60␊ [14:54:07:681] WiFi signal strength -69dBm, mode none, reconnections 0, sleep mode modem␊ [14:54:07:681] Clock register ffffffff␊ [14:54:07:681] Socket states: 2 0 0 0 0 0 0 0␊ [14:54:07:681] ok␊
-
@Phaedrux now that I look at that it says firmware 3.3 soooo i guess it did install? or already was 3.3 kinda weird, but it looks to be working. So now the only thing is the heating, the config has this
; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4725 S706000000; 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 S150 ; set temperature limit for heater 0 to 150C M308 S1 P"e0temp" Y"thermistor" T100000 B3950 ; 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 S275 ; set temperature limit for heater 1 to 275C
Im using the listed settings from these two articles:
https://duet3d.dozuki.com/Wiki/Connecting_thermistors_or_PT1000_temperature_sensors
-
Your wifi server version is still out of date. Did you upload that complete zip file to the system tab in DWC yet?
-
@po3plestorm said in Help duet 2 wifi is just not working correctly:
S706000000
Where did you get that value?
-
@phaedrux so currently the firmware is as follows
Board: Duet 2 WiFi (2WiFi)
Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 3.3 (2021-06-15)
Duet WiFi Server Version: 1.23and I dont know where I got that number, this is my current updated heater code
; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4725 ; 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 S150 ; set temperature limit for heater 0 to 150C 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 S275 ; set temperature limit for heater 1 to 275C
-
@po3plestorm here is my entire config.g file, the only issue I have now is getting the nozzle and heat bed to heat up
; Configuration file for Duet Maestro (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.3.2 on Thu Sep 02 2021 14:24:44 GMT-0400 (Eastern Daylight Time) ; General preferences M575 P1 S1 B57600 ; enable support for PanelDue G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Ender 3 Pro" ; set printer name M918 P1 E4 F2000000 ; configure direct-connect display ; Network M552 S1 ; enable network and acquire dynamic address via DHCP M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S1 ; physical drive 0 goes backwards M569 P1 S1 ; physical drive 1 goes backwards 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 E93.00 ; set steps per mm M566 X1200.00 Y1200.00 Z24.00 E300.00 ; set maximum instantaneous speed changes (mm/min) M203 X9000.00 Y9000.00 Z180.00 E6000.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z100.00 E5000.00 ; set accelerations (mm/s^2) M906 X800 Y800 Z800 E1000 I50 ; 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 X235 Y235 Z260 S0 ; set axis maxima ; Endstops M574 X1 S1 P"!xstop" ; configure active-high endstop for low end on X via pin xstop M574 Y1 S1 P"!ystop" ; configure active-high endstop for low end on Y via pin ystop M574 Z1 S1 P"!zstop" ; configure active-high endstop for low end on Z via pin zstop ; Z-Probe M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed M557 X15:215 Y15:195 S20 ; define mesh grid ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4725 ; 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 S150 ; set temperature limit for heater 0 to 150C 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 S275 ; set temperature limit for heater 1 to 275C ; 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 off M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency M106 P2 S1 H-1 ; set fan 2 value. Thermostatic control is turned off ; 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
-
@phaedrux said in Help duet 2 wifi is just not working correctly:
Your wifi server version is still out of date. Did you upload that complete zip file to the system tab in DWC yet?
Wifi stil out of date
What happens when you try to heat the bed or nozzle heater?
Do you have the stock ender temp sensors or have you changed the hotend? Your hotend values looks like they are for an e3d temp sensor.
-
@phaedrux So i cant get the wifi server to install fully, my internet here is bad and the connection isint stable enough to upload completely. Ill try doing it via sd card.
I can get the heated bed to heat up and I tuned the PIDS on it. The nozzle is a new e3d himera, which was the whole beginning of this issue when I put it on and started updating esteps and junk. Im using the same heater cartage and have tried a bunch of brand new ones that I had never even used.
-
So what does the nozzle heater do? How are you trying to command it to heat up?
-
@phaedrux it does nothing, I activate the heater then set a temp and nothing happens then it just activates a heater fault after a min. I measured a voltage on the terminal but the heater doesn't get hot and the thermister reads the correct temp as I can hold the block for a min and it will increase a bit. I tried putting PID settings into the config like this:
; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4725 ; 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 R0.224 C550.0 D2.74 S1.00 V13.8 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S150 ; set temperature limit for heater 0 to 150C 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 H0 B0 R0.224 C550.0 D2.74 S1.00 V13.8 ; disable bang-bang mode for heater and set PWM limit M143 H1 S275
but this makes no change
-
@Phaedrux It also seams when setting a temp for the heater that the light for the e0heater does not turn on
is there a way to check what heaters are mapped to the firmware or if I declared the heater right? Its weird that just the hot end wont work but the bed will, as there declared in the same way.
-
@po3plestorm be warned you have a clone there so it may not work correctly
-
@jay_s_uk no thats a genuine from filistruder
-
also If I send a M109 S215 s0 command the e0 heater light turns on but still no heating and then a fault.
-
@po3plestorm with blue heatsinks and no serial number on the MCU?
-
theres the serial number and the old board and what you can see from the back. I took the heat sinks from the non genuine board cause I think they are more useful on the genuine one that I actually care about.
https://imgur.com/DBjaAwL
https://imgur.com/KHOPCSq
https://imgur.com/a/QyL47fF -
@po3plestorm fair enough.
have you blown the 7.5 amp fuse? can you still move the motors? -
@jay_s_uk ye I see how that can be confusing, I had the issue with the non genuine one and I thought I just blew a mosfet for the heater, but it now wont work on the genuine one either. The entire printer works, heat bed, motors, fans, and the fuses are intact.
I also measured a 12v voltage on the output and tried with multiple different heater cartridges. still nothing, the light does turn on for heating as well.
-
@po3plestorm can you post your full config?
-
; Configuration file for Duet Maestro (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.3.2 on Thu Sep 02 2021 14:24:44 GMT-0400 (Eastern Daylight Time) ; General preferences M575 P1 S1 B57600 ; enable support for PanelDue G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Ender 3 Pro" ; set printer name M918 P1 E4 F2000000 ; configure direct-connect display ; Network M552 S1 ; enable network and acquire dynamic address via DHCP M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S1 ; physical drive 0 goes backwards M569 P1 S1 ; physical drive 1 goes backwards 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 E93.00 ; set steps per mm M566 X1200.00 Y1200.00 Z24.00 E300.00 ; set maximum instantaneous speed changes (mm/min) M203 X9000.00 Y9000.00 Z180.00 E6000.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z100.00 E5000.00 ; set accelerations (mm/s^2) M906 X800 Y800 Z800 E1000 I50 ; 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 X235 Y235 Z260 S0 ; set axis maxima ; Endstops M574 X1 S1 P"!xstop" ; configure active-high endstop for low end on X via pin xstop M574 Y1 S1 P"!ystop" ; configure active-high endstop for low end on Y via pin ystop M574 Z1 S1 P"!zstop" ; configure active-high endstop for low end on Z via pin zstop ; Z-Probe M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed M557 X15:215 Y15:195 S20 ; define mesh grid ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4725 ; 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 R0.224 C550.0 D2.74 S1.00 V13.8 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S150 ; set temperature limit for heater 0 to 150C 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 H0 B0 R0.224 C550.0 D2.74 S1.00 V13.8 ; disable bang-bang mode for heater and set PWM limit M143 H1 S275 ; set temperature limit for heater 1 to 275C ; 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 off M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency M106 P2 S1 H-1 ; set fan 2 value. Thermostatic control is turned off ; 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