PIR Motion Sensor Hookup Guide
Contributors:
jimblom
Example Circuit
The circuit for this example is about as simple as it gets. Grab three jumper wires and insert them into the JST connector. It gets a little tight, but they should all be able to fit in there.
Connect the power (red) and ground (white) wires up to 5V [1] and GND respectively. Then connect the black alarm wire to Arduino pin 2.
We'll use the internal pull-up resistor on D2 to complete the circuit. Whenever the sensor is inactive, the pin should read high. When motion is detected, the sensor will pull D2 low.