Menu

Push buttons variable speed

2023-12-29
2025-03-18
  • Matteo Beretta

    Matteo Beretta - 2023-12-29

    If I correctly undersand, I can see in file myFP2F_DRV8825_330.ino a feature that allow to change the focuser speed long pressing the rotary encoder button.
    What about using the same approach for pushbuttons?
    If I keep pressed for longer than 3-5 seconds, I’d like a faster speed movement.

     
  • brownrb

    brownrb - 2024-01-01

    Hi Matteo
    What about using the same approach for pushbuttons?
    If I keep pressed for longer than 3-5 seconds, I’d like a faster speed movement.

    We do have a PBSTEPS value, which can be 1-n steps for a single push, tis explained in the manual.

    I have not placed the push button speed into the firmware because it requires an extra IO pin of the arduino and most are in use.
    If you look under the menu, Files, then OPTIONS, you will see a lot of "extras" for DIY users.
    This is the link to a zip file which examines the speed approach for pushbuttons

    https://sourceforge.net/projects/arduinoascomfocuserpro2diy/files/OPTIONS/Push%20Button%20Speed%20Switch%20Option.zip/download

    Regards
    Robert

     
  • Matteo COnti

    Matteo COnti - 2025-03-18

    Hi,
    the speed switch option is usable with the PCB (myFP2_DRV8825HW203_338)???
    thanks

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.