Skip to content

use Arduino board but can not read the basic parameter #9

@yutong-he

Description

@yutong-he

Subject of the issue

  • 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:
0c09a74d-0364-425e-88d5-ba1fe42d9602

  • 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

Metadata

Metadata

Assignees

Labels

In ProgressEffort to correct this issue is in progressbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions