jdesbonnet / RCWL-0516

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

How to detect an object getting closer to RCWL-0516 #45

Open Narcissus-GBC opened 3 years ago

Narcissus-GBC commented 3 years ago

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.

JohaGit commented 3 years ago

Simple IR diode and receiver diode+ arduino. No need for RWCL-0516. Sample project + code here https://www.dfrobot.com/blog-396.html

if you want you can use rwcl as trigger of movement on arduino port, whilst the ir focus on the door.

Joerg-rw commented 3 years ago

This sensor doesn't detect distance. It detects level of reflected signal multiplied by frequency deviation caused by Doppler effect, as well as variations in mere destructive interference when reflected signal is 0° (no cancellation) vs 180° (max cancellation) phase difference https://en.wikipedia.org/wiki/Phase_(waves) to original oscillator signal