How about a mercury tilt switch ( like in Switches ) or equivalent ?
I used to use these all the time too... They are terrific for sensing movement.
I stopped using them when I found out what a serious environmental hazard they are: even small amounts of mercury released into the natural environment end up accumulating in living things-- so the higher up the food chain, the higher the potential concentration of mercury. Ultimately it means you end up eating it, and risking the potential hazards of doing so. Not good if you like fish.
Anyway, buying mercury switches means supporting the factories that make them, which isn't really necessary when there are lots of alternatives. There are ROHS equivalent devices, David C. knows where to get them in Europe.
I stopped using them when I found out what a serious environmental hazard they are
You need to put things into perspective. If you reuse these switches and properly discard them at the end of their life there is nothing wrong with them. The amount of Hg that humans have already spread in the environment and continue to spread is enormous. You contribute to that simply by being alive and using industrial products.
If you are totally against using Hg then you cannot use fluorescent tube lamps either. What do you do with them once they cease to work? Properly dispose of them, or do you simply throw them into your regular household trash? What if you break a few of them (or even a Hg filled thermometer) inside your house? Do you evacuate the building and move out?
Anyway, I'd consider using a three axis accelerometer.
You need to put things into perspective. If you reuse these switches and properly discard them at the end of their life there is nothing wrong with them.
When ROHS alternatives exist, then why not use them instead?
The amount of Hg that humans have already spread in the environment and continue to spread is enormous. You contribute to that simply by being alive and using industrial products.
I know the situation seems bleak, but in saying this you are discounting the environmental hazard, and also the idea that people have some volition to change the situation. Sure, the world is already screwed, so why not buy some more mercury
The fact is that there is a significant amount of mercury in a mercury switch (I just looked this up, and there is about 50-80 times as much mercury in one automotive trunk mercury swich as there is in a fluorescent light bulb), and it concentrates in fish.
So hey, why not use something that is less harmful?
You can also build them yourself. A wooden base with a small hole in it, a steel ball (with a considerably bigger diameter than the hole) and two wires/nails arranged in an X shaped "dome" surrounding the ball.
When undisturbed the ball rests on top of the hole, not touching the wires. When you tilt this thing the ball will roll against the wires and make contact between them.
Don't have a picture of this contraption, I hope the explanation made sense.