We used one of the assemtech sensors a few years back for a design we did for a company making educational toys.
However, it seems they have totally re-designed them, the ones they sell now look very different.
The originals never gave any problem in a device intended to be thrown around by kids, but no idea on the new designs!
An alternative approach could be an accelerometer sensor as used in phones & drones etc.
Those are now extremely cheap and you can set any thresholds you want in your device, including shock/acceleration and tilt limits.
No moving parts and nothing to wear out.
They do need a microcontroller to continuously read data, but that can be a PIC or Arduino etc. that also costs next to nothing.
It would also give you the possibility of extra options such as for an alarm if the bike is dropped, even when the security alarm is not set - or any other abnormal movement, plus delays etc.
Examples:
**broken link removed**
Or with a compass as well:
Find many great new & used options and get the best deals for GY-9250 9-Axis Accelerometer, Gyro & Magnetometer MPU-9250, UK Seller at the best online prices at eBay! Free delivery for many products.
www.ebay.co.uk
Find many great new & used options and get the best deals for 3-Axis Gyro + 3Axis Accelerometer + Tri-axial Magnetic Field IMU Module 9DOF at the best online prices at eBay! Free delivery for many products!
www.ebay.co.uk
Plus altimeter, even:
**broken link removed**