Web cam also can use as a motion detector read for the following step:
1. First you have to install your web cam (if you still haven't install). if you lost the software, here are links to download the drivers for some of the most common web-cam vendors :
Creative LabsLogitechLabtecD-Link 2.Secondly download and install the software
Dorgem of the motion detector and follow the step below.
3.Launch Dorgem and select your Webcam from the Camera selection drop-down list.

4.Click the Preview button to display the view your webcam has. Physically adjust the camera to face the area you want to monitor.


5. Click the
Source button and make any adjustments to the
Brightness,
Contrast and/or other settings. Click
OK when you’re happy with the results.

6.Click the
Options button

7. Place a check in the box labeled
Use motion detection. Certain Webcams (most often Labtec) can require Dorgem to “reconnect” after a certain period of no motion being detected. For now leave this box unchecked. If you notice that your Webcam isn’t capturing any images even though it should have, revisit this section and place a check in the box. It should be noted that if you do need to use this setting, your cam will likely take a picture every time Dorgem “reconnects” to it, so try using 5 minute (or higher) intervals. Otherwise you’ll end out with a LOT of pictures, most of which won’t have captured actual “motion”.

8. Click
OK after you have enabled motion detection to return to the main Dorgem window. Now you’ll need to create a ‘profile’ - which Dorgem refers to as
Storage events. Click the
Store settings button to create an event.

9. Choose
File and click
OK
10. Enter a
Name: for this event, make sure
Enable is ticked, and then set an interval. Since you’ll be using motion detection, you probably want to capture images fairly “closely together” - so try 1 or 2 seconds. If you know for certain that this camera will detect a lot of motion (your camera faces an area with a lot of movement) you may want to set this somewhat higher. This setting can always be changed later, so experiment a bit. Click the
… button next to
Filename:

11.After that create a file name and
save it.

12.Click
Ok

13. Click
Close to return to the main Dorgem window

14. Wave your hand in front of the camera. Go take a look...
15. If it didn’t work, start again at step 3 and double-check everything.