Using 2 Continuous Rotation Servos at Once
dnaghitorabi
Posts: 1
in BASIC Stamp
Hi all,
I am trying to move something on an x-y table, controlled by two continuous rotation servos. I am wondering how to get from point A to B "as the crow flies", by making both servos run simultaneously, as opposed to moving in direction 1 for a period of time and then direction 2 for a period of time. The main obstacle I am facing is getting both servos to operate at exactly the same time. If anyone could help me code this, that would help a lot. I'm using the Basic STAMP Board of Education revC.
I am trying to move something on an x-y table, controlled by two continuous rotation servos. I am wondering how to get from point A to B "as the crow flies", by making both servos run simultaneously, as opposed to moving in direction 1 for a period of time and then direction 2 for a period of time. The main obstacle I am facing is getting both servos to operate at exactly the same time. If anyone could help me code this, that would help a lot. I'm using the Basic STAMP Board of Education revC.
Comments
The above code will run both servos at the same time with independent speed settings and durations, but servos are pretty sloppy. How are you going to ensure that you've moved to the coordinates you think you've moved to, particularly after several moves?