Idea
In short
How do you build an earthquake alarm for apartments?
An accelerometer on a wall detects strong shaking and sounds a siren and blinks an exit light, giving a few seconds' warning to take cover. You need Arduino Nano, ADXL345 accelerometer, Buzzer 12 V continuous (piezo alarm), Relay Module 5V, 12 V LED strip warm white (5 m, 2835), 12 V 2 A DC adapter, 18650 cell 2600 mAh (branded) and Battery holder 18650 single.
- Level
- Intermediate
- Time
- About 180 min
- Parts
- 8
An idea, not a guided build yet. Goal, parts and steps; no wiring, code or tests. Copy it to My Garage to plan it.
Goal
Separate strong ground shaking from door slams with duration and frequency checks.
Parts list
- Development Boards
- Sensors
- Motors & Actuators
- Interfaces
- Optoelectronics
- Power
- Batteries
- Power
How to build it
- Bolt the sensor to a load-bearing wall
- Measure the shaking level above a slow average
- Need more than 0.1 g for more than 2 s (a door slam is shorter)
- Sound the siren and light the strip
- Keep running on battery when power fails
Common questions
What parts do I need for the earthquake alarm for apartments?
Arduino Nano, ADXL345 accelerometer, Buzzer 12 V continuous (piezo alarm), Relay Module 5V, 12 V LED strip warm white (5 m, 2835), 12 V 2 A DC adapter, 18650 cell 2600 mAh (branded) and Battery holder 18650 single.
How long does the earthquake alarm for apartments take to build?
About 180 minutes for a intermediate maker.
