![]() | ![]() | ![]() |
| | |||||||
| Robotics Chat Specific to discussions about robots and the making of. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| I am looking to control the postition of a DC motor, eg stop and a specified angle (not speed control). I understand i can use a RC servo motor for this, but as it is a project i would really like to control a basic DC motor, i have been looking on the internet and i have found that this looks really dificucult so i may have to go down the RC servo route. I have found some info on RC servos, and i have found that they are controlled by PWM. Basically i am wanting to have a pot that i would turn and the output of the servo would move and stay in the required postition. I would liek to do this with a PIC microprocessor, what pic chip would you recommend as i would need to use PWM i think? also does anyone have any information on how i would go about making the pulse width output varying depending on the input pot? i do not know that much about programming pics you see. any Schematics about how this would be encorported would be much appreciated, thank you for your time Matthew Elliott | |
| |
| | (permalink) | |||
| Quote:
Quote:
Quote:
| ||||
| |
| | (permalink) |
| thanks for the help. the bit that im most stuck with is how the "variable width pulse" can be varied depending on the output from a control pot i guess i would need the output from the pot to ajust the pulse time within the PIC sofware there for altering the servo position. I have found guides on the internet to just program the PIC to move the servo in different ways, but i have found none with input control any help much appreciated, thanks for your time P>S would a 16F84 do the job? | |
| |
| | (permalink) | ||
| Quote:
Quote:
| |||
| |
| | (permalink) |
| does anyone know of any availble schematics of this idea? i am unsure how to draw up the schmatic? i would need a POT on the input that would go to the ADC on the PIC and a servo on the output and a regualted power supply. if anyone could help me out with this i would really appreciate it as im struggling thank you | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| the pot is ordinary pot what is used in servos cause servo turns 63 degrees right and 63 degrees left
__________________ Need Help? Press F1 If that doesn\'t help you, ask me... I might know better. | |
| |