Accelerometers are the basis of all motion control. They allow you to sense both static and dynamic acceleration and are easy to integrate into your project.
Some important factors to take into account when buying an accelerometer for your project:
- Sensitivity (some have variable options)
- Communication method (eg. I2C or SPI)