Arduino - Using Servo Motor via the shield for a Pan-Tilt
Motor shield can connect two servos. The marked locations on the shield are actually the reroute of pins on arduino, for convenience:
- servo 1 is arduino pin 10
- servo 2 is arduino pin 9
Yes, reversed.
Expected value for the analog write ranges from 0 to 180 degrees, when using the servo library.
Example code can be found at
Arduino - Servo
I use them on a pan-tilt, works fine.
stack the joint before mounting the servo |
use this little screws on the arm |
Labels: Arduino UNO, Motor Shield, pan-tilt, Servo
0 Comments:
Post a Comment
<< Home