Two servo and a potentiometer

Is it possible to drive two servos using only one potentiometer ? simply the knob tutorial but here I will use two servos instead of one

Is it possible to drive two servos using only one potentiometer

Yes why not?
All you have from the pot is a varying value. You can send that value to the servo ( after you divide it by 4 to get it into the same range as the servo needs ).
Then feed that number to both servos, or feed the number to one and 255-'the number' to the other for it to work backwards.

255-'the number'

Should that be 180?

groundfungus:

255-'the number'

Should that be 180?

Depends on what units the servo parameter is in. If you have degrees then yes or 90 - 'the number' but some servo drivers take an 8 bit value.

syd_xp:
Is it possible to drive two servos using only one potentiometer ? simply the knob tutorial but here I will use two servos instead of one

Sure. If the servos will rotate the same direction, just connect the servo signal wires to the same arduino signal pin.

Thank you very much guys :slight_smile: