Code Monkey home page Code Monkey logo

rcwl-0516's Introduction

RCWL-0516 information

There is a lively discussion on the project issue tracker. So make sure you check it out. If anyone wants to help keeping this main page updated let me know.

RCWL-0516 is a doppler radar microwave motion sensor module which can act as an alternative to a PIR motion sensor. This git repository is an attempt to collect the rather scant information on this board in one place.

RCWL-0516 board

The unit I have was supplied by IC station (SKU 10630): http://www.icstation.com/rcwl-0516-microwave-motion-sensor-module-radar-sensor-body-induction-module-100ma-p-10630.html (Use coupon code 'joeics' for a 15% discount).

Operating frequency: The product specification omits the operating frequncy. I found a carrier at 3.181GHz on my unit using a HackRF One SDR radio (see spectrum plot below). I suspect this frequency will vary from device to device: it would be difficult to have a tight specification with such a simple RF circuit on FR4 PCB.

Working voltage: 4 - 28V. It provides a convenient 3.3V output to drive a MCU (good for 100mA ?).

The forward side of the board is the side with components. This side should face the objects being detected. Do not obstruct forward side with anything metalic. The back side should have clearance of more than 1cm from any metal.

The board has the option to attach a cadmium disulphide ("CDS" on the board) light dependent resistor to disable the output when it is light, for when the board is used to control lighting. Pin 9 is pulled up (=output enable) by a 1M resistor. Attaching the optional CDS LDR will pull pin 9 down (=output disable) when it is light (i.e. the LDR's resistance drops below ~269k assuming no resistor R-CDS installed). R-CDS allows you to add a resistance in parallel with the onboard 1M pullup to adjust the light level at which pin 9 is pulled <0.7V. See below for equation for choosing RCDS value.

Board header

Pin Function
3V3 3.3V regulated output. Max 100mA (?)
GND Ground
OUT Trigger: high (3.3V) if motion detected. 0V normally.
VIN 4 - 28V supply voltage
CDS LDR 10-20k RL, U_LDR > 0.7V = On

Schematic

RCWL-0516 schematic provided by John Taylor, page 1 RCWL-0516 schematic provided by John Taylor, page 2

Schematics contributed by John Taylor. Original PDF file here.

There are two parts to this circuit: 1. A microwave frequency transmitter/receiver/mixer and 2.a much lower frequency part based on an IC (marked RCWL-9196) which is very similar to the BISS0001 IC used in PIR motion detectors.

First the microwave part:

The best explanation of how the microwave part of this works is in patent EP3091605A1. It describes as similar type of module operating at 5.8GHz.

At the heart of the RF is a Q1 a MMBR941M high frequency NPN transistor [5] in what is probably a Colpitt oscillator [6] configuration. The schematic above is misleading because it omits a key inductor and capacitors constructed from PCB traces (a microline inductor and capacitor). The inductor 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. Using the formula at reference [12] below I calculte the inductance of the S curve to be (very approximately) 10nH.

A critical function of a doppler radar is to be able to 'mix' the reflected signal with the transmitted signal to arrive at a frequency which is the difference between the transmitted and reflected signal. In this board Q1 also cleverly assumes the function of the mixer: [TODO: this really needs to be explained].

The low doppler frequency difference is extracted by a low pass RC filter (C9 = 1nF, R3 = 1k, fc = 1/2πRC ≈ 160kHz) and amplified by the RCWL-9196 IC and treated exactly the same as a signal from a PIR sensor.

Update 4 Jan 2017: finally found the signal at 3.181GHz with the HackRF One SDR! One interesting observation: waving my hand in front of the sensor causes significant changes in the transmitting frequency, shifting by up to 1MHz. My theory: the low frequency doppler shift causes small changes in the transistor base bias. I used spice simulations to verify that small changes to transistor base bias causes changes in oscillation frequency. By running a few simulations I estimate that 1µV change in bias will change oscillation frequncy by 1.4MHz.

RCWL-0516 spectrum at 3.181GHz

The low frequncy part

The core of the low frequncy signal processing is an IC marked RCWL-9196. The schematic says (in chinese) that it's similar to a BISS0001 PIR IC. But there are differences. Unfortunately I can't find any hard information (eg datasheet) on this. Nor can I find any information on the brand/company name "RCWL".

Pin number BISS0001 RCWL-9196
1 A Retriggerable & non-retriggerable mode select (A=1 : re-triggerable) same
2 VO Detector output pin (active high) same
3 RR1 Output pulse width control (Tx) same?
4 RC1 Output pulse width control (Tx) same?
5 RC2 Trigger inhibit control (Ti) same?
6 RR2 Trigger inhibit control (Ti) same?
7 Vss Ground same
8 VRF RESET & voltage reference input (Normally high. Low=reset) Vin (4 - 28V)
9 VC Trigger disable input (VC > 0.2Vdd=enable; Vc < 0.2Vdd =disabled) same
10 IB Op-amp input bias current setting ?
11 Vdd Supply voltage 3.3V regulated output (100mA max?)
12 2OUT 2nd stage Op-amp output same
13 2IN- 2nd stage Op-amp inverting input same
14 1IN+ 1st stage Op-amp non-inverting input same
15 1IN- 1st stage Op-amp inverting input same
16 1OUT 1st stage Op-amp output same

Adjustment components

On the back of the board (the side without components) are pads for 3 optional components (0805 dimensions).

Pad Function
C-TM Regulate the repeat trigger time. The default (unpopulated) time is 2s. A SMD capacitor to extend the repeat trigger time. Pin 3 of the IC emits a frequency (f), and the tigger time in seconds is given by (1/f) * 32678
R-GN The default detection range is 7m, adding a 1M resistor reduces it to 5m
R-CDS Resistor in parallel with the 1M pullup. Without R-CDS, the lowest resistance of the LDR (i.e. highest light level) where the output is enabled is ~269kΩ (=0.7V on pin 9). Adding resistance here decreases the LDR resistance of the enable/disable threshold. If the LDR resistance at the desired light level threshold is <269k then you could add an external resistor in series with the LDR. Spreadsheet for calculating R-CDS or series resistor value based on LDR resistance at light level threshold. R_CDS = 1 / ( 1/1M - 1/(2.6V/(0.7V/R_LDR > 269k)) ) = 1 / ( 1/1M - .269231/R_LDR )

Spice simulation

I started with an example Colpitt circuit [9] and substituted the 2N3904 NPN with a MMBR941 (Spice model from [10]). I am using the Windows LTSpice from Linear Technologies (available as free download [11], also works with Linux under Wine emulator). See colpitt.asc for a working Colpitt oscillator and rcwl-0516.asc for a model of the RCWL-0516 (however it does not oscillate!).

Colpitt oscillator simulation running at about 3GHz

Regulatory compliance

[TODO]

Doppler effect calculations

If ft is the transmitted frequency, fr is the reflected frequency (as measured by the common transmit/receive antenna on the sensor), v is the speed of the target relative to the sensor (negative if receeding, positive if advancing toward sensor), c is the speed of light and fd = (fr-fd) is the doppler shift, then:

fr = ft (c + v) / (c - v)

fd = fr - ft = 2v ft / (c - v)

If ( c << v) then fd ≈ 2v ft / c

Assume typical human motion speed of v = 1 m/s. ft = 3.181GHz, c = 2.998E8 m/s, then fd = 10Hz.

References

[1] http://wiki.seeedstudio.com/images/2/2f/Twig_-_BISS0001.pdf

[2] http://highfreqelec.summittechmedia.com/Apr07/HFE0407_Polivka.pdf

[3] https://en.wikipedia.org/wiki/X_band

[4] Links to similar modules:

https://www.bestfinds.org/microwave-sensor-module-10-525ghz-s01-type-single-pcb-microwave-radar-motion-sensor-module-for-ceiling-light-sensor-32a9cf9fba6ba68d.html

http://szhaiwang.en.made-in-china.com/product/lvMQxCLJYshG/China-Microwave-Sensor-Module-10-525GHz-Doppler-Radar-Motion-Detector-Arduino-HW-M09-.html

http://www.ebay.com/itm/LV002-10-525GHz-8-15m-Doppler-Radar-Microwave-Sensor-Switch-Module-/262461703972?hash=item3d1befc724:g:39kAAOSwepZXTTSu

Inside another doppler radar microwave LED lamp (bigclivedotcom): https://www.youtube.com/watch?v=2xHhLbhbb0k

Microwave doppler sensor lamp with perplexingly simple circuitry (bigclivedotcom): https://www.youtube.com/watch?v=FgdXRLjYkc4

[5] http://cache.freescale.com/files/product/doc/MMBR941.pdf

[6] https://en.wikipedia.org/wiki/Colpitts_oscillator

[6] https://en.wikipedia.org/wiki/Doppler_radar

[7] https://www.youtube.com/watch?v=jAeFQEHWLZU

[8] http://electronics.stackexchange.com/questions/53554/can-we-build-capacitors-on-a-pcb-board https://www.jlab.org/accel/eecad/pdf/050rfdesign.pdf http://www.qsl.net/va3iul/Microstrip_Stripline_CPW_Design/Microstrip_Stripline_and_CPW_Design.pdf

[9] Colpitts Oscillator Practical Project http://www.learnabout-electronics.org/Oscillators/osc24.php

[10] MMBR941 Spice Model http://ltwiki.org/files/LTspiceIV/Vendor%20List/Motorola/Spice/RFBJT/MMBR941.lib

[11] LTSpice http://www.linear.com/designtools/software/#LTspice

[12] http://coil32.net/meandr-pcb-coil.html

Patents

US5227667A: Microwave proximity switch https://patents.google.com/patent/US5227667A

CN203352555U: Doppler microwave radar inductive switch https://www.google.com/patents/CN203352555U?cl=en

CN203434265U (also US20150236403A1, WO2014169502A1, EP3091605A1) : Planar antenna microwave module and intelligent control energy-saving lamp https://patents.google.com/patent/CN203434265U/en https://patents.google.com/patent/US20150236403A1/en https://patents.google.com/patent/WO2014169502A1/en https://patents.google.com/patent/EP3091605A1/en

CN101738640A: Induction module of microwave motion sensor https://patents.google.com/patent/CN101738640A/en

Credits

Other videos, articles, links etc

From: Roger Clarke ( https://github.com/rogerclarkmelbourne )

http://www.rogerclark.net/investigating-a-rcwl-9196-rcwl-0516-radar-motion-detector-modules/

Please check the GitHub issue tracker for the most recent contributions/observations: https://github.com/jdesbonnet/RCWL-0516/issues

Might higher quality schematic from John Taylor (https://electronics.stackexchange.com/users/173758/john-taylor) here: https://www.tayloredge.com/reference/Electronics/RF/0242.pdf

This video from The Signal Path explains the operation of a similar module (CDM324) in great detail: https://www.youtube.com/watch?v=5vqSX40seqA

This video from DroneBot Workshop is a good tutorial specifically for the RCWL-0516 module: https://www.youtube.com/watch?v=IJoPkKlxFXA (thanks for that tip underwoodblog !)

A video from Big Clive "How microwave body detectors work. With RF section schematic." https://www.youtube.com/watch?v=Hf19hc9PtcE (again thanks to underwoodblog )

Updates

14 May 2019: More main page content updates.

21 Aug 2018: Added link to The Signal Path video explaing operation of similar module: https://www.youtube.com/watch?v=5vqSX40seqA

13 Feb 2018: Added link to high quality schematics by John Taylor ( https://www.tayloredge.com/reference/Electronics/RF/0242.pdf )

18 June 2017: New section 'Other Links and Articles'

4 Jan 2017: Thanks to tear down review on YouTube [7] I've revaluated the operating frequency.

5 Jan 2017: Added annotated schematic.

12 Jan 2017: Added links to related microwave proximity switch activated LED bulbes. Added section for related patents and credits.

13 Jan 2017: Added links to more relevant patents.

21 Jan 2017: Added section on Spice simulation of the circuit.

rcwl-0516's People

Contributors

chefsslaad avatar dhharker avatar jdesbonnet avatar joerg-rw avatar ludwich66 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rcwl-0516's Issues

Typo on the RC network

The text says that the low pass filter is set by R3 and C9. I think from the circuit diagram above the text, this should be R8 and C9. Actually R8 in parallel with R7 but since R7>>R8 it's near enough.

Thank you so much for writing this guide. Really useful.

Adapting Sensor Range

Hello everyone,

Does anyone know if maybe modifying the voltage or resistance at some point could potentially adapt the range of the sensor? i made a light with the sensor but it turns on way too much.

Thanks!

Repeat Trigger time?

I've been through the notes and as far as I can see, this question hasn't been covered. The "on" time where the output pin is held high is around 2 seconds, I see from other notes that this can be increased by putting a capacitor across C-TM, but I want to significantly DECREASE the time the output is held high and trigger time. I've tried various resistors across C-TM and can increase the time, but have had no luck in decreasing the time. Perhaps explaining what I am hoping to achieve would help. I'm trying to create a pulse count circuit where, the system will only trigger after two or three pulses within 2 seconds (similar to alarm PIR detectors) to reduce false alarms. Has anyone been able to decrease the trigger time?

Variable Output

I was wondering if there were a way to modify this to give a variable or PWM output representing a distance, or speed?

I figure a number of these placed strategically might allow one to map and object in 3d space.

Bias voltage divider wrong

The actual bias voltage is the ratio of the ground resistor divided by the sum of the two resistors times the voltage.

Rg / (Rv + Rg) * Vin = 2200 / (2200 + 4700) * 3.3 = 1.052 volts

Waterproof!

I hope it doesn't happen to you, but I just hot-washed an RCWL-0516 in my shirt pocket at 40°C in a washing machine, followed by an "extra dry" tumble. It still works.

Ditch the IC, use just analog circuitry connected to uC ?

I am designing my own board with microcontroller (either ESP32 or ATmega), i would like to include the doppler sensor design directly to that board. I am bit tight on space and i was thinking that maybe i can just use the RF part of this circuit and replace RCWL 9196 block with my own circuitry to detect the output frequency shift myself. Effectively i want to cut the RCWL-0516 part in half and throw the IC half away.

I guess we can detect the baseband (downconverted doppler shift signal) using ADC of microcontroller. Maybe with little help of LM358 opamp or something... Another good thing about this might be that we would be able to fine tune signal processing in firmware in order to achieve desired sensitivity and range, without modifying analog circuitry, timing capacitors, etc...

Any ideas how to do this? Unfortunately i don't have scope at hand :/

Is performance affected by room size and location?

I've mounted the RCWL-0516 on a small, solderless breadboard with a battery so it can be easily placed in different locations. It seems that the sensor's performance, that is, the trigger sensitivity, varies noticeably depending on the size of the room and where the unit is placed in the room.

Is this behavior to be expected? Since the unit works by interpreting reflected waves, it would make sense that where it is placed could affect its performance. Nearby objects might affect the quality of the reflected waves and whether the RCWL-0516 interprets them as movement.

[closed] Pin 1 investigated

I cut loose pin1 from PCB, powered up the module (worked unchanged!) and probed pin1:
1.4mV against GND - so definitely no output.
However it has changed mode to "not retriggerable" . in line with the "old" pin function, so pin1 description on https://github.com/jdesbonnet/RCWL-0516 could use an update

/jOERG

Question: Decrease the dopplerfrequency

I'm searching for the oscillator which make 3.1 GHz.
I would like to decrease the frequency down to 2.5 GHz.
Do you know, where is the R/C-part in the schematic?
Edit:
Now i see, it's a colpitt oscillator. The frequency change is probably not possible (?)

New/Different RCWL-0516 with added LDO

Hello folks,

with my newest order I received six rcwl-0516 with a sightly different layout.

rcwl-0516_new_front

rcwl-0516_new_back

Most significant is the back with this new chip labeled '7133-1' which looks to be a

HT7133-1 30mA Low Power LDO The HT71XX-1 series is a set of three-terminal low power high voltage regulators implemented in CMOS technology.
Source: https://www.digchip.com/datasheets/parts/datasheet/196/HT7133-1.php

Also the logos missing from the board itself as well on the rcwl-9196 microchip.

Some speculations what the added low power ldo could be good for?

False triggers

I used this sensor with a esp8266 and i have a lot of false triggers. Seems to be strongly affect by the wireless network , in general , by strong electromagnetic fields . I tried to place him at a considerable distance from esp8266 and I used a lot of decoupling capacitors. Sure that the false switching operations were far fewer .
I would like to know if anyone met this problem and how to solve it .
If I mount a metalic shield on the back of the sensor, may this affect its detection properties ? Thanks .

Low sensitivity

I've read many articles about this thing being tooo sensitive.
I've rigged it with an esp8266 chip, from my observation, if way less sensitive the I expected it to be.
Is it normal for this board to not react to small movements such as turning of the head or raising of the arm from an arms length distance?
I was actually looking for a device that would react to such movements.

Question: Pulling low on CDS will fully disable the module ?

I have tested pulling LOW on CDS module won't trigger the motion, but I just know whether the module is fully disabled or just triggering part. I kept the module close to my desktop and so I am worried about sitting close to microwave radiation. Any thoughts ?

Phase and power of reflected signal

Is it possible to obtain phase and power of the reflected signal from some of the pins, with additional circuitry?
I'd like to use both for additional experiments, but it's not clear to me which signals I should use.

RCWL-0516s close to zero sensitivity/triggers outdoors, work great inside at the bench.

Hello,
I am having a very elusive problem with all five RCWL-5016 modules that I recently purchased not working when moved outdoors. Inside my garage, with the overhead door open (same temperature and humidity) the sensors work great, approximately 15 to 20 feet detection area in most of a 360 degree coverage area. When I take the same sensors outside, even on a breadboard with no other circuity, I get a reduction of almost 98% in sensitivity. I can move my hand one inch away from the board and it will light up an attached LED. My guess was RF interference, so I killed every breaker in my house (except the known working AC from my garage outlets) ran an extension cord out to my yard from the garage, and still had the same problem. So, no RF from my house, and the next neighbor is at least 80 feet away.
I noticed at the work bench that Pin 12 of the main IC was the most active by motion near the board, almost a 3 volt swing with activity within inches or several feet away from the board. Again, out in the yard I could only duplicate such a swing in voltage on Pin 12 if my hand was within a couple of inches from the RCVL-0516.
Any thoughts? Appreciate your input.
Dennis

Helping my friend with a cheap Chinese radar light bulb

Hi all,

My friend purchased a light bulb with a radar sensor. It lists for SGD14 (US$10) but is perpetually on sale for SGD4 (US$2.93):

E27 Sensor Radar Light Bulb

However it's detection range was too large (~4m radius). I stumbled on this project and realised the circuit and principles used are similar. Here is the circuit:

image

image

And my messy amateur interpretation of it:

image

The chip is a HYL-1617 (not an easy find and you need a Taobao account) which can be found for RMB0.55 ($0.09). Quite cheap, but the datasheet's only available in Mandarin. I used a translator app to OCR it.

I managed to lower the range down to 2.0m +- 0.2m by modifying the 1Mohm across the Opamp to 145kOhm. I don't have any idea how the relationship of range and resistor value scales in this circuit so I just tried a bunch of different values until I got it right. I think it works similarly to the RCWL-0516's R-GN resistor.

Anyway, just thought you guys might be interested in my little learning experience.

Easy to kill by backfeeding voltage?

I had one of these connected to a rPi and it worked fine for about a month. Then I decided to hook it up to an Arduino and did not read the datasheet. I've fed 3.3V into the 3.3V and now it's seemingly dead. I did not put an oscilloscope to it to see if it actually does something, but the leds don't light up anymore and it doesn't draw any current.

I had a second module - hooked it up to an Arduino (just the 3.3V regulated out) and connected the output pin to a buzzer. It buzzed for less then a second and it went dead. Not sure if the buzzer killed it or the 3.3V.

Perhaps it would be useful to have a list of DON'Ts, such as: no voltage on the 3.3V output (without power), no inductive loads, no voltage on OUT... I don't really know what kills these modules. Static?

How to detect an object getting closer to RCWL-0516

Hello,
I'm doing a project and this is the first time I work with sensors and I have no experience.
What is your suggestion to change the sound of a buzzer, when RCWL-0516 has detected an object? I mean, when the object is getting closer, the louder and louder sound could be heard from the buzzer.

Supplying with 3V3

Hi. Cool sensor. This is not an issue, but is it possible to power the radar from 3v3 without using a step up?

Lamp tutorisl

Hello everyone,
this is not really an issue. I just wanted to post a link to a tutorial I made a few months ago,
Hopefully it will be helpful to someone,

link: Kicklamp on instructables

Cheers,

A_

uni-direction detection

Can it be used for detecting uni-directional moving? Walking forward, back and especially parallel to the wall for example? I need to find out this issue. Could you please help? Thanks in advance.

RCWL-0516 Bouncing

Newbie here. I'm using an RCWL-0516 with a D1 Mini through Home Assistant to trigger a light on when someone enters a room. The issue I am having it just keeps bouncing from Detected to Clear every few seconds. This is the 2nd one I've tried with the same issue, the first one was with an ESP32. I know I must be doing something wrong or maybe there's something I need to add? Here is the ESPHome code that I uploaded to the D1 Mini. Thank you.

esphome:
  name: mw_sensor01
  platform: ESP8266
  board: d1_mini

wifi:
  ssid: "XXXX"
  password: "XXXXXX"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Mw Sensor01 Fallback Hotspot"
    password: "kta0sKXAWsgS"

captive_portal:

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:

binary_sensor:
  - platform: gpio
    pin: D4
    name: "Kitchen Sensor"
    device_class: motion
    #filters:
      #- delayed_on_off: 4000ms

how does the oscillator work

hi @jdesbonnet
Thank you for the great work you have done for helping understand this module. I wonder how the oscillator works. It's said that the copper at the base of the NPN acts as decoupling capacitor(C=εS/d , C for Capacitor, ε for dielectric constant, S for copper area, d for PCB thickness) along with the internal resistance of the NPN, together make an RC oscillator (f=1/2πRC). It seems quite tricky for me.
Anyway, still hoping to figure out how the oscillator works.

Question: Regulatory compliance

Hello,

Do you know can this kind of radar pass CISPR 1 (EN 55015) or similar EMC standard for lighting products?

Any general idea? Thanks!

Reduced Range but increased Current consumption

I was able to modify the range to few cms 4-5 cms with 40 ohm resistance put in R9.I removed the original 221 ohm from its place.I also tried multiple resistance with R-gn but was not successful.

BUT

I am into a new problem,before any modification or keeping the resistance to around 220 ohm on the R9 resistor keeps the current consumption of the chip around 2.3 mAh but with the 43 Ohm resistance on R9 the consumption increased to 12mAh.

I am planning to keep the current consumption to be very low sine i want to run the prototype on a 4 x AA Alkaline battery which has a current of 1500 mAH give or take and with this rate the battery would die in few days.

Can someone help me with this problem,i am a beginner with electronics as i am more of a computer engineer?

Can I put something else along with the resistor to keep the range withing 4-7 cms and also draw less current?
Or
Is there any other way to reduce the power consumption of the chip by removing some pins from the IC on the board?
or
Putting a resistor before the VoltageIn pin of the RCWL will have any impact?

Please help

Different Antenna

This project is really cool. Much respect to those who have done this work.

Has anyone considered trying different Antennas? This would be a perfect circuit for a project I'm working on, but I need it to only detect in one direction (ie Field of View 180 degrees)

Decreasing sensitivity over time?

Has anyone noticed a decrease in sensitivity over time? Like at first it senses motion around the corner in another room, and then two months later you have to be within six feet directly in front of it?

I have a motion-sensing non-PIR ceiling light that I installed in the laundry room which has exhibited this behavior. At first it could sense motion around a corner or through a closed, louvered folding door. Now you have to get pretty close.

I don't know which doppler module it's using, but I figured someone might have run into similar behavior with RCWL-0516-based units.

I'm wondering 1) if it's going to continue getting worse, and 2) whether it might be due to a low-quality component (resistor/capacitor, etc) deteriorating.

R-CDS operation inverted?

From the Readme:

R-CDS the VCC is in parrel connection with CDS(RCWL-9196 pin 9) through R-CDS. Connect the LDR at the R-CDS to turn off the detecting function at night. (?? TODO: make sense of this)

Perhaps this is setup to turn the detector on at night? I have a few PIR-activated LEDs around, and they spend the day charging.

I could be wrong here, still waiting for my modules to arrive.

Info: 3.3v output PIN

I thought that 3.3v output PIN cab be used to drive some other sensor or something like that,but it doesn't have enough juice to drive sensors.
So I put the pin to good use by connecting to GPIO of ESP and detecting the failure of the sensor. Incase if the sensor is not working or failed for some reason, we will have no power at 3.3v pin.

Thoughts about this ??

Has Anyone Reverse-Engineered the RCWL-0516 Board?

I'm interested in adding some parts to the subject board for my own purposes. I want to perform the layout of my new portions of the circuit that I need in order to create an entirely new board, however, I would prefer not to have to reverse engineer the microwave part if someone else has already done it.

Thanks!

False Triggers on switching

I used this sensor to generate digital output to drive the relay using microcontroller. But the problem is whenever relay get triggered I got false alarm which trigger the relay instantly. I tried to ignore the false alarm for 4 second but still it cause problem and i do not want to add 4 second ignore time. Please suggest how should I fixed this.

RCWL 0516 OUT Pin to Drive a MOSFET

I want to switch ON a MOSFET when the OUT Pin of RCWL 0516 goes High and switch off MOSFET when it's Low.

I connected the OUT pin directly to the gate of a MOSFET, but the MOSFET is not completely ON.

My Input voltage to RCWL 0516 is 6.8V, 4 mA.

Connected Load is LED.

MOSFET used is 5N50 ( 500V, 5 A). TO 220 package.

Please suggest.

Electronic disturbance

Hi,

This is actually a general question for radar/microwave detectors but the RCWL-0516 was the smallest one I could find with a quick search online.

Does anyone know if it can cause disturbance to other electronic? The questions is asked since I'm searching for a way to detect motion from inside an enclosement where other electronics is placed.

Grateful for any support!

Change from Re-trigerable to NON-retriggerable

Hi there and many thanks for the research put on this nifty radar module.
I'm trying to put this module in non-retriggerable output, as mcu's interrupts won't be triggered again if the movement continues.. Output pin will stay always high if default re-triggerable mode is active and circa-continuous movement is detected..
I analyzed pin 1 (supposed mode selector) but it seems to connect 3.3V internally regulated voltage to the BJT's collector, de facto putting this pin to ground disables the entire chip (short to ground).

I have also used the CDS pin to disable the chip, but in disabled mode it won't put the output pin LOW.

Does anybody have a suggestion on how to change detection behaviour ?
Kind regards

Output from Pin 12 of the IC

I've done some analysis of the analogue voltages on various pins on the IC, and the most useful is pin 12

I looked at the input voltage from the oscillator, into the main IC, but its hard to analyse as it stabilises at about 400mV, but only had about 4mV of rise and fall.

Pin 12 is the most useful for direct connection to a MCU's analogue input, as it stabilises at around Vdd 3.,3V/2 and swings between 0V and 3.3V

However the problem with using the output of the opamps in the IC is that IC effectively operates as a differentiator, so only changes in object position get propogated, and in stead state the voltage on pin 12 returns to Vdd / 3 no matter whether you are standing 10m from the detector or have your hand over it.

I have written a blog post and included various plots taken from pin 12

http://www.rogerclark.net/investigating-a-rcwl-9196-rcwl-0516-radar-motion-detector-modules/

VDD description.

Chips like this often provide a convenient regulator. In this case the 3.3V one.

Then there will be a pin marked "VDD" that is the power input to the rest of the chip. You as the designer get to chose to use the builtin LDO, or for example, the 3.3V from a switching buck converter that you're going to need anyway.

I'm guessing you verified connectivity between the 3.3V out and the VDD pin "again?", but that is because the designer in this case decided to use the built-in LDO and not something else.

Also typo: frequncy -> frequency.

Eagle Library

Found this very useful! I'm unsure if this has already been noted or potentially is a version issue:

The library file for eagle initially downloads in the zip as .lib, altering the file extension to .lbr brought it up and restored functionality for me. Using the current Eagle version, this may have been correct for previous versions.

[How-To] Suppress the sensitivity at backside?

Hello,
I'm planning to use this sensor as a motion detector on my project.
The sensor will be mounted on the ceiling. But as I stay in an apartment, What If someone walks on the floor above my ceiling, will it also create a false motion signal at the output?
If yes, Can I suppress the sensitivity of the sensor backside by using a metal shielding, Ground plane of PCB or any other proven method?

Help keeping main page updated

Sorry folks, I haven't had time to keep the main page updated lately. If anyone wants to help with that I'd be delighted to add as project collaborator.

Sensitivity to interference

My motion detector was triggering a lot of false alarms. I suspect the nearby WiFi router triggered these. I tried to make a sheet metal noise shielding box for the radar. However, it stopped working. I did leave about 10mm space on the bottom side. It is not sensitive to movement any more. But it does trigger sometimes when slightly moving the device, maybe my power supply clips rattle, or some electro-acoustic phenomenon. Any other ideas how to reject interference? I wanted this as small as possible as it is inside a raspberry-pi box,

microwave_motion_radar_shielding

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.