An accelerometer is a sensor that measures the amount of acceleration in a device or a project. A G-Sensor measures the amount of tilt in a device like a tablet pc or mobile phone. If you tilt your phone from landscape mode to potrait mode, your screen positions itself accordingly