CrazyEngineers
  • el3ktr1k
    el3ktr1k

    MemberOct 10, 2008

    Position Control

    I figured out before how to control the speed of a motor through a microcontroller by varying the duty cycle of a pulse width modulated signal. But now I want to control another motor but instead of varying its speed, I just want to vary how many degrees it rotates. For example I might want it to rotate 18 degrees clockwise and hold its position there. How do I go about doing this. I've been using a pic16f877 microcontroller. Thanks for any help.
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • shadeslayer

    MemberOct 10, 2008

    use servomotor with PWM signal to voltage convertion
    Are you sure? This action cannot be undone.
    Cancel
  • sriramchandrk

    MemberOct 13, 2008

    I guess you could use servomotor as told by shadeslayer
    or a stepper motor and need to calibrate the steps and code based on the required angle.

    Thanks & Regards
    Sriram
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register