Detect Window/Door opening closing using sensors

  • Context: High School 
  • Thread starter Thread starter rushi121
  • Start date Start date
  • Tags Tags
    Sensor Sensors Window
Click For Summary

Discussion Overview

The discussion centers on methods for detecting whether a home window or door is opened or closed using various sensors. Participants explore a range of sensor types, including proximity sensors, motion detectors, air pressure sensors, and more, while considering both practical applications and theoretical possibilities.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Conceptual clarification

Main Points Raised

  • Some participants suggest using micro switches and breaking wire detectors as simple solutions.
  • Others inquire about non-invasive methods, such as motion sensors or pressure measurements, to detect window or door states without physical attachments.
  • A participant mentions the potential of a 2D laser scanner to detect openings by breaking a laser path, while noting that magnetic switches are more common and cost-effective.
  • Various unconventional methods are proposed, including reflecting or refracting light and sound, measuring pressure differentials, and detecting air currents.
  • Some participants express skepticism about the reliability of air pressure sensors, raising concerns about false triggers from environmental factors.
  • There is discussion about the practicality of using passive infrared proximity sensors and whether they would function effectively in bright sunlight.
  • Participants explore the use of accelerometers to detect changes in window states, questioning their effectiveness in determining both open and closed positions.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best methods for detecting window and door states, with multiple competing views and approaches presented throughout the discussion.

Contextual Notes

Limitations include the potential for false triggers in air pressure sensors due to environmental conditions, and the varying effectiveness of different sensor types under specific circumstances, such as sunlight interference with infrared sensors.

Who May Find This Useful

This discussion may be of interest to engineers, hobbyists, and individuals looking for innovative security solutions or those exploring sensor technology in home automation.

rushi121
Messages
13
Reaction score
0
How can we detect whether a home window or door is opened or closed using sensors. I know it can be done using proximity sensors and window sensors. I want to know all possible ways/sensors to detect it.

I am no way related to physics so please try to answer considering that :)

Thanks in advance.
 
Physics news on Phys.org
Micro switches and breaking wire detectors are the simplest .
 
Thanks. I guess both these requires to be attached to each window/door. Is there any way we can detect without attaching anything to window/door. Something like motion sensor to figure out window is in motion, measuring pressure of room etc.
 
rushi121 said:
How can we detect whether a home window or door is opened or closed using sensors. I know it can be done using proximity sensors and window sensors. I want to know all possible ways/sensors to detect it.

I am no way related to physics so please try to answer considering that :)

Thanks in advance.
Do you want to determine whether the window is securely locked or not? Or just differentiate between whether it is wide open for ventilation or almost closed up?
 
If you have money to spend, a 2D laser scanner could be mounted on the outside of a building, it would be able to pick up the physical opened window/door that would break the lasers path.
But standard magnetic switches on each window are the most common and cost effective
 
rushi121 said:
I want to know all possible ways/sensors to detect it.

There are a large number of ways to do it, limited only by the creativity and ingenuity of the engineer. (and how dissimilar 2 ways must be before you count them as 2)

Reflect light from the glass or frame, refract light through the glass, reflect sound from the glass, refract sound through the glass, measure sound penetration through the window, physical contact switch, hall effect switch, inside/outside pressure differential, inside/outside ambient noise differential, inside/outside atmospheric chemistry differential, detecting air currents coming through open window, or not coming through closed window, etc...

My cat likes to sit in front of open windows so any method that could determine the position of a cat could be used (along with a suitable cat, dog, monkey, ferret, etc...) Similarly you could put something inside the house that would attract native insects, then use some kind of insect detector (must be a hundred ways to detect insects)

You get the idea. It's almost limitless.
 
Last edited:
mrspeedybob said:
Reflect light from the glass or frame, refract light through the glass, reflect sound from the glass, refract sound through the glass, measure sound penetration through the window, inside/outside pressure differential, inside/outside ambient noise differential, inside/outside atmospheric chemistry differential, detecting air currents coming through open window, or not coming through closed window, etc...

Thanks.

Do you know any existing sensors/solution in market using any of the above methods (except switches) for detection? Also, my solution should have a small form factor and it should give accurate results. Will all above suggestions do the same?

What type of engineer(s) I should look for?
 
rushi121 said:
What type of engineer(s) I should look for?
I'm not understanding the big picture here: why would you need an engineer for something that there are already dozens of commercial products for? Maybe a shopping assistant at Home Depot would be more useful...?
 
  • #11
It says there. Detects changes in air pressure.
 
  • #12
The description says that it senses changes in air pressure. Perhaps as a door is opened.
 
  • #13
Which sensor does it use to detect air pressure?
 
  • #14
I don't understand your question. Here is the text from the link you posted. What don't you understand?

Through the use of micro technology, intrusion Detection now fits in the Palm of your hand. The 2.5" tall smart sensor volumetric alarm protects your home, business, hotel, or dorm room and instantly sounds an alarm at the first sign of an Intruder. This high Tech security device constantly monitors the air pressure inside any closed space up to 1000 square feet. Should an Intruder open a door or window (or break the window) the alarm will instantly sound to scare off the Intruder and alert you to the attempted entry.
By the way, did you note the "up to 1000 square foot" limit? To protect a whole house you may need several of them. Probably one for each exterior room. Micro switches are simpler and less expensive.
 
  • #15
Simple IR motion detectors are the way to go. Wiring up all your doors and windows is a pain.
 
  • #16
tfr000 said:
Simple IR motion detectors are the way to go. Wiring up all your doors and windows is a pain.
I agree up to a point but I have a PIR detector in our back garden. It gives many false triggers. If you don't like wires then there are wireless alarm systems which have contact switches as well as PIR units.
Changes of air pressure in a room can be caused by gusts of wind on the chimney. I wouldn't think it would be very reliable.
 
  • #17
A room air pressure sensor. If the room pressure is aready equalised with outside pressure would gently sliding a window open cause a trigger? On a blustery day, would a gust of wind against a large window pane cause a spike in pressure of a secured room? Would the building resonance (walls & ceiling vibrate) as a plane drones overhead cause pressure changes sufficient to trigger the sensor?

Would endless false triggers see the unit being permanently turned off? Who can answer these questions ...
 
  • #18
NascentOxygen said:
Who can answer these questions ...
Just a few hundred PF members?
Fools rush in . . . . . That includes me, of course. We all like an open ended question.

Security alarms are pretty common things. They tend to use a very limited number of basic components because reliability is essential. False alarms can be more trouble than failures because an intruder will often pass through more than one detector. I would suggest that the thing to go for would be what happens to be the most popular, if you want a reliable working system. (Product testing by millions of people provides good evidence.) No wires are needed for any of the readily available detectors.
If your interest is experimental then this gizmo could be worth while following up and could give you hours of fun, trying to beat it.
 
  • #19
Can we use passive infrared proximity sensor ( https://www.adafruit.com/products/466 ) that is used in mobile phones as window sensors? The device (that has sensor) is placed on window glass and when that device detects a window frame it will trigger alarm.

Will it work even if bright sunlight is on the window?
 
  • #20
rushi121 said:
Will it work even if bright sunlight is on the window?
You would probably need to test it, to find out. I looked at the data sheet and it doesn't seem to be very helpful in that direction.
Contact switches and accelerometers are tried and tested ways to detect if a window is being opened or broken. Neither of them are affected by sunlight.
But it all depends whether you want a known 'result' with little effort or if you want an interesting project that could turn out to be much better than what you can buy off the shelf. More power to your elbow if you want to do some interesting experimentations! :smile:
 
  • #21
  • #22
rushi121 said:
@sophiecentaur
How can accelerometers detect window state?
An accelerometer will know when it's being opened?
 
  • #23
Can it also detect when is it closed?
 
  • #24
rushi121 said:
Can it also detect when is it closed?
No (of course) but, once you know its state, you can detect when it changes (even very slow changes are detectable). But, frankly, a switch contact with wireless link (if necessary) would do the best job and be easy to check and calibrate.
 

Similar threads

  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
2
Views
901
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 35 ·
2
Replies
35
Views
8K