Home 2018 Forums Crumble Development Motor speeds greater than 100

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #8204
    Dr John
    Participant

    I ran a test to see what happened to the motor when you set its speed to a variable, and that variable was greater than 100. Interesting results.

    between 100 – 130 – same fast forward speed as 100
    140 – stopped

    230 versy fast backwards, getting slower as the variable approached 300
    I stopped at 300.

    Please can you consider putting a cap on the value used. 100.

    I investigated this because I was getting unexpected results when using an analogue sensor to follow a line, and the mean speed approaches 100. It suddenly veered away from the line.
    my algorithm has a speed differential of (Sensor value -128) * proportion constant. So you can see that students might set the constant high enough to end up with a motor speed greater than 130.

    #8205
    Joseph
    Keymaster

    Hi,

    Thanks for the feedback! I’ve just added a fix to the next release which should be available in the next couple of days.

    Best wishes,

    Joseph

    #8206
    Dr John
    Participant

    Many thanks
    I forgot to say…

    Could this limiting apply to values less than -100 as well please?

    For those of us with motors wired backwards.

    #8217
    Joseph
    Keymaster

    Hi,

    The new software is available now. It does limit the speed between -100 and +100 inclusive.

    Best wishes,

    Joseph

    #8232
    Dr John
    Participant

    Tested it just now. Works fine, thanks.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.