PIR Sensor problem

Hello, so i found the pir sensor code on this site. Link : Arduino Playground - PIRsense .
But gotta ask where do i connect the +ve of the sensor ? 5v or 3v3 ? Please help..

Hi, What sensor do you have?? If it has 3 pins, Vcc, GND and Signal, then Vcc is usually +5V.

take a look here: http://arduino-info.wikispaces.com/BrickStarterSet

If your sensor looks like the Motion Sensor there, click on the sensor picture. The following page has information and code to test it (scroll down towards bottom)..