Skip to content

Bob Baddeley

Menu
  • Home
  • About Me
  • Contact
  • Resume
    • Publications
  • Projects
    • Personal
    • WYZGYZ
    • Propeller Health
    • Wacky Dancers
    • Hackaday
    • Allergy Amulet
    • Quietyme
    • BlueTipz
    • Portable Scores
    • PNNL
    • Oregon State University
    • University Of Great Falls
Menu

Sector67 Shatter Alarm

Posted on November 20, 2026December 2, 2026 by Bob Baddeley

Sector67 has windows, and presumably someone my think there are valuables inside. Chris wanted to create something that would detect glass breaking and create a loud noise to warn them and send an alert to him to let him know that something had happened.

We installed a series of 5812A-W shatter alarm sensors, which use microphones to detect the sound of breaking glass and then trigger a relay for four seconds to indicate the alarm. By wiring the trigger in series, any one sensor alerting would trigger the alarm. It took a day of climbing up and down a ladder, but I eventually got 7 installed around the main floor near all the windows. Wiring them is pretty straightforward. Two wires for power (6-15V DC), and two wires for the sensor.

Power and ground are wired to each, and then two more wires are used for the sensor. When powered, the relays are all normally closed, so it’s a closed loop for the sensors. When any one of them detects the alarm, the relay opens, breaking the connection for 4 seconds, which can be detected by a control system.

The control electronics were simple. I used an ESP32 DevKit as the main microcontroller, then included a 12V->5V DC-DC converter to regulate power, and an N-Channel MOSFET to control a very loud piezo buzzer. Power is 12V supplied through the barrel plug, and the terminal blocks send power to the sensors and connect to the trigger loop, which is normally pulled up through a resistor.

The enclosure. I used one of my favorite tricks of designing the documentation into the first layer, which is printed in multiple colors.
The ESP32 DevKit V1, with a DC DC regulator.
The protoboard that the ESP module is attached to contains all the wiring and has the MOSFET used to turn on the buzzer.
The enclosure contains everything, and a hole for the buzzer port lets all the loud out.

The way it works is mostly simple. After turning on, it watches the trigger. If the trigger ever goes from High to Low, then it means a sensor has detected glass breaking. It immediately turns on the piezo buzzer. Then it connects to the internet and uploads a signal to a server. The server then sends an email to me and to Chris. Finally, it disconnects from the server and starts to switch the buzzer on and off, and continues to do so until it’s unplugged.

In a live demo (using a glass break test device, not actual glass) in front of a group of people, it worked really well, except that the email went straight to spam. We’ll have to fix that, but that’s not on my end. Otherwise this is a completed project.

Bob Baddeley

Bob Baddeley

I am a computer engineer experienced in developing products from proof of concept through mass production. I want to have a positive impact on the world.

Search

Recent Posts

  • Solar Upgrade – Part 2
  • Sector67 Shatter Alarm
  • Quick win – illuminating burned out laser tubes
  • Refurbishing the Madison Metro Sewerage District sign for the Madison Public Market
  • Elf Training

Categories

  • Building
  • Computers
  • Cooking
  • Hackaday
  • Panoramas
  • Personal Projects
  • Skydiving
  • Sports
  • Uncategorized
© 2026 Bob Baddeley | Powered by Superbs Personal Blog theme