Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to interface and read data from a 3-axis magnetometer using the Arduino Uno R4 WiFi in this comprehensive tutorial. Discover how to work with the GY-87 module containing the QMC5883L magnetometer chip, which enables measurement of magnetic fields in x, y, and z directions. Follow step-by-step instructions to activate the magnetometer module and obtain accurate readings from the sensor. Explore the fundamental concepts of magnetometry and understand how magnetic field measurements can be used for navigation and orientation applications. Practice connecting the GY-87 module to your Arduino board and writing code to communicate with the QMC5883L sensor. Gain hands-on experience with I2C communication protocols while working with this magnetic sensing device. Prepare for advanced applications by learning the groundwork for sensor calibration techniques that will enable calculation of heading, yaw, and compass direction in future projects.
Syllabus
Arduino Uno R4 WiFi LESSON 86: Using a 3-Axis Magnetometer with the Arduino
Taught by
Paul McWhorter