Navigation

    Duet3D Logo

    Duet3D

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

    General GPIO input values visible in the object model? Analog?

    Beta Firmware
    3
    3
    72
    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.
    • bondus
      bondus last edited by

      Pins have names in RRF3, nice.

      Can the values from input pins be seen/read in the object mode for use in conditional GCODE?

      I can see that you can define input pins with M950 but there is no mention of analog pins. Of course it has to be an analog input pin for this to work.

      What I want to do is to hook up a potentiometer, or some other analog sensor, to get an absolute, but poor resolution, position of where the arms are on my five bar scara. Homing can be a bit tricky. The arms needs to be untangled to reach a proper endstop while at the same time avoiding mechanically unreachable positions.

      I'm sure there are other useful scenarios for reading a pin.

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

        Analog inputs are not yet included in the object model.

        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

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

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