Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›Microwave Motion Sensor Modules

Component guide · Beginner · 4 min read

Microwave Motion Sensor Modules

HFS-DC06, DFRobot 5.8 GHz, HaiWang XC508, XC509, MD08, MD6, MS03 and M21

By Geekobot Learning Team · Updated 29 Oct 2026

I'm using
Wiring, code and the Run it panels follow your board.
On this page
Short answerWhat the 5.8 GHz and 10 GHz microwave motion sensor modules is5.8 GHz and 10 GHz microwave motion sensor modules pinoutWiring the 5.8 GHz and 10 GHz microwave motion sensor modulesExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

These small radar boards detect movement and switch a digital output high, just like a PIR, but they see through plastic, work in heat and catch smaller movements. The HFS-DC06 and DFRobot boards run from 5 V; the HaiWang XC508 and XC509 accept 6 to 24 V or 12 V. Range and hold time are usually set with a resistor, jumper or knob.

Key specs at a glance

Frequency
5.8 GHz (HFS-DC06, XC508, XC509, DFRobot) or 10.525 GHz (MD08)
Supply
5 V or 6 to 24 V (check the model)
Range
About 0.5 to 12 m, adjustable
Output
Digital high on motion (TTL or open collector)
Hold time
About 2 s to minutes, adjustable
Coverage
About 120 to 360 degrees depending on antenna

Models in this guide

These are alternatives. Pick the one that fits your project; you only need one.

  • Option 1HFS-DC06 5.8GHz Microwave Motion Sensor Module – 5V DC, High-Level Output₹569
  • Option 2DFRobot 5.8GHz Microwave Radar Motion Sensor Module₹1,379
  • Option 3HaiWang HW-XC508 Microwave Radar Sensor Module, 0.5m-12m Range, 5.8GHz, TTL Output, 12V DC₹509
  • Option 4HaiWang HW-XC509 Microwave Radar Sensor Module, 0.5m-12m Range, 5.8GHz, 6-24V DC₹329
  • Option 5HaiWang HW-MD08 Microwave Radar Motion Sensor Module – 0.5-8m Range, 10.525GHz₹219
  • Option 6HaiWang HW-MD6 Microwave Radar Motion Sensor Module, 10m Range₹139
01

What the 5.8 GHz and 10 GHz microwave motion sensor modules is

Microwave motion sensor modules such as the RCWL-0516 use Doppler radar to detect movement through plastic and thin walls, giving a digital HIGH output on motion.

Microwave sensors are more sensitive than PIR, which is both their strength and their weakness: they also catch moving curtains, fans and people in the next room. Turn the range down to what you need.

They make good triggers for lights, alarms and automatic doors, and they hide inside plastic enclosures because microwaves pass through.

02

5.8 GHz and 10 GHz microwave motion sensor modules pinout

The pins on the 5.8 GHz and 10 GHz microwave motion sensor modules and what each one does.

PinFunction
VCC / V+Supply
GNDGround
OUTMotion output
CDS / LDROptional light sensor input (some modules)
PinFunction
VCC / V+
Supply
GND
Ground
OUT
Motion output
CDS / LDR
Optional light sensor input (some modules)
03

Wiring the 5.8 GHz and 10 GHz microwave motion sensor modules

Check the supply range first; the HaiWang modules need 6 to 24 V or 12 V, and some outputs are open collector, so add a pull-up.

5.8 GHz and 10 GHz microwave motion sensor modules pinArduino UnoESP32
VCC5 V5 V (VIN) or 3.3 V (check module)
GNDGNDGND
OUTD2GPIO 27
VCC
Arduino Uno:
5 V
ESP32:
5 V (VIN) or 3.3 V (check module)
GND
Arduino Uno:
GND
ESP32:
GND
OUT
Arduino Uno:
D2
ESP32:
GPIO 27
04

Example code

A minimal sketch to check the part works.

Read the motion output · Arduino C++Verify & upload in Electrolark
// Motion radar with a digital OUT pin: HIGH while motion is seen (plus the hold time)
const int RADAR = 2;   // ESP32: use GPIO 27
const int LED = 13;

void setup() {
  pinMode(RADAR, INPUT);
  pinMode(LED, OUTPUT);
  Serial.begin(115200);
}

void loop() {
  bool motion = digitalRead(RADAR);
  digitalWrite(LED, motion);
  static bool last = false;
  if (motion != last) { Serial.println(motion ? "Motion" : "Clear"); last = motion; }
  delay(20);
}
05

Setup and tuning

Wiring

VIN 4 to 28 V, GND, and OUT to a digital pin; OUT is 3.3 V.

Range

detects movement up to about 5 to 7 m.

Sensitivity

add the optional resistor or capacitor on the back to reduce range or change hold time.

Placement

keep the back clear of metal; mount away from fans and moving objects.

Interference

two modules close together may trigger each other.

06

What you need

Shop this list12 of 13 found in our store · ₹4,209

  • Generic HFS-DC06 5.8GHz Microwave Motion Sensor Module – 5V DC, High-Level Output: the part this guide coversHFS-DC06 5.8GHz Microwave Motion Sensor Module – 5V DC, High-Level Output₹569
  • DFRobot 5.8GHz Microwave Radar Motion Sensor Module: another version this guide coversDFRobot 5.8GHz Microwave Radar Motion Sensor Module₹1,379
  • HaiWang HW-XC508 Microwave Radar Sensor Module, 0.5m-12m Range, 5.8GHz, TTL Output, 12V DC: another version this guide coversHaiWang HW-XC508 Microwave Radar Sensor Module, 0.5m-12m Range, 5.8GHz, TTL Output, 12V DC₹509
  • HaiWang HW-XC509 Microwave Radar Sensor Module, 0.5m-12m Range, 5.8GHz, 6-24V DC: another version this guide coversHaiWang HW-XC509 Microwave Radar Sensor Module, 0.5m-12m Range, 5.8GHz, 6-24V DC₹329
  • HaiWang HW-MD08 Microwave Radar Motion Sensor Module – 0.5-8m Range, 10.525GHz: another version this guide coversHaiWang HW-MD08 Microwave Radar Motion Sensor Module – 0.5-8m Range, 10.525GHz₹219
  • HaiWang HW-MD6 Microwave Radar Motion Sensor Module, 10m Range: another version this guide coversHaiWang HW-MD6 Microwave Radar Motion Sensor Module, 10m Range₹139
  • HaiWang HW-MS03 Microwave Radar Motion Sensor Module, 10m Range: another version this guide coversHaiWang HW-MS03 Microwave Radar Motion Sensor Module, 10m Range₹229
  • HaiWang HW-M21-2 Microwave Radar Sensor Module, 10m Range: another version this guide coversHaiWang HW-M21-2 Microwave Radar Sensor Module, 10m Range₹287
  • ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
  • Uno R3 development board: the controller used in the wiring tableFind this part
  • 5 V relay module with optocoupler: to switch a light or load5V Relay Module with Optocoupler₹74
  • RCWL-0516 microwave radar motion sensor: the cheapest microwave motion moduleRCWL-0516 Microwave Radar Motion Sensor Module₹27
  • HC-SR501 PIR motion sensor module: a PIR to compare or combine with radarHC-SR501 PIR Motion Detector Sensor Module₹59Closest match, check the specs
07

Alternatives and when to choose them

  • ✓RCWL-0516: the cheapest 3 GHz radar module.
  • ✓Hi-Link 5.8 and 10 GHz radars: adjustable over UART.
  • ✓PIR sensors: ignore objects that are not warm.
08

Common mistakes to avoid

  • !Mounting behind metal.
  • !Placing near fans.
  • !Expecting presence detection of still people.
  • !Two modules too close together.
09

Frequently asked questions

How is the RCWL-0516 different from a PIR?

It uses radar, sees through plastic and does not need heat.

Why does it trigger falsely?

Fans, vibration or nearby metal reflect the radar; move or rotate the module.

Can I reduce the range?

Yes, by adding a resistor on the R-GN pads.

Is the output safe for ESP32?

Yes. The OUT pin gives 3.3 V even when the module runs from 5 V.

Can it detect still people?

No. It only sees movement; use an mmWave presence radar for still people.

Parts for this guide

  • HFS-DC06 5.8GHz Microwave Motion Sensor Module – 5V DC, High-Level Output
    ₹569View
  • DFRobot 5.8GHz Microwave Radar Motion Sensor Module
    ₹1,379View
  • HaiWang HW-XC508 Microwave Radar Sensor Module, 0.5m-12m Range, 5.8GHz, TTL Output, 12V DC
    ₹509View
  • HaiWang HW-XC509 Microwave Radar Sensor Module, 0.5m-12m Range, 5.8GHz, 6-24V DC
    ₹329View
  • HaiWang HW-MD08 Microwave Radar Motion Sensor Module – 0.5-8m Range, 10.525GHz
    ₹219View
  • HaiWang HW-MD6 Microwave Radar Motion Sensor Module, 10m Range
    ₹139View
  • HaiWang HW-MS03 Microwave Radar Motion Sensor Module, 10m Range
    ₹229View
  • HaiWang HW-M21-2 Microwave Radar Sensor Module, 10m Range
    ₹287View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • 5V Relay Module with Optocoupler
    ₹74View
  • RCWL-0516 Microwave Radar Motion Sensor Module
    ₹27View
  • HC-SR501 PIR Motion Detector Sensor Module
    ₹59View
Shop Radar & Microwave Motion Sensors

Keep learning

Component guideIntermediatemmWave and Microwave Presence SensorsRadar presence sensors send out radio waves and detect reflections from people.3 min read · SensorsComponent guideBeginnerPIR Motion Sensor (HC-SR501)A PIR (passive infrared) sensor detects movement of warm bodies by sensing changes in infrared heat across its field of view.3 min read · SensorsComponent guideIntermediateHB100, CDM324, Grove BGT24LTR11The HB100 (10.525 GHz) and CDM324 (24 GHz) are Doppler radar front ends.4 min read · Sensors

Sources

  • HaiWang module datasheets
  • DFRobot SEN0306 wiki

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat the 5.8 GHz and 10 GHz microwave motion sensor modules is5.8 GHz and 10 GHz microwave motion sensor modules pinoutWiring the 5.8 GHz and 10 GHz microwave motion sensor modulesExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide (Arduino Uno)8 items · ₹2,908

HFS-DC06 5.8GHz Microwave Motion Sensor Module – 5V DC, High-Level Output · DFRobot 5.8GHz Microwave Radar Motion Sensor Module · HaiWang HW-MD6 Microwave Radar Motion Sensor Module, 10m Range · HaiWang HW-MS03 Microwave Radar Motion Sensor Module, 10m Range · HaiWang HW-M21-2 Microwave Radar Sensor Module, 10m Range · 5V Relay Module with Optocoupler · RCWL-0516 Microwave Radar Motion Sensor Module · Uno R3 CH340G ATmega328p Compatible Development Board

Run itChange the inputs and watch the output

RCWL-0516 style: OUT goes HIGH for a couple of seconds after any movement, even through thin walls.

LED 13 OFF
Serial monitor115200 baud
 

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question