Wed Apr 29, 2020 9:22 am
Hi.
So assuming you have the pir sensor connected up correctly and you have gone through the set up procedure ,
I would suggest you use a different gpio pin , try 16,20,21 as they don't have any other functions assigned to them , were as gpio 4 is also the 1-wire interface which can cause problems if it is enabled.
One point , if you are following tutorials be aware some use a different make/version of the sensor which has the Vcc and ground pins reversed, so check your actual sensor to see which is which and don't blindly follow the tutorial.
If after doing this you still cant get it to work post a picture showing how you have it connected and the back of your sensor.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported