Uploaded September 2024 | Updated September 2026, 1 day ago
Setting configuration parameters within the MLX90363’s EEPROM …
↓↓↓ Complete description, time index and links below ↓↓↓
Last time we’ve written 16 bit words to the EEPROM (link below). But what we really want is to write specific configuration parameters, while avoiding unnecessary writes to the EEPROM. Seems we’ve got our work cut out for us.
First we have a look at an architecture that will enable us to do exactly that. Then we implement a whole bunch of methods to change the configuration parameters. Finally we write a method that will commit those changes to the EEPROM.
00:00 Intro – writing config parameters to the EEPROM
00:53 Overview – lots of update methods and a commit
04:48 Update methods – changing bits in the config union
05:09 Code 1 – 23 update methods, just the highlights
12:49 Commit method – writing the config to the EEPROM
14:20 Code 2 – commit method and other changes
17:09 Code 3 – sketch to test configuration changes
20:22 Test 1 – changing the user ID in the EEPROM
22:26 Housekeeping – privatizing the EEPROM stuff
23:10 Code 4 – privatizing and other enhancements
27:52 Test 2 – everything works as expected
28:14 Wrap-up – still 6 messages to implement, bye
Tutorials youtube.com/playlist?list=PLwq-2MnM58FKn3920rc1V0qoTsQDheTIw
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Basics youtu.be/XAbHbonRWEk
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (1) youtu.be/w1Tx66HK83Q
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (2) youtu.be/HDymx1VU_a8
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (3) youtu.be/6rkxCzaH1hQ
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (4) youtu.be/8s34R9XDqzk
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (5) youtu.be/MrlVVu7uIHg
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (6) youtu.be/5g_6NYy5Qcg
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (7) youtu.be/0tTG7peMkSI
My code drive.google.com/drive/folders/1CLvym6ytoPLXkoji6DU-rJKnTpFYmiu6?usp=sharing
Melexis MLX90636 Datasheet media.melexis.com/-/media/files/documents/datasheets/mlx90363-datasheet-melexis.pdf
Getting Started Guide for MLX90363 | Melexis 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
Setting configuration parameters within the MLX90363’s EEPROM …
↓↓↓ Complete description, time index and links below ↓↓↓
Last time we’ve written 16 bit words to the EEPROM (link below). But what we really want is to write specific configuration parameters, while avoiding unnecessary writes to the EEPROM. Seems we’ve got our work cut out for us.
First we have a look at an architecture that will enable us to do exactly that. Then we implement a whole bunch of methods to change the configuration parameters. Finally we write a method that will commit those changes to the EEPROM.
00:00 Intro – writing config parameters to the EEPROM
00:53 Overview – lots of update methods and a commit
04:48 Update methods – changing bits in the config union
05:09 Code 1 – 23 update methods, just the highlights
12:49 Commit method – writing the config to the EEPROM
14:20 Code 2 – commit method and other changes
17:09 Code 3 – sketch to test configuration changes
20:22 Test 1 – changing the user ID in the EEPROM
22:26 Housekeeping – privatizing the EEPROM stuff
23:10 Code 4 – privatizing and other enhancements
27:52 Test 2 – everything works as expected
28:14 Wrap-up – still 6 messages to implement, bye
Tutorials youtube.com/playlist?list=PLwq-2MnM58FKn3920rc1V0qoTsQDheTIw
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Basics youtu.be/XAbHbonRWEk
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (1) youtu.be/w1Tx66HK83Q
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (2) youtu.be/HDymx1VU_a8
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (3) youtu.be/6rkxCzaH1hQ
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (4) youtu.be/8s34R9XDqzk
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (5) youtu.be/MrlVVu7uIHg
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (6) youtu.be/5g_6NYy5Qcg
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (7) youtu.be/0tTG7peMkSI
My code drive.google.com/drive/folders/1CLvym6ytoPLXkoji6DU-rJKnTpFYmiu6?usp=sharing
Melexis MLX90636 Datasheet media.melexis.com/-/media/files/documents/datasheets/mlx90363-datasheet-melexis.pdf
Getting Started Guide for MLX90363 | Melexis 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 (13)
Covering the parameters ORTH_B1B2, ORTH_SEL and FILTER …
↓↓↓ Complete description, time index and links below ↓↓↓
In the previous video we’ve successfully used the SEL_SMISM and SMISM parameters, but couldn’t make sense of the FHYST parameter (link below). Well, there’s no rest for the wicked, so let’s churn through the next parameters.
First we revisit the orthogonality parameters, focusing on ORTH_B1B2. But in the following experiment ORTH_B1B2, like ORTH_XY before, seems to do absolutely nothing. Finally we have a look at the FILTER parameter and it actually works.
00:00 Intro – we’ll start with ORTH_B1B2 and go from there
00:45 ORTH_[SEL|XY|B1B2] – recap focused on ORTH_B1B2
03:53 Experimenting 1 – effect of ORTH_B1B2 (there’s none)
07:08 FILTER – according to the datasheet
09:03 Experimenting 2 – FILTER works as expected
13:01 Preview – 3D, KALPHA, KBETA, KT and FHYST (again)
16:10 Wrap up – some math and geometry ahead, 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
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (11) https://youtu.be/HtG6XRlLfJg
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (12) https://youtu.be/lx8CAS7Sqfo
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 (13)](https://i.ytimg.com/vi/zKj6MQiQBz4/mqdefault.jpg)