PIR sensor setting off buzzer / speaker

Hello , I just purchased [u]Arduino - Kit Workshop Base level[/u] as of 6-21-14 . I chose Arduino UNO because I have some prior experience with C++ and really appreciate the Arduino's reference page. I evaluated myself as a novice still . I'm jumping right into my kit and could use any feedback . My first goal with the materials from the kit and a PIR sensor is to have; (in If/Then statements for now)

If Parallax PIR Motion Sensor detects Infrared light pass by Then set of Piezo Buzzer goes off for 5 seconds a 3 second pause then Repeat

If the Piezo Buzzer is going off Then PCB Push Button deactivates or snooze the Piezo Buzzer All of it stops buzzing after 5 minutes , repeats if someone walks by again

Example : Above my door frame i have Arduino mounted with the PIR sensor when someone walks in the buzzer will go off , thus alerting someone has walked in the room and the button can be pressed to turn it off .

Another is if you have a Baby child that loves to wander around the house and you need to know if they are walking into your home Office because it isn't child - proof.

I'm new to the community and look forward to being a proactive learning member and could use guidance with my Arduino UNO.

PIR sensor is a digital sensor: http://www.parallax.com/product/555-28027

To do what you want you can look to the example of button: http://arduino.cc/en/Tutorial/Button

To the buzzer feature you can take a look to the example tone that you can find you your IDE or: http://arduino.cc/en/Tutorial/Tone

Another is if you have a Baby child that loves to wander around the house and you need to know if they are walking into your home Office because it isn't child - proof.

My wife runs a licensed child care. Toddlers should not be wandering around out of site of their parent/guardian. That is asking for trouble. They have absolutely no clue what is safe or not safe. If you drop a pencil or pen on the floor and fail to "clear the area " (meaning check the floor for objects) they could find the pencil or pen and pick it up, run with it and fall down and poke their eye out. They should never be out of direct site of an adult. I can't believe I have to tell you this.

One of the perennial hot topics on the forum is how to get things happening "after a while" and then lasting "for a while". The temptation is to use delay() and indeed many of the examples use that as a means of achieving those goals.

My advice is to look at the Blink Without Delay example. Then read this thread and watch this video.

Seeing as you're a programmer already, you should easily get to grips with the approach used there.

I urge you to do this without delay :) before delay() takes hold in your mind.

Adafruit have a good pir tutorial which may help.