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. OpenHardware.io
  3. 💬 NRF52 Recessed Vibration+Contact sensor for door/window
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

💬 NRF52 Recessed Vibration+Contact sensor for door/window

Scheduled Pinned Locked Moved OpenHardware.io
doorcontactnrf52accelerometerrecessedhall effect
24 Posts 10 Posters 6.0k 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.
  • 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


                                16

                                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