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

    Remove pullup resistor on sensor input pin

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    2
    4
    276
    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.
    • nyaruundefined
      nyaru
      last edited by

      Hi.
      I have a sensor with analog voltage output connected to the "temp0" pin of Duet3 6HC.
      This sensor outputs 0-5.2V, so I use a voltage divider resistor to step it down to 3.3V. It uses 2kΩ, 3kΩ, and variable resistors.
      However, when the sensor output is 0V, the reported sensor value is not 0 on Duet. About 1V is applied to temp0.
      I am thinking that the pull-up resistor may be the cause.
      Can I disable the pull-up resistor on the sensor pin?

      I have set up the sensor with the following command

      M308 S0 P"temp0" Y"linear-analog" A"laser" B0 C100 
      

      Thanks

      alankilianundefined 1 Reply Last reply Reply Quote 0
      • alankilianundefined
        alankilian @nyaru
        last edited by

        @nyaru

        Maybe you should use one of the other pins as an analog input?

        ANALOG INPUT capable pins.

        If not, THIS PDF shows how THERMISTER0 is connected.

        You could remove R28 and jumper over R29 if the capacitor is OK. Otherwise, remove C55

        Capture.PNG

        SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

        nyaruundefined 1 Reply Last reply Reply Quote 0
        • nyaruundefined
          nyaru @alankilian
          last edited by

          @alankilian
          I changed to use io pin as analog input.
          It works.
          Thank you!!!

          alankilianundefined 1 Reply Last reply Reply Quote 0
          • alankilianundefined
            alankilian @nyaru
            last edited by

            @nyaru

            AWESOME!

            SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

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