Thermistor 104nt-4-r025h42g
-
@Phaedrux said in Thermistor 104nt-4-r025h42g:
M98 P"config.g"
M98 P"config.g"
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled
Error: Unknown pin name 'fan3'
Error: Fan number 3 not found
Error: Unknown pin name 'fan4'
Error: Fan number 4 not found
Error: Unknown pin name 'fan5'
Error: Fan number 5 not found
Error: Unknown pin name 'fan6'
Error: Fan number 6 not found
Error: Unknown pin name 'fan7'
Error: Fan number 7 not found
Error: Unknown pin name 'fan8'
Error: Fan number 8 not found
Warning: Macro file config-override.g not foundHave to got to work now
-
If you get a temperature of -273°C, this indicates an open circuit, i.e. nothing is connected to the defined pins:
Check that the temperature sensor is connected to the correct pins
Check the wiring for breaks
Measure the resistance of the wires that connect to the Duet, and that it corresponds with what the firmware expects
Check that the configuration is set correctly for the temperature sensor. -
@MIke-1 said in Thermistor 104nt-4-r025h42g:
Error: Fan number 3 not found
Error: Unknown pin name 'fan4'
Error: Fan number 4 not found
Error: Unknown pin name 'fan5'
Error: Fan number 5 not found
Error: Unknown pin name 'fan6'
Error: Fan number 6 not found
Error: Unknown pin name 'fan7'
Error: Fan number 7 not found
Error: Unknown pin name 'fan8'
Error: Fan number 8 not foundFor the fan names you'll need to use the actual fan pin names of where they are connected. Such as duex.fan# etc
-
All fans except one are running
M98 P"config.g"
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled
Error: Unknown pin name 'duex.fan0'
Error: Fan number 0 not found
Error: Unknown pin name 'duex.fan1'
Error: Fan number 1 not found
Error: Unknown pin name 'duex.fan2'
Error: Fan number 2 not found
Warning: Macro file config-override.g not foundNow I copied the old config-override.g into the directory and remevet duex. for the first 3 fans
M98 P"config.g"
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled
Warning: Heater 0 predicted maximum temperature at full power is 403°C
Warning: Heater 1 predicted maximum temperature at full power is 715°C
Warning: Heater 2 predicted maximum temperature at full power is 842°C
Warning: Heater 3 predicted maximum temperature at full power is 494°C
Warning: Heater 4 predicted maximum temperature at full power is 575°C
Error: Heater 5 not found
Error: Heater 6 not found
Error: Heater 7 not foundShown temperatures are unchanged. What to do next?
-
@MIke-1 said in Thermistor 104nt-4-r025h42g:
Shown temperatures are unchanged. What to do next?
Did you see my previous reply?
If you get a temperature of -273°C, this indicates an open circuit, i.e. nothing is connected to the defined pins:
Check that the temperature sensor is connected to the correct pins
Check the wiring for breaks
Measure the resistance of the wires that connect to the Duet, and that it corresponds with what the firmware expects
Check that the configuration is set correctly for the temperature sensor. -
I have say thanks for great help!!! But somehow I am completely lost.
The old config worked except for the beforlast termistor (I changed it but should be OK)
Now I checked the wiring! 87d3ed42-0e46-4a99-b7dd-e0b7291af44d.jpg
What are these 2 small PCBs on top?
E0Temp
PCB lower
PCB upper
E3Temp 150OhmI think I did not get how it works...
Here is my old and new config
config.g -
Those look like PT100 daughterboards. If that's the case, those are not thermistors, but PT100 sensors, an your config needs to change.
https://docs.duet3d.com/en/Duet3D_hardware/Accessories/PT100_Temperature_Daughterboard
https://docs.duet3d.com/User_manual/Connecting_hardware/Temperature_connecting_PT100
-
I do have some severe mismatches with the pins, and it will take a while for me to understand this (coding), but wouldn't it make sense to remove the daughterboards?
-
@MIke-1 said in Thermistor 104nt-4-r025h42g:
wouldn't it make sense to remove the daughterboards?
No, then you would have to remove the PT100s as well and replace them with thermistors.
The coding part isn't very difficult, really. The only thing that needs to change is the M308 lines that describe the sensor setup to the firmware. Right now it's telling it it's a thermistor.
It would help to know exactly which sensor is connected where. I can't quite tell from your photo, but it looks like you have a resistor and a pair of wires connected to the bottom board, and 4 wires connected to one of the top. Can you verify what is connected where?
If nothing has physically changed hardware wise from when your previous config was used we can infer that channels X200, X202 and X203 were in use.
See if this section works
; 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 ; Heater1 M308 S1 P"spi.cs0" Y"rtd-max31865" ; create sensor number 1 as a PT100 sensor in the first position on the Duet 2 daughterboard connector M950 H1 C"duex.e1heat" T1 ; create nozzle heater output on duex.e3heat and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S280 ; set temperature limit for heater 1 to 280C ; Heater2 M308 S2 P"spi.cs3" Y"rtd-max31865" ; create sensor number 2 as a PT100 sensor in the second position on the Duet 2 daughterboard connector M950 H2 C"duex.e2heat" T2 ; create nozzle heater output on duex.e4heat and map it to sensor 2 M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H2 S280 ; set temperature limit for heater 2 to 280C ; Heater3 M308 S3 P"spi.cs4" Y"rtd-max31865" ; create sensor number 1 as a PT100 sensor in the first position on the Duet 2 daughterboard connector M950 H3 C"duex.e3heat" T3 ; create nozzle heater output on duex.e5heat and map it to sensor 3 M307 H3 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H3 S280 ; set temperature limit for heater 3 to 280C ; Heater4 M308 S4 P"duex.e4temp" Y"thermistor" T100000 B4138 ; configure sensor 4 as thermistor on pin duex.e6temp M308 H4 C"duex.e4heat" T4 ; create nozzle heater output on duex.e6heat and map it to sensor 4 M307 H4 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H4 S280 ; set temperature limit for heater 4 to 280C
-
Unfortunately not much of a difference
This is the old setup wich worked except the 3rd thermistor.
; Heaters
M305 S"Bed" P0 T100000 B4138 C0 ; Set thermistor + ADC parameters for heater 0
M143 H0 S150 ; Set temperature limit for heater 0 to 150CM305 S"T0" P1 T100000 B4138 C0 ; Set thermistor + ADC parameters for heater 1
M143 H1 S350 ; Set temperature limit for heater 1 to 550CM305 S"T1" P2 T100000 B4138 C0 X200 ; Set thermistor + ADC parameters for heater 2
M143 H2 S350 ; Set temperature limit for heater 2 to 550CM305 S"T2" P3 T100000 B4138 C0 X200 X202 ; Set thermistor + ADC parameters for heater 3
M143 H3 S350 ; Set temperature limit for heater 3 to 550C
;I replaced it by one of these:
;https://de.aliexpress.com/item/1005002781227348.html?spm=a2g0o.cart.0.0.29b04ae4OVMoF9&mp=1&gatewayAdapt=glo2deu
;But it never worked and because of this i updated the firmwareM305 S"T3" P4 T100000 B4138 C0; X203 ; Set thermistor + ADC parameters for heater 4
M143 H4 S350 ; Set temperature limit for heater 4 to 550CH1 T0 is linked to with 2 cables to E0Temp
H2 T1 is linked to the bottom board with a resistor
H3 T2 is linked with 4 wires connected to one of the top
H4 T3 is linked with 2 cables to E5TempI will be away from my printer for I guess a week now...
-
@MIke-1 you response is confusing me, it looks like you have thermistors in your original confit but PT100 boards installed, one of the PT100 board has a resistor in it as a reference.
Please can you confirm which wire goes to what hotend and where its currently plugged in for all of the temperature sensors (except the bed as that looks like its working). Once you have that. measure the resistance across the sensors to see if they are 100K (thermistors) or 100R (PT100).
-
Hello Tony,
I feel lost.
I think you can trust this:
H1 T0 is linked to with 2 cables to E0Temp 9,4kOhm
H2 T1 is linked to the bottom board with the resistor 108Ohm
H3 T2 is linked with 4 wires connected to one of the top 150kOhm
H4 T3 is linked with 2 cables to E5Temp 9,4kOhmThe setup worked before the firmware update with all sensors except T2
But I have no idea why some tools switched from active in inactive an back. I just does not make sense to me.
I think it would be the best to get access to the first tool for the very beginning.
I need a reference point for the first tool.
I tried these things to see at least a reaction on the first tool.
M308 S1 P"duex.e1temp" Y"thermistor" T100000 B4138
;M308 S1 P"temp0" Y"rtd-max31865"
;M308 S1 P"spi.cs0" Y"rtd-max31865" ; create sensor number 1 as a PT100 sensor in the first position on the Duet 2 daughterboard connectorBut I think I might have messed up some numbers.
-
@MIke-1 i agree lats sort the first tool out.
If its on e0temp then you need to use P"e0temp" in the M308 try that.
Do you have any information about the thermistor in T0 - 9.4Kohm is strange for an extruder, 94Kohm otoh would be in the right ball park.
-
P"e0temp" did not help the heater ist n/a
I think the resistance is not a big issue because this here worked:
M305 S"T0" P1 T100000 B4138 C0 -
@MIke-1 I checked your wiring image again, posting here to make it easier to reference:
https://forum.duet3d.com/assets/uploads/files/1677954007806-87d3ed42-0e46-4a99-b7dd-e0b7291af44d.jpgAnd it does look like you have something plugged into e0temp so something else is failing please send M98 Pconfig.g from the console and see what errors you get back.
-
@T3P3Tony said in Thermistor 104nt-4-r025h42g:
M98 Pconfig.g
My latest config is uploaded Here is the respondse, but it does not make sense to me:
M98 Pconfig.g
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled
Error: Unknown pin name 'duex.e1heat'
Error: Heater 1 not found
Error: Heater 1 does not exist
Error: Sensor 4 does not exist
Error: Bad command: mp"" Y"thermistor" T100000 B4138
Error: in file macro line 108: M308: missing parameter 'S'
Error: Heater 4 not found
Error: Heater 4 does not exist
Error: Unknown pin name 'duex.fan0'
Error: Fan number 0 not found
Error: Unknown pin name 'duex.fan1'
Error: Fan number 1 not found
Error: Unknown pin name 'duex.fan2'
Error: Fan number 2 not found
Warning: Heater 0 predicted maximum temperature at full power is 403°C
Error: Heater 1 not found
Warning: Heater 2 predicted maximum temperature at full power is 842°C
Warning: Heater 3 predicted maximum temperature at full power is 494°C
Error: Heater 4 not found
Error: Heater 5 not found
Error: Heater 6 not found
Error: Heater 7 not found -
@MIke-1 now we are getting somewhere. We need to fix those errors.
Error: Unknown pin name 'duex.e1heat'
if you look in the documentation here:
https://docs.duet3d.com/Duet3D_hardware/Duet_2_family/Duet_2_WiFi_Ethernet_Hardware_Overview#pin-namesyou will not find "duex.e1heat" the e1heat connector is on the duet 2 mainboard so change that to "e1heat" without the duex and then restart and run M98 Pconfig.g again
you will hopefully see that first error disappear and then probably the next two which relate to heater 1 not being setup correctly.
Next error, these three lines:
Error: Sensor 4 does not exist
Error: Bad command: mp"" Y"thermistor" T100000 B4138
Error: in file macro line 108: M308: missing parameter 'S'This line is possibly the culprit
M308 S4 P"duex.e5temp" Y"thermistor" T100000 B4138try the following in its place
M308 S1 P"e5temp" Y"thermistor" T100000 B4138
Once again save, run M98 Pconfig.g and lets see if thats fixed some more of the issues.
Using the same process have a a go fixing the other errors.
-
@T3P3Tony said in Thermistor 104nt-4-r025h42g:
M98 Pconfig.g
Now it looks better:
M98 Pconfig.g
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled
Error: Sensor 4 does not exist
Error: Bad command: mp"" Y"thermistor" T100000 B4138
Error: in file macro line 109: M308: missing parameter 'S'
Error: Heater 4 not found
Error: Heater 4 does not exist
Warning: Heater 0 predicted maximum temperature at full power is 403°C
Warning: Heater 1 predicted maximum temperature at full power is 715°C
Warning: Heater 2 predicted maximum temperature at full power is 842°C
Warning: Heater 3 predicted maximum temperature at full power is 494°C
Error: Heater 4 not found
Error: Heater 5 not found
Error: Heater 6 not found
Error: Heater 7 not foundI updated the config but do not understand the issue.
The thermistor is the upper one with the 2 blue and 2 yellow wires just using 2
-
See this from me previous reply:
Next error, these three lines:
Error: Sensor 4 does not exist
Error: Bad command: mp"" Y"thermistor" T100000 B4138
Error: in file macro line 108: M308: missing parameter 'S'This line is possibly the culprit
M308 S4 P"duex.e5temp" Y"thermistor" T100000 B4138try the following in its place
M308 S1 P"e5temp" Y"thermistor" T100000 B4138
Once again save, run M98 Pconfig.g and lets see if thats fixed some more of the issues.
-
; Heater4
M308 S1 P"e5temp" Y"thermistor" T100000 B4138
;M308 S1 P"e5temp" Y"thermistor" T100000 B4138
M308 S4 "P"duex.e3temp"" Y"thermistor" T100000 B4138 ; configure sensor 4 as thermistor on pin duex.e6temp
M308 H4 C"duex.e3heat" T4 ; create nozzle heater output on duex.e6heat and map it to sensor 4
M307 H4 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H4 S280This here is said to be the faluty line:
M308 H4 C"duex.e3heat" T4Here is the response:
M98 Pconfig.g
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled
Error: Sensor 4 does not exist
Error: Bad command: mp"" Y"thermistor" T100000 B4138
Error: in file macro line 110: M308: missing parameter 'S'
Error: Heater 4 not found
Error: Heater 4 does not exist
Warning: Heater 0 predicted maximum temperature at full power is 403°C
Warning: Heater 1 predicted maximum temperature at full power is 715°C
Warning: Heater 2 predicted maximum temperature at full power is 842°C
Warning: Heater 3 predicted maximum temperature at full power is 494°C
Error: Heater 4 not found
Error: Heater 5 not found
Error: Heater 6 not found
Error: Heater 7 not foundBut why S1 in M308 S1?