Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False triggers #2

Open
mariusb57 opened this issue Apr 13, 2017 · 184 comments
Open

False triggers #2

mariusb57 opened this issue Apr 13, 2017 · 184 comments

Comments

@mariusb57
Copy link

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 .

@ym58
Copy link

ym58 commented May 12, 2017

I've been struggling for WEEKS with a miniature DIY motion detector device built with RCWL-0516 + ESP8266 + mini 5V P/S.
It sometimes works flawlessly for hours then starts giving false triggers repetitively ... I even tried to get the radar sensor out of the casing in case it would work better when distant from the ESP, but to no avail :-(
I think this sensor is definitely prone to interferences and not reliable enough to be used in a motion detector device in the long run.
The only thing I haven't tried yet is to use a strong capacitor across the VCC input of the radar sensor, but I doubt it will help ...

@underwoodblog
Copy link

Maby an isolated DC-DC converter can help to remove the interferences that come from the ESP to the RCWL over the supply voltage. I suggest some ferrites on the data and power cables to!

@ym58
Copy link

ym58 commented May 13, 2017

Good point.
The P/S I am using right now is this one : http://www.ebay.fr/itm/401301418281
I'll try to power it thru my lab P/S for testing purposes and will come back here to comment the results.
Thanks.

@mariusb57
Copy link
Author

I think I found a solution. I just use the electrical source from the above link but without mounting a filter it does not work properly. I used a pi filter (1000 microfarad +10 ohm + 1000 microfarad) mounted on the sensor supply (Vin). Of course, if there are "parasite generators" around the sensor, such as mechanical relays or mechanical switches, false flashes may occur. I use it with a ESP 8266, and a SSR G3MB-202 that has its own snubbering circuit and at its command sometimes false flashes occur . I have solved these problems in the software by temporarily disabling the pin to which the sensor is bound.

@ym58
Copy link

ym58 commented May 14, 2017

Mine is undertest since yesterday with a single 1000uF capacitor directly soldered on the Vin input.
The false flashes have considerably reduced but not totally disappeared.
I don't currently have any relay nor switching devices in my circuitry.
Is this the way you wired your Pi-filter ?
https://www.dropbox.com/s/9bth6k8vvs6nznv/RCWL-0516.jpg?raw=1
rcwl-0516

@mariusb57
Copy link
Author

Yes this is the configuration I've used .

@ym58
Copy link

ym58 commented May 15, 2017

A bit of update ::
I tried to power my device with my lab P/S. No significative improvement, still having (random) false triggers.
Then, yesterday, I reconnected my 1USD-Chinese power supply ( http://www.ebay.fr/itm/401301418281 ) but I used mariusb57's pi-filter (see above) between Vin and Vcc .... so far, so good !
I'll carry on with the testing for another 48hrs and will keep you all posted.

@ym58
Copy link

ym58 commented May 17, 2017

So far, soooooooooooooo good !!!!

The pi-filter (thanks to Mariusb57) works like a charm : I never had any more false triggers since I installed it between Vcc (+5V) and the Vin input of RCWL-0516 sensor !

I wish I could now understand the exact way this 'resistor-only' pi-filter works as (normally) a pi-filter is made up of an inductor instead of a resistor ... any clue ?

@mariusb57
Copy link
Author

The pi filter is not my merit, I have read this :
http://tech.scargill.net/microwave-for-the-weekend/......
and I have made experiences for several days....

@ym58
Copy link

ym58 commented May 18, 2017

I was a bit mistaken as it does not work THAT good.


Actually, as soon as I REcase the whole thing together (ESP + RCWL + P/S), it starts giving me again false triggers, particularly when the sensor stands very close to the ESP32E ... it's just disappointing for I wanted to make the whole device dense and compact.


If I can't get rid of those interferences between the ESP and the sensor, I will definitely have to rethink my layout and keep the RCWL-0516 outside of the casing as I confirm that it works flawlessly whith the pi-filter and some room (5cm) between the ESP and the sensor ...

@itsjustvenky
Copy link

Not only this I have other microwave sensors which works at different frequencies and all have problems if kept close to ESP chip. Even keeping little far from ESP once in a while I have false alarm, so I used 10uf + 0.1uf capacitors close to RCWL and this helped and I used software to determine whether its a false/real trigger.

@jbeale1
Copy link

jbeale1 commented Aug 1, 2017

I have played with a HB100 (similar idea to RCWL-0516 but at 10 GHz). The HB100 has just a low-level analog output ("IF signal") so amplifying and detecting circuit must be added. Listening to that output (through a preamp, with headphones) you can clearly hear the pulsing 2.4 GHz packets coming from my wifi hub even from 10 feet away. So it's clear these devices will be sensitive to wifi signals and if it's in a case right next to a wifi transmitter like the ESP device, I'm sure that can interfere. I have played around with HB100 in a microwave horn (cardboard and aluminum foil) and with the RCWL-0516 in a cookie tin as a "cup antenna" like http://www.microwave.gr/content/view/175/1/ and this does give me somewhat more directivity and range. If the wifi module was on the other side of the metal reflector, that could help reduce interference, but obviously using an antenna structure also increases the size of the device a lot.

@jbeale1
Copy link

jbeale1 commented Aug 1, 2017

By the way, Pin 12 of the IC on the RCWL-0516 device (it is an opamp output) gives you an analog signal somewhere between 0 and 3V that wiggles when you move your hand. So if you wanted to take that into an ADC input in a Arduino etc., you might be able to do some signal processing to detect or reject specific kinds of signals.

@dipa57
Copy link

dipa57 commented Aug 10, 2017

Hi,
Does two RCWL 0516 on the same circuit, or on different circuits, affects each other?

@barewires
Copy link

barewires commented Aug 11, 2017

I tested three boards in proximity placed XYZ 1 cm minimum apart and they all appear to work independently with no interaction or interference. Two on the same circuit RaspberryPi 3 (or Zero W), powered from 5v and connected to GPIO Pin7 and Pin11 work just fine.
https://pinout.xyz/ for reference. Latest raspbian has pinout from the command line.

@ramanraja
Copy link

Thanks for the note. I want to use two RCWL radars in the same enclosure. Can they be placed one BEHIND the other ? Two modules kept side by side appear to work without problems. But my application has a support structure right through the device, so I need to keep the two radars one behind the other. The sensitivity seems to have reduced drastically after this. Is that normal ?

@barewires
Copy link

barewires commented Sep 9, 2017

The devices are omni-directional and it is only necessary to have one at each location maybe 2-3 m apart. This minute I placed a second device on top of the first, separated only by a piece of postit note as insulation and they respond almost at the same time. As the circuits are analog (op-amps, caps, resistors) the on/off timing is variable with each one being affected by local placement that changes the sensitivity. Both devices are connected by jumper wires approx 10 cm long. It is very important to keep all metal at least a cm apart. Stacked devices will have mutual interaction due to metal makeup of the boards. Once again, plugging directly into a breadboard with the mass of hidden metal contacts will seriously affect behaviour.

@malebuffy
Copy link

Has anybody found a way to make real use of this sensor? I would like to put it in a comercial unit, but I also get some false triggers with it. I am using the ESP12F. Does anyone know any other sensors with s similar form factor than are more reliable?

@syedamerali
Copy link

Have had the same problems. Resolved them by doing the following:

  1. Have the DC power feed to the ESP as close as possible to the ESP.
  2. Put a 2000uF capacitor as close as possible to the power input of the RCWL.
    The pi filter mentioned above is not necessary but the single capacitors to smooth out ripples to RCWL
    is.
  3. Put a 10k resistor between output of the RCWL and ground.

I also tried the following at the suggestion of others for the ESP:
WiFi.setPhyMode(WIFI_PHY_MODE_11G); // puts ESP in G mode only
WiFi.setOutputPower(8) ; // limits output power to 8/4=2 dbM
WiFi.mode(WIFI_STA); // not quite sure what this does
I do not know whether these have an effect or not.
The second line where you limit the power certainly does. This may be due to the fact that when the ESP goes into transmit mode it draws power which causes a slight ripple in the power line which is sufficient to trigger the RCWL. The capacitor accross the power line near the RCWL mitigate this effect.
Hope this helps someone .....

@ym58
Copy link

ym58 commented Nov 5, 2017

@syedamerali
Happy you solved the problem by using the three steps you mentioned (plus the software tweaking).
Will definitely give it a try.
One question though : you mentioned that the DC power should be placed as close as possible to the ESP, but what about the RCWL ?
Where did you actually place it in regards to the P/S and the ESP to be able to eliminate the false triggers ?

@syedamerali
Copy link

Actually the software tweaking does not make the slightest difference. Last night I ran it without the software tweaks but the capacitor in place - no false triggers. Therefore I would assume that there is very little significance to the statement that the 2.4 GHz of the WiFi interferes with the RCWL microwave frequency.
I monitor the triggers through Homeseer HS3 with a Device History plugin which records each trigger with a date and time stamp and can display it graphically also - HS3 is control software that I use for controlling my home mostly z-wave.
I have my ESP8266 mounted on a small custom board (which I designed and made myself) which has an onboard 3.3V regulator and I/O level shifters. This is fed by a 5V DC supply which is also feeding the RCWL - hence the statement 'closest to the ESP'.
The ESP and the RCWL are about 50mm apart.
I will try and post some pictures of my setup later today - like they say a picture is worth a thousand words. .....
regards

@ym58
Copy link

ym58 commented Nov 10, 2017

@syedamerali
Any pictures of the working assembly ?

@syedamerali
Copy link

images are attached. (I think) I have also ordered a PCB with a ground plane let us see how that goes.
rcwl1
ep8266-1

@ym58
Copy link

ym58 commented Nov 10, 2017

Thanks !
How is the +5VDC P/S supplied ?
Via a battery or directly from the 220V AC via an AC/DC step down converter ?
What's the role of the 3.300uF that can be seen in the background ?
I'll try to stick as much as possible to such a layout and will post my results !

@syedamerali
Copy link

Some more pictures:
Graph of triggers for the last 24 hours - it is consistent with the activity in my living room.
The board I have designed and ordered - should be with me in a week or so.
rcwltrigger

rcwlboard

@syedamerali
Copy link

To answer your questions:

  1. Power is supplied from a 2A 5V plugin adapter which is plugged into the wall and is away from the box which houses the motion detector. Initially, I had it inside the same box as the RCWL and ESP8266 - there were a lot of false triggers. I am not quite sure whether it was the lack of capacitance near the RCWL or whether the power supply itself was generating noise. It was one of these cheap switching power supplies which I got for a dollar off ebay.
  2. The capacitor in the background has been put across the 5V input. It seemed like the right thing to do - but this capacitor did not prevent false triggers. The one near the RCWL board did.
  3. The 10k resistor between the output of the RCWL and ground does make a difference.
  4. The 1k resistor is in series with a blue LED which flashes when there is motion. It is driven by the software in the ESP8266 through GPIO 0.
    hope this helps.
    regards

@ym58
Copy link

ym58 commented Nov 10, 2017

syedamerali wrote :
Power is supplied from a 2A 5V plugin adapter which is plugged into the wall and is away from the box which houses the motion detector. Initially, I had it inside the same box as the RCWL and ESP8266 - there were a lot of false triggers. I am not quite sure whether it was the lack of capacitance near the RCWL or whether the power supply itself was generating noise. It was one of these cheap switching power supplies which I got for a dollar off ebay.

Here we go ... indeed, that's certainly what I should start with ... that is to get the P/S OUT OF the assembly !

radar_sensor_rcwl-0516

@barewires
Copy link

barewires commented Nov 10, 2017

As you say...1000 words, it certainly helps! The 'active' portion is pointing up, which is good. I am concerned about the mass of metal below the cat detector, power supply, cap and transformer; how about rotating the PS, cut off the central plastic web and get the PS well away. As the OUT is digital 3.3 v high, I wonder why you need the pull-down resistor?

I found that the OUT is current limited and you can hang ANY LED without a dropping resistor, which may be useful. I would scope the DC supply and see if there is much ripple. A low value cap may be needed on the RCWL power in. Also the mass of metal on the big cap is so close to the circular capacitor trace, may be best to put it outside the active area, if at all. Great photos! The concentric circles form the C and the serpentine trace on the top is the inductor L, forming an LC tank circuit oscillator. This is the primary oscillator and all metal should be kept well away. https://en.wikipedia.org/wiki/LC_circuit

I assume that the ESP is 3.3 volt compatible so I question the need for the logic level converter? It may be best to twist all power wires together, even though they are short.

The RCWL has the 3V3 voltage regulator output so it might be tried to power it with 5 v and use the 3V3 OUTPUT to power other circuitry under 100 mA.

Another thought is to power the whole thing with a mini or micro USB power supply and get rid of the cheap AC PS, remember you get what you pay for. :D

Sorry if I TL;DR, I often (always) view the images and comment and now see others have concerns over the metal mass of the PS.

@barewires
Copy link

20171110_213836

This is my Cat Detector, a Raspberry Pi Zero W (for WiFI) sitting in a box near my front door, sees my neighbour and even me in my kitchen 2 rooms away grr! Any activity outside my door, cleaners, post (mail), visitors, neighbours cat; gets logged to a time and date file and it also tweets me and emails. Node-RED comes with the latest Rasbian.

pi@pi0-whitebox:~ $ ls -l -t *
-rw-r--r-- 1 pi pi 25458 Nov 10 21:40 whiteboxNov10
-rw-r--r-- 1 pi pi 11600 Nov 10 21:40 whiteboxdelayNov10

pi@pi0-whitebox:~ $ cat whiteboxNov10
Fri Nov 10 2017 21:38:35 GMT+0000 (GMT)
Fri Nov 10 2017 21:38:53 GMT+0000 (GMT)
Fri Nov 10 2017 21:39:50 GMT+0000 (GMT)

@barewires
Copy link

barewires commented Nov 10, 2017

20170831_103048
This is CAT5 chewing my wiring from the Cat Detector. The detector is powered by a 5v USB plug (red) and the RCWL is green. The 3.3 v Blue LED is directly wired to OUT and GND with no dropping resistor (current limited) and the output goes into the Raspberry Pi 3 GPIO. Notice only one wire attached as power and ground comes from the USB plug.

@daborbor
Copy link

daborbor commented Jan 29, 2020

I've made a PCB design for the RCWL, ESP-01, step-up converter and some other stuff to use the radar sensor. It's my first PCB. Would anyone with some electrical knowledge like to look at my PCB design?

If it's any good, we can maybe add it to the repo.

The PCB

@walshrd
Copy link

walshrd commented Mar 11, 2020

It would seem that the easiest solution to the false triggering problem is to set up 2 RCWL-0516 aligned in the same direction and AND their outputs. A HIGH output from the AND indicates a real event. Run the AND output into a power MOSFET to run your device.

@syedamerali
Copy link

And to add to the frustration no two RCWL's are alike. I used bastero's circuit given on Aug 18, 2019. Life was wonderful. Everything else remaining the same I plugged in a different RCWL and bang, false triggers all over again. Switched back to the original RCWL no false triggers.
Currently what I am using is (a) nodemcu and power supply in one box with the voltage for the RCWL turned up to 20V. (b) I have attached two RCWLs in their own seperate boxes; one about 4m away and the other about 10m away from the power supply/nodemcu box; decoupling caps at both ends; 10k pull down at the RCWL end.
Life is good.

@walshrd
Copy link

walshrd commented Mar 26, 2020

RCWLs "see" 360 degrees. That's not good for putting 2 in parallel nearby. In my setup, I put a strip of metal flashing between the 2 RCWLs. This seems to block any interaction between the 2.

@BernardRat
Copy link

I have a Arduino Uno based project that uses a 433MHz receiver to get data from an Acurite weather station. I use an IR remote to do various functions and that all works fine. I wanted to use the RCWL to sense if someone was nearby and turn on the display and if no movement was detected after 10 minutes to turn off the display. I had the same problem with false triggers that you all have had. I tried adding 100uF and 100nF capacitors between Vcc and Gnd and also a ferrite bead on the +5V, and soldered a resistor to the R-GN pads which helped to some extent. But the suggestion of @jbeale1 above to use the pin 12 op-amp output saved the day. I soldered a wire from pin 12 of the IC and feed that into an Arduino anolog input. Now I can set the threshold anyway I want. You can see the motion waveform using the Arduino IDE serial plotter and use any kind of signal processing algorithm for your application. What worked for me was to average 8 analog readings compare that to a threshold (400 in my case) wait 200 milliseconds and read the analog pin again the same way and if the second reading is also above the threshold, then true motion has occurred. Works great with zero false alarms.
Image00002
Image00003
Image00001

@happytm
Copy link

happytm commented Apr 26, 2020

@BernardRat What if you do not use Capacitors you mentioned ? what is the resistor for in the image ? Please provide your code if possible?

Thanks.

@BernardRat
Copy link

I'm not sure if I still need the capacitors but since they could only help I left them in place, you can try it without and let us know if it makes any difference. The resistor soldered to the RCWL board is around 1Meg Ohm and reduces the sensitivity to about five meters (didn't have an SMD resistor). It detected movement in an adjacent room so I wanted to limit the range, but that's not a false trigger. The code is trivial, here are some snippets

`#define motionAnalogPin A0 // RCWL-0516 analog output pin
#define noMotionTime 600000 // if no detected movement after this time, turn off display
#define motionThreshold 400 // if RCWL-0516 analog output greater than this probably movement detected
#define motionDelay 200 // delay between motion samples millisec

// function to read and lightly smooth analog data
int readAnalogRCWL(){
int sum=0;
int i;
for(i=0; i<8; i++){
sum+=analogRead(motionAnalogPin);
}
//Serial.println(sum/i); // for debugging
return sum/i;
}

// check for motion
int firstMotionValue=readAnalogRCWL();
if(firstMotionValue>motionThreshold && !displayOff){
delay(motionDelay);
int secondMotionValue=readAnalogRCWL();
if(secondMotionValue>motionThreshold){
lastMotion=millis();
if(!displayOn){
lcd.backlight(); // turn on display for motion
displayOn=true;
/Serial.print("Display on ");
Serial.print(firstMotionValue);
Serial.print(" ");
Serial.println(secondMotionValue);
/
}
}/else if(!displayOn){
Serial.print("Second value too low to trigger ");
Serial.print(firstMotionValue);
Serial.print(" ");
Serial.println(secondMotionValue);
}
/
}
if(millis()-lastMotion > noMotionTime){
if(displayOn){
lcd.noBacklight(); // if no motion last 10 min, turn off display
displayOn=false;
}
}`
The time variables are unsigned long, this should give you an idea. Have fun.

@happytm
Copy link

happytm commented May 1, 2020

Thanks.

@ramanraja
Copy link

ramanraja commented May 3, 2020 via email

@ortegafernando
Copy link

Hi, @BernardRat @bastero @nextgenman any updates in your solutions? What is your experience in last months ?

Thanks a lot.

@ortegafernando
Copy link

Hi, @BernardRat @bastero @nextgenman any updates in your solutions? What is your experience in last months ?

Thanks a lot.

Hi ?

@BernardRat
Copy link

Hello,

I changed my code to compute the derivative of the analog motion output (dy/dt) which so far seems to have increased sensitivity with less false alarms. Here is the updated code:

int readAnalogRCWL(){
long sum=0;
int i, t;
for(i=0; i<2; i++){
t=analogRead(motionAnalogPin);
delay(100);
t=abs(t-analogRead(motionAnalogPin));
sum+=t;
}
return sum/i;
}

The above function returns the time rate of change of the analog output (dy/dt). In my application if the function returns a value greater than 70, then true motion has been detected. You can use the serial plot in your application to help determine what values work best. Have fun.

@nextgenman
Copy link

nextgenman commented Aug 7, 2020

Hi, @BernardRat @bastero @nextgenman any updates in your solutions? What is your experience in last months ?
Thanks a lot.

Hi ?
image
image

My final solution is PCB 1.2 board (my own disign) with mt3608 (B6286 SOT23 chip) soldered on it. In first design I used 11v output (R1 100k and R2 5.6kOm in datasheet mt3608) but final decision is to use R2 as 10kOm to have ~6.5V as output (input for rcwl).
And I've moved all big PCB trac out of RCWL board.
I use this solution about year for now. No false positive triggers for me.

@ramanraja
Copy link

ramanraja commented Aug 7, 2020 via email

@TungstenE2
Copy link

TungstenE2 commented Aug 20, 2020

@nextgenman I would like to have 1 or 2 sensors for my garden. Are you selling and shipping your designed board? I would like to place it in a 3d printed housing. Is your board working with ESPeasy and can I power it with LiPo battery?

@starfish1107
Copy link

any experiences with xyc-wb-dc sensors? I just replaced a rcwl-0516 showing false triggers even with vcc-filters. I could even connect the xyc-wb-dc to the wemos without filters and the result was surprisingly good, not showing any spurious peaks during whole night recording. The price of these sensors is very cheap as well.

@TungstenE2
Copy link

any experiences with xyc-wb-dc sensors? I just replaced a rcwl-0516 showing false triggers even with vcc-filters. I could even connect the xyc-wb-dc to the wemos without filters and the result was surprisingly good, not showing any spurious peaks during whole night recording. The price of these sensors is very cheap as well.

can you also test outside?

@starfish1107
Copy link

starfish1107 commented Nov 13, 2020

can you also test outside?

seems to work outside too but didnt test influence of moving trees etc.

@martin072
Copy link

any experiences with xyc-wb-dc sensors? I just replaced a rcwl-0516 showing false triggers even with vcc-filters. I could even connect the xyc-wb-dc to the wemos without filters and the result was surprisingly good, not showing any spurious peaks during whole night recording. The price of these sensors is very cheap as well.

Did you do anything special? I am using them in combination with a Sonoff module flashed with Tasmota, and some Wemos Modules also flashed with tasmota and I am operating them at 3.3v from the esp board. It seems to give a lot of false triggers, even moving it ~30cm away from the ESP still gives the triggers. Added a 100uF cap over the vdd/gnd on the sensor, but no joy so far..

@starfish1107
Copy link

any experiences with xyc-wb-dc sensors? I just replaced a rcwl-0516 showing false triggers even with vcc-filters. I could even connect the xyc-wb-dc to the wemos without filters and the result was surprisingly good, not showing any spurious peaks during whole night recording. The price of these sensors is very cheap as well.

Did you do anything special? I am using them in combination with a Sonoff module flashed with Tasmota, and some Wemos Modules also flashed with tasmota and I am operating them at 3.3v from the esp board. It seems to give a lot of false triggers, even moving it ~30cm away from the ESP still gives the triggers. Added a 100uF cap over the vdd/gnd on the sensor, but no joy so far..

Sorry to hear. The difference might be that I am operating the sensor from the 5V pin on the Wemos with 10 Ohms resistor in series and the 100 uF on the sensor side. The whole setup is powered using the usb plug on the Wemos. Software is ESPeasy. Still no problems here.

@martin072
Copy link

Ok, will try the 10 ohm resistors series first. Than revert to 5v.
Did you use a resistor on the output to ground?

@starfish1107
Copy link

no, the 10 Ohms are in the VCC lead between Wemos and the sensor, forming a RC-filter with the cap at the sensor side.

@martin072
Copy link

So even with the 10R in between (i.e. the pi filter) I still see enormous amount of false triggers.
RWCL, XYC-WB-DC tried a few of these sensors and all trigger when close (ie within ~30cm) to the ESP (or other electronics). I see many projects in the above posts, is there anyone that has this nailed?

@JohnGooler
Copy link

JohnGooler commented Oct 3, 2021

Hi,
I had a lot false trigger with this module.
1- first, keep this module away from WIFI signal.(in my experience with ESP8266, 15-20 cm is good)
2- place a 100nf cap between output and GND of RCWL.

hope it work for you

@martin072
Copy link

martin072 commented Oct 3, 2021

Thanks will try that. Would really be nice to have a solution to put it all in the same enclosure...
What kind of cap did u use? ceramic, cbb, elco?

@JohnGooler
Copy link

JohnGooler commented Oct 3, 2021

I use ceramic cap. Based on your environment, maybe you have to increase or decrease the capacitance.

If you a have noisy power supply, take a look at the link below:
https://www.letscontrolit.com/wiki/index.php/Basics:_Taming_false_positives

@araappa
Copy link

araappa commented Sep 26, 2022

Hi, I also had troubles with RCWL-0516’s false triggering, and tried a pi-filter (1 mF-10ohm-1mF), sole 1 mF capacitor across Vin and ground of RCWL-0516, 10k pull-down resistor between the output of RCWL and ground, and local DC power feed as close as possible to the RCWL, and different combinations of these, with no success. However, when directly sourcing the RCWLs with 12VDC from my home automation center’s good quality PC-power supply through few meters of unshielded KLM-cable or about ten meters of CAT6-cable, without any of the mentioned filters or local power supplies, there has been no false triggering anymore. Just rock solid detection, with all three RCWLs which I installed few days ago. Just wanted to share this, since I really wasted my time with all my unsuccessful experiments!

@divingmule
Copy link

Hi, just wanted to share my experience also.
I have two projects using RCWL's without any IC/MC, just circuits. One is a night light that uses a battery the other turns on LED strips in my kitchen when the lights are off it's powered by the same 12V DC converter the LED strips are powered by and one of those small cheap buck converters. Neither of these ever has false triggers. If they are too close together one will trigger the other though.
My experience using one with a ESP-8622 is much like everyone else, a lot of issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests