Constructed using a PIC16F887 for the brains and a Freescale MM7361 3 axis accelerometer, you can pull the schematics from his site. The code is available on demand as well.