This is an old revision of the document!
A simple device implemented using an Arduino which plays a sound whenever a person enters a room. The device, which is to be positioned at the entrance of a room, utilizes infrared sensors to do this. The device only plays a sound when it detects a person entering.
The device uses 2 infrared sensors and an infrared emitter to detect movement. The sensors detect the infrared reflection reflecting off an object passing in front of them. The device is able to tell the direction of movement of the object depending on which infrared sensor gets triggered first. A short sound will be played by the use of an active buzzer only when detecting an entry.
Notes:
I tried to save money on components by making my project from the spare parts I got from colleagues. It took me a long time to diagnose the various issues that arose due to this. An example of this is the difference in sensitivity and detection range of the 2 IR sensors. If I were to work on another Arduino project in the future, I will definitely be buying the needed components beforehand and try to minimize improvisation.