I am automating a few doors with sliding doors.
These are arranged in a one meter wide hallway; sliding in the hallway (not room).
I reckon most have experienced doors opening when walking past them, hence, this is something I'd like to avoid.
The idea is to use GP2Y0A21YK0F IR sensors from Sharp for distance sensing.
I envisage to have three sensors spread over the left edge of the door, and three along the right edge.
If a person walks past, sensors on one side pick up a reduced distance, and then the sensors on the other side sense a reduced distance.
If both sides see a reduced distance for a yet to be defined timeframe, say 2 seconds, the door opens.
I am not asking for code. I am rather interested in people who have used these sensors, and how they see, whether this approach would work or not.
The reason for three sensors on the vertical (door height) axis is that this setup would distinguish the height of the person (or animal) , depending on which sensors are being triggered.
I am also wondering what the 'spread of the detection area is. According to the application notes, it is a very small spread, which is good, as it would reduce interference with opposing doors.
The door arrangement is as follows:
The doors are not cavity doors (as shown on the plan), but sliders in the hallway.
To complete the story, the doors would have built in sensors on the hallway side, while the door fram would have another 6 sensors (3 on each side) and one (though longer range) IR sensor to sense if someone is standing in the door, as to not close it.
Is there a better way to arrange these sensors? ... or even approach this project.
Are there better sensors? Be mindful of false triggeres due to the confined space and opposing doors.
Any feedback welcome; thanks.