servodriver
Member
With a username like mine I probably should not even mention servo stability, but here's a question;
I want to control a servo for a model railroad turnout, and would like to hear what you do, there should be
a number of such applications in use. I know servos produce noise, and need decoupling, and will try that,
but so far I have only tried breadboarding experiments, and that's what bugs me a little bit.
First I made a basic program using servo and servopos, and 08M2, that works fine, but on applying power the servo jerks
a couple of millimeters. No big deal, but this could damage a turnout. Then I found another code, with "bit banging",
written to make servos stable and precise (well done Hippy). This worked as described, very exact movement.
Now to my questions, both sets of code have the jerk on powerup, any suggestions about that ?
I think this doesn't look like noise from the servo ?
Also, the download circuit uses 22 kohm in series, plus 10 kohm to ground, but the recommended basic servocircuit use 100 kohm to gnd, and the servo pin
connected through a resistor, which I haven't used. Could that affect the chip ? I did "lose" the servo a couple of times....
Sorry about the long story.
/Peter
I want to control a servo for a model railroad turnout, and would like to hear what you do, there should be
a number of such applications in use. I know servos produce noise, and need decoupling, and will try that,
but so far I have only tried breadboarding experiments, and that's what bugs me a little bit.
First I made a basic program using servo and servopos, and 08M2, that works fine, but on applying power the servo jerks
a couple of millimeters. No big deal, but this could damage a turnout. Then I found another code, with "bit banging",
written to make servos stable and precise (well done Hippy). This worked as described, very exact movement.
Now to my questions, both sets of code have the jerk on powerup, any suggestions about that ?
I think this doesn't look like noise from the servo ?
Also, the download circuit uses 22 kohm in series, plus 10 kohm to ground, but the recommended basic servocircuit use 100 kohm to gnd, and the servo pin
connected through a resistor, which I haven't used. Could that affect the chip ? I did "lose" the servo a couple of times....
Sorry about the long story.
/Peter