SM225-field-measurement A simple Arduino program to read the magnetic field with an SM225 SPI 2-byte Smart Magnetometer Sensor to Arduino Uno connections: Sensor VDD to 3.3V; GND to GND; SS=pin 10; MOSI=pin 11; MISO=pin 12; SCLK=pin 13.