wire up accelerometer