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

    Thermisors showing wrong temperatures

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    6
    62
    2.8k
    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.
    • droftartsundefined
      droftarts administrators @mendelevium
      last edited by droftarts

      @mendelevium your command is wrong; they are not plugged into bedtemp and e0temp, they are plugged into spi.cs1 and spi.cs2. See https://duet3d.dozuki.com/Wiki/Connecting_thermocouples#Section_RepRapFirmware_3_x

      Ian

      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

      mendeleviumundefined 1 Reply Last reply Reply Quote 1
      • mendeleviumundefined
        mendelevium @droftarts
        last edited by

        @droftarts thanks so much...

        mendeleviumundefined 1 Reply Last reply Reply Quote 0
        • mendeleviumundefined
          mendelevium @mendelevium
          last edited by

          @mendelevium
          I am still struggling and hopefully someone can guide me.
          I will explain what I have and what I am trying to achieve.
          I have two daughterboards stacked on top of each other MAX31856-based interface boards
          I have one heatbed H0 on channel 151, Hotend 0 on channel 150 and Hotend 1 on channel 152
          I have type K thermocouples
          This is how I configured my confg file.

          ;Heatbed configuration
          M305 P0 X151
          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

          ;Hotend 0 configuration
          M305 P1 X150
          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 S280 ; set temperature limit for heater 1 to 280C

          ;Hotend 1 configuration
          M305 P2 X152
          M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat 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

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

            Here's what the config tool outputs when selecting thermocouple.

            ; Heaters
            M308 S0 P"spi.cs2" Y"thermocouple-max31855" ; configure sensor 0 as thermocouple via CS pin spi.cs2
            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"spi.cs1" Y"thermocouple-max31855" ; configure sensor 1 as thermocouple via CS pin spi.cs1
            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 S280                                ; set temperature limit for heater 1 to 280C
            M308 S2 P"spi.cs3" Y"thermocouple-max31855" ; configure sensor 2 as thermocouple via CS pin spi.cs3
            M950 H2 C"e1heat" T2                        ; create nozzle heater output on e1heat 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
            

            Z-Bot CoreXY Build | Thingiverse Profile

            mendeleviumundefined 2 Replies Last reply Reply Quote 1
            • mendeleviumundefined
              mendelevium @Phaedrux
              last edited by

              @phaedrux
              Thank you, good morning, and I will try it out when I get back home. Stay Safe every one and we hope things get better for everybody.

              mendeleviumundefined 1 Reply Last reply Reply Quote 0
              • mendeleviumundefined
                mendelevium @Phaedrux
                last edited by

                @phaedrux
                HI Still getting unknown sensor.. I have the Max 31856 not 31855
                sensors are K type
                thanks

                Phaedruxundefined 1 Reply Last reply Reply Quote 0
                • mendeleviumundefined
                  mendelevium @mendelevium
                  last edited by

                  @mendelevium
                  should the sensors read the room temperature? even when switched off??

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

                    @mendelevium said in Thermisors showing wrong temperatures:

                    @phaedrux
                    HI Still getting unknown sensor.. I have the Max 31856 not 31855
                    sensors are K type
                    thanks

                    Ok so change it to thermocouple-max31856

                    Z-Bot CoreXY Build | Thingiverse Profile

                    1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators @mendelevium
                      last edited by

                      @mendelevium said in Thermisors showing wrong temperatures:

                      @mendelevium
                      should the sensors read the room temperature? even when switched off??

                      Yes, they should read room temperature when the machine has not been heated up.

                      Please post your entire config.g file, and the result of running M98 P"config.g".

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      mendeleviumundefined 2 Replies Last reply Reply Quote 0
                      • mendeleviumundefined
                        mendelevium @dc42
                        last edited by

                        @dc42
                        The heaters now show a reading but they are spiking to 2000 deg
                        the bed also registers a fault..
                        what can I possibly have not right?
                        many thanks for your reply.

                        ; Heaters
                        ; Heatbed
                        M308 S0 P"spi.cs1" Y"thermocouple-max31856" ; configure sensor 0 as thermocouple via CS pin spi.cs1 and sensor type
                        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

                        ; Hotend 1-e0
                        M308 S1 P"spi.cs2" Y"thermocouple-max31856" ; configure sensor 1 as thermocouple via CS pin spi.cs2 and sensor type
                        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 S280 ; set temperature limit for heater 1 to 280C

                        ;Hotend 2-e1
                        M308 S2 P"spi.cs3" Y"thermocouple-max31856" ; configure sensor 2 as thermocouple via CS pin spi.cs3 and sensor type
                        M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat 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

                        Phaedruxundefined 1 Reply Last reply Reply Quote 0
                        • mendeleviumundefined
                          mendelevium @dc42
                          last edited by

                          @dc42 said in Thermisors showing wrong temperatures:

                          M98 P"config.g
                          When I ran this command, I got a response too long message

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

                            @mendelevium said in Thermisors showing wrong temperatures:

                            @dc42 said in Thermisors showing wrong temperatures:

                            M98 P"config.g
                            When I ran this command, I got a response too long message

                            check the console page

                            Z-Bot CoreXY Build | Thingiverse Profile

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

                              @mendelevium said in Thermisors showing wrong temperatures:

                              The heaters now show a reading but they are spiking to 2000 deg
                              the bed also registers a fault..

                              When do they spike to 2000?

                              What fault did the bed give?

                              What does the heater graph look like?

                              Z-Bot CoreXY Build | Thingiverse Profile

                              mendeleviumundefined 2 Replies Last reply Reply Quote 0
                              • mendeleviumundefined
                                mendelevium @Phaedrux
                                last edited by

                                @phaedrux b23b06b2-c257-4164-9662-9d03cffc1995-image.png

                                mendeleviumundefined 1 Reply Last reply Reply Quote 0
                                • mendeleviumundefined
                                  mendelevium @Phaedrux
                                  last edited by

                                  @phaedrux
                                  The temperature will read 12.9/13 for both and then shoot up to 2000 deg in a flash and return to 12.9/13 but the room ambient temp is 23 deg C. I have read that the daughterboard had an improvement with a capacitor. I had bought it original from Duet around 2 years ago. might be this?

                                  1 Reply Last reply Reply Quote 0
                                  • mendeleviumundefined
                                    mendelevium @mendelevium
                                    last edited by

                                    @mendelevium
                                    Please note that I do not have a sensor daughterboard in place for the third heater.

                                    Phaedruxundefined mendeleviumundefined 2 Replies Last reply Reply Quote 0
                                    • Phaedruxundefined
                                      Phaedrux Moderator @mendelevium
                                      last edited by

                                      @mendelevium said in Thermisors showing wrong temperatures:

                                      @mendelevium
                                      Please note that I do not have a sensor daughterboard in place for the third heater.

                                      Does that mean you have a thermocouple connected directly to the board?

                                      Can you post a photo of your board setup?

                                      Are you getting any heater fault messages in the console?

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      mendeleviumundefined 1 Reply Last reply Reply Quote 0
                                      • mendeleviumundefined
                                        mendelevium @mendelevium
                                        last edited by

                                        @mendelevium
                                        Could someone explain how I can choose the right sensor as the heatbed has an NTC 100K thermistor and not a thermocouple.
                                        The hot ends have a thermocouple

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

                                          @mendelevium said in Thermisors showing wrong temperatures:

                                          @mendelevium
                                          Could someone explain how I can choose the right sensor as the heatbed has an NTC 100K thermistor and not a thermocouple.
                                          The hot ends have a thermocouple

                                          M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 ; 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
                                          

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          mendeleviumundefined 1 Reply Last reply Reply Quote 0
                                          • mendeleviumundefined
                                            mendelevium @Phaedrux
                                            last edited by

                                            @phaedrux
                                            I have a max31856 daughterboard

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA