SparkFun RedBot Sensor - Accelerometer
Detect Bumps and Motion
The Accelerometer sensor is an add-on for RedBot that provides bump and motion detection. The sensor works by measuring acceleration forces on the x, y, and z axis. Measuring the amount of acceleration (or lack there of) provides the robot a better understanding of its movements.