Motor Speed Control via Single Poteniometer?


Closed Thread
Results 1 to 5 of 5
  1. #1

    Default Motor Speed Control via Single Poteniometer?

    This may sound crazy, but ... I have a project in which I'd like to control the speed of a motor with a single potentiometer-type device which acts more like a volume control on a modern stereo (i.e. there is no 'stop' at either end since the volume on a stereo/AVR can be controlled by a remote). There would be another button (momentary) which would reset the motor speed to a set default value, and then turning the potentiometer-type device CCW would slow it down while turning it CW would speed it up. At any time if the user pushes the momentary button the motor speed would be set to the default, where the user could then speed up/slow down the motor as they wished.

    Is that possible? I haven't even found the potentiometer-type device yet but if I did would anyone be aware of some PBP code examples?

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: Motor Speed Control via Single Poteniometer?

    Is it an encoder like this that is what sits behind modern stereo volume controls?

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default Re: Motor Speed Control via Single Poteniometer?

    Most new sound systems indeed use rotary encoder, mechanical or optical, like the one you linked to. Some also have push switch on their shaft. You see them on car radio, MIDI controllers, mixing consoles, etc etc. Really handy piece of hardware, specially for surfing in a menu...
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4


    Did you find this post helpful? Yes | No

    Default Re: Motor Speed Control via Single Poteniometer?

    Based on another example I've order this encoder. As far as wiring up to a PIC goes, does this schematic look right?

    Name:  SolderEncoderSchematic.jpg
Views: 2053
Size:  8.8 KB

  5. #5
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default Re: Motor Speed Control via Single Poteniometer?

    Yes, the wiring is correct. You could use the code snip given @ http://www.picbasic.co.uk/forum/showthread.php?t=12911
    to start counting your encoder pulses.

    Cheers

    Al.
    All progress began with an idea

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts