RCWL-0516 Microwave Motion Sensor

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
cvoid
New user
Posts: 7
Joined: 02 Apr 2017, 18:49

RCWL-0516 Microwave Motion Sensor

#1 Post by cvoid » 25 Jun 2017, 20:35

Hi Folks,

i saw https://www.youtube.com/watch?v=9WiJJgIi3W0 and bought a RCWL-0516.

Did anyone made some experience with ESPEasy?

Tried to connect it as a Normal Switch on a NodeMCU board but without any success.

I'm curious if someone is using them to detect movement etc.

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: RCWL-0516 Microwave Motion Sensor

#2 Post by Shardan » 25 Jun 2017, 22:26

Hello,

as far as i can see it can be used like a PIR sensor,
just using the output from the sensor as a "switch" type input on ESPEasy.
I've found this with google:
http://blogmasterwalkershop.com.br/arqu ... l-0516.jpg

Seems quite easy to use.

Regards
Shardan
Regards
Shardan

bobbybeans
Normal user
Posts: 119
Joined: 26 Feb 2017, 17:30

Re: RCWL-0516 Microwave Motion Sensor

#3 Post by bobbybeans » 26 Jun 2017, 11:29

hey there
I have used these and they are very accurate go look at my howto at the bottom it speaks about the radar I use. not in much detail but gives you some detail

these IMO are far better than the crappy 30 cent PIR sensors from ali
If I had to rate them it would be
worst
PIR sensor
Mini PIR sensor (much better than the one above but about 4x the price)
the radar sensor - super cheap
best

there are a few things you need to do to make them accurate
it needs a 5v supply I know the datasheet says 3 but its not accurate at 3 gives False Positives
it also needs a 330uf 6v cap plus a 10o resistor in series with the power from power to ground to stabalive the output power from the ESP as the ESP does not have clean power- this is what Ive been told. when it sends signals via wifi it backfeeds power creating blips making other electronics go haywire. again this is what I have been told I'm just repeating it but it sounds right as I have had many issues with the basic esp12 and esp01 but if I use the wemos sensors which has more reisitos and other stuff on it I dont have issues

these are far better. they are almost too good. they work through walls and in a 360 degree range, so I can see when my flatmates gets up and goes into the kitchen (or anybody is in the kitchen) through a wall

here are the two resources I have used where I got most of my knowledge from
https://www.youtube.com/watch?v=9WiJJgIi3W0
http://tech.scargill.net/microwave-for- ... /#comments

cvoid
New user
Posts: 7
Joined: 02 Apr 2017, 18:49

Re: RCWL-0516 Microwave Motion Sensor

#4 Post by cvoid » 04 Jul 2017, 18:04

Thank you to both of you!

It Works Great!

DeNB3rt
Normal user
Posts: 120
Joined: 15 Dec 2015, 14:07

Re: Microwave Motion Sensor

#5 Post by DeNB3rt » 26 Jul 2017, 09:36

Hi all

Are there any others that are using Microwave motion sensors with ESPEasy?
I have the xyc-wb-dc
Image
A= "+" 3.3-20VDC input "-" GND and "O" = output 0/3.3V
B= R9_1 sensitivity resistor 10K > 100K
C= R9 active high duration resistor, 1K > 250K

I've also read that Scargill was having good experiences with the "10r resistor in series with the 5v supply - and a 330u 6v cap (from the microwave board end of that resistor) - to ground - works a TREAT."

I did not try this yet because the signal looks good on my multimeter, but the signal is constantly on/off/on/off in domoticz.
When using a pull down 10k resistor, the signal keeps 'off' forever :D

Are there any others that are using Microwave motion sensors with ESPEasy? Any experiences to share?
Located in Belgium, Bruges. Working on a full DIY domoticz setup with ESPEasy.

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: RCWL-0516 Microwave Motion Sensor

#6 Post by Shardan » 26 Jul 2017, 13:38

Hello,

at first - don't trust a multimeter for dynamic voltages or such.
Multimeters can only show very slow change rates. For checking such things it needs an oscilloscope.

The idea of 10 ohm / capacitor is quite good.
With having two high frequency sources in such a system (ESP-Chip and microwave sensor) i'd prefer
a 10 Ohm resistor and then two capacitors: a electrolytic cap 270...1000 µF and a ceramic type (X5R, X7R or similiar) of around 100 nF.

If a pull down resistor does not work - does a pull-up? Test with 10KOhm between 3,3V and data wire.

Anyways two high frequency items is always a possible source of trouble.
Regards
Shardan

DeNB3rt
Normal user
Posts: 120
Joined: 15 Dec 2015, 14:07

Re: RCWL-0516 Microwave Motion Sensor

#7 Post by DeNB3rt » 26 Jul 2017, 15:24

Shardan wrote: 26 Jul 2017, 13:38 Hello,

at first - don't trust a multimeter for dynamic voltages or such.
Multimeters can only show very slow change rates. For checking such things it needs an oscilloscope.

The idea of 10 ohm / capacitor is quite good.
With having two high frequency sources in such a system (ESP-Chip and microwave sensor) i'd prefer
a 10 Ohm resistor and then two capacitors: a electrolytic cap 270...1000 µF and a ceramic type (X5R, X7R or similiar) of around 100 nF.

If a pull down resistor does not work - does a pull-up? Test with 10KOhm between 3,3V and data wire.

Anyways two high frequency items is always a possible source of trouble.
thx for the hint, are you using MW sensors in your setup?
Located in Belgium, Bruges. Working on a full DIY domoticz setup with ESPEasy.

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: RCWL-0516 Microwave Motion Sensor

#8 Post by Shardan » 26 Jul 2017, 20:18

I've got the RCWL-0516 this week but had no free time left to test it yet.

I'll do as soon as possible for writing a wiki how to use / connect at least.

Regards
Shardan
Regards
Shardan

DeNB3rt
Normal user
Posts: 120
Joined: 15 Dec 2015, 14:07

Re: RCWL-0516 Microwave Motion Sensor

#9 Post by DeNB3rt » 01 Aug 2017, 10:50

Shardan wrote: 26 Jul 2017, 20:18 I've got the RCWL-0516 this week but had no free time left to test it yet.

I'll do as soon as possible for writing a wiki how to use / connect at least.

Regards
Shardan

Hi Shardan, already found some time? :)
Located in Belgium, Bruges. Working on a full DIY domoticz setup with ESPEasy.

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: RCWL-0516 Microwave Motion Sensor

#10 Post by Shardan » 01 Aug 2017, 15:21

DeNB3rt wrote: 01 Aug 2017, 10:50 Hi Shardan, already found some time? :)
Hello,

I just had some time to create a quick&dirty breadboard assembly with the RCW sensor, it seems to work quite nice.

It might be a good idea to use 5V at the Vin pin instead of 3,3V at the 3,3V pin.
For now i don't have any capacitors and resistors added, just wired a WeMos D1 mini to the sensor.

Configured with D7 (GPIO13) with internal pull up active.

It seems to me that the sensor is super sensitive. It detects even people at the floor above.
This might lead to false positives, a tree in the wind at the other side of the outside wall might be enough....

Maybe it is a good idea to shield the sensor with some metal (aluminium foil?) to that sides you don't want people or things detected.
Don't put the shielding too near (3...5 cm distance). Mounting to the top of a plastic case and covering the bottom with metal perhabs.
Did not test that yet.

Regars
Shardan
Regards
Shardan

Justblair
Normal user
Posts: 63
Joined: 08 Aug 2016, 23:42

Re: Microwave Motion Sensor

#11 Post by Justblair » 02 Aug 2017, 09:31

DeNB3rt wrote: 26 Jul 2017, 09:36 Hi all

Are there any others that are using Microwave motion sensors with ESPEasy?
I have the xyc-wb-dc
Image
A= "+" 3.3-20VDC input "-" GND and "O" = output 0/3.3V
B= R9_1 sensitivity resistor 10K > 100K
C= R9 active high duration resistor, 1K > 250K

I've also read that Scargill was having good experiences with the "10r resistor in series with the 5v supply - and a 330u 6v cap (from the microwave board end of that resistor) - to ground - works a TREAT."

I did not try this yet because the signal looks good on my multimeter, but the signal is constantly on/off/on/off in domoticz.
When using a pull down 10k resistor, the signal keeps 'off' forever :D

Are there any others that are using Microwave motion sensors with ESPEasy? Any experiences to share?
Playing with this just now... From what i have read, a power supply filter is a good idea. I also found the range too sensitive (It can see through walls and doors), but there is a way to make this adjustable
https://www.youtube.com/watch?v=41rf6NbuhBs&t=1s

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: RCWL-0516 Microwave Motion Sensor

#12 Post by Shardan » 02 Aug 2017, 18:18

Yep.
Sensivity can be changed with an additional resistor on the RCWL-0516 too.

Even with lower sensivity the sensor looks through walls, just with a lower range.
This might generate false positives for your purpose - i've seen here meanwhile as the dog
from my neighbour upstairs triggered the sensor... ;)

A filter as described (resistor, capacitor(s) ) always is a good idea with any sensor,
The ESP generates some current peaks, for example when transmitting data.
These peaks may cause a "ditch" on the power line.
High frequency on another note can travel over power lines and confuse sensors too.
Regards
Shardan

LisaM
Normal user
Posts: 513
Joined: 11 Apr 2017, 18:29

Re: RCWL-0516 Microwave Motion Sensor

#13 Post by LisaM » 19 Aug 2017, 21:36

A VERY comprehensive test of several cheap radar sensors including this one: http://hackaday.com/2017/05/24/radar-se ... -the-test/
But... a 360dg angle??? :shock:
And detects everything, even through walls. Including cats, making a LOT of detection...
Not usable for my purposes.

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: RCWL-0516 Microwave Motion Sensor

#14 Post by Shardan » 19 Aug 2017, 23:04

LisaM wrote: 19 Aug 2017, 21:36 A VERY comprehensive test of several cheap radar sensors including this one: http://hackaday.com/2017/05/24/radar-se ... -the-test/
But... a 360dg angle??? :shock:
And detects everything, even through walls. Including cats, making a LOT of detection...
Not usable for my purposes.
Definitely. The antenna is (more or less) omnidirectional so it collects echoes from all directions.
It's obviously not a radar dish with a focussed beam. That's why i had the idea to shield it with some aluminium foil.

Regards
Shardan
Regards
Shardan

LisaM
Normal user
Posts: 513
Joined: 11 Apr 2017, 18:29

Re: RCWL-0516 Microwave Motion Sensor

#15 Post by LisaM » 20 Aug 2017, 14:29

Shardan wrote: 19 Aug 2017, 23:04 Definitely. The antenna is (more or less) omnidirectional so it collects echoes from all directions.
It's obviously not a radar dish with a focussed beam. That's why i had the idea to shield it with some aluminium foil.
But... doesn't the alu foil's echo interfere with the operation of it?

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: RCWL-0516 Microwave Motion Sensor

#16 Post by Shardan » 20 Aug 2017, 16:46

To be honest i'm not sure about that, had no time for testing this yet.

On another note i use two microwave driven corridor lights.
This is a simple light from the DIY market with a metal plate mounted to the ceiling and a glas downside.
Inside i replaced the standard bulb with a LED bulb with built-in microwave sensor and that works.
No reaction to people moving on the upper floor, no false triggers.

And would the sensor not be triggered even by a wall of reinforced concrete too if a static reflection would be enough?

I think it's promising enough to give that way a try.

Regards
Shardan
Regards
Shardan

DeNB3rt
Normal user
Posts: 120
Joined: 15 Dec 2015, 14:07

Re: RCWL-0516 Microwave Motion Sensor

#17 Post by DeNB3rt » 12 Oct 2017, 16:01

In the meantime, I added the 330uF cap and 10 Ohms resistor in series.
Went very very! well for a few day's. I am/was so happy.

Image

But since this morning again, false inputs... anyone an idea?

Image
Located in Belgium, Bruges. Working on a full DIY domoticz setup with ESPEasy.

bobbybeans
Normal user
Posts: 119
Joined: 26 Feb 2017, 17:30

Re: RCWL-0516 Microwave Motion Sensor

#18 Post by bobbybeans » 12 Oct 2017, 16:42

its not that I don't belive you in the False Positive but for this sensor it is VERY sensative. Where is this located in the house?
reason I ask is because I have stuck one of mine in an sonoff s20 power socket and put it in my room which is near the kitchen. It will go through the walls and pick up movement on the other side. so I can tell if someone is in the kitchen without me getting up. It is also goes off when someone cooks big portions of meat in the microwave or stove because they have big contents of water in the meat.

I have even had it pick up bottles of water because radar is reflected by water (which is why it can detect us as we're water)

I originally thought they were False Positives as well but I did like weeks of trying to figure it out.

It could also be your psu (whatever is connected to it) I know I originally suggested the resistor and cap which helps but maybe its an extra crappy psu? you could try a bigger cap. the only reason I suggest the 330uf cap was because I read it on a blog and it worked for him. bigger caps store more energy which offsets the waves of input power so maybe its not high enough?

these are all just suggestions in reality I am just guessing based on what problems I have had

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: RCWL-0516 Microwave Motion Sensor

#19 Post by Shardan » 12 Oct 2017, 18:31

First - do you use 3,3V or 5V to feed the sensor?

The 3.3V pin is more of an output then an input. The module has it's own voltage regulator.
It's recommended to use 5V at the Vin-Pin.

Second it is possible to reduce sensitivity of the sensor by ading a resistor to the board.
Honestly i don't believe this will reduce the issue.
There is something triggering the sensor (if it is not broken at all).
Put it in another location for testing if possible.
Even a cold air flow is enough to trigger these sensors...

Regards
Shardan
Last edited by Shardan on 12 Oct 2017, 18:32, edited 1 time in total.
Regards
Shardan

DeNB3rt
Normal user
Posts: 120
Joined: 15 Dec 2015, 14:07

Re: RCWL-0516 Microwave Motion Sensor

#20 Post by DeNB3rt » 13 Oct 2017, 16:17

Thanks both for the suggestions.
I ordered another MW sensor to test with (RCWL-0516).

Some 'false' inputs could be real inputs, because I'm testing it in a very tiny house now. within 3meters left of right is another neighbour :D .

Yesterday, the constantly on/off false inputs went away after pulling out the power of the board.
Before it worked well for about 3 day's (with some little flase inputs)

The board is powered on 5v.

Since 2 hours, I soldered a 0-100kOhm on it

Image

The default was 12K, I now turned it to 50K and I see the difference in sensitivity.
The sensor is 5~6m behind me and does not see mee anymore if I'm just sitting behind my laptop.

seems ok, to be continued ;)
Image
Located in Belgium, Bruges. Working on a full DIY domoticz setup with ESPEasy.

anthony420
New user
Posts: 4
Joined: 14 Oct 2017, 03:08

Re: RCWL-0516 Microwave Motion Sensor

#21 Post by anthony420 » 14 Oct 2017, 03:15

there are a few things you need to do to make them accurate
it needs a 5v supply I know the datasheet says 3 but its not accurate at 3 gives False Positives
it also needs a 330uf 6v cap plus a 10o resistor in series with the power from power to ground to stabalive the output power from the ESP as the ESP does not have clean power- this is what Ive been told. when it sends signals via wifi it backfeeds power creating blips making other electronics go haywire. again this is what I have been told I'm just repeating it but it sounds right as I have had many issues with the basic esp12 and esp01 but if I use the wemos sensors which has more reisitos and other stuff on it I dont have issues
Wow, thanks for this info. built what I thought was a cool putup using the RCWL-0516 but could not figure out why so many false positives. I suspected a power problem, but was thinking along the lines of a filter cap, not 5V power. Guess I need to do both! Thanks again for the tip...

DeNB3rt
Normal user
Posts: 120
Joined: 15 Dec 2015, 14:07

Re: RCWL-0516 Microwave Motion Sensor

#22 Post by DeNB3rt » 23 Oct 2017, 15:39

Sensor worked very well for about 4 day's, and then the mystery continued,
False inputs all the way
Image

Then I just unplugged the 5v source of just the sensor, all ok again.
Now again working like a charm:
Image

maybe because of ghosts with halloween? :D

I could take a free gpio, transistor and resistor to drive the power lane of the motion sensor? Reboot each night :)
Located in Belgium, Bruges. Working on a full DIY domoticz setup with ESPEasy.

DeNB3rt
Normal user
Posts: 120
Joined: 15 Dec 2015, 14:07

Re: RCWL-0516 Microwave Motion Sensor

#23 Post by DeNB3rt » 23 Nov 2017, 09:55

In the meantime, 8 day's stable :)
Image
Located in Belgium, Bruges. Working on a full DIY domoticz setup with ESPEasy.

olleman
Normal user
Posts: 53
Joined: 27 Aug 2017, 08:10

Re: RCWL-0516 Microwave Motion Sensor

#24 Post by olleman » 18 Feb 2018, 11:16

I've connected this sensor directly to my Wemos mini d1 and 5v. My problem is the opposite: Very poor range (like a couple of meters) and no or very little detection through thin walls.

Not ONE false detection however :)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: RCWL-0516 Microwave Motion Sensor

#25 Post by TD-er » 18 Feb 2018, 12:23

Do you have some metal close to the sensor?
Or perhaps a low voltage? They should operate on more than 3.3V, as stated here: https://github.com/jdesbonnet/RCWL-0516

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: RCWL-0516 Microwave Motion Sensor

#26 Post by Shardan » 18 Feb 2018, 14:44

olleman wrote: 18 Feb 2018, 11:16 I've connected this sensor directly to my Wemos mini d1 and 5v. My problem is the opposite: Very poor range (like a couple of meters) and no or very little detection through thin walls.

Not ONE false detection however :)
Did you use the 5V-Pin from the WeMOS?
The 5V from USB are somewhat weak, USB itself is limited and USB cables are a problem of their own.
I'm not sure if the WeMOS has a decoupling diode as the nodeMCU's have, this might give some extra problems.

First try: Put the RCWL on it's own 5V power supply. For testing a 4,5V battery or 4x1,2V NiMH battery pack should do.

Regards
Shardan
Regards
Shardan

StefanD
Normal user
Posts: 21
Joined: 28 Jan 2017, 20:07

Re: RCWL-0516 Microwave Motion Sensor

#27 Post by StefanD » 19 Feb 2018, 20:22

Hi all,
I checked this sensor and is working very well when is not close to the esp module. When is near it there is a high interference between the wifi emitted frequency of the esp module and the RCWL-0516 microwave frequency which is causing false triggering. In my opinion RCWL cannot be used reliable together with esp module and espeasy.
best regards

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: RCWL-0516 Microwave Motion Sensor

#28 Post by TD-er » 19 Feb 2018, 20:41

Are there areas and orientations in which those two can be used close to eachother?
If I remember correctly, Meek had then both in a standard wall socket.

olleman
Normal user
Posts: 53
Joined: 27 Aug 2017, 08:10

Re: RCWL-0516 Microwave Motion Sensor

#29 Post by olleman » 20 Feb 2018, 14:50

Shardan wrote: 18 Feb 2018, 14:44
olleman wrote: 18 Feb 2018, 11:16 I've connected this sensor directly to my Wemos mini d1 and 5v. My problem is the opposite: Very poor range (like a couple of meters) and no or very little detection through thin walls.

Not ONE false detection however :)
Did you use the 5V-Pin from the WeMOS?
The 5V from USB are somewhat weak, USB itself is limited and USB cables are a problem of their own.
I'm not sure if the WeMOS has a decoupling diode as the nodeMCU's have, this might give some extra problems.

First try: Put the RCWL on it's own 5V power supply. For testing a 4,5V battery or 4x1,2V NiMH battery pack should do.

Regards
Shardan
Yes, I used 5V from the Wemos and I have no metal nearby. The RCWL and the wemos are very close to each other so some interference could be present but I'm not really seeing any false positives. Have also tried with another RCWL sensor (ordered two pcs) and it's the same with that one. Will try to give it some external 5v power instead.

StefanD
Normal user
Posts: 21
Joined: 28 Jan 2017, 20:07

Re: RCWL-0516 Microwave Motion Sensor

#30 Post by StefanD » 20 Feb 2018, 20:30

The real operating frequency of the RCWL microwave sensor is about 3.1 Ghz and not 5.8Ghz so is close to wifi frequency. There is definitely interference between esp and the sensor. Checking the log in my esp when the sensor is very close I have a false alarm every time when esp is connecting to domoticz (in my case every 10 sec). Please check this link https://github.com/jdesbonnet/RCWL-0516/issues/2 to see what other tried to do in order to have it reliable, so far unsuccessfully in my opinion. I want to mention that i have connected to esp also other sensors and data is transmitted to domoticz every 10 sec...
Best regards

Meek
Normal user
Posts: 59
Joined: 31 Oct 2017, 15:50
Contact:

Re: RCWL-0516 Microwave Motion Sensor

#31 Post by Meek » 25 Feb 2018, 22:19

I know by experience that it’s a very delicate process to combine a RCWL-0516 in close perimeters to an ESP module.

I’ve successfully managed to combine both of them in a Europese wall switch.
The wall switch model is the Meek MP1, stands for Meek Presence with 1 touch button.
MeekMP1.jpg
MeekMP1.jpg (170.68 KiB) Viewed 69348 times
I’m living in the Netherlands and the max. space allowance of a wall switch is below 5cm in diagonal and depth is less than 3cm.
With that given fact, I have tried to separate the ESP8266 Module’s antenna and the RCLW-0516 antenna as much as possible.
In my case, this spacing is less than 2cm !

I have also “separate” the feeding line of the RCWL-0516 with clean power as much as possible.
To do that, I have applied some capacitors and an inductor to prevent any “jibberish” that might cause false positives.

Also something to take in account the fact that RCWL-0516 operates in a 360degree, the position of the RCWL’s antenna in relation to the ESP8266 does matter !
I have position then in an opposite side of each other.

Once they function, it’s also advisable to add a delay in the RCWL sensor modules as explained on my http://www.meek-ha.com/manuals/manual-f ... sence-mp1/

So long story short :
• Separate the ESP and RCWL as much as possible
• Add filters on the power lines
• Position the antenna’s in opposite sides
• Add delay on the RCWL sensor module in ESPEasy

Currently, I have running the Meek MP1 switch for over 2 months now, and the work perfectly as you can see on YouTube :
https://www.youtube.com/watch?v=vO8sSX1 ... 9QI7M1wMh0
KitchenMeek.jpg
KitchenMeek.jpg (96.11 KiB) Viewed 69344 times

vincen
Normal user
Posts: 92
Joined: 26 Jun 2017, 07:15

Re: RCWL-0516 Microwave Motion Sensor

#32 Post by vincen » 22 Apr 2018, 12:17

Meek wrote: 25 Feb 2018, 22:19I know by experience that it’s a very delicate process to combine a RCWL-0516 in close perimeters to an ESP module.
Thanks a lot for the share but would you mind how you physically arrange everything in your wallbox ? as I didn't see anything about it in your description and video and it looks to be the most important part of it ;)

Thanks

Meek
Normal user
Posts: 59
Joined: 31 Oct 2017, 15:50
Contact:

Re: RCWL-0516 Microwave Motion Sensor

#33 Post by Meek » 30 Apr 2018, 00:05

vincen wrote: 22 Apr 2018, 12:17
Meek wrote: 25 Feb 2018, 22:19I know by experience that it’s a very delicate process to combine a RCWL-0516 in close perimeters to an ESP module.
Thanks a lot for the share but would you mind how you physically arrange everything in your wallbox ? as I didn't see anything about it in your description and video and it looks to be the most important part of it ;)

Thanks
You’re right, attached 2 pictures of the internals of the Meek MP1 (pictures are from a BETA designs/older versions).
Once the updated versions are available, I will post some more detailed pictures and information.
The attachment RCWL.jpg is no longer available
RCWL.jpg
RCWL.jpg (348.09 KiB) Viewed 69007 times

Meek
Normal user
Posts: 59
Joined: 31 Oct 2017, 15:50
Contact:

Re: RCWL-0516 Microwave Motion Sensor

#34 Post by Meek » 30 Apr 2018, 00:07

Just uploaded a video with the progress of the Meek MD1 Wi-Fi dimmer module.
https://www.youtube.com/watch?v=kOhscOB0x04

vincen
Normal user
Posts: 92
Joined: 26 Jun 2017, 07:15

Re: RCWL-0516 Microwave Motion Sensor

#35 Post by vincen » 30 Apr 2018, 09:52

Meek wrote: 30 Apr 2018, 00:05You’re right, attached 2 pictures of the internals of the Meek MP1 (pictures are from a BETA designs/older versions).
Once the updated versions are available, I will post some more detailed pictures and information.
Thanks for the picture ;) the other one didn't make it ;) Impatient to see your updates about it and thanks for share ;)

Domosapiens
Normal user
Posts: 307
Joined: 06 Nov 2016, 13:45

Re: RCWL-0516 Microwave Motion Sensor

#36 Post by Domosapiens » 18 Oct 2018, 01:08

Just tested on a breadboard:
Replacing the resistor on the left bottom marked 221 (220 Ohm, 0805 SMD) by a 470 Ohm,
it does reduce the detection range to around 1 meter.

Image
With the 470 Ohm you reduce the antenna gain.
[edit]
... side effect ... it shifts also the center frequency ..
I assume too close to the 2.4Ghz WiFi frequency.
After endurance tests with several units, I skipped this idea, and use the alternative ...
Alternative: a 1M-ohm type 0805 SMD on position R-GN on the RCWL-0516 reduces the range to 5m according to spec.
Tested on several units, and gives a good result.
Use a 1KOhm series resistor to limit the output current.

My application is:
- Measure temperature IN and OUT for floor heating (#2 DS18B20 mounted with ALU tape)
- Measure water flow ( https://nl.aliexpress.com/item/USC-HS43 ... 39421.html )
- Calculate Energy: Flow * DeltaT * 4.1
- Control the pump by PWM, based on DeltaT

For local read-out a small box (pic is upside down):
Image
https://nl.aliexpress.com/item/86-Plast ... Title=true

With a LCD 1602 inside:
Image
https://nl.aliexpress.com/item/LCD1602- ... 29414.html
turn the pins 90 decrease to solder it on a PCB.

Just above the LCD1602 there is space for the RCWL-0516 (under a 45 degrees angle),
to switch the LCD back-light on for some 4 minutes.
Use a rule for that, because the the LCD2004 module (that supports the LCD1604 also) can only handle active LOW,
while the RCWL-0516 only supports active HIGH (already a GitHub improvement request).

Code: Select all

On System#Boot do
LCDCMD,on
timerSet,1,30
Endon

On Detect#Switch=1 do
LCDCMD,on
timerSet,1,240
Endon

On Rules#Timer=1 do
LCDCMD,off
Endon
Place a level-shifter under the LCD, and below on the PCB a HLK-PM01 power supply and a WEMOS D1 mini.
Use different XS8 connectors to prevent mistakes. I use 4 pins for all my DS18B20 sensors (2/4/6/8 combined on 1 plug), 3 pins for flow and 2 pins for PWM.
Keep it tight and it just fits!
Last edited by Domosapiens on 21 Dec 2018, 10:42, edited 1 time in total.
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: RCWL-0516 Microwave Motion Sensor

#37 Post by TD-er » 18 Oct 2018, 10:48

If you have pictures of the final product, I will be very interested.

Domosapiens
Normal user
Posts: 307
Joined: 06 Nov 2016, 13:45

Re: RCWL-0516 Microwave Motion Sensor

#38 Post by Domosapiens » 18 Oct 2018, 13:12

Happy to do that for you!
I will open another topic for that.
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.

vincen
Normal user
Posts: 92
Joined: 26 Jun 2017, 07:15

Re: RCWL-0516 Microwave Motion Sensor

#39 Post by vincen » 18 Oct 2018, 14:44

Domosapiens wrote: 18 Oct 2018, 13:12 Happy to do that for you!
I will open another topic for that.
Please share link here when you have created the new thread with all details ;)

thanks

Domosapiens
Normal user
Posts: 307
Joined: 06 Nov 2016, 13:45

Re: RCWL-0516 Microwave Motion Sensor

#40 Post by Domosapiens » 22 Oct 2018, 01:22

30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: RCWL-0516 Microwave Motion Sensor

#41 Post by grovkillen » 22 Oct 2018, 06:32

Domosapiens wrote: 22 Oct 2018, 01:22 See here WIP:
viewtopic.php?f=2&t=5955&p=32474#p32474
Wow! Great job and super exciting to see your work.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

vincen
Normal user
Posts: 92
Joined: 26 Jun 2017, 07:15

Re: RCWL-0516 Microwave Motion Sensor

#42 Post by vincen » 22 Oct 2018, 07:27

Domosapiens wrote: 22 Oct 2018, 01:22 See here WIP:
viewtopic.php?f=2&t=5955&p=32474#p32474
Thanks a lot ;)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: RCWL-0516 Microwave Motion Sensor

#43 Post by TD-er » 22 Oct 2018, 10:33

Will be great to follow :)
Just to be sure, what is the motion sensor being used for? Presence detection of humans to determine the need for heating, or switching the backlight?
Or is there some ingenious use to detect water flow? ;)

Domosapiens
Normal user
Posts: 307
Joined: 06 Nov 2016, 13:45

Re: RCWL-0516 Microwave Motion Sensor

#44 Post by Domosapiens » 22 Oct 2018, 17:50

ingenious use to detect water flow?
:oops: :o :lol:

Just to save the life-span of the back-light.
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.

Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests