-
Parts:
- pan/tilt bracket [sparkfun ROB-10335]
- 2 sub-micro servos [sparkfun ROB-09065]
- laser card module [sparkfun COM-00594]
- laser module mount [sparkfun COM-08674]
- joystick shield [sparkfun DEV-09760]
-
Joystick pins:
- 2 - press joystick
- 3 - right
- 4 - up
- 5 - down
- 6 - left
- A0 - right/left joystick
- A1 - up/down joystick
-
Use joystick to control pan/tilt of servos
-
Press up button to turn on laser (release to turn off)
-
Put 470 uF capacitor across V3.3 - ground for each servo
-
Servos and laser are both connected to V3.3.
karlduino / pantilt Goto Github PK
View Code? Open in Web Editor NEWTest pan/tilt servos with SparkFun joystick shield