Skip to content

Inconsistent readings with "Basic Readings" example #2

@Raelx

Description

@Raelx

Running the "Basic Readings" example with a stationary magnet near the sensor produces very inconsistent values. Serial output values seem to bounce between near zero and what might be the actual mT values (in the range of 10-50mT). Here is some example output.

28.39 C
(0.16, -15.59, 36.52) mT
28.39 C
(0.16, -0.08, -0.31) mT
28.13 C
(-60.74, -0.08, 36.52) mT
28.66 C
(-60.90, -0.08, -0.27) mT
28.13 C
(0.12, -0.08, -0.27) mT
28.39 C
(0.12, -0.04, 36.45) mT
28.39 C
(0.16, -0.04, 36.45) mT
28.13 C
(0.20, -0.08, -0.27) mT
28.39 C
(0.20, -15.00, -0.27) mT
28.66 C
(0.23, -15.00, 36.52) mT
27.86 C
(0.08, -0.12, -0.31) mT
28.66 C

Your workbench

  • What development board or microcontroller are you using?
    • ESP8266 (Wemos D1 mini)
  • What version of hardware or breakout board are you using?
    • Mikroe 3D Hall 11 Click
  • How is the breakout board wired to your microcontroller?
    • 3.3v power
    • 10k pull up resistors on SCL and SDA
  • How is everything being powered?
    • USB
  • Are there any additional details that may help us help you?
    • Had to specify the I2C address for the sensor as 0x35, this Library defaults to 0x22

Steps to reproduce

Just run the example code

Expected behavior

Read values should be more or less stable without dropping out to near zero for most reading.

Actual behavior

Read value fluctuate between zeroish and a believable value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions