get accelerometer data