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

    Pin number for onboard MCU temp sensor

    Scheduled Pinned Locked Moved
    My Duet controlled machine
    4
    6
    411
    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.
    • PaulHewundefined
      PaulHew
      last edited by

      Hi,
      I am looking for the Pin number for the onboard MCU temp sensor, please.
      ie PC13 is the Bed temp pin number.

      I have looked at the schematic's but am not experienced on what to look for.
      I know that the temp senor controls fan2 under RRF.

      I would like to read it much like DWC does.

      Thanks in advance

      Paul.

      RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
      Voron 2.4 disassembled..... Waiting for the RailCore Mini....

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

        The sensor is built into the microcontroller, so it doesn't use a pin.

        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

        PaulHewundefined 1 Reply Last reply Reply Quote 0
        • PaulHewundefined
          PaulHew @dc42
          last edited by

          @dc42 Morning David, thanks for your reply.
          So how can it be read it, please?
          RRF obviously does as you use virtual heater 100 for the MCU temp and 101 and 102 for the steppers.

          Regards,
          Paul

          RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
          Voron 2.4 disassembled..... Waiting for the RailCore Mini....

          1 Reply Last reply Reply Quote 0
          • OwenDundefined
            OwenD
            last edited by

            Try something like
            echo boards[0].mcuTemp.current

            PaulHewundefined 1 Reply Last reply Reply Quote 0
            • PaulHewundefined
              PaulHew @OwenD
              last edited by

              @OwenD Thanks for the reply.
              I am not a programmer, so would not know how to use that command.
              I am trying Klipper out and like the fact I could see the MCU temp in DWC / RRF and then control a fan based on that.

              I have put a git request in for Kevin.

              Thanks again.
              Paul.

              RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
              Voron 2.4 disassembled..... Waiting for the RailCore Mini....

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

                With RRF3 instead of virtual heater 100 the sensor name to monitor is "mcu-temp"

                https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_M308_Create_or_modify_sensor_or_report_sensor_parameters

                Z-Bot CoreXY Build | Thingiverse Profile

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