Simple demo application that uses the Arduino UNO board and an I2C 3-axis accelerometer to rotate a 3D picture of the earth from north to south and from east to west by the roll motion and the pitch motion of the board (see picture). A moving average filter can be applied to smooth the signals.