Page 1 of 1

I2C Driver for MMC5603 magnetometer

Posted: Sun Jun 04, 2023 5:27 pm
by zazas321
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 :)

Re: I2C Driver for MMC5603 magnetometer

Posted: Mon Jun 05, 2023 11:39 am
by Rob Post
Hi,

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

https://github.com/adafruit/Adafruit_LIS2MDL

Re: I2C Driver for MMC5603 magnetometer

Posted: Mon Jun 05, 2023 6:52 pm
by zazas321
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