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
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 |
ESP32 Wiring
| Servo Wire | ESP32 Pin | Function |
|---|---|---|
| Orange | GPIO 18 | Signal |
| Red | 5V (VIN) | Power |
| Brown | GND | Ground |
Raspberry Pi Wiring
| Servo Wire | Pi Pin | Function |
|---|---|---|
| Orange | GPIO 18 (Pin 12) | Signal |
| Red | 5V (Pin 2) | Power |
| Brown | GND (Pin 6) | Ground |
Raspberry Pi Pico Wiring
| Servo Wire | Pico Pin | Function |
|---|---|---|
| Orange | GP15 (Pin 20) | Signal |
| Red | VBUS (Pin 40) | Power |
| Brown | GND (Pin 38) | Ground |
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 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)
#!/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 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)



