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. Low power PIR breakout board for Mysensors and evaluation

Low power PIR breakout board for Mysensors and evaluation

Scheduled Pinned Locked Moved Hardware
35 Posts 10 Posters 14.3k Views 24 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.
  • scalzS Offline
    scalzS Offline
    scalz
    Hardware Contributor
    wrote on last edited by scalz
    #1

    Hi,

    I like to make my boards small as I can (with my "little" knowledge, lol) and, like lots of you I needed a small, slim and of course low power PIR sensor. I don't like chinese HC-SR504 board because there are big capacitor on it. Not easy to integrate in small enclosure. So I decided to re-design this chinese board with smd capa.
    But, Anticimex pointed to me a very interesting app note : ST AN4368. Thanks to you @Anticimex for your valuable advise :wink:

    Note : I ordered pcb few weeks ago, it should not take lot of time now to get them. I ordered it at oshpark, as board is small, price is cheap.

    So this board is based on this ST appnote, and especially on the first schematic in it (based on TSU104 opamp, more low power).As app note state, it should be somewhere 23uA. I am using a nanopower nand gate. I didn't find better for this ref..so the board should be 1uA more. I hope it will stay between 23-25uA which is not bad I think..

    I have made few changes for easy testings:

    • 2x potentiometer added
    • debug points
    • optional led on Out Signal (for debug)

    Size : 24x19.7 (mm)
    Components size 0805.

    Now some screenshots:
    3dview.png

    https://www.youtube.com/watch?v=Lc4ZXmKnMNw

    Boards can be ordered here : https://oshpark.com/shared_projects/Dc6Tlrt1

    Eagle files and BOM on my git, here : https://github.com/scalz/MySensors-HW/tree/development/LowPowerPIR_Breakout

    So it should work, as I followed app note. Changes I made are minor. And I have taken care of routing to try to not have problem on analog trace...

    Enjoy!

    1 Reply Last reply
    6
    • AnticimexA Offline
      AnticimexA Offline
      Anticimex
      Contest Winner
      wrote on last edited by
      #2

      Nice! You beat me to it :D
      I might do a MYSX module out of it if it turns out to work as good as the app note suggests.

      Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

      1 Reply Last reply
      0
      • tbowmoT Offline
        tbowmoT Offline
        tbowmo
        Admin
        wrote on last edited by
        #3

        Interesting..

        Which PIR sensor element are you using?

        1 Reply Last reply
        0
        • scalzS Offline
          scalzS Offline
          scalz
          Hardware Contributor
          wrote on last edited by scalz
          #4

          thx guys :)
          @tbowmo : I have these
          http://fr.aliexpress.com/item/Free-Shipping-10PCS-D203S-D203-203-PIR-Human-Infrared-Radial-Sensor/846159132.html?spm=2114.06010108.3.55.nh2jcd&ws_ab_test=searchweb201556_6_79_78_77_91_80,searchweb201644_5,searchweb201560_9
          it fits well with these lenses:
          http://www.ebay.com/itm/10-Infrared-Sensor-8308-4-mini-White-Fresnel-Lens-body-pyroelectric-PIR-/141271386262?hash=item20e46e4896:g:1MgAAOSwcWdTXvdi

          I try to stay cheap and good quality as I can...I hope this combo will work well. do you know a better pir element?

          1 Reply Last reply
          1
          • scalzS Offline
            scalzS Offline
            scalz
            Hardware Contributor
            wrote on last edited by scalz
            #5

            hi.

            I have received pcb. so for the moment it doesn't work like I want. I have not digged a lot. I have just soldered it and powered with two aaa, 3.2v. Led was triggering too much so I checked potentiometers. and it triggers ok but the range is not great for the moment. maybe 2.5m.
            So I looked briefly voltage levels with oscillo and I think I need to check and tune resistors to see if it is about comparator window (resistors), pir sensor or the lens.

            So no good news, no bad news too. it works well at 1m :laughing:
            but I have not said my last word :smiley: I hope to have some time asap. it would be cool if it worked.

            another thing too: I will update files. not a big mistake but good to know. the silkscreen for the pir sensor is not well oriented.

            Here some pics
            2015-11-25_01-19-52.png
            2015-11-25_01-22-06.png

            AnticimexA 1 Reply Last reply
            2
            • scalzS scalz

              hi.

              I have received pcb. so for the moment it doesn't work like I want. I have not digged a lot. I have just soldered it and powered with two aaa, 3.2v. Led was triggering too much so I checked potentiometers. and it triggers ok but the range is not great for the moment. maybe 2.5m.
              So I looked briefly voltage levels with oscillo and I think I need to check and tune resistors to see if it is about comparator window (resistors), pir sensor or the lens.

              So no good news, no bad news too. it works well at 1m :laughing:
              but I have not said my last word :smiley: I hope to have some time asap. it would be cool if it worked.

              another thing too: I will update files. not a big mistake but good to know. the silkscreen for the pir sensor is not well oriented.

              Here some pics
              2015-11-25_01-19-52.png
              2015-11-25_01-22-06.png

              AnticimexA Offline
              AnticimexA Offline
              Anticimex
              Contest Winner
              wrote on last edited by
              #6

              @scalz cool! Nice work. Did you manage to grab some current measurement to see if it operates within reasonable ranges for battery operation?

              Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

              1 Reply Last reply
              0
              • scalzS Offline
                scalzS Offline
                scalz
                Hardware Contributor
                wrote on last edited by
                #7

                @Anticimex : hi :smiley:
                I didn't checked at first, because I mounted the led. But I just removed it, and here first results with uCurrent:

                • 24uA with no trigger
                • when it triggers it oscillates between 24-27uA. so it seems to work as announced in app note.

                it just needs to check the opamp res divider (3rd stage comparator) I think. Because when I did some tests, looking with my oscillo, voltage levels was moving well when at 3-4m. but it didn't trigger. so I suspect that it needs to refine the comparator window (sensitivity...)

                AnticimexA 1 Reply Last reply
                1
                • scalzS scalz

                  @Anticimex : hi :smiley:
                  I didn't checked at first, because I mounted the led. But I just removed it, and here first results with uCurrent:

                  • 24uA with no trigger
                  • when it triggers it oscillates between 24-27uA. so it seems to work as announced in app note.

                  it just needs to check the opamp res divider (3rd stage comparator) I think. Because when I did some tests, looking with my oscillo, voltage levels was moving well when at 3-4m. but it didn't trigger. so I suspect that it needs to refine the comparator window (sensitivity...)

                  AnticimexA Offline
                  AnticimexA Offline
                  Anticimex
                  Contest Winner
                  wrote on last edited by
                  #8

                  @scalz that's excellent. I believe you really have something here. Battery operated motion sensing would be awesome!

                  Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                  1 Reply Last reply
                  0
                  • scalzS Offline
                    scalzS Offline
                    scalz
                    Hardware Contributor
                    wrote on last edited by
                    #9

                    @Anticimex: yep it would be great. Did you order pcb? if you want I can send one to you with pir sensor and its lens (free :wink: I don't know letter postage fee from France to you but it should not be expensive I think.).same offer for you @tbowmo or @Hek :wink:
                    In other hand, I have not enough opamp...and pots so if you have these in stocks..

                    AnticimexA 1 Reply Last reply
                    0
                    • scalzS scalz

                      @Anticimex: yep it would be great. Did you order pcb? if you want I can send one to you with pir sensor and its lens (free :wink: I don't know letter postage fee from France to you but it should not be expensive I think.).same offer for you @tbowmo or @Hek :wink:
                      In other hand, I have not enough opamp...and pots so if you have these in stocks..

                      AnticimexA Offline
                      AnticimexA Offline
                      Anticimex
                      Contest Winner
                      wrote on last edited by
                      #10

                      @scalz Thats very kind of you, but I am afraid I have not got the time to investigate more closely currently. Little baby present and Christmas coming up :)

                      Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                      1 Reply Last reply
                      0
                      • F Offline
                        F Offline
                        freeck
                        wrote on last edited by freeck
                        #11
                        This post is deleted!
                        1 Reply Last reply
                        0
                        • scalzS Offline
                          scalzS Offline
                          scalz
                          Hardware Contributor
                          wrote on last edited by scalz
                          #12

                          hi.

                          just a little update, I made few tests (between two projects :persevere: ), trying to see if it could be more low power. And yes it can, it needs for instance to use higher res of course! 10-15M and increasing a little bit capacitors (100nf instead of 10nf) helped to stabilize and I was near 5uA!
                          Unfortunately, I didn't had big success with my false triggering...and range increased a little bit, a little bit better too with another sensor (LHI968).

                          But that is not my biggest concern here. And I am curious to know what you think. Like you I am searching a low power PIR <10uA, reliable, and not expensive.
                          But for low power, we can encounter some case like:

                          • holidays : lot of triggering breaking sleep mode and low power.
                          • In deepest sleepmode, we have no time reference for blind time etc...
                          • So it would require some tricks to handle everything in sketch and finally maybe the overall power consumption would increase a little bit (few uA).

                          In other hand, @Myna made a board with E931.96. I don't know if he got it working but I think this ic could solves all this problems.
                          MCU deep sleep mode could be possible, and E931.96 could handle false triggering, blind time before retriggering, low power (I think it could equals to my small board), and finally, not the least, it seems that it autocalibrates regarding the sensor. Very interesting in fact! Too bad, it seems it is available only at professionnal supplier.

                          So I am asking to professional supplier (Avnet) what could be the availability for this chip. I am already in contact with him for an other interesting chip. It could be great if we could have hand on this ic.
                          In the mean time, I have ordered some from aliexpress (I hope it's not clone!).

                          That's all. Thanks for reading, and for feedbacks!

                          1 Reply Last reply
                          1
                          • scalzS Offline
                            scalzS Offline
                            scalz
                            Hardware Contributor
                            wrote on last edited by scalz
                            #13

                            Small is small! and more simple :) I will order it at oshpark.
                            0_1453336777348_e931.96_eval.png

                            Component size : 0805
                            I hope that will work :) I have ordered the ic at aliexpress. Let's see if it is genuine...if yes, it is not expensive compared to opamp..on the previous board. I am dreaming lol!
                            http://fr.aliexpress.com/item/E931-96-Ultra-Low-Power-PIR-Controller-13/32591606213.html?spm=2114.06010108.3.1.oSY46D&ws_ab_test=searchweb201556_3,searchweb201644_3_10001_10002_10005_301_10006_10003_10004_62,searchweb201560_1,searchweb1451318400_6148,searchweb1451318411_6451

                            @Hek: I tried to upload another simple eval board at openhardware but I was not able to save/upload it.
                            " Unable to save project. Please try again later or contact support."
                            So, I will retry later ;)

                            1 Reply Last reply
                            2
                            • scalzS Offline
                              scalzS Offline
                              scalz
                              Hardware Contributor
                              wrote on last edited by
                              #14

                              just a very small update to tell I'm pretty happy: I have just received my PIR chips order today (e931). Another thing to do now : a lib and look if it's fake but I hope not! stay tuned ;)

                              1 Reply Last reply
                              0
                              • dubanozeD Offline
                                dubanozeD Offline
                                dubanoze
                                wrote on last edited by
                                #15

                                Scalz, which news about e931 ?

                                1 Reply Last reply
                                0
                                • scalzS Offline
                                  scalzS Offline
                                  scalz
                                  Hardware Contributor
                                  wrote on last edited by
                                  #16

                                  I will post some news soon ;) multiple things in progress (hw & sw) but now I'm better organized to speed up my dev in my hobby time lol

                                  TRS-80T 1 Reply Last reply
                                  0
                                  • dubanozeD Offline
                                    dubanozeD Offline
                                    dubanoze
                                    wrote on last edited by
                                    #17

                                    You shut down work on TSU104 version?

                                    1 Reply Last reply
                                    0
                                    • TRS-80T Offline
                                      TRS-80T Offline
                                      TRS-80
                                      wrote on last edited by
                                      #18

                                      Following this thread with interest! Keep up the great work! :+1:

                                      1 Reply Last reply
                                      0
                                      • scalzS Offline
                                        scalzS Offline
                                        scalz
                                        Hardware Contributor
                                        wrote on last edited by
                                        #19

                                        yep for the moment, I have a lot of e931 to use. but I had some ideas for the tsu104 so I will look at it later but don't know when yet (at the end of my todo..)

                                        1 Reply Last reply
                                        0
                                        • scalzS scalz

                                          I will post some news soon ;) multiple things in progress (hw & sw) but now I'm better organized to speed up my dev in my hobby time lol

                                          TRS-80T Offline
                                          TRS-80T Offline
                                          TRS-80
                                          wrote on last edited by
                                          #20

                                          @scalz said:

                                          I will post some news soon ;) multiple things in progress (hw & sw) but now I'm better organized to speed up my dev in my hobby time lol

                                          I was just thinking the other day, is there any sort of post already going around here like "show off your workbench / work area?"

                                          I am getting ready to purchase my initial supplies and some small cabinets, soldering station, etc. which will be, initially, pretty meager but I thought it would be fun to show off my little area, and I'm sure some people here have much more impressive work spaces that I'm sure many would be interested in seeing. :)

                                          If not, I think I will create one eventually, when I get my area set up. :)

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