Read the statement by Michael Teeuw here.
PIR with a relay module
-
So, as in this thread I am trying to use a PIR sensor that powers off my screen via a relay. I’ve had no luck so far. The module MMM-PIR-sensor works nicely as it should, as long as I don’t use
relayPINin the config.js. I also tried doing that via external python scripts, but somehow the relay doesn’t get triggered. Well, it clicks extactly once and that’s it.Has anyone managed to use a PIR sensor with a relay on a Raspberry Pi 3 B? If so, how did you do that?
Edit: Btw,
gpio -g write 27 0orgpio -g write 27 1do absoloutly nothing. Wiringpi v 2.44 is installed.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login