FS90R continuous rotation micro servo with attached lead, horns and mounting screws

FS90R 360-Degree Continuous Rotation Micro Servo | ShillehTek Product Manual

ArduinoESP32Raspberry PiPicomanual-product-10645386199327
$8.99 USD In stock · Order by 3pm ET, ships today

Overview

The FS90R is a micro servo built for continuous rotation. Instead of moving to an angle and holding it, the output shaft keeps turning, and the servo pulse sets the direction and speed. A 1.5 ms pulse stops it, shorter pulses turn it clockwise and longer pulses turn it counterclockwise.

That makes it a compact gearmotor with its own driver: three wires and no motor driver board. It is a favorite for small robot wheels, rollers, turntables and conveyor mechanisms in Arduino, ESP32, Raspberry Pi and Pico projects.

At a Glance

Type
Continuous rotation micro servo
Supply
4.8 V to 6 V
Stop Pulse
1500 µs
Speed
About 100 to 130 RPM
Signal
Servo pulse, 3.3 V or 5 V
Wires
Orange signal, red +, brown −

Specifications

Parameter Value
Type Continuous rotation (360 degree) micro servo
Operating voltage 4.8 V to 6 V
Control signal Standard servo pulse, 3.3 V or 5 V logic
Stop 1500 µs pulse, with a trimmer on the servo for fine adjustment
Clockwise Pulses shorter than 1500 µs
Counterclockwise Pulses longer than 1500 µs
No-load speed About 100 RPM at 4.8 V, 130 RPM at 6 V
Stall torque About 1.3 kg-cm at 4.8 V, 1.5 kg-cm at 6 V
Gears Plastic
Size and weight About 22.5 × 12.1 × 23.4 mm, 9 g
Lead About 250 mm with a 3-pin servo plug: orange signal, red +, brown ground

Wiring Guide

The servo has three wires: brown to ground, red to 5 V and orange to a signal pin. Power it from a supply that can deliver its current, and always join the grounds. A 3.3 V signal is enough to control it.

Arduino Uno / Nano Wiring

Servo Wire Arduino Pin Function
Orange D9 Signal
Red 5V Power
Brown GND Ground
More servos: One small servo can run from the Arduino 5V pin. For two or more, or if the board resets when the servo starts, use a separate 5 V supply and join the grounds.

ESP32 Wiring

Servo Wire ESP32 Pin Function
Orange GPIO 18 Signal
Red 5V (VIN) Power
Brown GND Ground
Library: Install the ESP32Servo library from the Library Manager. The standard Arduino Servo library does not support the ESP32.

Raspberry Pi Wiring

Servo Wire Pi Pin Function
Orange GPIO 18 (Pin 12) Signal
Red 5V (Pin 2) Power
Brown GND (Pin 6) Ground
Creep: Pulse timing from Linux is not perfectly steady, so the servo may twitch or creep slightly at stop. Adjust the stop value or the trimmer if it does.

Raspberry Pi Pico Wiring

Servo Wire Pico Pin Function
Orange GP15 (Pin 20) Signal
Red VBUS (Pin 40) Power
Brown GND (Pin 38) Ground
VBUS: VBUS carries 5 V only while the Pico is powered from USB. On battery power, feed the servo from its own 4.8 V to 6 V supply and join the grounds.

Code Examples

View or download this product's example code on GitHub.

Each example spins the servo one way, stops, spins it the other way and stops again. If the servo creeps when it should be stopped, change the stop value by a few microseconds or turn the trimmer on the servo.

Arduino and ESP32 — Spin, Stop, Reverse

fs90r_spin.ino
// FS90R continuous rotation servo - spin one way, stop, spin the other way, stop
// Wiring: orange = signal (D9 on Arduino, GPIO 18 on ESP32), red = 5 V, brown = GND
// ESP32 needs the ESP32Servo library; Arduino boards use the built-in Servo library.
#if defined(ESP32)
#include <ESP32Servo.h>
const int SERVO_PIN = 18;
#else
#include <Servo.h>
const int SERVO_PIN = 9;
#endif

const int STOP_US = 1500;          // change by a few microseconds if the servo creeps at stop

Servo servo;

void setup() {
  servo.attach(SERVO_PIN);
  servo.writeMicroseconds(STOP_US);
}

void loop() {
  servo.writeMicroseconds(STOP_US - 200);   // clockwise; go further from 1500 for more speed
  delay(2000);
  servo.writeMicroseconds(STOP_US);         // stop
  delay(1000);
  servo.writeMicroseconds(STOP_US + 200);   // counterclockwise
  delay(2000);
  servo.writeMicroseconds(STOP_US);         // stop
  delay(1000);
}

Raspberry Pi — Spin, Stop, Reverse (Python)

fs90r_spin.py
#!/usr/bin/env python3
# FS90R continuous rotation servo on Raspberry Pi with gpiozero
# Wiring: orange = GPIO 18 (pin 12), red = 5V (pin 2), brown = GND (pin 6)
from gpiozero import Servo
from time import sleep

# value 0 = 1.5 ms pulse = stop, -1 = 1.0 ms pulse, +1 = 2.0 ms pulse
servo = Servo(18, min_pulse_width=0.001, max_pulse_width=0.002)

while True:
    servo.value = -0.4      # 1.3 ms pulse: clockwise
    sleep(2)
    servo.value = 0         # stop
    sleep(1)
    servo.value = 0.4       # 1.7 ms pulse: counterclockwise
    sleep(2)
    servo.value = 0         # stop
    sleep(1)

Raspberry Pi Pico — Spin, Stop, Reverse (MicroPython)

fs90r_pico.py
# FS90R continuous rotation servo on Raspberry Pi Pico (MicroPython)
# Wiring: orange = GP15, red = VBUS (5 V), brown = GND
from machine import Pin, PWM
import time

servo = PWM(Pin(15))
servo.freq(50)                 # one pulse every 20 ms

STOP_US = 1500                 # change by a few microseconds if the servo creeps at stop


def pulse(us):
    servo.duty_ns(us * 1000)


while True:
    pulse(STOP_US - 200)       # clockwise; go further from 1500 for more speed
    time.sleep(2)
    pulse(STOP_US)             # stop
    time.sleep(1)
    pulse(STOP_US + 200)       # counterclockwise
    time.sleep(2)
    pulse(STOP_US)             # stop
    time.sleep(1)

Frequently Asked Questions

Can I set the FS90R to a specific angle?
No. A continuous rotation servo has no position feedback, so it cannot move to an angle and hold it. The signal controls direction and speed instead. For angle control, use a standard positional servo. For measured rotation, add an encoder or use a stepper motor.
Why does my servo creep when it should be stopped?
The stop point varies a little from servo to servo. Send 1500 µs and, if the shaft still turns slowly, either change that value a few microseconds at a time in your code or turn the small trimmer on the servo body until the shaft stands still.
How do I control the speed?
By how far the pulse is from 1500 µs. Just above or below 1500 the servo turns slowly, and further away it turns faster until it reaches full speed. The response is not linear and differs between servos, so find the values you need by experiment.
Can I power it from my board's 5 V pin?
One lightly loaded FS90R usually runs from an Arduino or Raspberry Pi 5 V pin. If the board resets or the servo stutters when it starts, the supply is sagging: give the servo its own 4.8 V to 6 V supply, such as a 4-cell AA pack, and connect the grounds together. Never power it from a 3.3 V pin.
Does it work with 3.3 V boards?
Yes for the signal: a 3.3 V servo pulse from an ESP32, Raspberry Pi or Pico is enough. The motor itself still needs 4.8 V to 6 V on the red wire.
Which wire is which?
Orange is the signal, red is the positive supply and brown is ground. The plug is the usual 3-pin servo connector with red in the middle. If the servo does not respond at all, check that the plug is not fitted the wrong way round.
Can I stall it or turn the shaft by hand?
Avoid both. The gears are plastic, and holding the shaft against the motor or forcing it round by hand can strip them. Choose wheels and loads the servo can turn freely, and send the stop pulse if the mechanism jams.

Related Tutorials

Datasheets & downloads

Reference documents for the FS90R 360-Degree Continuous Rotation Micro Servo. This manual covers wiring and code; the documents below carry the full electrical specifications.