Hi, I have a raspi B and have connected a cheap ebay PIR sensor like the one in this article http://www.raspberrypi-spy.co.uk/2013/0 ... pi-part-1/
and also the raspi camera board.
I use the code in the linked article to detect motion and take a photo, very similar to the code here
One problem: the PIR is also triggered when I access the pi over wifi (I have plugged in a small usb wifi module) and do something, like navigate to the folder of camera images. This happens every time. I have tried changing the two hardware knobs on the PIR (sensitivity and time) but the problem is still there. If I increase the time knob much the PIR stops detecting anything. If I decrease it again I'm back with the described problem. Changing the sensitivity knob makes no difference.
I have connected the PIR directly to the raspi (5V, ground, and and GPIO 8). Do I need to put something inbetween? A resistor? If so what value?