NodeMcu ESP8266 with PIR motion sensor

Hi!!

I’m trying to use a PIR motion sensor with a NodeMcu esp8266 but the sensor report at every 5-10 seconds a HIGH value.

For example, this does not happen when I am using a arduino nano with the same sketch.

Has anyone had the same problem? How to solve this?

Thank´s.

Are you sure this is an HA problem? Don’t be offended but did you double check the pin assignments when you moved the sketch from Nano to NodeMcu? I’ve not used a PIR sensor with my esp8266 though so someone else may be better placed to help…

I know it’s not a HA problem.
But I think more people use this setup and had hope that someone could help me.

I do not be offended, yes, I double check the pin and I use the others pins to see the results. Are the same :frowning2:

For now I solved the problem using a pir sensor working at 3.3v