I2C Driver for MMC5603 magnetometer

zazas321
Posts: 231
Joined: Mon Feb 01, 2021 9:41 am

I2C Driver for MMC5603 magnetometer

Postby zazas321 » Sun Jun 04, 2023 5:27 pm

Hello. I am building a micro mouse (maze solver) robot using ESP32-S3.
In order to know the direction, I decided to use magnetometer. I was thinking of using: MMC5603 development board to get things going:
https://www.adafruit.com/product/5579

Maybe there is a driver available for this magnetometer? Maybe someone had some experience with this magnetometer (or any other 3-axis magnetometer) and could suggest something?

Thanks in advance :)

Rob Post
Posts: 5
Joined: Mon Jun 05, 2023 3:44 am

Re: I2C Driver for MMC5603 magnetometer

Postby Rob Post » Mon Jun 05, 2023 11:39 am

Hi,

Maybe you should check out this link because all you need is there I believe..

https://github.com/adafruit/Adafruit_LIS2MDL

zazas321
Posts: 231
Joined: Mon Feb 01, 2021 9:41 am

Re: I2C Driver for MMC5603 magnetometer

Postby zazas321 » Mon Jun 05, 2023 6:52 pm

Thanks for the suggestion. I could use this an alternative to MMC5603 but I could find not an esp-idf driver for this magnetometer.

It is also a little confusing to me as there is LIS2MDL and LIS3MDL. I cant quite figure what are the main differences between the two as they seem almost identical by reading the documentation.

I managed to find driver for the LIS3MDL but not LIS2MDL:
https://github.com/gschorcht/lis3mdl-esp-idf

Who is online

Users browsing this forum: No registered users and 108 guests