RCWL-0516 Microwave Proximity Sensor - With & Without Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 พ.ค. 2024
  • The RCWL-0516 is an inexpensive proximity sensor that works using microwaves and Doppler Radar. It can be used on its own or with an Arduino, I will show you both ways.
    Article and code downloads at dronebotworkshop.com/rcwl-051...
    More articles and tutorials: dronebotworkshop.com
    Join the conversation on the forum: forum.dronebotworkshop.com
    Subscribe to the newsletter and stay in touch: dronebotworkshop.com/subscribe/
    Today we will look at another proximity sensor, the RCWL-0516. This device works using microwaves and the Doppler Effect to detect the presence of humans (and other creatures) in a room. It is inexpensive and can be used by itself or in conjunction with an Arduino.
    Don’t be concerned about the microwave aspect, this device emits a very low level of microwave radiation at 3.18 GHz, which is on the low-end of the microwave spectrum. It is perfectly safe to experiment with and to use in your projects.
    The device is very inexpensive and can be obtained on eBay, Amazon, and probably at your local electronics shop (which is where I got mine) for around 2-3 US dollars.
    The RCWL-0516 operates using the “Doppler Effect”, a phenomenon discovered in 1842 by Austrian physicist Christian Doppler. The Doppler Effect describes a change in frequency observed by a stationary observer when the source of the frequency is moving.
    If you have ever heard the sound of a train as it races towards and then away from you, or an ambulance as it races down the road, you will have heard the siren frequency changing as the object approaches, passes, and moves away from you. That is the Doppler Effect in action.
    In the RCWL-0515 microwaves are sent out and reflected back. Any moving object in the area will change the frequency of the reflected waves, thus triggering the device.
    I will show you how to use the RCWL-0516 on its own, both by itself and with an optional light sensor. You'll see that because it uses microwaves it is still operational even when encased in a plastic enclosure.
    Then we will use an Arduino with the RCWL-0516. I’ll show you how to make the device “latch”, great for an intruder alarm or automatic light switch. Then I will show you how I built a remote sensor using an RCWL-0516 and two Arduino's.
    Here is the Table of Contents for today's video:
    00:00 - Introduction
    03:12 - The RCWL-0516 & Doppler Effect
    09:33 - Basic Hookup & Demo
    12:35 - Light Sensor Hookup & Demo
    15:14 - Arduino Latching Device Hookup & Code
    20:31 - Arduino Latching Device Demo
    23:44 - Arduino Remote - Transmitter Hookup & Code
    29:02 - Arduino Remote - Receiver Hookup & Code
    32:19 - Arduino Remote Demo
    As always there is an article with more details and all the Arduino code, you will find it at dbot.ws/rcwl0516.
    I hope you enjoy the video and the article.
    I have a lot of changes to the DroneBot Workshop that you will be seeing very soon, at the beginning of March actually. If you’d like to know more please subscribe to my newsletter.
    And while you are here please subscribe to the TH-cam channel!
  • แนวปฏิบัติและการใช้ชีวิต

ความคิดเห็น • 337

  • @ravindrabelsare6215
    @ravindrabelsare6215 4 ปีที่แล้ว

    Many thanks ! After watching couple of your earlier workshops, I am practically hooked to it. Every day at least one workshop on my agenda

  • @ho7026
    @ho7026 4 ปีที่แล้ว +44

    This entire channel is gold.

    • @nms9352
      @nms9352 2 ปีที่แล้ว

      I hate it🤭 - cost me a lot of money😏

    • @vineeshkumar4637
      @vineeshkumar4637 2 หลายเดือนก่อน

      Can i mine it 🌝

  • @MadLabZ
    @MadLabZ 4 ปีที่แล้ว +1

    Always the best from DroneBot Workshop!!! I just received five RCWL-0516 modules from aliexpress with intentions of setting up security zones for my property , with this very helpful video I think this will be the start of something very interesting, thanks for the upload.

  • @3nagib
    @3nagib 5 ปีที่แล้ว

    As always detailed and helpful. Thank you. Keep doing what you do best. Looking forward to the next project

  • @anythingunderthesun9930
    @anythingunderthesun9930 4 ปีที่แล้ว

    As always, you explained things that is easy to understand with actual example and links to the codes, docs etc.. Keep up the good works. Thank you! New subs here!

  • @TonySwitzerland
    @TonySwitzerland 3 ปีที่แล้ว +1

    Perfectly explained! Thank you.
    I connected the sensor without Arduino to a "remote doorbell button". Battery operated, small size, can be placed wherever it suits. The bell then rings (or just the LED flashes) when someone enters the controlled zone. Works through walls and doors!

  • @yanntwelve
    @yanntwelve 4 ปีที่แล้ว +2

    Hello !! I'm about to prepare myself in making an alarm for my workshop and garage, your video has been more than useful to my future project. Nice explainations and many details. Good Job, keep on instructing us !! Long life to your channel

  • @jacobdavis000
    @jacobdavis000 4 ปีที่แล้ว +1

    Just watched your tutorial and set up a new rcwl-0516 as I watched. I bought 20 and the 1st one I tested works very well. It's set up in front of the TV pointing back at me and it is very responsive and stable behavior too. Great channel and tutorial. Thanks!

    • @jacobdavis000
      @jacobdavis000 4 ปีที่แล้ว

      BTW: I didn't mean pointing back at me. Maybe it's radiating in all directions.

  • @vanomso
    @vanomso 2 ปีที่แล้ว

    Thank you for this lesson. Works very good for me, I invest 35 minutes in watching your video and I remember it forever!

  • @fsiserir
    @fsiserir 3 ปีที่แล้ว

    Thank you for your very clear explanation of RCWL-0521 and its application for the detection of the moving object.

  • @NewportNomad
    @NewportNomad 5 ปีที่แล้ว +1

    Sensational. Your video was really clearly explained with great diagrams and code too. Many thanks.

  • @TonySwitzerland
    @TonySwitzerland ปีที่แล้ว

    Excellent tutorial and because of the clear language 100% understandable by non-native-speakers! Thank you so much.

  • @rodnolasco
    @rodnolasco 5 ปีที่แล้ว +4

    Crystal clear. Thanks for sharing.

  • @sebastienochart
    @sebastienochart 2 ปีที่แล้ว +2

    Extremely well explained and demonstrated. Very high quality content. Thanks a lot.

  • @davidgapp1457
    @davidgapp1457 3 ปีที่แล้ว

    Brilliant channel. Many thanks for your hard work. Love the clarity of your presentations.

  • @nassernasser5292
    @nassernasser5292 5 ปีที่แล้ว +12

    Always the best explanation

  • @mohitnayyer
    @mohitnayyer 2 ปีที่แล้ว

    Thank you very much for explaining everything in detail and for demonstrating the connections.

  • @RouenEchecs
    @RouenEchecs 4 ปีที่แล้ว +1

    Vos vidéos sont très intéressantes et vos explications très claires, avec un réel souci de pédagogie.
    En vous suivant, je m'améliore. Je vous remercie très sincèrement pour ce partage.

  • @donk73
    @donk73 2 ปีที่แล้ว

    Very interesting and informative video. The RCWL-0516 is now on my list future projects. I also particularly appreciate the care and preparation put into the production, and the use of high quality video. Too often videos like this are made with low resolution video so that the code examples and diagrams are unreadable.

  • @muzikman2008
    @muzikman2008 5 ปีที่แล้ว

    Great stuff!..I bought some doppler modules, and was looking for a way to control their output for lighting a room.I need an arduino lol.. thanks for explaining in a great relaxed concise manner. Fantastic video :-)

  • @jurgenpurps9720
    @jurgenpurps9720 3 ปีที่แล้ว +1

    Wie immer ein Top-Video.Super und ausführlich erklärt - so sollte es sein.

  • @gazza595
    @gazza595 5 ปีที่แล้ว

    Thanks for this video, as usual very detailed and well presented. Really useful information.

  • @acadman4322
    @acadman4322 5 ปีที่แล้ว +15

    Thanks, Bill, I am impressed with your clear and professional presentation.

  • @JamesFraley
    @JamesFraley 4 ปีที่แล้ว +1

    You make the best, most informative videos! Thank you

  • @dansquires2713
    @dansquires2713 5 ปีที่แล้ว

    Another great lesson. I am really looking forward to the robot build.

  • @user-hw9hu9kl3c
    @user-hw9hu9kl3c ปีที่แล้ว

    Extremely well explained and demonstrated. Very high quality content. Thanks a lot

  • @darrenmaglione6235
    @darrenmaglione6235 4 ปีที่แล้ว +2

    This video is so well done it is amazing. Thank you so much.

  • @KatorNia
    @KatorNia 2 ปีที่แล้ว +17

    Very good video, with lots of info & well delivered.
    I wonder how this channel flew under my radar (pun intended) for so long.
    Subscribed! 👍🏻
    Now, I have a couple of things I'd like to point out if I may.
    8:07 The circular thingy serves as a capacitor for the oscillator (high-frequency NPN transistor), not an antenna.
    The antenna is at the other side, & it's a common transmit/receive antenna.
    10:44 Although the LED pins are correct (anode = longer), the internal electrodes are wrong (anode = smaller, not bigger).
    I'm pointing this out because I believe one should look at the internal electrodes to figure out polarity, instead of the external ones, since the latter can be cut.
    & if people learn it wrong from this video, they may run into problems in the future.
    20:02 I'd pull the button Pin to LOW, instead of HIGH, for two reasons.
    - If you pull it HIGH, you're constantly sinking 0.5mA, regardless of the button's state.
    Yes, that current is negligible in this circuit, but I believe it's important to adopt "good habits" anyway.
    In the case of microcontrollers, taking their limited power capabilities into consideration is one of them.
    - It feels more intuitive to "send a signal" to the Pin when the button is pressed, instead of "disrupting a signal".
    I believe it's easier for less experienced tinkerers to understand too.
    From what I've read (I haven't tried them myself, yet), those sensors don't interfere with other GHz devices (routers etc).
    Apparently they don't interfere with each other either!
    So using BT shields should work well too.

  • @satishbalodi4576
    @satishbalodi4576 2 ปีที่แล้ว

    Sir I am happy to see your tools set is kept. Neet and tidy. Very nice sir.

  • @mouseminer2978
    @mouseminer2978 5 ปีที่แล้ว +2

    Beautifully explained. Thank you very much.

  • @dineshmehta3688
    @dineshmehta3688 3 ปีที่แล้ว

    Sir You are Very good teacher & have very good Knowledge.
    Thanks you very much for explaining in simple manner. Keep up teaching and good works.

  • @activ8me3
    @activ8me3 2 ปีที่แล้ว

    Your teaching style is superb. Thank you.

  • @dfxmonkeyhead
    @dfxmonkeyhead 11 หลายเดือนก่อน

    Always learn so much from your videos... Thank you!

  • @ShedOfDreams
    @ShedOfDreams 5 ปีที่แล้ว +1

    So useful I bought some! Thank you. A good, concise video. I attached the output signal to an optocoupler relay module and the relay switches, so that's good! I've also found that if you keep moving around, the sensor is always active so the relay stays on E.G. running a light bulb, alarm etc. turns off once movement stops. would be good for a self contained alarm/light/ device on its own without needing an Arduino (or Picaxe in my case) so saving a few quid!!!! thank you again, You"ve got a new subscriber :-)

    • @andreamitchell4758
      @andreamitchell4758 ปีที่แล้ว

      so I assume you had to use a high level trigger relay correct?
      sadly all I have are low level triggered relays

  • @manoharmanu1460
    @manoharmanu1460 2 ปีที่แล้ว

    Very useful , your videos are the basics of my electronics foundation sir. Thank you very much

  • @lw1419
    @lw1419 4 ปีที่แล้ว +1

    I love your videos, they are all so informative. Thx much.

  • @SohaylTalebi
    @SohaylTalebi ปีที่แล้ว

    Dear Sir.
    I would like to thank you for your detailed video.
    Kind Regards.

  • @nevsiebenhausen7889
    @nevsiebenhausen7889 2 ปีที่แล้ว

    This is an amazing demo

  • @Adrian_Finn
    @Adrian_Finn 5 ปีที่แล้ว

    You should have far more subscribers than you do, your videos are extremely good.

  • @melvinmurithi
    @melvinmurithi 4 ปีที่แล้ว

    Excellent video. 90% of what i need to do in my project....

  • @benjaminantonypallath6537
    @benjaminantonypallath6537 ปีที่แล้ว

    Interesting video and love to see such work shop.

  • @MrMraza123
    @MrMraza123 5 ปีที่แล้ว

    Very clear explanation. Excellent job.

  • @eburgos021
    @eburgos021 2 ปีที่แล้ว

    Thanks for all your videos, especially this one. It made it much easier for me working with the RCWL-0516 doppler sensor and it's application. I'm new for this type of module sensors. Thank's again. Mr.G ( PS:I would like to know more abut your newsletter !)

  • @lincolnschoolpreservation3574
    @lincolnschoolpreservation3574 ปีที่แล้ว

    As usual ur the "guy" I learn so much from ur approach thanks for posting, eventually i will get thru 90% of ur library.

  • @MrBobWareham
    @MrBobWareham 3 ปีที่แล้ว

    Hi thanks for the video as always an excellent instruction on how to use a product top marks thank you, Bob, from the UK

  • @MultiTechEducation4U
    @MultiTechEducation4U 2 ปีที่แล้ว

    Sir, your videos are the best videos I ever saw.

  • @obiwankenobi661
    @obiwankenobi661 2 ปีที่แล้ว

    great video! appreciate your work.

  • @johnmcclain3887
    @johnmcclain3887 3 ปีที่แล้ว

    Hi, this is the first time I've been here, I'm a retired electronics tech, Marines, not played with electronics much for twenty years, but collected some arduino oriented electronics, off ebay, and low and behold, here's how to use the very module I selected for a burglar/security alarm system for my home. Great teaching skills, very clear explanations, nice easy pace. I look forward to getting caught back up, at least as much as necessary. How did you know I bought that doppler radar device?

  • @kevgermany
    @kevgermany 4 ปีที่แล้ว

    Thanks. Very clear. That's one incredibly fast train in the Doppler explanation. ;-)

  • @khurumpervaiz509
    @khurumpervaiz509 5 ปีที่แล้ว +1

    Great video Sir 👍. Keep it up.

  • @mtbevins
    @mtbevins 5 ปีที่แล้ว +1

    Great video. I absouluty love watching your videos. It is like candy for my brain. :)

  • @hussain55019
    @hussain55019 4 ปีที่แล้ว

    Great Sir always trying to use modules to their full potential..Love from Pakistan

  • @anokhautomation4453
    @anokhautomation4453 2 ปีที่แล้ว

    Nice useful tutorial.thanks for sharing your valuable ideas.

  • @ljmeng
    @ljmeng 2 ปีที่แล้ว

    I have leant a lot from your channel, Thank you veru much.

  • @johnwilson3918
    @johnwilson3918 3 ปีที่แล้ว

    Thank you very much, Bill.

  • @emadabuhagag222
    @emadabuhagag222 3 ปีที่แล้ว

    clear, informative, thank you

  • @totiabel1
    @totiabel1 9 หลายเดือนก่อน

    Excelentemente explicado, gracias.

  • @quin2691
    @quin2691 3 ปีที่แล้ว

    Impressive ! Good explanation

  • @sabrinagarciasosa7517
    @sabrinagarciasosa7517 4 ปีที่แล้ว

    Thaks, even if I don't speak english well I love your video and your class.

  • @Hogkat
    @Hogkat 5 ปีที่แล้ว

    I'm glad for this vid. I'm useing the 0516 with a GSM (A6) with a uno to make a alarm, I got the code for the 0516 right but to send a sms is a bit more difficult but getting there. I hope when I get to figure every thing out to make a video of what I did and also with the code but got to get the code for the sms right. But nice video

  • @holyrunner1973
    @holyrunner1973 4 ปีที่แล้ว

    Great Presentation!!!!

  • @Nguyen_Phuc08
    @Nguyen_Phuc08 5 ปีที่แล้ว

    Interesting video as always.

  • @forthidiot4297
    @forthidiot4297 5 ปีที่แล้ว

    Very nice explanation

  • @junacalo
    @junacalo 4 ปีที่แล้ว

    Excelente señor. Excelente su video. Muchas gracias.

  • @tonytee981
    @tonytee981 4 ปีที่แล้ว

    Hi,
    First I have to say that I really enjoy your instructional videos. You are one smart cookie. Keep em coming :)
    Secondly, I purchased the RCWL-0156 sensor and wired it up, both on its own, and then to an UNO, as per your instructions. ( I have a fair bit of experience with Arduino, and everything related to it, so I am confident that I connected everything properly) . I used a 220 ohm resistor for the out pin to the led. My issue is that although the RCWL functions properly. (IE: The led lights up when the sensor senses movement), it only has a range of 2cm. It doesn't pick up anything further than that. I received 5 units in my order, and tested all of them, and they all have the same range (2cm).
    Has anybody else experienced the same issue. Any ideas as to what could be wrong.
    PS: I tested with 2 different power supplies, first the UNO, and then I hooked up my Korad KA3005D set first to 12 volts, then to 24 volts and 0.003 amps. The sensing range was the same for all tests.
    Could it be a bad batch of sensors ?
    Cheers,
    T

  • @behzadabf
    @behzadabf 3 ปีที่แล้ว

    Very clear perfect video....thanks

  • @hariwi39
    @hariwi39 2 ปีที่แล้ว

    Good channel for teaching practical material thanks

  • @hirajijadhav375
    @hirajijadhav375 ปีที่แล้ว

    Very easy to learn type video. I like it so much thanks

  • @quaternion-pi
    @quaternion-pi 5 ปีที่แล้ว

    Excellent! Waiting for my sensors to arrive. Practical discussion of using PIR or ultrasound vs this radar sensor (range, false positives, penetration of glass windows, etc) will be addressed in my own experiments. It would be nice if the sensor did not stay on for two seconds so it could be rotated and data collected in many directions in real time. Thanks for your great projects, well explained, as always.

    • @ristomatti
      @ristomatti 5 ปีที่แล้ว

      There are other microwave sensors out there that just output the raw data but they seem to be more difficult to operated. As these are so cheap, you could use two or more pointing to different directions?

    • @quaternion-pi
      @quaternion-pi 5 ปีที่แล้ว

      Thanks for the suggestion and clarification on available sensors - 3 sensors coming for just that reason.

  • @carldea
    @carldea 4 ปีที่แล้ว

    Great tutorials!
    Mr Bill,
    What do you use to present your slides?
    Thank you! keep up the great work.

  • @Sigurdinus
    @Sigurdinus 5 ปีที่แล้ว +1

    Exceptional video, thank you very much. I really appreciate your calm and comphrehensive style of presentation.

  • @samraj_subramaniam
    @samraj_subramaniam 2 ปีที่แล้ว

    Great video. I am going to build this proximity sensor that sends data to my iobroker that is going to control other IoT devices in the room.

  • @Boogiemoose
    @Boogiemoose 5 ปีที่แล้ว +1

    Ive used this to detect if my cats are outside my door.
    Its hooked up to a transistor that turn on leds that light up a cat shaped 3dprinted figurine.
    Been working fine outside for a couple of years now.

  • @babarsayeed6742
    @babarsayeed6742 4 หลายเดือนก่อน

    Amazing Video
    Keep it up

  • @jacquesmertens3369
    @jacquesmertens3369 4 ปีที่แล้ว

    Seems like a great device to detect Orchestral Manoeuvres In The Dark.

  • @charlessweeney2061
    @charlessweeney2061 2 ปีที่แล้ว

    Perfection.

  • @604smit
    @604smit 5 ปีที่แล้ว

    very useful, thanks!!

  • @RinksRides
    @RinksRides 5 ปีที่แล้ว +1

    30 seconds in and like and new SUB!

  • @MrBobWareham
    @MrBobWareham 3 ปีที่แล้ว

    As always a great video I want to make one for my front door, so I see that it works through plastic but does it work through glass as well. Thanks, Bob from the UK

    • @LukeWatts85
      @LukeWatts85 3 ปีที่แล้ว

      Sure test it out and see. That's all part of the fun of it :)

  • @RoyFokker93
    @RoyFokker93 3 ปีที่แล้ว +1

    Really good explanation. I have a question, are there radar modules that give an analog output instead of a digital one?

  • @unglaubichuberlieber8048
    @unglaubichuberlieber8048 4 ปีที่แล้ว +2

    since this rcwl-0516 can detect object from above, beneath, left and right, and how can one/the arduino knows
    where the object is moving from ??? thanks for your time and your input and this tutorial;

  • @SheltonDCruz
    @SheltonDCruz 9 หลายเดือนก่อน

    Thanks for an informative video - question I have is - how directional is the radar on the RCWL0516? Can one make it only detect in a narrow range as I am thinking of using it on a model railway layout and to trigger only when a train passes by ? - thanks

  • @MrBobWareham
    @MrBobWareham 3 ปีที่แล้ว

    Hi, Bill thank you for another in depth video with excellent details, I know you were unsure about the esp8266-01 due to signal crossover with Wi-Fi.
    But would you consider giving it a go, to see if it works, as I want to make a door sensor to interface with IFTTT to indicate door action at my home.
    I think this would make a good project for others and with your knowledge perhaps it would help others including me. All the best, Bob.

  • @vk9491
    @vk9491 4 ปีที่แล้ว

    Thank you for great video and tutorial. I repited every step from your explenation. Also I programed DGspark instead Arduino. All working well.
    Only one question, when I reseted led by pressed button, does sensor activated again for motion?

  • @rgdphome8974
    @rgdphome8974 5 ปีที่แล้ว +3

    Gr8. Thanks for good explanation as always. Sir, as a common man, I thought, such sensor could be used to measure the distance.

  • @roquesyves6598
    @roquesyves6598 4 หลายเดือนก่อน

    Thank you for all these excellent videos.
    Can you do one on the LD2410C radar?

  • @dipakbhalodia7155
    @dipakbhalodia7155 5 ปีที่แล้ว

    Thanks good working

  • @MiguelJimenez-cu5ft
    @MiguelJimenez-cu5ft 5 ปีที่แล้ว

    great video. thanks.

  • @wifi404
    @wifi404 5 ปีที่แล้ว

    Good video, thanks :)

  • @anuraggorkar5595
    @anuraggorkar5595 4 ปีที่แล้ว +1

    Excellent Video. Extremely informative. Sir can you please make a video on how to use an esp8266 with Arduino?

  • @JoeElevator
    @JoeElevator ปีที่แล้ว

    Muchas Gracias..!! 😊

  • @rickharold7884
    @rickharold7884 ปีที่แล้ว

    Super cool

  • @JoseAntonio-rc7kg
    @JoseAntonio-rc7kg 5 ปีที่แล้ว

    Ótimo tutorial, parabéns !

  • @youssefdirani
    @youssefdirani 4 ปีที่แล้ว

    thank you dear

  • @mukunda9g
    @mukunda9g 4 ปีที่แล้ว

    Thank you so much. Will it increase the range of motion detection if we supplied 12v in your first experiment?

  • @philippepeglion8135
    @philippepeglion8135 3 ปีที่แล้ว +1

    Hi all!
    Thank you Bill for that video.
    I have a problem with my chickens. They always come to my patio and make it dirty. My project is to create a forbidden zone. So, I experimenting with a system to chase them away. I plan to use the product shown in this video to pilot two perpendicular air jets. These streams should be oriented on each side like a barrier and start simultaneously when a bird approches. To synchronize the actions, I wonder if that way of proceeding is a relevant choice in terms of sensitivity and speed. If someone has an idea or an experience, I'm interested.
    I look forward to reading you.
    Thank you very much.
    Philippe

  • @jnkmal9519
    @jnkmal9519 ปีที่แล้ว +1

    Me 30 minutes ago: What the heck is a RCWL-0516?
    Me after watching the video: I'm sure I could work with a RCWL-0516 and I now understand the Doppler effect.
    Awesome! :)

  • @doctoreden
    @doctoreden 4 ปีที่แล้ว

    Excellent presentation: Clear and easy to understand. Subscribed!

  • @petermoritz2452
    @petermoritz2452 3 ปีที่แล้ว

    Nice video! Do you know if they trigger each other if you have them close? Would like to use this to track a speed of a moving object. So I would need to have these on a straight line fearly close for good resolution.

  • @coldrider3517
    @coldrider3517 3 ปีที่แล้ว +1

    Allo and thank you very much for the great knowledge you share with us , my question about this microwave sensor is : Range ; is there a way to have a set range ,meaning ignore from X range and more but when movement is inside the set range then an action is taken ?