Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (6) @robertssmorgasbord
Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (6)  @robertssmorgasbord
Uploaded September 2024 | Updated September 2026, 3 hours ago
Reading the whole configuration from the EEPROM and decoding it …
↓↓↓ Complete description, time index and links below ↓↓↓

Last time we’ve implemented the memory read messages and read the 16-bit words from the EEPROM that contained the configuration (link below). But what we really want is a nicely readable configuration, not some 16-bit unsigned integers.

We start out with some errata regarding our memory map. Then we proceed and read the configuration into an array within a union. Finally we extend that union by a struct to structure the configuration and decode all parameters.

00:00 Intro – errata and making configuration readable
01:18 Errata – corrected and completed Address enum
03:34 Enum parameters – four of them
08:04 Struct parameter – array of free bytes in a struct
09:23 Numeric parameters - 13 including two Booleans
12:18 Code 1 – reading the configuration into memory
18:22 Code 2 – mapping the parameters in a union
23:07 Code 3 – decoding all the parameters
29:08 Code 4 – sketch printing out the parameters
30:39 Test – all verifiable parameters are OK
34:25 Wrap-up – next we’ll write to the EEPROM, 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
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 (6)Capacitive Liquid Level Sensing (4): Analog to Digital (1)Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (14)Hardlock R2 Dongle & SafeNet iKey 4000 Token – Double TeardownMelexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (3)Arduino megaAVR Analog Comparator, e.g. Nano Every ATmega4809Proxxon KT 150 Compound Table Maintenance (Cleaning & Lubricating)Full Fly-by-Wire Electric Outboard (24): New Isolated RS-485 Transceiver (2)Full Fly-by-Wire Electric Outboard (10): Water Intrusion Detection Circuit & CodeElectronic Steering Wheel / Rudder Jog IP68 (15): Body (6)Haswing Protruar 2.0 24V Trolling Motor – Battery Indicator ImprovementChannel Announcement: Sorry, no video today or next week – I’m doing tax forms
Roberts Smorgasbord |

Melexis MLX90363 Triaxis® Magnetometer & Arduino MCU – The Details (6)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER