Magnetic Sensor Working