whenever it detects any motion.. it should record the footage and send the email...
My using PIR sensor for this...
and i dont want to use camera module..as its too costly...So i have decided to use webcam..
so can anyone tell me how to use webcam in rpi...
Also please help with the code and connections... if possible