QMC5883LCompass
QMC5883LCompass copied to clipboard
QMC5883L Compass is a Arduino library for using QMC5583L series chip boards as a compass. Supports: - Getting values of XYZ axis. - Calculating Azimuth. - Getting 16 point Azimuth bearing direction...
Fixed a bug that the initial value of calibrationData might become an abnormal value when the calibrate function is called. It is necessary to execute the read function before calling...
Hi! I used this code to find QMC5883L Compass, but don’t found. The code compile on ESP32, but don’t show data. What can I do to test it ? `#include...
Hi , At first , I run the calibration.ino ont the GY-271(QMC5883L). and get the calibration data. I copy its to bearing.ino. And then I run the bearing.ino. The North...
hello, i am having funny error with the compass directions. when turning on compass and calibrating it like the example shows sometimes i read N as S and others N...
sometimes the sensor hangs, resetting or init doesn´t solve the problem. There are 2 ways to solve the problem: 1. powercycle the sensor 2. modify the Data_Ready method as shown...
Hi, Regarding to the datasheet: "QMC5883L has a built-in temperature sensor, it can provide temperature reading for other applications. The output is placed in Temperature Output Registers (07H and 08H)....
Added compassflip and compassoffset properties. Very usefull when used with a GPS+compass module. Most of the time this modules have the compass point at 90 degrees offset in comparison with...
Previously, calibrationData[3][2] was set to zeros since read() was not called before getX(), getY(), and getZ(). This caused incorrect calibration when any axis had consistently positive or negative values, resulting...
The pseudocode is like this ```C QMC5883LCompass compass; int x = compass.getX(); int y = compass.getY(); int z = compass.getZ(); int azim; char buffer[100]; // Increase the buffer size to...