A demonstration of digital and analog magnetic sensors for Arduino boards. These are really simple sketches because these are really simple to interface parts. Live demonstration at: https://www.nve.com/Videos/video-page.php?video=Arduino&title=Magnetic%20Sensors%20for%20Arduino
"AA-Sensor-Output-to-Meter-demo" Reads an AA-Series analog magnetometer sensor, amplifies and corrects offset using an Arduino Uno. Sensor OUT+ on IO0 and OUT- on IO1. Amplified PWM output on IO3.
"AD-Sensor-LED-demo" Reads an open-collector AD-Series digital magnetic sensor with an Arduino Uno. Sensor output on IO2; the on-board Arduino LED (on IO13) indicates the sensor output.