bigal_scorpio
Active Member
Hi to all,
I am trying to build a motorised cover for something and have decided that a servo would do the job nicely.
The problem is that I have never used servos before except in RC cars and they were already sorted with signals from the RC.
I have looked at what I could find on the net and now understand that I need to had a signal that can vary from a short pulse to position at on extreme and a longer pulse to go to the other extreme.
My problem is that I can't find anywhere the info about the duration of the signal. I.E. since I only want to move the servo from 1 fixed position to another do I need to send a set number of pulses?
Also do I need to send the pulses continuously to keep the motor at the set position?
The info on the net seems to assume that I know these things and ignores it but for all I know it may only need 1 pulse of the correct duration or a constant stream of them?
I am planning on using a PIC12F629 to control the servo with two switches to open and close the cover (one would be even better but I have no idea if that is possible). I can program the PIC and would be using MikroBasic.
Any help on this would be much appreciated as I am at a time in life that I can only seem to learn by example. (The wife says I'm getting thicker!)
Anyway if you can help in any way that would be great.
Al
I am trying to build a motorised cover for something and have decided that a servo would do the job nicely.
The problem is that I have never used servos before except in RC cars and they were already sorted with signals from the RC.
I have looked at what I could find on the net and now understand that I need to had a signal that can vary from a short pulse to position at on extreme and a longer pulse to go to the other extreme.
My problem is that I can't find anywhere the info about the duration of the signal. I.E. since I only want to move the servo from 1 fixed position to another do I need to send a set number of pulses?
Also do I need to send the pulses continuously to keep the motor at the set position?
The info on the net seems to assume that I know these things and ignores it but for all I know it may only need 1 pulse of the correct duration or a constant stream of them?
I am planning on using a PIC12F629 to control the servo with two switches to open and close the cover (one would be even better but I have no idea if that is possible). I can program the PIC and would be using MikroBasic.
Any help on this would be much appreciated as I am at a time in life that I can only seem to learn by example. (The wife says I'm getting thicker!)
Anyway if you can help in any way that would be great.
Al