I'm currently using 5 Ultrasonic HC-SR04 sesnors in a row that spans 90 cm. They are mounted under a shelf, parallel to the floor. They are connected to an arduino uno & relay circuit that turns on a light when someone gets within range.
The main issue that I'm having with this setup is reliability. Sometimes the HC-SR04s will pick up the person and if they stand too still they will forget that the person is there. I have the polling quite frequently, but it seems to be more of hardware issue than software one. I've done a work around (setting up a 4 second timer), so that it's not rapidly switching on/off but even with the 4 second buffer sometimes the sensors won't detect objects.
I realized that the HC-SR04 don't like certain fabrics and get all sorts of crazy readings when they detect them. Which is unfortunate since this is supposed to detect people (who typically aren't roaming around naked).
PIR's would have the same problem of detecting someone standing still (since they only register changes).
What is the alternative to an ultrasonic rangefinder array?
I was looking at Pulselight's Lidarlite2 but it seems to have too narrow of a range (in terms of detection width, more like a small narrow beam).
Thanks for your thoughts!
The main issue that I'm having with this setup is reliability. Sometimes the HC-SR04s will pick up the person and if they stand too still they will forget that the person is there. I have the polling quite frequently, but it seems to be more of hardware issue than software one. I've done a work around (setting up a 4 second timer), so that it's not rapidly switching on/off but even with the 4 second buffer sometimes the sensors won't detect objects.
I realized that the HC-SR04 don't like certain fabrics and get all sorts of crazy readings when they detect them. Which is unfortunate since this is supposed to detect people (who typically aren't roaming around naked).
PIR's would have the same problem of detecting someone standing still (since they only register changes).
What is the alternative to an ultrasonic rangefinder array?
I was looking at Pulselight's Lidarlite2 but it seems to have too narrow of a range (in terms of detection width, more like a small narrow beam).
Thanks for your thoughts!