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 8.7k 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.
  • S Offline
    S 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
    • S Offline
      S 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
      • S 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
          • S Offline
            S 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

                N 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

                  N Offline
                  N 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
                  • S Offline
                    S 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 ;)

                    K 1 Reply Last reply
                    2
                    • S 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 ;)

                      K Offline
                      K 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
                      N 1 Reply Last reply
                      0
                      • K 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)?

                        N Offline
                        N 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

                        K N 2 Replies Last reply
                        2
                        • N 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

                          K Offline
                          K 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
                          • N 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

                            N Offline
                            N 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

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                59

                                Online

                                12.0k

                                Users

                                11.2k

                                Topics

                                113.4k

                                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