MEMSIC MMC5983MA 3-Axis Digital Compass & Arduino MCU – The Details (9) @robertssmorgasbord
MEMSIC MMC5983MA 3-Axis Digital Compass & Arduino MCU – The Details (9)  @robertssmorgasbord
Uploaded July 2023 | Updated September 2026, 4 days ago
Fixing the I2C problems and compiling for the ATmega328P …
↓↓↓ Complete description, time index and links below ↓↓↓

In the last video we’ve implemented an offset vector plus scale matrix calibration for our MMC5983MA, basically maxing out on what you can do with the chip (link below). However, I totally forgot about the random I2C errors we’re getting.

So in this video we’ll take on those nasty I2C errors, first analyzing them and then coming up with a – surprisingly quick and simple – fix. And because there’s some time left, we’ll also make our library compatible with older ATmega328P Arduinos.

00:00 Intro – forgot about the I2C errors, let’s fix them now
00:47 I2C errors analysis – random failures of requestFrom()
08:44 I2C error fix – simple, release bus after endTransmission()
13:04 Compiling for ATmega328P – e.g. Arduino Nano v3
16:00 Wrap-up – one more video and we’re done, bye

Tutorials youtube.com/playlist?list=PLwq-2MnM58FKn3920rc1V0qoTsQDheTIw
MEMSIC MMC5983MA 3-Axis Digital Compass & Arduino MCU – The Basics youtu.be/mlgslhsQ-L8
MEMSIC MMC5983MA 3-Axis Digital Compass & Arduino MCU – The Details (1) youtu.be/GlvbhHb22u4
MEMSIC MMC5983MA 3-Axis Digital Compass & Arduino MCU – The Details (2) youtu.be/k5PudDDylX4
MEMSIC MMC5983MA 3-Axis Digital Compass & Arduino MCU – The Details (3) youtu.be/4tchL8AY53A
MEMSIC MMC5983MA 3-Axis Digital Compass & Arduino MCU – The Details (4) youtu.be/fXAJN2KxfTQ
MEMSIC MMC5983MA 3-Axis Digital Compass & Arduino MCU – The Details (5) youtu.be/VBFjtTrTLc4
MEMSIC MMC5983MA 3-Axis Digital Compass & Arduino MCU – The Details (6) youtu.be/HEKQfgcHaXQ
MEMSIC MMC5983MA 3-Axis Digital Compass & Arduino MCU – The Details (7) youtu.be/H1q5SxzyNtA
MEMSIC MMC5983MA 3-Axis Digital Compass & Arduino MCU – The Details (8) youtu.be/CWggUkQgXp4
QST QMC5883L 3-Axis Digital Compass and Arduino MCU – The Details (1) youtu.be/NTDS2Vmnr-4
My code drive.google.com/drive/folders/1QFhgxGk_ziefJ2WqGmcwY003sZ1xJGig?usp=sharing

#arduino #compass #magnetometer #i2c #microcontroller #tutorials #tutorial #how-to #robertssmorgasbord
MEMSIC MMC5983MA 3-Axis Digital Compass & Arduino MCU – The Details (9)Capacitive Liquid Level Sensing (5): Analog to Digital (2)JFETs – The Dirty Details (2/3): Practice 1Dual Electronic Engine Control Lever IP68 (15): Plungers, Nipples & Strain RelieveElectronic Steering Wheel / Rudder Jog IP68 (14): Body (5)Electronic Steering Wheel / Rudder Jog IP68 (2): Static & Bending Calculations (1)MEMSIC MMC5983MA 3-Axis Digital Compass & Arduino MCU – The Details (8)Dual Electronic Engine Control Lever IP68 (18): Side Parts (3) & Body (4)Full Fly-by-Wire Electric Outboard (30): Detection of Motor Driver Beep Codes (2)RS-485 – The Basics (1/2): Principles, Topology, Specification, PerformanceHaswing Protruar 2.0 24V Trolling Motor – Unboxing and First ImpressionsFull Fly-by-Wire Electric Outboard (13): Housekeeping (1)
Roberts Smorgasbord |

MEMSIC MMC5983MA 3-Axis Digital Compass & Arduino MCU – The Details (9)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER