A tilt-compensated electronic compass (three axis, plus three axis accelerometer) would work connected to a small microcontroller like the Arduino UNO. The HMC6352 was the standard but Honeywell stopped producing them. There are others however but probably more expensive. The display could be a nice four digit LED (under two inches). Jon