• 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.

PIR sensor behind glass?

Scheduled Pinned Locked Moved Hardware
65 Posts 16 Posters 93.4k Views 19 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.
  • C Offline
    cowboysdude Module Developer
    last edited by Sep 3, 2016, 1:30 PM

    That’s another great way to do it! :) Where did you get them from?

    1 Reply Last reply Reply Quote 0
    • Y Offline
      yo-less Module Developer @dmcinnes
      last edited by Sep 3, 2016, 1:31 PM

      @dmcinnes It’s great to hear that they’re working on an external 5v power supply, this means it should be possible to use them on the Pi. It would be really nice if you could try hooking them up to the Pi to see if they’re acting up once attached to the Pi’s pins. I’ll probably try to get one as well if you can confirm they’re working on the Pi as well.

      1 Reply Last reply Reply Quote 1
      • Y Offline
        yo-less Module Developer @dmcinnes
        last edited by Sep 3, 2016, 1:32 PM

        @cowboysdude: You’re welcome :)

        Also, have a look at this post:

        dmcinnes said in PIR sensor behind glass?:

        Another possibility: I ordered a couple of these $2 microwave radar motion detectors to see if they will work behind my glass. Still waiting to receive them though:

        http://m.ebay.com/itm/1pc-5-8GHZ-Microwave-Radar-Sensor-6-9M-Smart-Switch-for-Home-Control-/131864712562?txnId=1245760396003

        More details:
        http://www.cnx-software.com/2016/04/04/tiny-microwave-radar-module-detects-movements-up-to-9-meters-away-for-2/amp/

        1 Reply Last reply Reply Quote 0
        • D Offline
          dmcinnes Module Developer
          last edited by Sep 9, 2016, 7:29 AM

          Finally got around to testing on the PI’s 5v power (I’ve busy being sick) and seems to work fine!
          Next I’m going to hook up to the GPIO and see if I can get the whole thing running together.

          1 Reply Last reply Reply Quote 0
          • D Offline
            dmcinnes Module Developer
            last edited by Sep 17, 2016, 9:08 PM

            Now that I have time I’ve finally set up the microwave sensor on my mirror. Works like a charm!
            The sensor’s data line goes high to 3.3v when it detects motion and stays high for about 30 seconds. It’s set up on one of the 5v outputs. I’ve put some foil around it to help it be a bit more directional since the sensor is so sensitive; I sit under and to the right of my mirror all week and I don’t want it it trigger all the time. It helps somewhat.

            C 1 Reply Last reply Sep 19, 2016, 8:54 PM Reply Quote 0
            • A Offline
              amcolash
              last edited by Sep 18, 2016, 6:21 PM

              I used some cardboard and then made a little housing for my PIR under the bottom of the mirror. It is a little ugly, but hey this whole project for me was to make something cool (not necessarily beautiful)!

              I did a few layers of cardboard between the sensor and the front to limit the viewing angles and for my needs it is perfect :)

              1 Reply Last reply Reply Quote 0
              • C Offline
                Cato Module Developer @dmcinnes
                last edited by Sep 19, 2016, 8:54 PM

                @dmcinnes Would you mind share some code? :)

                D C 2 Replies Last reply Sep 19, 2016, 11:21 PM Reply Quote 0
                • D Offline
                  dmcinnes Module Developer @Cato
                  last edited by Sep 19, 2016, 11:21 PM

                  @Cato just the regular PIR sensor mirror code works fine! The data pin triggers in the same way as a PIR sensor.

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cowboysdude Module Developer @Cato
                    last edited by Sep 21, 2016, 12:09 PM

                    @Cato said in PIR sensor behind glass?:

                    @dmcinnes Would you mind share some code? :)

                    https://github.com/cowboysdude/Pir-Sensor

                    N 1 Reply Last reply Jan 20, 2017, 7:18 PM Reply Quote 1
                    • ? Offline
                      A Former User
                      last edited by Oct 25, 2016, 2:50 PM

                      hmm… some questions if you would not mind.

                      Ive just ordered 2 sensors .

                      I need to know what plugs in to what to feed in to the chips (im guessing the sensors i need? please explain what i am missing… and what connects in to the Raspberry PI.

                      Also note the second i want to have outside the home and set up to a facial recog module, and comand it to open the door via face and voice confirm if possibl.

                      And how this connects to the a

                      D 1 Reply Last reply Oct 30, 2016, 8:18 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 4 / 7
                      • 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