Accelerometer, proximity, compass