Skip to content
  • MySensors
  • 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/412/612

PIR AM312/412/612

Scheduled Pinned Locked Moved Hardware
31 Posts 8 Posters 14.0k Views 12 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.
  • Nca78N Nca78

    Hello, I discovered those PIR sensors on Aliexpress today.
    They are pretty cheap (2$ for AM312 module, less than 2$ a piece if you buy a lot of AM612 sensors) and all the electronic is included in the PIR sensor "can", no need to have a complex circuitry.
    AM312 is a basic type but AM612 has settings for trigger duration and sensibility. It claims to run at 2.7V and with a maximum working current of 20µA (typical 15µA). Means it could be fine on a button cell.

    Has anyone used any of the sensors (would probably be the mini am312 module) ? I'd like to know if the claims about power consumption made in the datasheets are real before I dream too much and order some am612 sensors :)

    There was a subject about the am312 here :
    https://forum.mysensors.org/topic/3658/pir-am312/1
    but it didn't go very far.

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

    @Nca78

    I finally received my ten am612 sensors. Any progress on the blind-spot issue since your last post?

    Nca78N 1 Reply Last reply
    0
    • NeverDieN NeverDie

      @Nca78

      I finally received my ten am612 sensors. Any progress on the blind-spot issue since your last post?

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

      @NeverDie sorry not yet.
      I will make a case and install one or two in my living room to see if it's a problem to detect presence. But not time yet.

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

        From looking at the X-Y sectional view in the datasheet (page 9 of http://akizukidenshi.com/download/ds/senba/Pir-Am612.pdf), I'm guessing that having a second sensor, but rotated 45 degrees relative to the first sensor, will help fill in the detection zone gaps. I'm unsure whether additional skewing of one relative to the other will be needed though, or how I would even execute that.

        @Nca78 Is sensitivity at maximum when R6 (in the reference design) is 0 ohm, or when it's 333K ohm?

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

          So, I've ordered this to see if it helps at all:
          0_1498580573823_am612v4_top.png

          0_1498580592693_am612v4_bottom.png

          The second sensor is rotated exactly 45 degrees relative to the first. I adjusted the headers so that both sets will fit into a 2.54mm pitch breadboard.

          It might (?) be that I should space them further apart so that they don't block each other's detection zones, but hopefully it won't matter much, if at all.

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

            I also wonder how well (or not) cramming more than one sensor element (rotated relative to one another) under a single lens would work? It obviously runs counter to what's intended, but it would be nice to have a total footprint that's small in size.

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

              So, perhaps this might work:
              0_1498670958234_am612v101_top.png

              0_1498670969495_am612v101_bottom.png

              Maybe even three am612's could be crammed under one lens, each rotated 30 degrees relative to the other two?

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

                Here is the am612 installed in my primitive breakout board:
                0_1498677771514_am612v1_installed.jpg
                Once I wire it up on a breadboard, I'll be testing the different IR lens I received to see whether maybe it performs any better than the lens typically used on an SR501.

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

                  Good news! I wired up my primitive breakout board on a breadboard such that it turns on a blue LED if it detects motion. I have (I think) set sensitivity to maximum by using just an 82K pulldown resistor and a 4.7uF capacitor on the SEN pin. I powered it using two AA alkaline batteries.

                  0_1498687548730_am612v1_working.jpg

                  Bottom line: Even in this half-baked breadboard prototype, it seems to perform much better than the am312 I tried earlier. I'm not even noticing any significant blind spots. :) Go figure.

                  TerrenceT 1 Reply Last reply
                  1
                  • NeverDieN NeverDie

                    Good news! I wired up my primitive breakout board on a breadboard such that it turns on a blue LED if it detects motion. I have (I think) set sensitivity to maximum by using just an 82K pulldown resistor and a 4.7uF capacitor on the SEN pin. I powered it using two AA alkaline batteries.

                    0_1498687548730_am612v1_working.jpg

                    Bottom line: Even in this half-baked breadboard prototype, it seems to perform much better than the am312 I tried earlier. I'm not even noticing any significant blind spots. :) Go figure.

                    TerrenceT Offline
                    TerrenceT Offline
                    Terrence
                    wrote on last edited by
                    #10

                    @NeverDie said in PIR AM312/412/612:

                    I'm not even noticing any significant blind spots

                    That's great news.

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

                      Attached is my attempt at a conversion of the reference schematic on page 9 of the AM612 datasheet (http://akizukidenshi.com/download/ds/senba/Pir-Am612.pdf) to a setup where the AM612 is at maximum sensitivity and minimum "on time" after being triggered.

                      Can it be further simplified?

                      0_1498834397166_Schematic for AM612 Breakout v402.pdf

                      For instance, do the 10uF capacitors any longer serve a useful purpose? Or would eliminating them be of no consequence?

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

                        I can't open your document.
                        You confirm that the test is with he double PIR PCB under one lens ?
                        I'm surprised that this work as the lens is supposed to focus the IR on the two sides of the sensor, and if you move them away of the center it should lower sensitivity.

                        NeverDieN 1 Reply Last reply
                        0
                        • Nca78N Nca78

                          I can't open your document.
                          You confirm that the test is with he double PIR PCB under one lens ?
                          I'm surprised that this work as the lens is supposed to focus the IR on the two sides of the sensor, and if you move them away of the center it should lower sensitivity.

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

                          @Nca78 said in PIR AM312/412/612:

                          I can't open your document.

                          Strange. It's an ordinary PDF. I'm even able to open it on my wife's computer.

                          You confirm that the test is with he double PIR PCB under one lens ?

                          What I tested was just a single am612 PIR under one lens. I re-tested last night to be sure, and, indeed, it seems to have excellent sensitivity and no meaningful blinds spots.

                          TerrenceT 1 Reply Last reply
                          0
                          • NeverDieN NeverDie

                            @Nca78 said in PIR AM312/412/612:

                            I can't open your document.

                            Strange. It's an ordinary PDF. I'm even able to open it on my wife's computer.

                            You confirm that the test is with he double PIR PCB under one lens ?

                            What I tested was just a single am612 PIR under one lens. I re-tested last night to be sure, and, indeed, it seems to have excellent sensitivity and no meaningful blinds spots.

                            TerrenceT Offline
                            TerrenceT Offline
                            Terrence
                            wrote on last edited by
                            #14

                            @NeverDie I can't open it either. Here is the error message.
                            0_1498846572300_upload-64a0320f-21fa-40e7-9563-88704a8a609b

                            NeverDieN 1 Reply Last reply
                            0
                            • TerrenceT Terrence

                              @NeverDie I can't open it either. Here is the error message.
                              0_1498846572300_upload-64a0320f-21fa-40e7-9563-88704a8a609b

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

                              @Terrence
                              Thanks! Not sure what's going wrong. Let's try it again from a different computer:
                              0_1498851552407_Schematic for AM612 Breakout v402.pdf
                              In case that still doesn't work, here it is as a .PNG file:
                              0_1498851733834_schematic_v402.png
                              which is large enough to be legible and will serve the purpose.

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

                                I guess answering my own question, I removed my load switch as well as all of the capacitors from my breadboard circuit, and the remaining am612 circuit still appears to function just fine. :)

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

                                  I updated the board, and it's now 23mmx24.5mm:

                                  0_1498918284155_am612_top_v405.png

                                  0_1498918295516_am612_bottom_v405.png

                                  It also has pads for an LED for range testing purposes.

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

                                    I also ordered some of these lenses:
                                    https://www.aliexpress.com/item/FREE-SHIPPING-50PCS-PIR-D203S-LHI874-LHI878-RE200B-P228-Fresnel-lens-PIR-Sensor/1295771560.html?spm=2114.01010208.3.31.Be4wmU&ws_ab_test=searchweb0_0,searchweb201602_5_10152_10065_10151_10068_10130_10084_10083_10119_10080_10082_10081_10110_10178_10136_10137_519_10111_10060_10112_10113_10155_10114_437_10154_10056_10055_10054_10182_10059_303_100031_10099_10078_10079_10103_10073_10102_10120_10052_10053_10142_10107_142_10050_10051-10120,searchweb201603_49,ppcSwitch_4&btsid=f043368c-9fc4-4f1a-ae33-850a00860ef5&algo_expid=2cec72d6-8e82-4481-92b3-9a4b26711616-4&algo_pvid=2cec72d6-8e82-4481-92b3-9a4b26711616
                                    They look a little different, so I thought them worth a try. While not plug compatible with the exist SR501-type layout, maybe they can somehow (?) grip the outside of the PCB instead, allowing an even slightly smaller PCB. If only they had manufactured the barbs facing inward rather than outward, they might have been perfect!

                                    1 Reply Last reply
                                    0
                                    • NeverDieN NeverDie

                                      I guess answering my own question, I removed my load switch as well as all of the capacitors from my breadboard circuit, and the remaining am612 circuit still appears to function just fine. :)

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

                                      @NeverDie said in PIR AM312/412/612:

                                      I guess answering my own question, I removed my load switch as well as all of the capacitors from my breadboard circuit, and the remaining am612 circuit still appears to function just fine. :)

                                      It's a somewhat surprising result, because even the cheapskate am312 sensors appear to use caps:
                                      https://www.aliexpress.com/item/Mini-IR-Pyroelectric-Infrared-PIR-Motion-Human-Sensor-Automatic-Detector-Module-high-reliability-12mm-x-25mm/32749737125.html?spm=2114.01010208.3.32.JSXzcv&ws_ab_test=searchweb0_0,searchweb201602_5_10152_10065_10151_10068_10130_10084_10083_10119_10080_10082_10081_10110_10178_10136_10137_519_10111_10060_10112_10113_10155_10114_437_10154_10056_10055_10054_10182_10059_303_100031_10099_10078_10079_10103_10073_10102_10120_10052_10053_10142_10107_142_10050_10051-10120,searchweb201603_49,ppcSwitch_4&btsid=b87e2064-287c-4fe9-ba44-53ca575f5350&algo_expid=3e550c0f-0a35-465b-8691-27d092d21bbd-4&algo_pvid=3e550c0f-0a35-465b-8691-27d092d21bbd
                                      I coun't three caps there. Surely not all of them are there because of the LDO?

                                      Nca78N 1 Reply Last reply
                                      0
                                      • NeverDieN NeverDie

                                        @NeverDie said in PIR AM312/412/612:

                                        I guess answering my own question, I removed my load switch as well as all of the capacitors from my breadboard circuit, and the remaining am612 circuit still appears to function just fine. :)

                                        It's a somewhat surprising result, because even the cheapskate am312 sensors appear to use caps:
                                        https://www.aliexpress.com/item/Mini-IR-Pyroelectric-Infrared-PIR-Motion-Human-Sensor-Automatic-Detector-Module-high-reliability-12mm-x-25mm/32749737125.html?spm=2114.01010208.3.32.JSXzcv&ws_ab_test=searchweb0_0,searchweb201602_5_10152_10065_10151_10068_10130_10084_10083_10119_10080_10082_10081_10110_10178_10136_10137_519_10111_10060_10112_10113_10155_10114_437_10154_10056_10055_10054_10182_10059_303_100031_10099_10078_10079_10103_10073_10102_10120_10052_10053_10142_10107_142_10050_10051-10120,searchweb201603_49,ppcSwitch_4&btsid=b87e2064-287c-4fe9-ba44-53ca575f5350&algo_expid=3e550c0f-0a35-465b-8691-27d092d21bbd-4&algo_pvid=3e550c0f-0a35-465b-8691-27d092d21bbd
                                        I coun't three caps there. Surely not all of them are there because of the LDO?

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

                                        @NeverDie you would have to check the LDO datasheet but it's possible.
                                        Sorry on holidays without computer so I cannot check.

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

                                          Has anyone here run across a highly directional version of either the AM312/612 or some other PIR sensor?

                                          I have an application (https://forum.mysensors.org/topic/7388/how-to-detect-wild-animal-pests-in-a-windy-garden/1) which would benefit from that.

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


                                          16

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 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
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular