The Hitachi HM55B compass module from the Maker Shed is a dual-axis magnetic field sensor based on the Hitachi HM55B IC. It’s a great little module for sensing direction on your next robotics project. You can use this sensor with most micro controllers, including the Arduino.
More about the Hitachi compass module
How-To Tuesday: Arduino 101 potentiometers and servos