Home 2018 Forums Crumble Support variable motor speed control

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #14531
    smaceoin@gmail.com
    Participant

    I have managed to increase the speed in increments of 10 on a geared dc motor
    each time the button is pressed, as you can see in the jpeg.
    I am stuck on how to decrease the speed when another button is pressed. Any thoughts
    on how to do this would be great.
    It is exactly how it would operate if I had a variable resistor circuit.
    Has anyone every used a variable resistor as motor control on crumble

    Attachments:
    You must be logged in to view attached files.
    #14551
    Daniel
    Moderator

    Hi there,

    I’ve had a go, and hopefully created something useful!

    I hope that you can make sense of the solution, but if you have any questions, please don’t hesitate to ask!

    Kind regards,

    Dan

    Attachments:
    You must be logged in to view attached files.
    #14566
    smaceoin@gmail.com
    Participant

    Hi Daniel,
    You are genius! and thanks for the speedy response. It worked first time, thank you.
    It makes perfect sense when someone knows what they are doing
    I’m just getting back into the coding and started off badly at this problem!
    Sean

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