-
Notifications
You must be signed in to change notification settings - Fork 107
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
Unit triggers ok but then seems to saturate and requires a ~60 second cool down time #63
Comments
I starting to see a similar behaviour. It's hooked up to a rasberry and I wrote a simple python script which confirmed my observations. Imagine me standing 2m right in front of my sensor an continuously waving my arm. What I'm seeing on the output is:
In other words: although there's constant movement i can see a decline in the maximum pulsewidth on the output which finally falls slightly below the calculated value of *I do not observe a reduced sensitivity in terms of range, but in therms of the maximum duration of the activitiy "pulse" on the output. The maximum "initial" pulsewidth I get is around 6-8 seconds with continuous movements. To me this looks like there's some issue with at least one capacitance not (un-)charging sufficiently within the timeframe it is supposed to. Measurements of the SMD parts do not indicate a fault to me - at least their values align with the datasheet's values besides R1 which is 1kOhms on my board. So I guess it must be some issue within the IC. |
nice investigating. I guess the part is "too good to be true" for its price point. I did find that conditioning the 5v supply can greatly reduce false triggers. I ended up putting a 10uf electrolytic followed by a ferrite bead and then a 100pf ceramic capacitor on the 5v feed to create a low pass filter over a wide bandwidth. Even though that helped a lot, I'm still getting weird behavior similar to what you describe. Unfortunately, I don't have an oscilloscope capable of delving into this more deeply. |
I wonder if the chip has some kind of automatic gain control which isn't quite tuned correctly. I bought 3 of these boards which were still panellised so must be identical: one worked with several meters of range straight away, one worked with about 10cm of range and the other seemed to have a pretty good range too the second time I tried it. BUT if you leave it running the range seems to vary a lot. Sometimes it works great, other times you have to get within cms. I also wonder if there's actually a fault with the design which is why they are so cheap? Shame. |
Also see #57 |
I've got the rcwl-0516 connected to an esp32/esphome and physically dangling in the air. I'm testing it to see how reliably it detects movement.
Initially it triggers well and within about a 10 ft radius. But after about 5 minutes of frequent triggers, it loses all sensitivity and seems to need about a 60 second cool down before it detects again. (times are approximate)
Feels like perhaps the 0516 difference detection gets saturated or reaches a new equilibrium that fails to trigger. I'm guessing that the ~60 second cool down allows for a decay of the difference signal - but who knows....
Anybody seeing this behavior? or can explain what's happening with a fix? seems like a deal breaker for me for controlling lights.
thanks!
rugene
The text was updated successfully, but these errors were encountered: