Let's Make Robots!

Servo motor

How to control a servo motor (2) by just twisting or turning the other servo motor (1) or potentiometer using hand?

The servo motor 2 will follow the movements of the servo motor 1 or the potentiometer.

Not necessary to use a servo motor for the servo motor 1, just any solution that would perform what is shown in this video (http://www.youtube.com/watch?v=zZwnyZPkylk&feature=related).

Thanks.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

main:

readadc pinnumber,b1

servo pinnumber,b1

pause a little bit

goto main

 

That's it, 2 connections and 4 lines of code, done.

hi, there are a few ways of doing this.

You can get either an arduino, or picaxe board, and doing it mostly through software.

 

 Or use a 555 timer and some other components:

http://www.hvlabs.com/555servo.html

 

All of these using a potentiometer, for using a servo you would need to ''hack'' it.

Hi.

So the 2.7k ohm potentiometer X1 is used to control the movement for the servo motor?

Thanks.

Exactly! i never tried any of these circuits, even though i really want to, but ''servo testers'' are basically this... so it should work fine.

 

Most servos use 1 to 2ms pulses anyway, some go up to 2.2 or 2.5ms, so if you don't get full servo travel, it might need some tweaking.

Hi Chin,

You can adjust the pulse width (1 - 2 ms) with the potentiometer and therefore the servo position. The length of the pulse determines how far the motor turns. For instance, a 1.5 ms pulse will make the motor turn to the neutral position (90°).