Pseudonymous maker “gokux” has turned a Seeed Studio XIAO ESP32C3 microcontroller board right into a self-contained motion-triggered alarm — packing the board, battery, inertial measurement unit (IMU), and a buzzer right into a compact 3D-printed case.
“Through the use of this [device], if a small motion is detected by the IMU, it can set off a sound within the buzzer,” gokux explains of the gadget. “It’s going to provide you with a warning if an object strikes even whether it is presupposed to be stationary, like a door, house equipment, or drawer. You’ll be able to connect this gadget to any floor with double[-sided] tape. It’s also helpful for monitoring youngsters and aged folks.”
The Tiny Movement Alarm goals tracks something it is caught to with an inside IMU, warning if one thing strikes when it should not. (📹: gokux)
Contained in the eye-catching 3D-printed case is a Seeed Studio XIAO ESP32C3, a compact improvement board constructed across the Espressif ESP32-C3 microcontroller — the wi-fi connectivity of which fits unused on this explicit mission, although it is simple to see it being prolonged to supply network-based alerts in addition to a locally-audible siren. To this, gokux has added a TDK MPU-6050 three-axis inertial measurement unit (IMU) with gyroscope and accelerometer to detect issues shifting once they should not.
“After powering on the alarm won’t be activated,” gokux says of the gadget’s technique of operation. “To activate this alarm you could press down the push button, then you’ll hear one beep sound which signifies the activation sequence is profitable. After urgent the button we can have 4 seconds to position this alarm, any motion taking place throughout this 4 seconds can be ignored. After the stand-by sequence, you’ll hear two beep sounds which point out the Detection sequence is began. From right here the alarm is totally armed.”
With an ESP32-C3 inside, the Tiny Movement Alarm could possibly be upgraded sooner or later for network-based alerts. (📷: gokux)
As soon as armed, any motion detected by the IMU triggers a ten-second sounding of the alarm — plus a flashing LED, for good measure. “I used a XIAO ESP32C3 for [a] future-proof design,” gokux says, “as a result of with none {hardware} change we are able to convert it to a number of units like notifying alarm triggers with telephone notifications or performing different duties like for those who open the door it can swap on the room lights and many others.”
The total mission is documented on Instructables, together with wiring diagram, supply code, and the 3D print information for the case.