Comments on: Arduino with PIR Motion Sensor https://randomnerdtutorials.com/arduino-with-pir-motion-sensor/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Mon, 17 Jun 2024 13:39:43 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Sara Santos https://randomnerdtutorials.com/arduino-with-pir-motion-sensor/#comment-926772 Mon, 17 Jun 2024 13:39:43 +0000 http://randomnerdtutorials.com/?p=3684#comment-926772 In reply to Steve R.

Hi.
Thanks for the suggestion.
I’ll take a look at those models.

Regards,
Sara

]]>
By: Steve R https://randomnerdtutorials.com/arduino-with-pir-motion-sensor/#comment-926297 Sun, 16 Jun 2024 17:44:53 +0000 http://randomnerdtutorials.com/?p=3684#comment-926297 The PIR shown is used by many projects. I got a bunch of these to use for my ESPHome projects around the house, and all of them fail miserably, with false positives. Every few seconds with some of the sensors, to every few minutes for the better ones. If you search for this sensor, people complain about how useless they are, and the frustrations and waste of money. No amount of pull-up or pull-down resistors, added capacitors are going to fix it. I found a place they suggested to use the Panasonic EKMB or EKMC series PIR’s. You can buy these from DigiKey or Mouser. They are a little more. I got some of them, and they work perfectly. The one I got said the data pin would be VIN minus half a volt. So for my ESP32, I powered it with 3.3 volts so I wouldn’t overpower the data line to my ESP32.

]]>
By: Simon https://randomnerdtutorials.com/arduino-with-pir-motion-sensor/#comment-871606 Sun, 12 Nov 2023 11:00:13 +0000 http://randomnerdtutorials.com/?p=3684#comment-871606 Hello, I need an application with a very low sensitivity. I need a sensor that does not detect movement at a distance larger than 10 centimetres. Is it possible to do that using potentiometer or should I look for different type of sensor?

Thank you.

]]>
By: Maren Wallin Hansen https://randomnerdtutorials.com/arduino-with-pir-motion-sensor/#comment-814820 Thu, 02 Feb 2023 09:17:46 +0000 http://randomnerdtutorials.com/?p=3684#comment-814820 In reply to Rui Santos.

how do you do it?
i would like to know 🙂

]]>
By: Sara Santos https://randomnerdtutorials.com/arduino-with-pir-motion-sensor/#comment-755720 Sun, 05 Jun 2022 16:13:18 +0000 http://randomnerdtutorials.com/?p=3684#comment-755720 In reply to Jack.

Hi.
If you have a multimeter, check the output from the PIR motion sensor. Check if it changes to LOW and HIGH on the right times. Also, double-check if everything is connected properly.
Regards,
Sara

]]>
By: Jack https://randomnerdtutorials.com/arduino-with-pir-motion-sensor/#comment-755686 Sun, 05 Jun 2022 13:24:47 +0000 http://randomnerdtutorials.com/?p=3684#comment-755686 Hello
I am using the code provided and followed the schematic but the LED stays lit all the time, no matter the position of the potentiometers. What could the problem be. It is all new parts from a beginner kit as I am a beginner. Not sure how to trouble shoot this. Any advice?
Thanks
jack

]]>
By: turuysal https://randomnerdtutorials.com/arduino-with-pir-motion-sensor/#comment-594143 Fri, 23 Apr 2021 10:53:59 +0000 http://randomnerdtutorials.com/?p=3684#comment-594143 In reply to priyadarshini.

With the rcwl-0516 sensor, it is more possible to find a creature that can move partially in the debris.

]]>
By: dierickx https://randomnerdtutorials.com/arduino-with-pir-motion-sensor/#comment-587025 Fri, 09 Apr 2021 12:19:04 +0000 http://randomnerdtutorials.com/?p=3684#comment-587025 hi
good project
is someone able to help me on connecting an extra LDR (Light Detection) on the PIR Board ?
I try to but it is not working
thanks

]]>
By: shannon https://randomnerdtutorials.com/arduino-with-pir-motion-sensor/#comment-492333 Sun, 30 Aug 2020 14:38:10 +0000 http://randomnerdtutorials.com/?p=3684#comment-492333 Hi,can you make it work without the wire connecting to the arduino,and use batteries instead?

]]>
By: Sara Santos https://randomnerdtutorials.com/arduino-with-pir-motion-sensor/#comment-363125 Mon, 22 Apr 2019 10:38:26 +0000 http://randomnerdtutorials.com/?p=3684#comment-363125 In reply to Mark.

Hi Mark.
Inside the following if statement, add the code to control the strip.
if (state == HIGH){
Serial.println(“Motion stopped!”);
state = LOW; // update variable state to LOW
//your code to control the strip

What type of strip do you want to activate? Addressable or just an RGB LED strip?
We have a tutorial on how to control an addressable RGB LED strip with Arduino: https://randomnerdtutorials.com/guide-for-ws2812b-addressable-rgb-led-strip-with-arduino/

If want to control a simple LED strip, we only have a tutorial with the ESP8266. You can follow this tutorial to figure out how to wire the strip to the Arduino (it shows how to do with an ESP32/ESP8266, but the logic is the same: https://randomnerdtutorials.com/esp32-esp8266-rgb-led-strip-web-server/

The code to control the strip is the same as controlling an RGB LED. You can read our tutorial about the RGB LED with Arduino here: https://randomnerdtutorials.com/electronics-basics-how-do-rgb-leds-work/

I hope this helps.
Regards,
Sara

]]>