Arduino SG90 Micro Servo

Servo Components Step Motor






I’ve just received my Bluetooth Controlled Robot Car Kit and it has a micro servo that needs testing (and I’ve never worked with one before).

From the reference page of Arduino site, a Servo is:

“Servos have integrated gears and a shaft that can be precisely controlled. Standard servos allow  the shaft to be positioned at various angles, usually between 0 and 180 degrees. Continuous rotation servos allow the rotation of the shaft to be set to various speeds.”

The Servos have three wires, – Power, ground and signal – This one has a brown (ground), red(power) and orange(ish) that’s the signal.

For the example (in the Arduino IDE), connect the wires to Ground, VCC and PIN9 of the Arduino

From the Arduino IDE examples, this is the code:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.