Duet3D Logo

    Duet3D

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

    Joystick control?

    Firmware developers
    2
    3
    697
    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.
    • Kulitorum
      Kulitorum last edited by

      Would it be difficult to add joystick control to the XYZ position of the printhead?

      Preferably analog control, so the user can do both find and fast positioning.

      Is it something I can do with triggers, maybe? - I guess I would need 6 channels, or three with no movement reading 128 and positive and negative values. Then I could do it with the unused thermistor inputs (of my concrete printer) and maybe hold endstop E1 to activate manual control.

      But I guess a trigger script cannot read the value of a thermistor input?

      Alternatively, maybe I could use straight up triggers and increment the speed..... No, wait, I have no variable access.

      I guess this has to be hard-coded into the firmware.

      The idea is that when a print stops for one reason or another, the operator can move the printhead back to where it stopped and read out the XYZ position. He could then past this into the slicer and re-slice to start from where it stopped.

      Thank you for any input, in advice or firmware form 🙂

      kulitorum

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

        Probably the easiest way would be to connect the joystick to a 3.3V Arduino and translate the joystick movements into G-codes to feed into the Panel Due port.

        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
        • Kulitorum
          Kulitorum last edited by

          Ok, I'll do that. Thanks.

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