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. OpenHardware.io
  3. 💬 NRF52 Recessed Vibration+Contact sensor for door/window

💬 NRF52 Recessed Vibration+Contact sensor for door/window

Scheduled Pinned Locked Moved OpenHardware.io
doorcontactnrf52accelerometerrecessedhall effect
24 Posts 10 Posters 6.1k 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.
  • d00616D Offline
    d00616D Offline
    d00616
    Contest Winner
    wrote on last edited by
    #5

    Wow. Looks perfect.

    1 Reply Last reply
    0
    • openhardware.ioO openhardware.io

      https://www.openhardware.io/view/434/NRF52-Recessed-VibrationContact-sensor-for-doorwindow

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

      @openhardware.io So, I have been looking for a way to determine if a door lock was locked. Is this that?

      1 Reply Last reply
      1
      • d00616D Offline
        d00616D Offline
        d00616
        Contest Winner
        wrote on last edited by
        #7

        @scalz Is your plan is to drill a hole into the window frame and put this board in?

        Most modern windows here in Germany have enough space between the inner and outer windows frame to place a flat board between. My windows have a slot of ~1,8cm and my door of ~1,2cm.

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

          @Terrence it's for detecting intrusion, if the door is opened or not. The accelerometer for detecting vibration, if intrusion is in progress (before door is opened)

          @d00616 yes, planning something like that for the drills: (pic from internet)
          0_1500275952297_3.png
          For my house, or some of my friends, that would work well, some others not. when that's the case, i'll use my aeos board as a common door sensor.
          Do you mean you would need a smaller board?

          d00616D 1 Reply Last reply
          0
          • scalzS scalz

            @Terrence it's for detecting intrusion, if the door is opened or not. The accelerometer for detecting vibration, if intrusion is in progress (before door is opened)

            @d00616 yes, planning something like that for the drills: (pic from internet)
            0_1500275952297_3.png
            For my house, or some of my friends, that would work well, some others not. when that's the case, i'll use my aeos board as a common door sensor.
            Do you mean you would need a smaller board?

            d00616D Offline
            d00616D Offline
            d00616
            Contest Winner
            wrote on last edited by
            #9

            @scalz I mean this: https://shopdelta.eu/wireless-window-opening-detector-ja-82m-jablotron_l2_p6386.html Looks like fitting in doors and windows following European standards.

            Most new plastic doors and windows in Germany looking like this. The metal at the right side can surround the window.

            0_1500278243527_upload-945536a0-dbd1-4fcd-a2ec-ea69fde609f6

            Graphical view of another frame: http://www.focuswindows.com/product/eurocell-eurologik-70mm/

            BTW. your board is perfect to put it into a little capsule and fixating it with silicone at the glass or at the frame.

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

              @d00616 oki. I didn't know these ones. will think about it.

              So far my WIP enclosure for this project is:
              0_1500279345063_wip_recessed_box.PNG

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

                @d00616 the sensor you showed me above is 25mm width?? so it's bigger to fit, right?

                d00616D 1 Reply Last reply
                0
                • scalzS scalz

                  @d00616 the sensor you showed me above is 25mm width?? so it's bigger to fit, right?

                  d00616D Offline
                  d00616D Offline
                  d00616
                  Contest Winner
                  wrote on last edited by
                  #12

                  @scalz said in 💬 NRF52 Recessed Vibration+Contact sensor for door/window:

                  @d00616 the sensor you showed me above is 25mm width?? so it's bigger to fit, right?

                  The width doesn't matter in that dimension. There is a space for an object with a with of 4cm and a height of 1cm.

                  1 Reply Last reply
                  0
                  • d00616D Offline
                    d00616D Offline
                    d00616
                    Contest Winner
                    wrote on last edited by
                    #13

                    @scalz You don't need to change your design for me ;-)

                    This is another concept for windows.
                    http://www.eq-3.com/products/homematic/heating-and-climate-control/homematic-wireless-window-rotary-handle-sensor.html

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

                      Here is a pic of this very tiny door sensor with accelerometer for vibration detection. crazy!

                      0_1500930879838_20170722_180014_1024.jpg

                      Handsoldered this one! and working well, yay :)
                      Need to print a box for this one and install it in a door..

                      1 Reply Last reply
                      4
                      • F Offline
                        F Offline
                        Fabien
                        wrote on last edited by
                        #15

                        Can't wait for pcb publishing !

                        1 Reply Last reply
                        0
                        • F Offline
                          F Offline
                          Fabien
                          wrote on last edited by
                          #16

                          Why did you use LIS3DH ? ADXL362 seems to be better. You can have 100 mesures / second with 2uA consumption according to this : https://ez.analog.com/docs/DOC-15838

                          Nca78N 1 Reply Last reply
                          0
                          • F Fabien

                            Why did you use LIS3DH ? ADXL362 seems to be better. You can have 100 mesures / second with 2uA consumption according to this : https://ez.analog.com/docs/DOC-15838

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

                            @Fabien said in 💬 NRF52 Recessed Vibration+Contact sensor for door/window:

                            Why did you use LIS3DH ? ADXL362 seems to be better. You can have 100 mesures / second with 2uA consumption according to this : https://ez.analog.com/docs/DOC-15838

                            I asked myself the same question, then I checked the prices and if you want it in small quantities from a reputable source, LIS3DH is 1/4 of the price (1.5$ compared to 6$) while keeping a "low enough" power consumption.
                            ADXL362 is much cheaper on AliExpress but when best price seen on octopart is over 3$ from a non authorized distributor I'm a bit suspicious when seeing prices just over 2$...

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

                              i remember of this one ;)
                              i did this because:

                              • i have lis3dh in stock and wanted to validate my idea.
                              • cost. LIS3DH is one of the cheapest and low power accelerometer
                              • fabhouse usually source at known suppliers in case of pcba, and the adxl is not very cheap.
                              • I2C because it was really very tight to route the pcb regarding the very small size, and without signals vias on bottom touching gnd coincell (and i'm not fan of tabbed coincell.. ) . SPI would have needed more pins to route
                              • it is mainly for detecting tilts on door intrusion or knocks. I didn't need a very precise accelerometer for motion.
                              • I wanted to make a very cheap but reliable door sensor. I think goal is achieved :)

                              Too much work actually, plus received some new launchpads to evaluate, i also need to assemble some of my new boards for the faire etc., so, i'm not sure yet when, but i'll take a look whether the adxl would fit, in case you really need it ;)

                              korttomaK 1 Reply Last reply
                              2
                              • scalzS scalz

                                i remember of this one ;)
                                i did this because:

                                • i have lis3dh in stock and wanted to validate my idea.
                                • cost. LIS3DH is one of the cheapest and low power accelerometer
                                • fabhouse usually source at known suppliers in case of pcba, and the adxl is not very cheap.
                                • I2C because it was really very tight to route the pcb regarding the very small size, and without signals vias on bottom touching gnd coincell (and i'm not fan of tabbed coincell.. ) . SPI would have needed more pins to route
                                • it is mainly for detecting tilts on door intrusion or knocks. I didn't need a very precise accelerometer for motion.
                                • I wanted to make a very cheap but reliable door sensor. I think goal is achieved :)

                                Too much work actually, plus received some new launchpads to evaluate, i also need to assemble some of my new boards for the faire etc., so, i'm not sure yet when, but i'll take a look whether the adxl would fit, in case you really need it ;)

                                korttomaK Offline
                                korttomaK Offline
                                korttoma
                                Hero Member
                                wrote on last edited by
                                #19

                                @scalz is there any chance that one could buy this device preassembled from you?
                                I was thinking I could use something really tiny as a one button scene controller and found your design.
                                Maybe you can even leave out some components in my case to keep the effort and cost down?
                                Or do you have some other design that would fit my purpose (small one-button scene controller)?

                                • Tomas
                                Nca78N 1 Reply Last reply
                                0
                                • korttomaK korttoma

                                  @scalz is there any chance that one could buy this device preassembled from you?
                                  I was thinking I could use something really tiny as a one button scene controller and found your design.
                                  Maybe you can even leave out some components in my case to keep the effort and cost down?
                                  Or do you have some other design that would fit my purpose (small one-button scene controller)?

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

                                  @korttoma said in 💬 NRF52 Recessed Vibration+Contact sensor for door/window:

                                  Or do you have some other design that would fit my purpose (small one-button scene controller)?

                                  Hello Tomas, I have bought one of those. They are over 20mm diameter so not as small as the one from @scalz but still pretty small and they have a physical button + a led (and an unpopulated footprint for an accelerometer, too).
                                  This is the one I bought but there are many seller, I hope with a better price as when I bought it, I paid less than 4€ and shipping included. I have received mine but not tested programming it yet, if you want me to confirm there's no problem to reprogram it I'll can check it during the week.
                                  https://www.aliexpress.com/item/2V-3-3V-NRF51822-Bluetooth-4-0-Wireless-Module-For-iBeacon-Base-Station-Intelligent-Control-System/32824004498.html

                                  korttomaK NeverDieN 2 Replies Last reply
                                  2
                                  • Nca78N Nca78

                                    @korttoma said in 💬 NRF52 Recessed Vibration+Contact sensor for door/window:

                                    Or do you have some other design that would fit my purpose (small one-button scene controller)?

                                    Hello Tomas, I have bought one of those. They are over 20mm diameter so not as small as the one from @scalz but still pretty small and they have a physical button + a led (and an unpopulated footprint for an accelerometer, too).
                                    This is the one I bought but there are many seller, I hope with a better price as when I bought it, I paid less than 4€ and shipping included. I have received mine but not tested programming it yet, if you want me to confirm there's no problem to reprogram it I'll can check it during the week.
                                    https://www.aliexpress.com/item/2V-3-3V-NRF51822-Bluetooth-4-0-Wireless-Module-For-iBeacon-Base-Station-Intelligent-Control-System/32824004498.html

                                    korttomaK Offline
                                    korttomaK Offline
                                    korttoma
                                    Hero Member
                                    wrote on last edited by
                                    #21

                                    Nice @Nca78 ! With case and everything it is perfect! When you find the time to test it would you mind creating a new thread for it with details like what I would need to be able to program it?

                                    • Tomas
                                    1 Reply Last reply
                                    1
                                    • Nca78N Nca78

                                      @korttoma said in 💬 NRF52 Recessed Vibration+Contact sensor for door/window:

                                      Or do you have some other design that would fit my purpose (small one-button scene controller)?

                                      Hello Tomas, I have bought one of those. They are over 20mm diameter so not as small as the one from @scalz but still pretty small and they have a physical button + a led (and an unpopulated footprint for an accelerometer, too).
                                      This is the one I bought but there are many seller, I hope with a better price as when I bought it, I paid less than 4€ and shipping included. I have received mine but not tested programming it yet, if you want me to confirm there's no problem to reprogram it I'll can check it during the week.
                                      https://www.aliexpress.com/item/2V-3-3V-NRF51822-Bluetooth-4-0-Wireless-Module-For-iBeacon-Base-Station-Intelligent-Control-System/32824004498.html

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

                                      @Nca78 said in 💬 NRF52 Recessed Vibration+Contact sensor for door/window:

                                      (and an unpopulated footprint for an accelerometer, too).

                                      I wonder whether that unpopulated footprint is where the antenna is?

                                      1 Reply Last reply
                                      0
                                      • Puneit ThukralP Offline
                                        Puneit ThukralP Offline
                                        Puneit Thukral
                                        wrote on last edited by
                                        #23

                                        @scalz May I request you to share your code for it please. Thanks.

                                        skywatchS 1 Reply Last reply
                                        1
                                        • Puneit ThukralP Puneit Thukral

                                          @scalz May I request you to share your code for it please. Thanks.

                                          skywatchS Offline
                                          skywatchS Offline
                                          skywatch
                                          wrote on last edited by
                                          #24

                                          What ever happened to this?

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


                                          19

                                          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