Introduction: Single Servo Robot

Picture of Single Servo Robot

this is a robot made with one standard servo and a Parallax thumbstick. the "eyes" can be any LEDs that you want.

Step 1: What You Will Need

Picture of What You Will Need

PARALLAX 8 pin Thumbstick

servo

AAA battery holder (or AA battery)

LEDs + resistor (im using UV LEDs because I have so many of them)

arduino uno+breadboard

batteries+battery connectors

I got all these parts (plus alot more) in the arduino ultimate starter kit

Step 2: Code First

Picture of Code First

download the arduino knob code from
http://arduino.cc/en/Tutorial/knob
and upload to the arduino

Step 3: Setting Things Up

Picture of Setting Things Up

lets wire things up!

place thumbstick upside down on breadboard.

2-AXIS JOYSTICK label should be facing you, but upside down.

L/R on your left should be connected to A0 on your arduino.

L/R+ on your right should be connected to positive.

GND on your right should be connected to ground.

servo positive and ground should be connected to positive and ground.

servo input should be connected to ~9 on your arduino.

Step 4: Decorations

Picture of Decorations

mount LEDs onto the servo head (I used stripboard)

connect LEDs to the battery pack

I hot glued the servo to the pack to keep it small

my battery pack had a switch on it so I used that to turn the lights on and off. you can add your own switch.


Step 5: Enjoy Your Robot

Picture of Enjoy Your Robot

this is a test to control a servo with a thumbstick. it is great practice for beginners and since were using a premade code theres no programming required! this is my first Instructable so tell me how I did

Step 6:

Comments

About This Instructable

734views

13favorites

License:

Bio: Self taught electronics enthusiast and part time blacksmith that plays guitar and usually can't afford parts.
More by fossilshark:Ammunition can Speakerscheap and easy Bluetooth ammo can speakersoverheat-proof phone case
Add instructable to: