The orientation controller uses an IMU Sensor, that combines an accelerometer, magnetometer and gyroscope to calculate the devices absolute orientation in relation to magnetic north. Using this data the micro-controller calculates a quaternion for the orientation of the controller, and a gravity vector. The data is transmitted over a Serial connection.
The prototype game developed, is inspired by the likes of Super Monkey Ball. The controllers orientation is mapped to the orientation of the level. The player must tilt and rotate the controller (and in turn the level) to roll the ball to the goal at the end of each level.