When I use TMAG5273 to test the magnetic field, the output is always float from -1 to 1mT irregularly even though I change the distance of a NdFeB N52 magnet (even though it's just next to the sensor the data still not change). The temperature is always stuck at 28.74C. I feel the sensor didn't work at all.
Below are the output from the monitor:
(-0.05, -0.86, 0.65) mT
28.74 C
(0.02, 0.29, 0.22) mT
28.74 C
(-0.70, 0.86, 0.43) mT
28.74 C
(-0.61, -0.02, -0.61) mT
28.74 C
(0.95, 0.49, 0.46) mT
28.74 C
(0.02, 0.63, 0.47) mT
28.74 C
(-0.83, -0.31, -0.12) mT
28.74 C
Workbench
Arduino mega2560
Arduino IDE2.3.2
same code
Arduino library 1.0.3 version
TMAG5273
3.3V power supply from Arduino
The connection is as shown below:
INT and DISABLED are disconnected and I didn't use pull up resistor for I2C (I saw the hookup guide on Sparkfun didn't use the resistor, if there's something wrong with this part please tell me)
Steps to reproduce
I use the same code in this path: examples/Example1_BasicReadings
Subject of the issue
Below are the output from the monitor: (-0.05, -0.86, 0.65) mT 28.74 C (0.02, 0.29, 0.22) mT 28.74 C (-0.70, 0.86, 0.43) mT 28.74 C (-0.61, -0.02, -0.61) mT 28.74 C (0.95, 0.49, 0.46) mT 28.74 C (0.02, 0.63, 0.47) mT 28.74 C (-0.83, -0.31, -0.12) mT 28.74 C
Workbench
The connection is as shown below:
Steps to reproduce
I use the same code in this path: examples/Example1_BasicReadings