Suppose we have a small box with a circutry and a set of sensors in it. Box is lying on the table, but it is light enough to be lifted into the air.
What I want to achieve is to switch off the circutry in a box if anybody lifts the box, and switch it on back when box is returned to the table.
Is it possible to detect if object is lying on the surface or is it lifted into the air with just accelerometer(s) and/or gyroscope(s)?
If not, what set of sensors can reliably do such a job? Proximity sensors? Distance sensors?
Thank you in advance.