iSentry!

Use iSentry app to instantly turn your iPhone/iPod touch/iPad into a motion-sensing security camera. Just launch iSentry, focus your iPhone camera on the spot you want to monitor, and prepare to receive a photo should any motion activity trigger the iPhones camera. However when enabled, the video recording will be performed at lower frame rate which might have noticeable difference in video quality.