Skip to content

Digital Compass - advice for beginner please #21

@chelliwell

Description

@chelliwell

Got my Qwiic board literally today. I've ported the I2C to my MCU, and pulled in the code from the Digital Compass example.
The heading result isn't coming out well though: turning the board horizontally thru ~90 degree steps I'm getting approx. 75, 115, 155, 205. (No metal within 30cm or more).
Obviously I'm not familiar yet with the device or library, but is there anything obvious I'm missing? Incorrect scaling on the X/Y? I noticed the Issue re. the bridge offset - haven't figured out if this is something needed....
On the plus side, my application doesn't need accuracy better than about 5 degrees, but I'm way off at present.
Any Dummy get-it-going-well-enough advice welcome! Thanks.

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