Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Thermistor 104nt-4-r025h42g

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    4
    45
    2.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T3P3Tonyundefined
      T3P3Tony administrators @Mike 1
      last edited by

      @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.

      www.duet3d.com

      Mike 1undefined 1 Reply Last reply Reply Quote 0
      • Mike 1undefined
        Mike 1 @T3P3Tony
        last edited by

        @T3P3Tony

        P"e0temp" did not help the heater ist n/a

        0d22b4fc-3d9f-4211-96af-e70ad4cbe7d4-grafik.png

        I think the resistance is not a big issue because this here worked:
        M305 S"T0" P1 T100000 B4138 C0

        1 Reply Last reply Reply Quote 0
        • T3P3Tonyundefined
          T3P3Tony administrators
          last edited by

          @MIke-1 I checked your wiring image again, posting here to make it easier to reference:
          67f5df62-9fd9-46c0-89ac-224da8bb42c7-image.png https://forum.duet3d.com/assets/uploads/files/1677954007806-87d3ed42-0e46-4a99-b7dd-e0b7291af44d.jpg

          And 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.

          www.duet3d.com

          Mike 1undefined 1 Reply Last reply Reply Quote 0
          • Mike 1undefined
            Mike 1 @T3P3Tony
            last edited by

            @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

            T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
            • T3P3Tonyundefined
              T3P3Tony administrators @Mike 1
              last edited by

              @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-names

              you 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 B4138

              try 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.

              www.duet3d.com

              Mike 1undefined 1 Reply Last reply Reply Quote 0
              • Mike 1undefined
                Mike 1 @T3P3Tony
                last edited by

                @T3P3Tony said in Thermistor 104nt-4-r025h42g:

                M98 Pconfig.g

                Now it looks better:

                dff52fcc-b564-4a67-92f6-568153ff4f8c-grafik.png

                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 found

                I 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

                config(1).g

                T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                • T3P3Tonyundefined
                  T3P3Tony administrators @Mike 1
                  last edited by

                  @MIke-1

                  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 B4138

                  try 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.

                  www.duet3d.com

                  Mike 1undefined 1 Reply Last reply Reply Quote 0
                  • Mike 1undefined
                    Mike 1 @T3P3Tony
                    last edited by

                    @T3P3Tony

                    ; 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 S280

                    This here is said to be the faluty line:
                    M308 H4 C"duex.e3heat" T4

                    Here 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 found

                    But why S1 in M308 S1?

                    T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                    • T3P3Tonyundefined
                      T3P3Tony administrators @Mike 1
                      last edited by

                      @MIke-1 said in Thermistor 104nt-4-r025h42g:

                      M308 S1 P"e5temp" Y"thermistor" T100000 B4138

                      sorry my cut and paste mistake. it should have been
                      M308 S4 P"e5temp" Y"thermistor" T100000 B4138

                      to replace this line
                      M308 S4 "P"duex.e3temp"" Y"thermistor" T100000 B4138 ; configure sensor 4 as thermistor on pin duex.e6temp

                      if S4 is actually connected to e3temp rather than e5temp then adjust the line accordingly.

                      www.duet3d.com

                      1 Reply Last reply Reply Quote 0
                      • Mike 1undefined
                        Mike 1
                        last edited by

                        @T3P3Tony

                        M98 Pconfig.g
                        HTTP is enabled on port 80
                        FTP is disabled
                        TELNET is disabled
                        Error: in file macro line 111: 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 found

                        This is the current code:
                        ; Heater4
                        ;M308 S1 P"e5temp" Y"thermistor" T100000 B4138
                        ;M308 S1 P"e5temp" Y"thermistor" T100000 B4138
                        M308 S4 P"e5temp" Y"thermistor" T100000 B4138
                        ;M308 S4 "P"duex.e3temp"" Y"thermistor" T100000 B4138
                        M308 H4 C"duex.e3heat" T4 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

                        I think this should work
                        M308 S4 P"duex.e3temp" Y"thermistor" T100000 B4138 ; the yellow and blue cable on the picture on the extension board
                        M308 H4 C"duex.e3heat" T4 ; heater 3 on the extension board

                        5d071a96-b770-4db2-8847-844a3b36e4ea.jpg

                        Thanks a lot!!!

                        T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                        • T3P3Tonyundefined
                          T3P3Tony administrators @Mike 1
                          last edited by T3P3Tony

                          @MIke-1 that yellow and blue cable looks like its wired to a PT100 because its 4 wires not 2. but that aside, there is a fault in the config.g that it preventing the sensor from being created. looking at it with fresh eyes i think i spot the issue, there is another M308 in there which should be a M950

                          please replace this:

                          ; Heater4

                          ;M308 S1 P"e5temp" Y"thermistor" T100000 B4138
                          ;M308 S1 P"e5temp" Y"thermistor" T100000 B4138
                          M308 S4 P"e5temp" Y"thermistor" T100000 B4138
                          ;M308 S4 "P"duex.e3temp"" Y"thermistor" T100000 B4138
                          M308 H4 C"duex.e3heat" T4 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
                          

                          with this

                          ; Heater4

                          M308 S4 P"e3temp" Y"thermistor" T100000 B4138
                          M950 H4 C"duex.e3heat" T4 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
                          

                          I don't necessarily think we will get a correct temperature reading but we should get a configuration that stops failing at that point.

                          Also please update this table:

                          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,4kOhm

                          because it looks like at least H4 is using S4 and is using a 4 wire sensor.

                          www.duet3d.com

                          Mike 1undefined 1 Reply Last reply Reply Quote 0
                          • Mike 1undefined
                            Mike 1 @T3P3Tony
                            last edited by

                            @T3P3Tony

                            🙂

                            c2f3591b-457a-4d14-8f2f-49870f5a5c9e-grafik.png

                            M98 Pconfig.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 found

                            The T3 cable has 4 wire but is connected to only 2 pins on the board.

                            H1 T0 is linked to with 2 cables to E0Temp 9,4kOhm ;Sensor is on H1 and working
                            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 E3Temp 9,4kOhm ;Sensor is on H4 and working

                            Now it is time to fix the other 2 sensors 🙂

                            Mike 1undefined 1 Reply Last reply Reply Quote 0
                            • Mike 1undefined
                              Mike 1 @Mike 1
                              last edited by Mike 1

                              @MIke-1
                              T1 is working 🙂
                              M308 S2 P"spi.cs1" Y"rtd-max31865"

                              T2 is a 104nt-4-r025h42g should it be pluged into the board itself? How do I connect to that sensor?
                              M308 S3 P"spi.cs3" Y"104GT-2" is not working

                              M98 Pconfig.g
                              HTTP is enabled on port 80
                              FTP is disabled
                              TELNET is disabled
                              Error: Unknown sensor type name "104gt2"
                              Warning: Sensor number 3 has not been defined
                              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 found

                              Phaedruxundefined 1 Reply Last reply Reply Quote 0
                              • Phaedruxundefined
                                Phaedrux Moderator @Mike 1
                                last edited by

                                @MIke-1 said in Thermistor 104nt-4-r025h42g:

                                T2 is a 104nt-4-r025h42g should it be pluged into the board itself? How do I connect to that sensor?

                                Yes if it's a normal thermistor it needs to be connected to the board itself on a temperature input and not the PT100 daughterboard.

                                Then you'd need commands similar to these depending on what pin you use and what values are needed for the thermistor.

                                M308 S4 P"e3temp" Y"thermistor" T100000 B4725 C7.06e-8
                                M950 H4 C"duex.e3heat" T4 it to sensor 4
                                

                                This is just an example though.

                                Can you post your config.g as it currently is now?

                                Z-Bot CoreXY Build | Thingiverse Profile

                                Mike 1undefined 1 Reply Last reply Reply Quote 0
                                • Mike 1undefined
                                  Mike 1 @Phaedrux
                                  last edited by

                                  @Phaedrux

                                  Now the heaters are all working 🙂
                                  I used another plug for the sensor.

                                  Sensorless homing is crashing at least for the x axis.

                                  config(2).g

                                  Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                  • Phaedruxundefined
                                    Phaedrux Moderator @Mike 1
                                    last edited by

                                    @MIke-1 said in Thermistor 104nt-4-r025h42g:

                                    Sensorless homing is crashing at least for the x axis.

                                    Might be a good idea to start a new thread about this issue. Include your config.g and homing files.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    1 Reply Last reply Reply Quote 0
                                    • T3P3Tonyundefined T3P3Tony marked this topic as a question
                                    • T3P3Tonyundefined T3P3Tony has marked this topic as solved
                                    • First post
                                      Last post
                                    Unless otherwise noted, all forum content is licensed under CC-BY-SA