I am looking at building a small vibration sensor as my house keeps shaking when large trucks go past, I was wondering what sort of sensor to use and what code. I would like to know how large these vibrations are.
Thanks.
Do a google search for 'amateur seismometer'. I found a lot of different designs. Since you are responding to close and perceptible events, you won't need much sensitivity. The one using an accelerometer from Sparkfun looks kinda cool, and easy to build!