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.7k 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.
    • rchaseR Offline
      rchase @Fonfon
      last edited by rchase

      @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

        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 Reply Quote 0
        • B Offline
          bberg115
          last edited by

          @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

            @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

              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