I am working on this project, which i need to connect a PIR sensor to the arduino, when the PIR senses someone, it will control the servo to move to that direction, then communicates with processing that will send a command to a webcam and capture an image.
I am just trying to work on different parts first and then integrate them together in the end.
I was just trying to test to see if the sensor work with an LED, but for some reason it does not work.
I also dont know how I can communicate Processing with Arduino.
I was just trying to test to see if the sensor work with an LED, but for some reason it does not work.
Are you sure that the output of the PIR has sufficient drive to light an LED?
Is it outputting correctly when connected to a voltmeter or other sensitive device?
Remember that the PIR may stay triggered for a while, making it hard to work with. Try putting it on the far side of your breadboard, facing away from you. Let it settle. Then put your hand over the top to trigger. That way every time you turn to type in some code or to grab the soldering iron you don't retrigger.