RCWL-0516

RCWL-0516 is a low-cost microwave Doppler radar motion sensor that outputs a simple digital HIGH when it detects movement, with no infrared optics required.

RCWL-0516: Microwave motion sensing

What is the RCWL-0516?

The RCWL-0516 is a microwave motion sensor built around the RCWL-9196 IC. Unlike a PIR sensor, which reads infrared body heat, it transmits a low-power microwave signal (roughly 3.2GHz, varying slightly between units) and watches for the Doppler frequency shift caused by a moving object. The result is a single active-high digital trigger that is easy to read from any microcontroller.

Power comes in on VIN, which accepts anywhere from 4 to 28V (a 5V rail from an Arduino works well), and the board draws only a few milliamps (about 3mA maximum) at roughly 30mW of transmit power. An onboard regulator provides a 3.3V output rail rated up to 100mA for powering small companion parts. The OUT pin idles at 0V and drives to 3.3V for about 2 seconds when motion is detected, re-extending that window as long as movement continues.

Detection range is approximately 5 to 7 meters and the sensing pattern is largely non-directional. Because microwaves pass through thin non-metal materials such as drywall, plastic, and glass, the module can be hidden behind an enclosure wall, but it will also see motion in adjacent rooms. An optional CDS pin lets you attach a light-dependent resistor so detection is disabled in bright light, which is handy for dusk-to-dawn lighting projects.

RCWL-0516 pinout

PinFunctionType
3V3 3V3 (out, 100mA)PowerPower out
GND GNDPowerPower in
OUT OUTDigital motion trigger: HIGH (3.3V) ~2s on detectionDigital output
VIN VIN (4-28V)PowerPower in
CDS CDSAnalog LDR input — light on the CDS pin disables detectionDigital input

Specifications

Operating voltage
5 V (max 28 V)
Dimensions
17.3 × 39 × 3.6 mm

Verified from the Tinkered component library · Generic (RCWL-9196 based module).

Circuit requirements

  • Power VIN with 4 to 28V (5V is typical); tie GND to the common ground. Do not exceed the 28V maximum on VIN.
  • OUT is a push-pull, active-high digital line that idles LOW (0V) and drives to 3.3V on detection. No external pull-up or pull-down resistor is needed.
  • The 3.3V OUT level is above the HIGH threshold of a 5V Arduino input, so it reads reliably as HIGH on a standard digital pin. Do not treat it as a full 5V logic source for parts that require 5V HIGH.
  • The onboard 3V3 pin is a regulated output (up to 100mA) for powering small peripherals; it is an output, never a power input.
  • The CDS pin has an internal 1M pull-up that keeps the output enabled. Leave it unconnected for always-on operation, or connect an LDR to disable detection in bright light. Pulling CDS low forces the output off.
  • Keep the rear of the board at least 1cm clear of metal and avoid enclosing it in a metal case, as this detunes the antenna and kills sensitivity.
  • Output stays HIGH for roughly 2 seconds per trigger and re-extends with continued motion, so treat OUT as a short motion latch rather than an instantaneous edge.

Board compatibility

The RCWL-0516 connects to any of the microcontrollers supported in Tinkered. Mind the 5 V logic level on 3.3 V boards.

Common RCWL-0516 mistakes

Expecting a full 5V output

OUT drives to 3.3V, not 5V. It reads correctly as HIGH on a 5V Arduino digital pin, but it cannot directly drive logic or devices that require a true 5V HIGH level.

Mounting it against or inside metal

Microwave sensitivity depends on a clear antenna. Placing the board flat against metal, or sealing it in a metal enclosure, detunes it and greatly reduces or eliminates detection. Leave at least 1cm of clearance behind the board.

Assuming walls block detection

Microwaves pass through drywall, plastic, and glass, so the sensor readily detects people moving in the next room or outside a thin enclosure. Plan placement and range accordingly to avoid unwanted triggers.

Misusing the CDS pin

The CDS pin is a light-disable input, not a general I/O. Pulling it low (or shining light on an attached LDR) turns detection off. If you want always-on behavior, simply leave CDS unconnected so the internal 1M pull-up keeps the output enabled.

Treating the output as an instant edge

Each detection holds OUT HIGH for about 2 seconds and retriggers while motion continues. Code that expects the line to drop immediately when motion stops will see it stay high, so debounce and time your logic around the hold period.

RCWL-0516 datasheet

Official RCWL-0516 datasheetGeneric (RCWL-9196 based module)

Popular RCWL-0516 projects

Motion-activated lighting

Drive a relay or MOSFET from OUT to switch a lamp or LED strip on when someone enters, using the built-in 2-second hold as a simple on-timer.

Dusk-to-dawn security light

Add an LDR to the CDS pin so the sensor only triggers in darkness, then combine it with a lamp for automatic night-only porch or garage lighting.

Hidden presence detector

Mount the board behind a plastic panel or inside a non-metal enclosure to detect people through the wall for concealed room-occupancy or smart-home automation.

Low-power wake trigger

Use the OUT pulse as an interrupt to wake a sleeping ESP8266, ESP32, or Arduino, keeping a battery project idle until real motion occurs.

Wireless intrusion alert

Pair the sensor with a Wi-Fi microcontroller to send a phone or dashboard notification whenever motion is detected in a monitored space.

Build with the RCWL-0516.

Drop the RCWL-0516 into a circuit, write firmware, and simulate it in your browser, then deploy to real hardware. All in one editable Tinkered project.