Skip to content
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. PIR am312
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

PIR am312

Scheduled Pinned Locked Moved Hardware
96 Posts 13 Posters 45.6k Views 10 Watching
  • 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.
  • NeverDieN NeverDie

    Me too. Based on AWI's report above, I just went ahead and ordered them.

    NeverDieN Offline
    NeverDieN Offline
    NeverDie
    Hero Member
    wrote on last edited by
    #33

    @NeverDie said in PIR am312:

    Me too. Based on AWI's report above, I just went ahead and ordered them.

    I received mine yesterday: so, 16 days from order until receipt from banggood.

    NeverDieN 1 Reply Last reply
    0
    • NeverDieN NeverDie

      @NeverDie said in PIR am312:

      Me too. Based on AWI's report above, I just went ahead and ordered them.

      I received mine yesterday: so, 16 days from order until receipt from banggood.

      NeverDieN Offline
      NeverDieN Offline
      NeverDie
      Hero Member
      wrote on last edited by NeverDie
      #34

      @AWI Thank you for your photo. Without it, I'm not sure how I would have deduced the correct pinout.

      So far I've only powered it up--and with merely a DMM attached to the output pin--but as a quick test it seems to work.

      Nca78N 1 Reply Last reply
      0
      • NeverDieN NeverDie

        @AWI Thank you for your photo. Without it, I'm not sure how I would have deduced the correct pinout.

        So far I've only powered it up--and with merely a DMM attached to the output pin--but as a quick test it seems to work.

        Nca78N Offline
        Nca78N Offline
        Nca78
        Hardware Contributor
        wrote on last edited by
        #35

        @NeverDie said in PIR am312:

        @AWI Thank you for your photo. Without it, I'm not sure how I would have deduced the correct pinout.

        There are some tiny '+' and '-' signs on the breakout board near the pins but they are barely visible.

        NeverDieN 1 Reply Last reply
        0
        • Nca78N Nca78

          @NeverDie said in PIR am312:

          @AWI Thank you for your photo. Without it, I'm not sure how I would have deduced the correct pinout.

          There are some tiny '+' and '-' signs on the breakout board near the pins but they are barely visible.

          NeverDieN Offline
          NeverDieN Offline
          NeverDie
          Hero Member
          wrote on last edited by NeverDie
          #36

          @Nca78 said in PIR am312:

          @NeverDie said in PIR am312:

          @AWI Thank you for your photo. Without it, I'm not sure how I would have deduced the correct pinout.

          There are some tiny '+' and '-' signs on the breakout board near the pins but they are barely visible.

          On mine I don't see any pinout markings at all.

          I used a uCurrent Gold to measure the current, and and at 3.3v my measurements came out at 13.1ua in standby mode and 14.3ua at "motion detected" mode. I haven't tested it for false positives yet (it may take a while to gather the data on that), but so far I'm impressed. Nice find!

          1 Reply Last reply
          0
          • NeverDieN Offline
            NeverDieN Offline
            NeverDie
            Hero Member
            wrote on last edited by NeverDie
            #37

            So, I made a little test jig to try it out. It seems to have roughly 4 detection "zones" with fairly wide gaps between them where it's more or less blind. Also, if I walk straight at it from the front, it doesn't detect me until I'm about 3 feet away. So, although I'm no expert, I'd say the detection coverage is kinda spotty. Maybe the small domed plastic optics are sub-optimal? Has anyone tried alternatives?

            Just thinking out loud, but maybe you can use two and by skewing their alignment try to make it so that the gaps in one are mostly covered by the detection zones of the other, and visa versa?

            Not sure how to make the best use of this yet, but I do like the very low power consumption. I think there's a pony in there somewhere, and we just need to find it.

            Anyone have ideas?

            1 Reply Last reply
            0
            • NeverDieN Offline
              NeverDieN Offline
              NeverDie
              Hero Member
              wrote on last edited by
              #38

              Did that resonate with anyone? Has anyone else observed "the problem" I described? If not, maybe I set it up wrong.

              1 Reply Last reply
              0
              • Nca78N Offline
                Nca78N Offline
                Nca78
                Hardware Contributor
                wrote on last edited by
                #39

                I have experienced similar behavior yes, didn't have time to check enough but from some directions it gave me the impression not to detect anything.
                It seemed better with lens from a SR501. I'm waiting for the PCB with am612 to be able to test with a properly aligned SR501 lens.

                NeverDieN 1 Reply Last reply
                1
                • Nca78N Nca78

                  I have experienced similar behavior yes, didn't have time to check enough but from some directions it gave me the impression not to detect anything.
                  It seemed better with lens from a SR501. I'm waiting for the PCB with am612 to be able to test with a properly aligned SR501 lens.

                  NeverDieN Offline
                  NeverDieN Offline
                  NeverDie
                  Hero Member
                  wrote on last edited by
                  #40

                  @Nca78
                  Thanks! I just now took the lens cover off an SR501 and very crudely attached it to the Banggood sensor (after first removing its cap). It seems to be an improvement. So, I expect doing a proper job of it will yield an even greater improvement.

                  Fortunately, it looks as though there's a good variety of PIR lenses on Aliexpress for cheap.

                  1 Reply Last reply
                  0
                  • gohanG Offline
                    gohanG Offline
                    gohan
                    Mod
                    wrote on last edited by
                    #41

                    the fun will be to make them fit on the sensor :)

                    NeverDieN 1 Reply Last reply
                    0
                    • gohanG gohan

                      the fun will be to make them fit on the sensor :)

                      NeverDieN Offline
                      NeverDieN Offline
                      NeverDie
                      Hero Member
                      wrote on last edited by NeverDie
                      #42

                      @gohan said in PIR am312:

                      the fun will be to make them fit on the sensor :)

                      I was thinking hot glue and a cardboard backing for prototyping, but maybe a backing which actually reflects IR (like a metal foil?) would help keep the IR bouncing around inside it more and be a good thing. Really not sure.

                      On the other hand, maybe there's a better lens which can snap onto the existing body. That would be better, at least from a hassle standpoint.

                      1 Reply Last reply
                      0
                      • gohanG Offline
                        gohanG Offline
                        gohan
                        Mod
                        wrote on last edited by
                        #43

                        maybe make a mock pcb board of a SR501 with a hole in the middle so you can attach the lens on the board and stick the am312 in the center hole

                        NeverDieN 1 Reply Last reply
                        0
                        • gohanG gohan

                          maybe make a mock pcb board of a SR501 with a hole in the middle so you can attach the lens on the board and stick the am312 in the center hole

                          NeverDieN Offline
                          NeverDieN Offline
                          NeverDie
                          Hero Member
                          wrote on last edited by
                          #44

                          @gohan said in PIR am312:

                          maybe make a mock pcb board of a SR501 with a hole in the middle so you can attach the lens on the board and stick the am312 in the center hole

                          Or, as a POC, just drill a hole in the middle of an SR501 board, since the lens already snaps smartly to that board.

                          Does PCB need a special kind of drill bit, like for glass or something?

                          1 Reply Last reply
                          0
                          • gohanG Offline
                            gohanG Offline
                            gohan
                            Mod
                            wrote on last edited by
                            #45

                            I didn't want to sacrifice a working sensor :D
                            PCB is quite fragile, so any sharp bits should be fine, just don't push too much.

                            1 Reply Last reply
                            0
                            • NeverDieN Offline
                              NeverDieN Offline
                              NeverDie
                              Hero Member
                              wrote on last edited by NeverDie
                              #46

                              So I guess this may mean we won't be using the bangood sensors after all. Instead we'll be buying chips and mounting them to custom PCB's, like NCA78 is doing. That is, unless there's a better lens cap that just naturally fits the body of the banggood sensor.

                              Which means I should order some of those PIR sensor IC's soon, given the long shipping lead times.

                              1 Reply Last reply
                              0
                              • gohanG Offline
                                gohanG Offline
                                gohan
                                Mod
                                wrote on last edited by
                                #47

                                It depends on how you want to use them. Maybe for some people are fine while for others they need a longer range. It is all part of the DIY "fun" :D

                                1 Reply Last reply
                                0
                                • NeverDieN Offline
                                  NeverDieN Offline
                                  NeverDie
                                  Hero Member
                                  wrote on last edited by NeverDie
                                  #48

                                  For a preliminary POC, I made a lens holder with cardboard and hot glue:
                                  0_1495565659053_lens1.jpg

                                  and drilled a 15/32" hole in the middle for the PIR element, which I shoved in the back:
                                  0_1495565134674_lens2.jpg

                                  Obviously it's still crude, but it's better than my first attempt. It also performs better. It still has spotty coverage, but not as bad as before. Obviously a more properly installed and aligned lens should perform better still.

                                  Anyhow, that's as far as I'm going to take it for now. I look forward to hearing what others might come up with, as well as their impressions about the coverage.

                                  1 Reply Last reply
                                  0
                                  • gohanG Offline
                                    gohanG Offline
                                    gohan
                                    Mod
                                    wrote on last edited by
                                    #49

                                    maybe removing the smaller lens could improve the sensor?

                                    1 Reply Last reply
                                    0
                                    • NeverDieN Offline
                                      NeverDieN Offline
                                      NeverDie
                                      Hero Member
                                      wrote on last edited by NeverDie
                                      #50

                                      I did. What you see is just the holder that the regular lens snaps onto.

                                      1 Reply Last reply
                                      1
                                      • wallyllamaW Offline
                                        wallyllamaW Offline
                                        wallyllama
                                        wrote on last edited by
                                        #51

                                        Here is my version of a holder. It is for the bigger PIR. But it holds a dhtXX, ds18b20, and a light sensor as well.

                                        0_1495566620542_PSX_20170523_140911.jpg
                                        0_1495566645730_PSX_20170523_140946.jpg

                                        1 Reply Last reply
                                        0
                                        • NeverDieN Offline
                                          NeverDieN Offline
                                          NeverDie
                                          Hero Member
                                          wrote on last edited by NeverDie
                                          #52

                                          Nice!

                                          On my holder, the sensor depth is presumably wrong from a focusing point of view--at least if the SR501 is a proper guide for how it should be done. The sensor should really be deeper into the cavity. I suppose that alone might make a meaningful improvement. Alas, I think that may call for mounting the sensor element onto a PCB, so that it sits flush on top.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          13

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular