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

    Need help to configure Heaters and Temperature sensors PT100

    Scheduled Pinned Locked Moved
    General Discussion
    3
    20
    435
    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.
    • imartinezundefined
      imartinez @imartinez
      last edited by

      @imartinez

      I use this line in my config.g...

      M303 H1 P1 S40 ; Heater 1 power 100% Temp limit 40º

      But i don´t know this is correct or not.....

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @imartinez
        last edited by

        @imartinez thats not correct. M303 tuning is not done as part of your config. its a command you send separately

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        imartinezundefined 1 Reply Last reply Reply Quote 0
        • imartinezundefined
          imartinez @jay_s_uk
          last edited by

          @jay_s_uk

          Ok, I think i must remove this line from mi config.g and execute it like a comand in mi control panel , correct???

          is this the execute form i must tu use ????

          M303 H1 P1 S40

          Thank you very much.....

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @imartinez
            last edited by

            @imartinez correct.
            maybe this gives a bit more info https://docs.duet3d.com/en/User_manual/Connecting_hardware/Heaters_tuning

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            imartinezundefined 1 Reply Last reply Reply Quote 0
            • imartinezundefined
              imartinez @jay_s_uk
              last edited by

              @jay_s_uk

              And after execute that????...

              Thank you again....

              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @imartinez
                last edited by

                @imartinez see here https://docs.duet3d.com/en/User_manual/Connecting_hardware/Heaters_tuning#making-new-heater-parameters-persistent

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                imartinezundefined 1 Reply Last reply Reply Quote 0
                • imartinezundefined
                  imartinez @jay_s_uk
                  last edited by

                  @jay_s_uk

                  Ok... Thank You very much....

                  should i remove all this lines from my config.g???

                  M308 S1 P"spi.cs0" Y"rtd-max31865" ; configure sensor 1 as PT100 on pin spi.cs0
                  M950 H1 C"out1" T1 ; create nozzle heater output on !out1 and map it to sensor 1
                  M307 H1 B0 S1.00 V24.0 ; disable bang-bang mode for heater and set PWM limit
                  M303 H1 P1 S40 ; Heater 1 power 100% Temp limit 40º
                  M143 H1 P0 S50 A2 ; set temperature limit for heater 1 to 50C
                  M308 S2 P"spi.cs1" Y"rtd-max31865" ; configure sensor 2 as PT100 on pin spi.cs1
                  M950 H2 C"out2" T2 ; create nozzle heater output on !out2 and map it to sensor 2
                  M307 H2 B0 S1.00 V24.0 ; disable bang-bang mode for heater and set PWM limit
                  M303 H2 P1 S40 ; Heater 2 power 100% Temp limit 40º
                  M143 H2 P0 S50 A2 ; set temperature limit for heater 2 to 50C

                  jay_s_ukundefined imartinezundefined 2 Replies Last reply Reply Quote 0
                  • jay_s_ukundefined
                    jay_s_uk @imartinez
                    last edited by

                    @imartinez no, you need all those. either replace the M307 lines or use M500 and config-override.g

                    Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                    1 Reply Last reply Reply Quote 0
                    • imartinezundefined
                      imartinez @imartinez
                      last edited by

                      @imartinez

                      ok

                      Thaks a LOT

                      jay_s_ukundefined droftartsundefined imartinezundefined 3 Replies Last reply Reply Quote 0
                      • jay_s_ukundefined
                        jay_s_uk @imartinez
                        last edited by jay_s_uk

                        @imartinez you may want to revisit your wiring as all of your crimping looks very dodgy!
                        There are wires that are bare and almost coming into contact which will cause a short and could lead to board damage.
                        You also have bare wires in terminals that should be crimped with bootlace ferrules.
                        And I'm not sure what's going on with your heater wires. It looks like you've crimped the JST VH pins onto existing ferrules. Thats also a very bad idea

                        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                        imartinezundefined 1 Reply Last reply Reply Quote 1
                        • droftartsundefined
                          droftarts administrators @imartinez
                          last edited by

                          @imartinez I second @jay_s_uk's comments about your wiring. You're risking shorting out a stepper driver with this:
                          b02b08b3-44cb-4c7c-b95d-29d88384ff0e-image.png

                          Inconsistent temperature readings with this:
                          5ed11524-ad03-4d3c-afe2-8b002362775f-image.png

                          And potentially creating heat at the junction of the crimp and ferrule with this:
                          d3aef65e-6afe-4e1d-8a7d-ae65962839fe-image.png

                          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

                          imartinezundefined 1 Reply Last reply Reply Quote 2
                          • imartinezundefined
                            imartinez @jay_s_uk
                            last edited by

                            @jay_s_uk Ok.... Thank You ....

                            1 Reply Last reply Reply Quote 0
                            • imartinezundefined
                              imartinez @droftarts
                              last edited by

                              @droftarts Ok

                              Thank You

                              1 Reply Last reply Reply Quote 0
                              • imartinezundefined
                                imartinez @imartinez
                                last edited by

                                @imartinez

                                Hello again.... 🙂

                                I revised my wiring conexions and fixed it , but i have problems again , i remplaced my 307 lines with the parameters of the tunning but , when i try to use the heaters I have a notification "Header 2 fault: failed to read sensor: sensor shot to other wiring" , i resised wiring 2 or 3 times and i think was Ok, Do you think the cause could be the length of the cables or it could be something else??????

                                parameters of M307

                                M307 H1 R0.337 K0.402:0.000 D11.85 E1.35 B0
                                M307 H2 R0.238 K0.228:0.000 D8.78 E1.35 B0

                                20240228_162917.jpg
                                20240228_162940.jpg

                                Thanks

                                droftartsundefined 1 Reply Last reply Reply Quote 0
                                • droftartsundefined
                                  droftarts administrators @imartinez
                                  last edited by

                                  @imartinez Yes, the sudden jumps in temperature reading are usually because the wiring is shorting out, or is being disconnected. It's also possible it is interference; does the temperature jump happen at the same time as motor movement, or heater turning on and off?

                                  I can see you have the 'Connecting PT100 temperature sensors' wiki page open! See particularly this section on the subject of interference: https://docs.duet3d.com/User_manual/Connecting_hardware/Temperature_connecting_PT100#wiring-the-pt100-temperature-sensor

                                  2-wire connections have the advantage of wiring simplicity. 4-wire connections have the advantage of greater accuracy; the extra wires compensate for the resistance drop in the wires, making readings more accurate. 4-wire does not improve resistance to interference; better approaches to reduce noise include twisted wiring, isolation from noise sources, shielded wiring, better grounding of components etc.

                                  See the troubleshooting advice at the end of the page here to check the problem isn't the temperature board: https://docs.duet3d.com/User_manual/Connecting_hardware/Temperature_connecting_PT100#troubleshooting

                                  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

                                  imartinezundefined 1 Reply Last reply Reply Quote 0
                                  • imartinezundefined
                                    imartinez @droftarts
                                    last edited by

                                    @droftarts Good Morning....

                                    I already put the sensors with 4 wired conexion and i have the error again , i don´t know what is happend .......

                                    The pt100 sensors read 2000 ºC when the heater is on every 10 or 15 seconds , is no always the same time , do u think is a interference problem???? , do u think a ferrita core is a possible solution??????

                                    error.jpg

                                    Thanks

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