Uploaded May 2023 | Updated September 2026, 12 hours ago
Getting the MMC5983MA up and running with our own library …
↓↓↓ Complete description, time index and links below ↓↓↓
We’ve already covered the basics of the MEMSIC MMC5983MA high performance 3-axis magnetic sensor (link below). It’s time now to have a detailed look. Meaning we will dive into the datasheet and start coding our own library for it.
First we have a look at the MMC5983MA’s register map. From there we determine what it takes to take a single magnetic measurement. Of course we’ll have a detailed look at all the code we write. Finally we run some simple test.
00:00 Intro – we’ve done the basics, now it’s time for the details
01:02 Register map – output, status, control and product ID
08:14 Take magnetic measurement – setting one bit does it
09:04 Arduino sketch v1 – just taking measurements in a loop
11:27 Header file v1 – basic definitions plus magnetic measurement
19:02 CPP file v1 – basic implementation plus magnetic measurement
30:53 Test – magnetic field measurements with very low noise
32:29 Wrap-up – next we’ll implement more of the functionality, bye
Tutorials youtube.com/playlist?list=PLwq-2MnM58FKn3920rc1V0qoTsQDheTIw
MEMSIC MMC5983MA 3-Axis Digital Compass & Arduino MCU – The Basics youtu.be/mlgslhsQ-L8
QST QMC5883L 3-Axis Digital Compass and Arduino MCU – The Details (1) youtu.be/NTDS2Vmnr-4
My code drive.google.com/drive/folders/1FoemQvi6axvekmeUoL3L2v0Ue-9Mm-_A?usp=share_link
#arduino #compass #magnetometer #i2c #microcontroller #tutorials #tutorial #how-to #robertssmorgasbord
Getting the MMC5983MA up and running with our own library …
↓↓↓ Complete description, time index and links below ↓↓↓
We’ve already covered the basics of the MEMSIC MMC5983MA high performance 3-axis magnetic sensor (link below). It’s time now to have a detailed look. Meaning we will dive into the datasheet and start coding our own library for it.
First we have a look at the MMC5983MA’s register map. From there we determine what it takes to take a single magnetic measurement. Of course we’ll have a detailed look at all the code we write. Finally we run some simple test.
00:00 Intro – we’ve done the basics, now it’s time for the details
01:02 Register map – output, status, control and product ID
08:14 Take magnetic measurement – setting one bit does it
09:04 Arduino sketch v1 – just taking measurements in a loop
11:27 Header file v1 – basic definitions plus magnetic measurement
19:02 CPP file v1 – basic implementation plus magnetic measurement
30:53 Test – magnetic field measurements with very low noise
32:29 Wrap-up – next we’ll implement more of the functionality, bye
Tutorials youtube.com/playlist?list=PLwq-2MnM58FKn3920rc1V0qoTsQDheTIw
MEMSIC MMC5983MA 3-Axis Digital Compass & Arduino MCU – The Basics youtu.be/mlgslhsQ-L8
QST QMC5883L 3-Axis Digital Compass and Arduino MCU – The Details (1) youtu.be/NTDS2Vmnr-4
My code drive.google.com/drive/folders/1FoemQvi6axvekmeUoL3L2v0Ue-9Mm-_A?usp=share_link
#arduino #compass #magnetometer #i2c #microcontroller #tutorials #tutorial #how-to #robertssmorgasbord






![Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (11)
Covering the parameters ORTH_SEL, ORTH_XY and MAPXYZ …
↓↓↓ Complete description, time index and links below ↓↓↓
In the previous video we’ve improved the oscillator frequency measurement, determined/verified the axes of the chip and tackled the first two parameters – VIRTUALGAINMIN/-MAX (link below). Now we’ll have a look at the next parameters.
We start with some errata regarding VIRTUALGAINMIN/-MAX. Then we read up on the ORTH_[SEL|XY|B1B2] parameters in the datasheet and experiment with ORTH_SEL and ORTH_XY. We also look at MAPXYZ and do some housekeeping.
00:00 Intro – we’ll be going through more parameters
00:45 Errata – VIRTUALGAINMIN/-MAX application
03:24 ORTH_[SEL|XY|B1B2] – according to the datasheet
09:02 Housekeeping 1 – active/updateOrth…() methods
11:53 Experimenting – effect of ORTH_SEL and ORTH_XY
25:16 MAPXYZ – mapping X/Y/Z to B1/B2/B3 channels
28:21 Houskeeping 2 – renaming MapXYZ enumerators
30:08 Wrap-up – more config parameters to follow, bye
Tutorials https://www.youtube.com/playlist?list=PLwq-2MnM58FKn3920rc1V0qoTsQDheTIw
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Basics https://youtu.be/XAbHbonRWEk
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (1) https://youtu.be/w1Tx66HK83Q
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (2) https://youtu.be/HDymx1VU_a8
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (3) https://youtu.be/6rkxCzaH1hQ
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (4) https://youtu.be/8s34R9XDqzk
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (5) https://youtu.be/MrlVVu7uIHg
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (6) https://youtu.be/5g_6NYy5Qcg
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (7) https://youtu.be/0tTG7peMkSI
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (8) https://youtu.be/xaL3Or_DVjI
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (9) https://youtu.be/JhSwvkAOEUc
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (10) https://youtu.be/YmZj0D8PAvE
My code https://drive.google.com/drive/folders/1CLvym6ytoPLXkoji6DU-rJKnTpFYmiu6?usp=sharing
Melexis MLX90636 Datasheet https://media.melexis.com/-/media/files/documents/datasheets/mlx90363-datasheet-melexis.pdf
Getting Started Guide for MLX90363 | Melexis https://media.melexis.com/-/media/files/documents/application-notes/mlx90363-getting-started-guide-application-note-melexis.pdf?la=en
#arduino #magnetometer #microcontroller #spi #tutorials #tutorial #how-to #robertssmorgasbord Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (11)](https://i.ytimg.com/vi/HtG6XRlLfJg/mqdefault.jpg)



