Virtuabotix PIR Motion Sensor Pinout and coding guide

PIR Pin-out and Getting Started Guide

Making Adjustments

Left Knob Controls the timing between alerts.

Full left is 2 Seconds between pulses
Full right is 300 Seconds between pulses

Right Knob Controls the center of best detection.

Full left is about 3M Center Detection
Full right is about 7M Center Detection

Guides & Datasheets

Pir_datasheet[1]

 

PIR_NPN_CIRCUIT[1]

Varying R2 will change the current limit to your IO pin. 

“Simplest” Possible Code (Short answer: You don’t always need code)

void setup()
{
pinMode(2, INPUT);
}

void loop()
{
if(digitalRead(2))
{
/*Intruder detected now do something it*/
}

}
No comments yet.

Leave a Reply