Magnetometer project

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jblanchart
 
Posts: 3
Joined: Fri May 14, 2021 10:36 am

Magnetometer project

Post by jblanchart »

Hi
After having worked since years with Arduino, I want to go over to a microcontroller system with more memory, more compact and with less wires between modules. So I want to test the Feather system.
I have an "urgent" project (urgent = < 6 months for a full working prototype).
It's a magnetometer giving the horizontal and vertical components of the earth magnetic field and also the location. The objective specs are :
dimensions (without battery) : max 6x8x12 cm
must have :
a microcontroller (of course)
a SD Card (micro SD)
a RTC
a magnetometer (like a HMC5883 or better)
an inclinometer (gyroscope and/or accelerometer)
a display (240x160 is fine)
a GPS
Is that possible ? With which Feather modules ? (to be honest, I have no knowledge about Feather)
Jacques

User avatar
sj_remington
 
Posts: 1021
Joined: Mon Jul 27, 2020 4:51 pm

Re: Magnetometer project

Post by sj_remington »

All that is possible, even straightforward. There are plenty of tutorials covering each aspect of the project.

Consumer grade magnetometers need to be carefully calibrated for scale and offset on each axis, plus hard and soft iron distortion. Tutorial: https://thecavepearlproject.org/2015/05 ... r-arduino/

Tilt can be measured with a consumer grade accelerometer (not a gyro).

Note that the HMC5883 was discontinued years ago, and you can now buy 9DOF modules with much better specifications, which have both the magnetometer and the accelerometer. That saves you the trouble of aligning them.

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”