07-25-2020, 04:30 AM
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
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