I'm fairly new to robotics yet have made a few small spin-offs of the $50 robot. I have a basic question about accelerometers. My goal is to place a sensor on an obstacle and when the obstacle is moved the sensor will turn on a pre-recorded message similar to those greeting cards that play a tune when opened. If you must know, I want to place it in my shoes, so when the dog tries to run off with my damn shoes again, it'll get yelled at...stupid?...I know!! Obviously this is just something I'm doing for fun while bored, so I want this to be very affordable and I'm hoping the cheapest accelerometer will work. What type and specs should I look for in the particular accelerometer and does anyone have a simple schematic that acts similar that I may be able to use (ie. turns on an LED, etc.)?
Thank you.