hey guys! happy monday!!
i am new to programming and i have couple questions.
so in my project, i am using a strip of LEDs on a device, i want the device to alarm and flash the LEDs when it fall on the ground, is this possible and what type of hardware should i be using.
thank you very much!
is this possible
As long as you can detect the difference between falling on the carpet, falling on a table, or falling on the ground, yes.
what type of hardware should i be using.
A sensor that can detect falling on the ground.
i.e. an accelerometer, such as
thank you all for the kind replies!! another question is it possible to connect an alarm or sound once it detects falling on the ground? any recommendations?
thank you in advance
another question is it possible to connect an alarm or sound once it detects falling on the ground?
No. You need to connect the noisemaker before the device falls on the ground.
Surely it would be better to prevent the device from falling on the floor in the first place. Screw it, nail it or glue it in place!
Toys/LED flashers sometimes use a spring inside a small metal tube.
The spring (contact) hits the tube when dropped/knocked.
Maybe you could make that yourself.