Weird magnetometer values
#1
While reading the data from the magnetometer I have noticed weird/inconsistent values between a BH edition and CE edition.

Weird: Laying the phone on a table and turning it 360 degrees I would've expected the reported values to be in an interval [-MAX, MAX]
But as it turns out the values never cross 0.
I assume I'm picking up magnetic fields induced by flowing currents inside the pinephone itself?

Inconsistent: Doing the same kind of measurements in the same environment (same room, same position on the table) I get different readings for the v1.1 and the v1.2 phones.
I assume changes in the PCB could be the reason for this discrepancy.

Does anyone have an idea of what might be going wrong here?

See this issue.
If some of you could provide some readouts from the script I linked in the gitlab issue I would be much obliged :)

Background: I thought about making a compass app, but for that I would need to be able to find the north/south pole


Messages In This Thread
Weird magnetometer values - by devrtz - 07-25-2020, 04:30 AM
RE: Weird magnetometer values - by migmatite - 07-25-2020, 09:38 AM
RE: Weird magnetometer values - by devrtz - 07-25-2020, 11:05 AM
RE: Weird magnetometer values - by devrtz - 07-25-2020, 05:32 PM
RE: Weird magnetometer values - by migmatite - 07-27-2020, 02:46 AM
RE: Weird magnetometer values - by devrtz - 07-27-2020, 10:22 AM
RE: Weird magnetometer values - by migmatite - 07-27-2020, 11:31 AM
RE: Weird magnetometer values - by wibble - 07-27-2020, 12:54 PM
RE: Weird magnetometer values - by devrtz - 07-28-2020, 07:53 AM
RE: Weird magnetometer values - by wibble - 07-29-2020, 10:40 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to apply thermal zones values jojuma 3 2,570 04-13-2022, 12:15 PM
Last Post: Fish

Forum Jump:


Users browsing this thread: 2 Guest(s)