The SG90 is a compact 9 g servo for Arduino, RC and robotics projects. Choose 90° for a short positional arc, 180° for standard angle control, or 360° for continuous rotation. All three options use the same 3-wire connection, body and mounting pattern, and each comes with horns and screws.
Specifications
90° - Short positional arc
Moves through a 90° arc and holds position. Its useful Arduino range is typically write(90) to write(180).
180° - Standard positional
Moves to a commanded angle and holds it across a full 180° sweep. This is the version most tutorials and projects expect.
360° - Continuous rotation
Turns continuously in either direction. The signal controls speed and direction, not shaft angle, with neutral around 1500 µs.
Datasheets
What's in the box
Includes three servo horn arms and mounting screws.
Great for
Use the 180° option for repeatable position control.
The 180° option suits RC and small mobile projects.
The 90° option covers mechanisms that only need a short arc.
Use 360° when you need continuous forward and reverse motion.
The 360° option controls direction and speed.
A compact servo for prototypes, kits and classroom builds.
Wiring & getting started
- Connect the three wires
Brown goes to GND, red to a regulated 4.8 to 6 V supply, and orange to the controller's signal pin.
- Share the ground
If the servo has a separate power supply, connect its ground to the Arduino, ESP32 or receiver ground.
- Use the right control range
For 90°, start with
write(90)towrite(180). For 180°, usewrite(0)towrite(180). End points vary slightly between units, so test the travel before fitting the horn to a loaded mechanism. - Set neutral on the 360° option
write(90)or about 1500 µs should stop it. If it creeps, adjust the neutral value slightly until the shaft stays still. - Allow enough current
One unloaded servo can be tested from a development board's 5 V pin. For a loaded servo or several servos, use a separate regulated supply with a common ground.
