• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Problem with my pir sensor

Scheduled Pinned Locked Moved General Discussion
6 Posts 4 Posters 4.5k Views 5 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    Fonfon
    last edited by Apr 9, 2017, 4:24 PM

    Hi

    I have a pir installed but unfortunately the screen never goes into standby,

    The module MMMpirSsensor is nevertheless well installed I use the output gpio 22
    If it comes from the pir or elsewhere?
    thank you in advance

    R 1 Reply Last reply Apr 9, 2017, 5:11 PM Reply Quote 0
    • R Offline
      rchase @Fonfon
      last edited by rchase Apr 9, 2017, 5:12 PM Apr 9, 2017, 5:11 PM

      @Fonfon I don’t have a PIR sensor for my Magic Mirror yet, but I was just reading yesterday about problems with the PIR and Raspberry Pi 3

      Apparently, the PIR gets interference from the Wireless chip on the Raspberry Pi 3 and it causes it to give bad readings, even the Adafruit site has a note about it:

      https://www.adafruit.com/product/189

      “PIR sensors and the Raspberry Pi 3 sometimes don’t get along - if you’re having false trigger reports, make sure the PIR Sensor is far away from the Pi 3”

      Here is another possible solution - this guy used some kind of interference blocker on the wire, check it out:

      https://helentronica.com/2016/01/11/magic-mirror-with-motion-detector/

      1 Reply Last reply Reply Quote 0
      • F Offline
        Fonfon
        last edited by Apr 10, 2017, 3:57 PM

        HI

        thanks for your answering i put a ferrite bead near gpio connector but my output 15 gpio 22 is always high
        so my screen is always turn on .
        i don’t why …
        Perhaps my pir is broken because the first time I plugged in I reversed the power supply…

        M 1 Reply Last reply Apr 30, 2017, 10:25 AM Reply Quote 0
        • B Offline
          bberg115
          last edited by Apr 16, 2017, 2:49 PM

          @Fonfon Did you try to adjust the resistance of the PIR?

          1 Reply Last reply Reply Quote 0
          • M Offline
            maxtone66 @Fonfon
            last edited by Apr 30, 2017, 10:25 AM

            @Fonfon I’m in the same case of you, my screen don’t turn off.
            I was wondering if my PIR wasn’t broken but I wanted to check it before.

            So before changing your PIR you can test it by a simple python script. I found this (in french) : http://mycoolpizza.blogspot.fr/2013/05/raspberry-pi-utiliser-un-capteur-de_29.html?m=1

            1 Reply Last reply Reply Quote 0
            • F Offline
              Fonfon
              last edited by Apr 30, 2017, 2:48 PM

              Hi,

              I tested my pir with my multimetre I just disconnected the output and testing directly on the pine I saw that my output always remained high.
              I changed my pir now all works perfectly

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy