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. Hardware
  3. Glass break sensor?
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Glass break sensor?

Scheduled Pinned Locked Moved Hardware
18 Posts 7 Posters 7.9k Views 6 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.
  • C Offline
    C Offline
    chaeron
    wrote on last edited by
    #7

    How would that help? Unless you attach it to the glass, which means I would need a few dozen for all the glass in my house, and that ain't happenin'.....too much hassle and looks ugly as well.

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

      Ok, then things will be complicated. You will need some fancy sw to sample and analyze the sound to differentiate breaking glass from anything else. And it is only the actual accelerometer that needs to be attached to the glass. Should exist sensors for exactly that purpose.

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

      1 Reply Last reply
      0
      • C Offline
        C Offline
        chaeron
        wrote on last edited by
        #9

        I want a pre-made sound-based glass break sensor, so that actually makes it easier, since then it comes pre-calibrated and all you get out the back end is a "tripped" signal that can go on a single Arduino pin.

        As I said, the Glasstrek unit might be usable for such an interface. You can get them under $20 each, and a couple or three would cover the whole house.

        Rod MacPhersonR 1 Reply Last reply
        0
        • AnticimexA Offline
          AnticimexA Offline
          Anticimex
          Contest Winner
          wrote on last edited by
          #10

          Ok. I'd like to have something more precise in my home. Otherwise my automatic sentry gun might target the wrong area :)

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

          C 1 Reply Last reply
          1
          • AnticimexA Anticimex

            Ok. I'd like to have something more precise in my home. Otherwise my automatic sentry gun might target the wrong area :)

            C Offline
            C Offline
            chaeron
            wrote on last edited by
            #11

            @Anticimex said:

            Ok. I'd like to have something more precise in my home. Otherwise my automatic sentry gun might target the wrong area :)

            LOL....good one!

            If I miss with the .45 ACP, and my wife misses with her .38, and the dogs don't rip the baddies to pieces, it's likely the cats will claw them to death and leave the bits in their litter boxes, so I'm not worried.

            With 7 sensors spread around the house, which I've built all myself and which include thermostat (https://github.com/chaeron/thermostat), and MySensors-based temp, humidity, barometer and water level sensors, my own little Skynet will soon be ready for the Singularity! ;-)

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

              Just make sure you use message signing or you might be in for a bad surprise ;)

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

              1 Reply Last reply
              0
              • C Offline
                C Offline
                chaeron
                wrote on last edited by
                #13

                I haven't yet, but plan to not too far down the road.

                1 Reply Last reply
                0
                • C chaeron

                  I want a pre-made sound-based glass break sensor, so that actually makes it easier, since then it comes pre-calibrated and all you get out the back end is a "tripped" signal that can go on a single Arduino pin.

                  As I said, the Glasstrek unit might be usable for such an interface. You can get them under $20 each, and a couple or three would cover the whole house.

                  Rod MacPhersonR Offline
                  Rod MacPhersonR Offline
                  Rod MacPherson
                  wrote on last edited by Rod MacPherson
                  #14

                  @chaeron They are all over ebay.

                  The way they work with a wired alarm system (like almost all wired alarm sensors) is there is a normally closed circuit, and if the sensor detects something it opens the circuit. (this is so that cutting the wire to the sensor also trips the alarm)
                  This is dead simple to interface with, just hook it up between VCC a 12V battery and any digital pin (via some method of stepping down the voltage) that is pulled low. If the pin goes low the alarm is triggered.

                  [Edits in Bold: slight correction, guess I was more tired than I wanted to admit last night]
                  http://www.ebay.com/itm/Generic-Glass-Break-Detector-for-Wired-Wireless-Burglar-Alarm-PA-456-/222030136167?hash=item33b2070367:g:AJgAAOSwyQtVjBN8

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    chaeron
                    wrote on last edited by
                    #15

                    Thanks Rod, good price on that generic unit.

                    The specs say the output is 28VDC....so wouldn't I have to add a circuit to drop the voltage to 5v or 3.3 V before tying it into a 'duino pin?

                    1 Reply Last reply
                    0
                    • bjacobseB Offline
                      bjacobseB Offline
                      bjacobse
                      wrote on last edited by
                      #16

                      Voltage division resistors
                      https://learn.sparkfun.com/tutorials/voltage-dividers

                      1 Reply Last reply
                      0
                      • TD22057T Offline
                        TD22057T Offline
                        TD22057
                        Hardware Contributor
                        wrote on last edited by
                        #17

                        Another write up on resistors dividers and opto-couplers: http://electronics.stackexchange.com/questions/43498/how-can-i-use-a-12-v-input-on-a-digital-arduino-pin

                        I've used optocouplers in the past without any problem. They can be purchased for practically nothing on aliexpress. In either case it's important to check the voltage on the signal line ahead of time to really see what the sensor is putting out.

                        1 Reply Last reply
                        0
                        • Rod MacPhersonR Offline
                          Rod MacPhersonR Offline
                          Rod MacPherson
                          wrote on last edited by Rod MacPherson
                          #18

                          Yes, regardless of the source, always check the spec sheet and even take some measurements your self when you get it to be sure.
                          You can use resistors as voltage dividers, or use optocouplers/relays, or even burn it off with a step down voltage regulator like an LM7805. You will need to supply ~12V to the sensor too, as that is what it is designed for in a burglar alarm system, so take that into account. This one says it will operate off 9V, but don't count on powering it long off a 9V square battery. :)

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


                          10

                          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