Duex5 and PT100



  • Hello,

    i connected my four pt100 sensor to one PT100 board. and then was show that it's has 2000 degree on the head
    abd later i found that I can only connect only 2 PT100 to one board.
    And now i want to know if is my board damage or it's my code that is wrong:

     Heaters
    ; Bed Heater
    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
    M143 H0 S120                                                                            ; set temperature limit for heater 0 to 120C
    M307 H0 B0 S1.00                                                                        ; disable bang-bang mode for the nozzle heater and set PWM limit
    
    ; Tool1 Heater
    M305 S1 P"spi.cs2" Y"rtd-max31865" W2                                                  	; configure sensor 1 as thermocouple via CS pin spi.cs1
    ;M308 S1 P"duex.e2temp" Y"thermistor" T100000 B4138                                     ; configure sensor 1 as thermistor on pin duex.e2temp
    M950 H1 C"duex.e2heat" T1                                                               ; create nozzle heater output on duex.e2heat and map it to sensor 1
    M143 H1 S280                                                                            ; set temperature limit for heater 1 to 280C
    M307 H1 B0 S1.00                                                                        ; disable bang-bang mode for the nozzle heater and set PWM limit
    
    ; Tool2 Heater
    M305 S2 P"spi.cs1" Y"rtd-max31865"                                                     ; configure sensor 2 as thermocouple via CS pin spi.cs2
    ;M308 S2 P"duex.e3temp" Y"thermistor" T100000 B4138                                      ; configure sensor 2 as thermistor on pin duex.e3temp
    M950 H2 C"duex.e3heat" T2                                                               ; create nozzle heater output on duex.e3heat and map it to sensor 2
    M143 H2 S280                                                                            ; set temperature limit for heater 2 to 280C                                               
    M307 H2 B0 S1.00                                                                        ; disable bang-bang mode for the nozzle heater and set PWM limit
    
    ; Tool3 Heater
    M308 S3 P"spi.cs3" Y"rtd-max31865"                                                     ; configure sensor 3 as thermocouple via CS pin spi.cs3
    ;M308 S3 P"duex.e4temp" Y"thermistor" T100000 B4138                                      ; configure sensor 3 as thermistor on pin duex.e4temp
    M950 H3 C"duex.e4heat" T3                                                               ; create nozzle heater output on duex.e4heat and map it to sensor 3
    M143 H3 S280                                                                            ; set temperature limit for heater 3 to 280C                                               
    M307 H3 B0 S1.00                                                                        ; disable bang-bang mode for the nozzle heater and set PWM limit
    
    ; Tool4 Heater
    M308 S4 P"spi.cs4" Y"rtd-max31865"                                                     ; configure sensor 4 as thermocouple via CS pin spi.cs4
    ;M308 S4 P"duex.e5temp" Y"thermistor" T100000 B4138                                      ; configure sensor 4 as thermistor on pin duex.e5temp
    M950 H4 C"duex.e5heat" T4                                                               ; create nozzle heater output on duex.e5heat and map it to sensor 4
    M143 H4 S280                                                                            ; set temperature limit for heater 4 to 280C
    M307 H4 B0 S1.00 																		; disable bang-bang mode for the nozzle heater and set PWM limit
    

  • administrators

    The sensor connection side of the PT100 board is fairly tough, so connecting 4 PT100 sensors to one board won't have damaged it.

    Your code for tool 1 and tool 2 sensors looks correct, so those sensors should be working if you now have 2 PT100 sensors connected to the middle 2 of each set of 4 pins and the jumpers in place. Stack a second PT100 board on top of the first to use the other 2 sensors.

    EDIT: you mentioned DueX5 in the thread title, however the M308 commands you quote are correct for 2 daughter boards plugged into the Duet, not the X5. The CS lines on the X5 are spi.cs4 thru spi.cs7.



  • @dc42 i have now move board to duet and it's same problem they show 2000 degree


  • administrators

    Send the M308 commands manually from the console, to see what error the firmware reports when trying to initialise the interface chips. It doesn't matter whether or not they have been sent already in config.g.



  • @dc42 66c5433f-02d8-4354-80ba-0946a9d6e729-image.png
    this is what i got i send Cs1 or cs2



  • @dc42 well i think i will need to write some e-mail to maxwell and ask them why they yend me hot end with thermistor and not PT100 as i want, because if i plug them in E2 thermistor conn. then temperature apper 👿 👿 👿 👿 👿 👿 👿 👿 👿


Log in to reply