External Rotary Encoder with Duet Wi-Fi



  • Hello,

    I want to connect external rotary encoder with any of the pins on expansion board. How can I do the same?
    Also, guide me on how to program Duet Wi-Fi for the external rotary encoder being connected?
    Thank you


  • administrators

    Can you clarify bid this is for implementing feedback for closed loop control or as part of a UI?



  • Since the topic of rotary encoder has come up it brings me to a goal I have for quite a while, to micro step the Z axis to fine tune first layer of print. I have my Z axis stepper mounted so I can rotate it about 90 degrees to tune the first layer.

    Sorry to but in.

    Thanks, Ed



  • @Edkirk:

    Since the topic of rotary encoder has come up it brings me to a goal I have for quite a while, to micro step the Z axis to fine tune first layer of print. I have my Z axis stepper mounted so I can rotate it about 90 degrees to tune the first layer.

    Sorry to but in.

    Thanks, Ed

    Why don't you just use baby stepping? It allows plus or minus 0.05mm steps.



  • Ed, using a rotary encoder for adjusting first layer is something I was dreaming of for a long time, with my previous printers.

    Then came the Duet, and the baby stepping 😉 I think it is even possible to change the default 0.05mm step value…



  • I find the baby stepping somewhat awkward and have to take my eyes off of the print to use the buttons on the PC or touch screen. I don't have to look away from the print to rotate the motor, I sometimes forget to te-zero the motor and run out of travel. When everything is set up properly it only takes a few degree of rotation right or left to get the perfect first layer.

    Ed



  • +1
    My ideal would be panelview + rotary encoder enclosed in a pendant like the big machines have. Maybe a few dedicated buttons for X,Y,X, etc.



  • Marlin babystepping is done with rotary encoder it is quite an intuitive and satisfying way to do it.


  • administrators

    PanelDue has a hardware option to add a rotary encoder, but it's not yet supported in the firmware.



  • I really wanted a rotary encoder to dial in the first layer but after using the Duet WiFi and converting my core x/y to the mini differential IR sensor and building a delta with a delta smart effector sensing accuracy is so precise my prints start up great. Occasionally I use baby stepping and noticed the setting stays in effect until I shut the printer off, at least it appears to work this way. Hard to tell since things just work so much better with the Duet WiFi.

    Thanks for the great work.

    Ed


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.