• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    PaulHew
    last edited by 27 Aug 2020, 06:16

    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
    • undefined
      dc42 administrators
      last edited by 27 Aug 2020, 06:30

      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

      undefined 1 Reply Last reply 27 Aug 2020, 06:49 Reply Quote 0
      • undefined
        PaulHew @dc42
        last edited by 27 Aug 2020, 06:49

        @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
        • undefined
          OwenD
          last edited by 27 Aug 2020, 08:49

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

          undefined 1 Reply Last reply 27 Aug 2020, 09:06 Reply Quote 0
          • undefined
            PaulHew @OwenD
            last edited by 27 Aug 2020, 09:06

            @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
            • undefined
              Phaedrux Moderator
              last edited by 27 Aug 2020, 21:52

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