Originally Posted by
wphamilton
I wish I knew analog electronics better, because it should be simple. My intuition is that a mercury switch with some simple resistor-capacitor circuit triggering a relay would do this. But, details ...
My, how the world has changed. Nowadays, a microcontroller with an accelerometer built in is cheaper than a relay and a couple of discreet components. And mercury switches are cost and regulatory prohibitive.