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

    Use of linear output temperature sensors

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    4
    692
    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.
    • mkellyundefined
      mkelly
      last edited by

      I am looking to set up my Duet to monitor a non-contact temperature sensor that outputs 0-5v. There is a linear relationship between temperature and output.

      As I understand it, Duet can only currently monitor thermsitors, thermocouples, and RTD style temperature sensors. I believe the RTD comes the closest, but cannot use variables to modify the output like thermistors can.

      Thus I think my only option will be to modify the source code to add the conversion equation for my sensor. If this is correct, then any insight into where the ideal place to make this revision would be is appreciated. Otherwise I'll continue exploring the code and making sense of it.

      Thanks!
      Mike

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

        We implemented something similar for an OEM last year for a sensor with a current loop output and created a custom daughter board. It had a precision voltage reference and a 12-bit ADC with SPI interface. The code to support it is included in the standard build of RRF as sensor type 300, in file RepRapFirmware/src/Heating/Sensors/CurrentLoopTemperatureSensor.cpp.

        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 1
        • mkellyundefined
          mkelly
          last edited by

          Perfect, thanks for clarifying.

          As someone else noted the MCP3204 looks to be the chip you're referring to.

          And the code is here: https://github.com/dc42/RepRapFirmware/blob/6b835cb3c8e9aa10113ae750151d9f9065116cd4/src/Heating/Sensors/CurrentLoopTemperatureSensor.cpp#L23
          I'll report any more findings as I implement.

          1 Reply Last reply Reply Quote 1
          • BenNorton01undefined
            BenNorton01
            last edited by

            Hi All

            I'm really bringing this post back from the dead!
            Was there any progression on the use of your non-contact sensor through the Duet system? I am wanting to implement something similar for myself.

            Thanks

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