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

    @sundberg84

    The lens in your photo doesn't appear to match the lens in the ebay listed where you got it from. The lens in the ebay listing is the kind I have, which I'm not happy with. I hope you get yours working, as it would be nice to know if your lens works better than mine.

    sundberg84S Offline
    sundberg84S Offline
    sundberg84
    Hardware Contributor
    wrote on last edited by
    #77

    @NeverDie thanks for your tips!
    Will try it out and let you know about the lens.

    Controller: Proxmox VM - Home Assistant
    MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
    MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
    RFLink GW - Arduino Mega + RFLink Shield, 433mhz

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

      I just now threw together a primitive barebones breakout board for the AM612:
      0_1496168944700_am612_top.png 0_1496168961769_am612_bottom.png

      It wastes a lot of space because of the large SR501 lens cover that it's meant to go with. Also, it's really just "Plan B", as I'm hoping Version 1 of NCA78's PIR shield will work.

      Nonetheless, if anyone wants the PCB files for my primitive breakout board, I can post them.

      sundberg84S 1 Reply Last reply
      1
      • NeverDieN NeverDie

        I just now threw together a primitive barebones breakout board for the AM612:
        0_1496168944700_am612_top.png 0_1496168961769_am612_bottom.png

        It wastes a lot of space because of the large SR501 lens cover that it's meant to go with. Also, it's really just "Plan B", as I'm hoping Version 1 of NCA78's PIR shield will work.

        Nonetheless, if anyone wants the PCB files for my primitive breakout board, I can post them.

        sundberg84S Offline
        sundberg84S Offline
        sundberg84
        Hardware Contributor
        wrote on last edited by sundberg84
        #79

        @NeverDie - well both modules draw 12uA and changes to 111uA on motion... reading on VCC. That would suggest they are working... strange I cant get an interupt then... I also see the battery voltage in motion and 0v when not on signal out... so thanks for the tips... the module is working. I just need to figure out why it doesnt trigger the interrupt.

        I will work some more on this later... only thing that can trigger a interrupt is me touching the metal pinheader. Tried adding a capcitor but no luck.

        Controller: Proxmox VM - Home Assistant
        MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
        MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
        RFLink GW - Arduino Mega + RFLink Shield, 433mhz

        NeverDieN 1 Reply Last reply
        0
        • sundberg84S sundberg84

          @NeverDie - well both modules draw 12uA and changes to 111uA on motion... reading on VCC. That would suggest they are working... strange I cant get an interupt then... I also see the battery voltage in motion and 0v when not on signal out... so thanks for the tips... the module is working. I just need to figure out why it doesnt trigger the interrupt.

          I will work some more on this later... only thing that can trigger a interrupt is me touching the metal pinheader. Tried adding a capcitor but no luck.

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

          @sundberg84 said in PIR am312:

          @NeverDie - well both modules draw 12uA and changes to 111uA on motion... reading on VCC. That would suggest they are working... strange I cant get an interupt then... I also see the battery voltage in motion and 0v when not on signal out... so thanks for the tips... the module is working. I just need to figure out why it doesnt trigger the interrupt.

          I will work some more on this later... only thing that can trigger a interrupt is me touching the metal pinheader. Tried adding a capcitor but no luck.

          Maybe your circuit needs a pull-up or pull-down resistor on the interrupt pin to make it work? That's what it sounds like.

          sundberg84S 1 Reply Last reply
          0
          • NeverDieN NeverDie

            @sundberg84 said in PIR am312:

            @NeverDie - well both modules draw 12uA and changes to 111uA on motion... reading on VCC. That would suggest they are working... strange I cant get an interupt then... I also see the battery voltage in motion and 0v when not on signal out... so thanks for the tips... the module is working. I just need to figure out why it doesnt trigger the interrupt.

            I will work some more on this later... only thing that can trigger a interrupt is me touching the metal pinheader. Tried adding a capcitor but no luck.

            Maybe your circuit needs a pull-up or pull-down resistor on the interrupt pin to make it work? That's what it sounds like.

            sundberg84S Offline
            sundberg84S Offline
            sundberg84
            Hardware Contributor
            wrote on last edited by
            #81

            @NeverDie - A good idea again... just took for granted that was handeled in the sensor since im used to that with the other pirs... silly me. I will give it a shot later.

            Controller: Proxmox VM - Home Assistant
            MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
            MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
            RFLink GW - Arduino Mega + RFLink Shield, 433mhz

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

              I got my am312 and I confirm the blind spots and a range of about 3 meters. I'll have to try to use a bigger lens from the 501 and see what happens.
              PS I also compared side by side with a radar sensor and have to say I am impressed with the sensibility and the "all-around" visibility

              1 Reply Last reply
              1
              • sundberg84S sundberg84

                @NeverDie - A good idea again... just took for granted that was handeled in the sensor since im used to that with the other pirs... silly me. I will give it a shot later.

                maghacM Offline
                maghacM Offline
                maghac
                wrote on last edited by
                #83

                @sundberg84 Did you get it working? I have exactly the same problem.

                I added a 10K pullup resistor but still no luck.

                sundberg84S 1 Reply Last reply
                0
                • maghacM maghac

                  @sundberg84 Did you get it working? I have exactly the same problem.

                  I added a 10K pullup resistor but still no luck.

                  sundberg84S Offline
                  sundberg84S Offline
                  sundberg84
                  Hardware Contributor
                  wrote on last edited by
                  #84

                  @maghac - no and I didnt have time to try the pulldown either. My next step would be a transistor. I see a current reaching 114uA when triggered so the module works but maybe 114uA isnt enough to trigger the interupt? Someone that knows?

                  Controller: Proxmox VM - Home Assistant
                  MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                  MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                  RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                  NeverDieN 1 Reply Last reply
                  0
                  • sundberg84S sundberg84

                    @maghac - no and I didnt have time to try the pulldown either. My next step would be a transistor. I see a current reaching 114uA when triggered so the module works but maybe 114uA isnt enough to trigger the interupt? Someone that knows?

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

                    @sundberg84 said in PIR am312:

                    @maghac - no and I didnt have time to try the pulldown either. My next step would be a transistor. I see a current reaching 114uA when triggered so the module works but maybe 114uA isnt enough to trigger the interupt? Someone that knows?

                    I never actually hooked mine up to an atmega328p. I just had it in a test jig, where an nfet turned on/off an LED based on the voltage of the middle pin. That worked fine.

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

                      So I soldered an am612 to NModule PIR shield, put an SR501 lens but unfortunately I experience a similar behavior with some blind zones where I can move with the PIR bothering to trigger. I'll do more tests (especially when playing with sensitivity, it's supposed to be at max value now) but it is disappointing at the moment :(

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

                        If you move across its field of view it triggers without many problems but when moving towards the sensor in those "blind spots" you can get almost in front of it without being detected. Agreed it is very annoying

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

                          I never actually played around with SR501's. Do they have the same type of "blind spot" issue? I know that for professional grade motion detectors, it's not uncommon to have two PIR's inside them. I had always thought it was for avoiding false alarms, but maybe it's more of a coverage issue.

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

                            The SR501 I tested at home has actually better range and coverage. I am now testing the radar sensors and they seems interesting as they "see" through walls too :D

                            PS of course radar sensors are good only for powered sensors

                            Nca78N 1 Reply Last reply
                            1
                            • gohanG gohan

                              The SR501 I tested at home has actually better range and coverage. I am now testing the radar sensors and they seems interesting as they "see" through walls too :D

                              PS of course radar sensors are good only for powered sensors

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

                              @gohan said in PIR am312:

                              The SR501 I tested at home has actually better range and coverage. I am now testing the radar sensors and they seems interesting as they "see" through walls too :D

                              PS of course radar sensors are good only for powered sensors

                              Yes radar sensors seem great, I have received one (5.8GHz version with 2 PCB boards) and ordered RCWL-0516. I will test them for detection through my false ceiling, but I'm not sure they will be stable when powered using HLKs ?

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

                                there is only one way to find out. :D

                                Nca78N 1 Reply Last reply
                                0
                                • gohanG gohan

                                  there is only one way to find out. :D

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

                                  @gohan said in PIR am312:

                                  there is only one way to find out. :D

                                  Yes and I will but I have so much MySensors stuff to finish first, I will have to stay frustrated about that for some time :D

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

                                    I received the generic lens (on the right), which looks different than the SR501 lens (on the left):
                                    0_1497290076309_new_pir_lens.jpg
                                    I don't know if it's better or worse, as I haven't yet received my am612's. The good news, though, is that it's a very good fit for my primitive breakout board (shown in the photo on the right). I haven't yet received NCA78's breakout board, but I believe we're using the same spacing on our lens attachment holes.

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

                                      I received my lenses too today. In black color (but should not change the behavior, it's just for aesthetics).
                                      Exactly the same lens design as the SR501 version. i hope your version will give better results as it's very different.

                                      I'll still install some AM612 PIRs in my home and see if the "problem" is really one when installed on ceiling to detect presence in a room. Else the next solution is to make a board with 2 PIR's with different orientation/rotation.

                                      NeverDieN 1 Reply Last reply
                                      0
                                      • Nca78N Nca78

                                        I received my lenses too today. In black color (but should not change the behavior, it's just for aesthetics).
                                        Exactly the same lens design as the SR501 version. i hope your version will give better results as it's very different.

                                        I'll still install some AM612 PIRs in my home and see if the "problem" is really one when installed on ceiling to detect presence in a room. Else the next solution is to make a board with 2 PIR's with different orientation/rotation.

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

                                        @Nca78

                                        Have you tried mounting either the am612 or the lens at different heights? It seems we're shooting in the dark a little bit as to whether it's even focused as it should be or not.

                                        It's not clear why this sensor would be worse than others in terms of blind spots. Aren't blind spots an optics issue?

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

                                          For anyone who is interested in this topic, I posted some comments about the am612 on this other thread: https://forum.mysensors.org/topic/5986/pir-am312-412-612

                                          It may have some relevance to the am312.

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


                                          12

                                          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