Wide Angle PIR (28032) Not Working
            
                            
                                  in Accessories             
        
                    Hi All -
I'm hoping previous users of the wide angle PIR can help me troubleshoot my issue. I'm trying upgrade my current PIR (from adafruit, with a 120 degree range) with the 28032. The only issue is, I can't get the wide angle sensor to sense anything. My program runs successfully using my old adafruit sensor, but when I swap in the wide angel, it seems like there's no output from the sensor. My project uses a Huzzah ESP8266 running Arduino. The 28032 is running on 5V and the OUT pin goes to pin 12 which is also tied to a 22K pulldown resister (for an interrupt service routine that I'm running). Again, using the adafruit sensor, this works, but the wide angle does not. I've read the datasheet and from what I can tell, I'm doing everything correctly. Does anyone have any insight? Thanks!
                            I'm hoping previous users of the wide angle PIR can help me troubleshoot my issue. I'm trying upgrade my current PIR (from adafruit, with a 120 degree range) with the 28032. The only issue is, I can't get the wide angle sensor to sense anything. My program runs successfully using my old adafruit sensor, but when I swap in the wide angel, it seems like there's no output from the sensor. My project uses a Huzzah ESP8266 running Arduino. The 28032 is running on 5V and the OUT pin goes to pin 12 which is also tied to a 22K pulldown resister (for an interrupt service routine that I'm running). Again, using the adafruit sensor, this works, but the wide angle does not. I've read the datasheet and from what I can tell, I'm doing everything correctly. Does anyone have any insight? Thanks!

                            
Comments
/* * PIR sensor tester */ int ledPin = 0; // choose the pin for the LED int inputPin = 15; // choose the input pin (for PIR sensor) int pirState = LOW; // we start, assuming no motion detected int val = 0; // variable for reading the pin status void setup() { pinMode(ledPin, OUTPUT); // declare LED as output pinMode(inputPin, INPUT); // declare sensor as input Serial.begin(115200); } void loop(){ val = digitalRead(inputPin); // read input value if (val == HIGH) { // check if the input is HIGH digitalWrite(ledPin, HIGH); // turn LED ON if (pirState == LOW) { // we have just turned on Serial.println("Motion detected!"); // We only want to print on the output change, not state pirState = HIGH; } } else { digitalWrite(ledPin, LOW); // turn LED OFF if (pirState == HIGH){ // we have just turned of Serial.println("Motion ended!"); // We only want to print on the output change, not state pirState = LOW; } } }Did you wait a least 40 seconds for warm-up time?
Was the LED on during warm-up?
Did you try different sensitivity setting, (pot)?
Did you try the different switch settings. (Night/All Time)?
http://simplytronics.com/products/File:ST-00031-ST-00081--PIR-Sensor-Arduino-V1.0.zip