Test it

Now its testing time. The Pi looks for the two sensor inputs: the first one is the magnetic door switch, when that opens it knows that someone is entering or leaving. The PIR sensor is used to tell what side of the door they're on - that's what determines which WAV to play.

Here's a little video of my roommate trying out both entering and leaving:
Last updated on 2015-05-04 at 04.27.56 PM Published on 2012-12-20 at 07.35.26 AM