Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Mini IR sensor firmware 1.2: Digital vs Analog output

    IR Height Sensor
    1
    1
    81
    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.
    • mech
      mech last edited by

      Hi, upon reviewing the source for the v1.2 miniIR probe I spotted this.

      --snip--
      // Determine whether to provide a digital output or a 4-state output, or to calibrate the sensor.
      // We do this by checking to see whether the connected electronics provided a pullup resistor on the output.
      // If a pullup resistor is detected, we provide a digital output, else we provide an analog output.
      --snip--

      I can implement either one, digital or analog. My question is, is there any performance benefit between the two, digital vs analog?

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