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

    Contact-less Infrared Temperature Sensor - MLX90614

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    7
    471
    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.
    • adhanabalundefined
      adhanabal
      last edited by

      hello all
      Im building a SLS 3d printer with duet3 6HC v1.1,
      I want to have surface temperature regulation of powder using IR heaters, which will have temperature reading from MLX90614 - IR sensor,
      the problem is i wont able to directly connect that with mainboard,
      I tested the sensor with arduino uno and it works fine,
      Is there anyway i can get the temperature reading on duet from the mentioned sensor?
      so that i can use layer change script to regulate my temperature.
      regards

      zaptaundefined dc42undefined 2 Replies Last reply Reply Quote 0
      • zaptaundefined
        zapta @adhanabal
        last edited by

        Datasheet in the link below if anybody is interested. It seems to support SMbus and PWM output.

        https://www.melexis.com/en/documents/documentation/datasheets/datasheet-mlx90614

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

          @adhanabal assuming that you don't want to change the firmware, I can see two ways to interface it with the Duet:

          1. Use the PWM output mode. Feed it through a R-C smoothing network to an analog input of the Duet and configure a Linear Analog Sensor to use that input. Preferably, use the 3V variant of the sensor and feed it from the 3.3V supply on the temperature daughter board connector (not 3.3V on the IO ports, which is a different 3.3V supply) to avoid errors caused by the Vcc supply to the sensor and the Duet analog reference drifting by different amounts.

          2. Use a Arduino Nano or Pro Micro to read the sensor data in SMbus mode, and generate a smoothed PWM signal to feed to the Duet.

          It wold also be possible to add a driver to the firmware to read it in SMBus mode directly.

          Caution: in SMBus mode the SDA signal will be sensitive to noise, so it will almost certainly need to be shielded unless you have an Arduino or other interface device very close to the sensor.

          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

          adhanabalundefined 1 Reply Last reply Reply Quote 0
          • adhanabalundefined
            adhanabal @dc42
            last edited by adhanabal

            @dc42 thank you , im major in Mechanical, i have to go through lot of this from your solution, i ll check and try, any one else have successfully done this before?
            Im using arduino UNO, is it okay or should i change to arduino nano?

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

              @adhanabal Arduino Uno is OK, the Nano is just a smaller version.

              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

              zaptaundefined 1 Reply Last reply Reply Quote 0
              • zaptaundefined
                zapta @dc42
                last edited by zapta

                @dc42, will this improve the accuracy of the output voltage generated by the Arduino?

                https://www.adafruit.com/product/935

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

                  @zapta said in Contact-less Infrared Temperature Sensor - MLX90614:

                  @dc42, will this improve the accuracy of the output voltage generated by the Arduino?

                  https://www.adafruit.com/product/935

                  I assume you would use an Arduino to drive that board. It has the advantage that you would not need to produce the output by filtering a PWM signal. The accuracy of the reading from the Duet would depend on how well the internal 3.3V rail on the Arduino and the Vcc supply to that board track each other.

                  Is this a one-off project, or something that you hope to manufacture? How accurate do you need the temperature reading to be?

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