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

PT-100 temperature constantly at 2000 degrees after failure

Scheduled Pinned Locked Moved
Duet Hardware and wiring
11
54
7.9k
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.
  • undefined
    CoolM8
    last edited by 12 May 2017, 18:12

    The strange thing is that it used to work before until it failed in the beginning of a print. Since then i only fiddled around with the M305 P1 command.

    [[language]]
    ; Configuration file for Duet WiFi (firmware version 1.17)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool on Wed Apr 19 2017 22:18:05 GMT+0200 (W. Europe Daylight Time)
    
    ; General preferences
    M111 S0 ; Debugging off
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves
    M555 P2 ; Set firmware compatibility to look like Marlin
    M208 X0 Y0 Z0 S1 ; Set axis minima
    M208 X205 Y205 Z205 S0 ; Set axis maxima
    
    ; Endstops
    M574 X1 Y1 Z1 S1 ; Define active high microswitches
    M558 P0 X0 Y0 Z0 H5 F120 T6000 ; Set Z probe type to switch, the axes for which it is used and the probe + travel speeds
    G31 P600 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
    M557 X15:190 Y15:190 S20 ; Define mesh grid
    
    ; Drives
    M569 P0 S1 ; Drive 0 goes forwards
    M569 P1 S1 ; Drive 1 goes forwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards
    M350 X16 Y16 Z8 E16 I0 ; Configure microstepping without interpolation
    M92 X157.4804 Y157.4804 Z533.3333 E832 ; Set steps per mm
    M566 X1200 Y1200 Z480 E120 ; Set maximum instantaneous speed changes (mm/min)
    M203 X8100 Y8100 Z1200 E1200 ; Set maximum speeds (mm/min)
    M201 X500 Y20 Z250 E250 ; Set accelerations (mm/s^2)
    M906 X1100 Y1100 Z1100 E1100 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout
    
    ; Heaters
    M143 S310 ; Set maximum heater temperature to 310C
    M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
    M305 P0 T10000 B3988 C0 R4700 L0 H0 ; Set thermistor + ADC parameters for heater 0
    M305 P1 X200
    
    ; Tools
    M563 P0 D0 H1 ; 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
    
    ; Network
    M550 PUltimaker ; Set machine name
    M552 P0.0.0.0 S1 ; Enable network and acquire dynamic address via DHCP
    
    ; Fans
    M106 P0 S1 I0 F500 H1 T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P1 S1 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P2 S1 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off
    
    ; Custom settings are not configured
    
    
    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 12 May 2017, 19:55

      Something to try. Go to the GCode console in DWC and send M305 P1 X0 followed by M305 P1 X200. If it can't communicate with the chip on the daughter board, it should return an error message within a few seconds. Repeat for channel 201. If you get no errors, you can test whether the error reporting is working by trying a channel you don't have such as 202 or 203.

      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

      1 Reply Last reply Reply Quote 0
      • undefined
        deckingman
        last edited by 12 May 2017, 20:22

        Taking a step back and reading through this thread, it seems that it was all working fine then suddenly failed. Since then, you've tried a different sensor, a new daughter board and a new duet board. So how about the actual wires that link the sensor to the daughter board? That's the only thing I can think of that you haven't explicitly said has been replaced.

        Ian
        https://somei3deas.wordpress.com/
        https://www.youtube.com/@deckingman

        1 Reply Last reply Reply Quote 0
        • undefined
          CoolM8
          last edited by 5 Dec 2017, 20:33 12 May 2017, 20:33

          Yes the error reporting is working and i get no error when calling M305 P1 X0 and M305 P1 X200 or X201 right after that. I've tried that before.

          Can I somehow debug the firmware? Maybe there i can find out what the issue is.

          1 Reply Last reply Reply Quote 0
          • undefined
            dc42 administrators
            last edited by 12 May 2017, 20:40

            I really don't think it's a firmware issue, because other people (including me) are using PT100 sensors without this problem. Some users see temperature spikes to 2000C, caused by interference. That's why I would really like to know how your board behaves with just the 2 links and a 100 to 180 ohm resistor connected to the terminals.

            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

            1 Reply Last reply Reply Quote 0
            • undefined
              CoolM8
              last edited by 14 May 2017, 10:30

              Ok I'm going to get a resistor next week , but I don't expect to see any difference. As i said before, i can already make sure that the resistance between 2 and 3 is of around 180 ohm and the resistance between 1 and 4 is 180 ohm as well.
              How can i check if the daughter-board is actually doing anything?
              As the UI shows 2000° even when no daughter-board is connected at all, I think the issue must be somewhere there. I just don't get it why it i the exactly the same with the new hardware.

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators
                last edited by 14 May 2017, 15:12

                The UI will show 2000C whenever a temperature reading can't be obtained after several attempts for any reason. The difference is that when you send the M305 P1 X200 command, you get an error message if no daughter board is connected. You are not getting that error message, which means that the firmware is communicating with the daughter board.

                Perhaps we should include a 100 ohm resistor with the daughter boards, to help diagnose this sort of problem.

                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

                1 Reply Last reply Reply Quote 0
                • undefined
                  CoolM8
                  last edited by 17 May 2017, 16:56

                  Well, all this because of almost nothing! Things like that always result in the smallest possible issue.
                  First of all I got a E3D cartridge thermistor instead of a PT100 and the second i ordered was the V6 fixing kit with contains the cartridge thermistor as well. The biggest problem is that they look exactly the the same.
                  The test with a 150 ohm resistor worked and gave me a result of around 130° instead of 2000°. So I ordered a real PT100 sensor and right now I'm printing all fine with the thermistor in place (logically without the daughter-board in use).

                  Thanks for all that support.

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    dc42 administrators
                    last edited by 17 May 2017, 21:18

                    I'm glad you solved it.

                    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

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      DjDemonD
                      last edited by 21 Jun 2017, 13:27

                      Thought this might be the thread to ask.

                      I got a daughterboard from T3P3 this morning (ordered yesterday so impressed).

                      I solder-bridged the pads on RTD1 carefully. I have attached my e3d pt100 (which reads 111ohms at room temp - 30 deg C!) to pins 2 and 3 on the screw terminal.

                      I added M305 P2 X200 to config.g
                      and M563 P99 H2 to tool definitions (planning to use this as chamber temp monitor until I get a heater block which can accept the sensor).

                      But no dice… 2000 deg C showing.
                      I've checked the daughterboard is properly located over the SPI pins with the bulk of the board facing in.
                      I've been into console and sent M305 P2 X0 - okay
                      then M305 P99 X200
                      "Error: failed to initialise RTD: bad response from sensor"

                      Any ideas?

                      Simon. Precision Piezo Z-Probe Technology
                      www.precisionpiezo.co.uk
                      PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        Dougal1957
                        last edited by 21 Jun 2017, 13:56

                        Try a lower number for the P parameter not sute but pretty certain the Firmware won't know about sensors numbered that high.

                        Sure David will be along soon to confirm or deny my assumption?

                        Doug

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          DjDemonD
                          last edited by 21 Jun 2017, 14:20

                          I'll try that sure maybe it should have been p2 or it could be something else on this board that's not quite right, but spi must work or a whole load of things would be dead which are working fine.

                          Simon. Precision Piezo Z-Probe Technology
                          www.precisionpiezo.co.uk
                          PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            deckingman
                            last edited by 21 Jun 2017, 16:39

                            Simon,

                            I'm using pt100s via the daughter board for my hot end and bed. The first channel on the daughter board is X200 and the second is X201 and P is the heater number.

                            So what you need is M305 Pnnn X200 (or X201) where Pnnn is the heater number (not the tool number). In my case I have M305 P0 X200 for the bed, and M305 P1 X201 for the hot end.

                            HTH

                            Ian

                            Ian
                            https://somei3deas.wordpress.com/
                            https://www.youtube.com/@deckingman

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              DjDemonD
                              last edited by 21 Jun 2017, 19:07

                              Thanks guys. Okay so I tried M305 P2 X200 (and 201,202,203) but still Error: Failed to inialise RTD, bad response from sensor.

                              I will rule out the pt100 board being at fault by sticking it onto my other machine and seeing if I can initialise it.

                              Simon. Precision Piezo Z-Probe Technology
                              www.precisionpiezo.co.uk
                              PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                DjDemonD
                                last edited by 21 Jun 2017, 19:25

                                Okay so it works fine and reads fine on my other machine, it must be this slightly iffy duetwifi board. I won't waste any more of your time. Thank you gentlemen. Enjoy your evenings.

                                CalvinX looks like its back to the fridge thermometer for me 🙂

                                Simon. Precision Piezo Z-Probe Technology
                                www.precisionpiezo.co.uk
                                PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  TwoTone
                                  last edited by 4 Jan 2018, 01:17

                                  I’m having the same issue- installed new pt100 and board and it sits at 2000.
                                  I get 104 ohms for resistance of the PT100
                                  2.02 volts between 1-4 on daughter board
                                  Config file line: M305 P1 X200
                                  Sent M305 P1 X0 followed by M305 P1 X200- no errors. No errors for channel X201 and I did get error for 202.
                                  I’m using wire from a cat5 cable, so each pair has a slight twist to them.
                                  They are running within a single lose bundle from the hotend to center of top of printer and down a tower leg alone.

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    dc42 administrators
                                    last edited by 4 Jan 2018, 08:00

                                    @DjDemonD:

                                    Okay so it works fine and reads fine on my other machine, it must be this slightly iffy duetwifi board. I won't waste any more of your time. Thank you gentlemen. Enjoy your evenings.

                                    Do you have anything else connected to the SPI bus on that Duet, for example a PanelDue connected via a ribbon cable to CONN_SD ?

                                    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

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      DjDemonD
                                      last edited by 1 Apr 2018, 13:18 4 Jan 2018, 13:16

                                      In my case the issue was with poor quality crimping on the original e3d pt100 sensor and not an iffy duetwifi board please consider that a retraction.

                                      I now stock pt100s without connectors with 95cm leads for less chance of a bad connection. See my signature below.

                                      Simon. Precision Piezo Z-Probe Technology
                                      www.precisionpiezo.co.uk
                                      PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        dc42 administrators
                                        last edited by 4 Jan 2018, 13:46

                                        @TwoTone:

                                        I’m having the same issue- installed new pt100 and board and it sits at 2000.
                                        I get 104 ohms for resistance of the PT100
                                        2.02 volts between 1-4 on daughter board

                                        2.02V is too much. Assuming you are using a 2 wire connection, you should have the 2 jumpers fitted, in which case you should measure the same voltage between terminals 2-3 on the daughter board as between 1-4.

                                        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

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          TwoTone
                                          last edited by 4 Jan 2018, 17:41

                                          @dc42:

                                          @TwoTone:

                                          I’m having the same issue- installed new pt100 and board and it sits at 2000.
                                          I get 104 ohms for resistance of the PT100
                                          2.02 volts between 1-4 on daughter board

                                          2.02V is too much. Assuming you are using a 2 wire connection, you should have the 2 jumpers fitted, in which case you should measure the same voltage between terminals 2-3 on the daughter board as between 1-4.

                                          Sorry was posting from memory.

                                          Actually using 4 wire and only see .0009 v across the terminals

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