srzai2024 How to Get Slarted with a Microwave Radar Motion Sensor
ELECTRO SCHEMATICS
0
Home (httpsifAvwwelectroschematics.com/) » DIY (httpsiwmwelectroschematics com/categoryidiy/) » How to Get
Started with a Microwave Radar Motion Sensor
{hupsi/vanelectroschemaics comp content/oploads/2017/08/4-RCWL-0516 Test Setup prgite800%2C450)
How to Get Started with a Microwave Radar Motion
Sensor
“TK, HARFENDRAN (HTTPS. WWW.ELECTROSCHEMATICS COM/AUTHOR/HAREENORA!
pole Vtapoonle) Micocontrller (Aap
irocontlle)_ MotionSensing Vtagimotion-sensing) Redar(Aapiradar)
ax
sensing Ytagiange-sensing) testing Vtagtesting
Share this:
Bon Show
Last year, | took a look at some mostly low-cost passive infrared (PIR) motion sensor modules. Then recently, |
became more aware of cheap microwave radar motion sensor modules. The popular version of the pre-wired
‘module currently available on eBay is the RCWL-0516 microwave radar motion sensor module. The compact
module holds all essential electronics, including an on-chip integrated low-voltage regulator. It is very easy to
use and trivial to splice into the roost of a little project idea.
hitps:wwnelectroschematics.comiget started-microwave-radar-motion-sensor! wesrzai2024 How to Get Slarted with a Microwave Radar Motion Sensor
ELECTRO SCHEMATICS
0
das an alternative wy the common PIR muution sensors widely used in
RCWL-0516
burglar alarms and security lights. Like the PIR sensor, this sensor also detects only movements within its,
detection range. But instead of sniffing the black body radiation from a moving person, this sensor uses 2
“microwave Doppler radar” technique to detect moving objects. It has a sensitivity range of ~7 meters. When
triggered, its TTL-level output (OUT) pin will switch from LOW (0 V) to HIGH (3.3 V) fora finite time (2 t0 3s)
before returning to its idle (LOW) state
OE Peviey
CE Learn more
Key features:
Supply Voltage: 4-28 VDC (tested with 5 V at my lab)
Operating frequency: ~3.2 GHz (observed by me at my lab)
‘Transmit power: 20 mW (typical)/30 mW (max)
Sensing Distance: 5~7 m (>3 m measured at my lab)
Pinouts:
DS — Sensor disable input (low = disable)
VIN — 4- to 28-VDC supply input
OUT — HIGH (3.3 V) motion detected/LOW (0 V) idle
GND — Ground/oV
3V3 — Regulated DC output (100 mA max)
This flexible sensor module can easily be used in conjunction with many microcontrollers and even without a
‘microcontroller at all. It can handle power supply inputs anywhere from 4 to 28 V. The output pin can be utilized
fora multitude of tasks, such as for driving an aural/visual indicator or even linking with the /0 of any 3-V
‘microcontroller for further processing. During construction, avoid any metal part in front of the sensor module.
Similarly, always keep a minimum of 1~cm clear space in the front and rear side of the module.
hitps:wwnelectroschematics.comiget started-microwave-radar-motion-sensor! anasrzai2024 How to Get Slarted with a Microwave Radar Motion Sensor
RWL.0516 sens
RCWI-0516 Dope radar unit pinout
‘Surprisingly, detection distance and output timeout of the module can be adjusted by adding passive
components in their respective solder pads located at the rear of the circuit board (see next figure). There is also
a provision to add a light-dependent resistor (LDR/CDS), and a sensor disable input pin is available to defeat the
ambient light sensing option if necessary.
+ CATM: Adjust repeat trigger time (default 2). Adding a capacitor wll give a longer repeat trigger time.
+ RGN: Detection distance adjustment (default 7 m). Adding a resistor the detection distance will become shorter. If
‘connected with a 1-MQ resistor, detection range Is about 5 m,
+ R-CDS: By adding a resistor (in parallel with the internal 1-MQ resistor), user can change the light detection threshold as.
per Individual requirement. This is applicable only when alight sensor is soldered in its pads (CDS) on the front of the
board. A.47-100K resistor works fine with standard 5-mm LORS.
A word of caution: I could not find an official English datasheet of this module, so I've had to make some
guesswork here based on the machine translation of Chinese to English. I'm not responsible for any damage
that this could cause to your sensor module and/or interfaced microcontroller!
REAR
RCWI-0516 font and rer pictures with passive component ications
Iighighted. These locations con be used to chonge the range
functionality ofthe device
The electronics of the module consists of two equally important sections: a microwave frequency
transmitter/receiver/mixer based on the MMBR941M high-frequency NPN transistor and a much-lower
frequency section based on an IC — RCWL-9196. Technically, the microwave section resembles a “Colpitt
oscillator,” with the requisite inductor (and capacitors) made by citcuit board traces. The inductor (~10 nH) is,
the S curve trace on the top surface, and capacitors are the ring structure on the bottom surface and also the
rectangular block to the left of the S curve.
First test circuit
hitps:wwnelectroschematics.comiget started-microwave-radar-motion-sensor! anaBefore delving into anything, recommend that you become falar with the hardware and inital setup/un
procedure and yt 4 sol IES GS AIRED SSCS BAT HGS» sc» power suppiyane
EnLED conectd, added an electromagnetic relay diver ciruitry to control some external loads when vag
mation is detected. Here, note that the 1-ka resistor (RY is not necessary as the module already held a 1-ka.
resistor between the OUT pin and actual output pin of the 16-pin onboard chip (RCWL-9196). Now to the
schematic ofthe fist tet cic
‘The electromagnetic relay (RL1) in the circuit is driven by a standard BC547 transistor (11) and there is a lay
on” indicator (LED1) that is when the relay isin an active state, I desired, you can also use other relays with a
different supply voltage rating. However, in thatcase, the power supply input (now 5 V) will have to be changed
(with some other minor modifications, of course). The 2-pin header (JP1) is reserved for the future and is
practically usable only when alight sensor is connected to the module.
3
ROWLOSI6 Test Circuit
For experimental purposes, this circuit can be constructed on a perfboard/breadboard. A5-pin header (only
three are requited for the first test) can be used to connect the radar module, Shown below is the random snap
of my quick test setup (also watch the test video):
RCWL-0516 Test Setup
motion-sensor!
hitps:wwnelectroschematics.comigotstarted-microwave-ra
anasrzai2024 How to Get Slarted with a Microwave Radar Motion Sensor
S
jer from the signal reflected by
ed (CW) signal can be used
al reflected from a target. Due
a frequency shift. Itcan be
Jed in receiver) is the number of
speed will produce a higher
. a Pitan also indicate the sense of
target movement: Escaping objects generate a lower frequency than that of the probing signal, while
approaching objects generate a higher frequency.
Colpitts Oscillator
The Colpitts oscillator is a popular type of LC oscillator invented by Edwin Colpitts in 1918. The figure shown
below depicts a typical BJT-based Colpitts oscillator with the tank circuit in which an inductor L is connected in
parallel to the serial combination of capacitors C1 and C2. The frequency of the Colpitts oscillator depends on
the components in its tank circuit and can be calculated by a simple formula (see figure). For example: IfL=27
UH, C1=1 nF, and C2=15 nF, then F=1 MHz. Note that the Colpitts oscillator can be tuned either by varying the
inductance or the capacitance
y 1
7
=
off = casczpcncg =F
SS
Colpitts oscllator diagram
Closing Thoughts
In my opinion, the RCWL-0516 microwave sensor is a powerful alternative to the common PIR sensor, but this
‘model has very limited (scant) documentation, making it difficult for beginners. In addition to reading the
“Chinese” material collected by me, | also did some research to aggregate as much information so someone can
use it quickly. While, at the moment, I don’t see a use for this sensor module apart from its signified application
of motion sensing, it can easily be adapted to add or modify functions!
hitps:lwwnelectroschematics.comiget-started-micrawave-radar-motion-sensorisrzai2024 How to Get Slarted with a Microwave Radar Motion Sensor
Reference 1: An Overview of Microwave Sensor OSGi Polivka, Spacek Labs Inc.
ELECTRO SCHEMATICS
0
Bo Smee
Previous
Prusa ISA Plus Review
and Assembly Tips
ia-plus-review-assembly-tips/
(nttps:/mwwvelectroschematics.com/prusa-
Next
The Arduino FM Radio
Bulle
‘wanted-to-ulld-an-tm-radio-armed-with-an-arduino-and-a-rdaS807m-fm-
(httosi/imwwelectroschematics.com/ever-
radio-module+t-k-hareendran-shows-us-how-to-get-started/)
Related Tutorials
No related posts,
Recent posts
‘+ Negative Resistance - Quick Rescript (nttpsu/www.clectroschematics.com/negative-resistance-quick-rescript/)
+ Linear LED Drivers (nttps:/wwwelectroschematies.comv/linear-led-