Menu

Motor speed default

2018-12-30
2019-01-04
  • Doug MacDonald

    Doug MacDonald - 2018-12-30

    Is there a way to change the default motor speed in stand-alone mode. In the Windows app, I can set the motor speed. But when running without computer connection the speed defaults to SLOW. Can I change this default to MEDIUM or FAST? Thanks in advance.

     
  • brownrb

    brownrb - 2018-12-31

    Hi Doug
    Yes it is possible
    I am not sure what firmware file you are using.
    The method will change depending on the firmware file.
    Let me know the filename of the firmware file you are using

    At present the controller does not remember motor speed but I guess there is no reason why it could not. I will look at doing this in the next release.

    Regards
    Robert

     
  • Doug MacDonald

    Doug MacDonald - 2019-01-03

    Hi Robert

    The firmware version is myFP2.L293D Mini.277. Just point me to wherever I can change SLOW to MED for default motorspeed value.

    Thanks,
    Doug

     
  • brownrb

    brownrb - 2019-01-04

    Hi Doug

    In the void setup()
    line 1977-79 change from
    motorSpeedRPM = motorSpeedSlowRPM;
    savedmotorSpeed = motorSpeed; // remember speed setting
    updatemotor();

    to this
    motorSpeed = FAST;
    motorSpeedRPM = motorSpeedFASTRPM;
    savedmotorSpeed = motorSpeed; // remember speed setting
    updatemotor();

    then reprogram the controller

    Regards
    Robert

     
  • Doug MacDonald

    Doug MacDonald - 2019-01-04

    That did the job, Robert, thanks. Though I notice "fast" using the buttons is a lot slower than "fast" from the Windows app.

     

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.