1
\$\begingroup\$

This question already has an answer here:

I want to deploy sensors to the door to a private room in order to track people's presence in the room. These are the requirements:

  1. sensors must be outside of the door;
  2. it should detect both entrance and exit or whatever it takes to know there are someone in the room;
  3. due to the nature of the room, it can be assured that at most one person will be in the room at one time;
  4. the sensor should be able to communicate with a computer using either wifi or other wireless medium.

It has been pointed out by this post (What sensor to choose to track human presence indoors?) that PIR sensors can be the solution. However, I know very little of electrical engineering. I'd really appreciate it if you could explain this in details, e.g. what components to buy, where I can buy them, how do I collect the sensor data from a laptop using wireless media, etc.

I have a background in computer science, so the actual coding should be less of a problem.

\$\endgroup\$

marked as duplicate by Chetan Bhargava, PeterJ, Nick Alexeev, Leon Heller, Nick T Mar 6 '14 at 8:56

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1
\$\begingroup\$

To keep track of whether a room has an occupant you only need a PIR sensor in the room. This is easier, and possibly more reliable than monitoring direction of movement through doors (and allowing for pranksters exiting windows etc)

I'm assuming you don't implant RFID tags in all potential visitors.

\$\endgroup\$
  • \$\begingroup\$ I won't be able to install the sensor in the room. In that case, is there an alternative? \$\endgroup\$ – Shuo Mar 7 '14 at 8:10

Not the answer you're looking for? Browse other questions tagged or ask your own question.