We are using MAG3110 sensor for parking occupancy detection application. We are getting varying results even when the sensor is placed in fixed position and there is no moving objects around the sensor (Please find attached file).
Our configuration is as follows:
CTRL_REG2 = 0x80
CTRL_REG1 = 0x01
I am reading in while loop during interrupt from MAG3110
Please suggest any method to get the stable reading , since our application is to detect a vehicle whenever the vehicle is over the sensor.
Original Attachment has been moved to: MAG3110Logs.txt.zip