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

    Duet 3 6HC - using temp sensor without mapping to a heater

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    3
    141
    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.
    • Johnnie_Wundefined
      Johnnie_W
      last edited by

      Is it possible to use a temp sensor without having to map it to a heater?

      I'm using 2 heater outs for cooling fans I built in the enclosure and want to use the temp sensor I connected to temp2.

      M308 S2 P"temp2" Y"thermistor" T100000 B4138 ; configure sensor 2 as thermistor on pin temp2

      fcwiltundefined dc42undefined 2 Replies Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt @Johnnie_W
        last edited by

        @Johnnie_W

        You can use the Duet Object Model to access a temp sensor:

        Here is where the reading for temp sensor 4 would be found:

        sensors.analog[4].lastReading

        So you could use the the Duet RRF Meta Commands (link ) to perform actions based on the temp sensor reading:

        if sensors.analog[4].lastReading > 999999
          echo "THE PRINTER APPEARS TO BE ON FIRE"
        

        Frederick

        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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

          @Johnnie_W said in Duet 3 6HC - using temp sensor without mapping to a heater:

          Is it possible to use a temp sensor without having to map it to a heater?

          Yes. In RRF3 sensors are defined independently of heaters. You can display them in DWC if you click on Extras.

          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
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA