jdesbonnet / RCWL-0516

Information about RCWL-0516 microwave proximity switch module (ICStation.com SKU 10630)
727 stars 105 forks source link

False triggers on any noise on 3V3 - any suggestions? #74

Open sun2sirius opened 5 months ago

sun2sirius commented 5 months ago

It seems that you cannot really connect anything on the 3V3 line as you start getting false triggers. I tried using this RCWL module instead of an IR sensor in a Z-wave PIR motion detector. Normally, the detector is powered with a 3V lithium battery, so I thought I'd connect +6V or +9V to VIN of RCWL and feed the detector off of the 3V3 pin of the module. But that does not work because after a motion is sensed, the detector sends a report over Z-wave, and that takes about 50mA on 3V3, which makes the RCWL module keep generating false triggers, and the whole thing gets into a self-oscillated mode until the power is disconnected.

I tried connecting a large capacitor on 3V3, I even tried a separate voltage regulator for the detector's 3V power - not helping. If I feed the module and the detector off of the same battery, I get false triggers. The only way to get this experiment working somewhat reliably was to keep the 3V lithium battery in the detector and feed the RCWL module with its own battery. This sounds like the module is super sensitive not only to 3V3 but also VIN voltage, so I may not be able to use it in a system with other components off of the same power supply because there will always be some noise on the VIN line, causing some false triggers.

Did anyone have a similar problem and what was the solution? I mean, the module works great as an experiment, connected to an oscilloscope. But how to use it in a real life security system, for example? Are there any improvements possible to the module itself or its integration to make it more reliable and less dependent on power fluctuations? The statement in the description for this github project says: "It provides a convenient 3.3V output to drive a MCU" - yes it would be very convenient, but need to something about the noise.