I’m new to coding and Blynk but I enjoy experimenting and learning as I go. So if you can see ways for me to improve the code or Blynk Widgets please let me know.
I purchased two RCWL-0516 off eBay(https://www.ebay.co.uk/itm/263104954328) and connected one up to my Wemos D1 Mini Pro. At first I had the RCWL-0516 on a breadboard right next to the Wemos D1 and had stability problems. After an hour or two of trying to figure out why I realised the the close proximity of the Wemos D1 to the RCWL-0516 was the cause. As you can see in the photo the RCWL-0516 now sits 240mm above the Wemos and the results about 10 seconds after start up are now stable. It easily detects the slightest movement in a 2 meter radius and will detect me walking over 5 meters away.
For those of you that are interested here’s the code:
Hi @Shadeyman, glad to see that you’ve not given up tinkering, and that you’ve actually found a use for those wooden kebab skewers that were kicking around in the kitchen drawer!
It’s worth reading all of the comments, as a few people were getting false triggers and people have tried a variety of ways of smoothing these out with varying success.
I used to love reading Peter Scargill’s tech blog, and his blog about his Spanish property (we also have a place in Spain, so it especially interesting for me). Unfortunately Peter suffered a stroke before Christmas and although he’s now replying to a few comments from time to time he’s focusing on his recovery rather than his blog posts. Hopefully he’ll be writing again soon, but there’s lots of useful techie info on his blog site that’s worth reading.
I don’t have much spare time but when I do I try to increase the small amount of coding knowledge I have. Love Blynk, makes things so much easier visually for noobs like myself.
Weather is crap here(England) again, didn’t want to venture out so used what I had to hand, well spotted.