<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Compass and calibration]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I've recently received the m5stack "limited" with battery and mpu9250.<br />
I want to use mpu9250 to get heading (0 to 360 degres from earth north).</p>
<p dir="auto">I've run the sample code "MPU9250BasicAHRS.ino" without much problems, but values are very stranges.<br />
If my understanding is good, the yaw is the heading. Pitch and roll seem ok but only if I start the m5stack on a plate surface. So I think there is a calibration problem somewhere.<br />
This sample seem to be based on <a href="https://github.com/kriswiner/MPU9250/blob/master/MPU9250BasicAHRS.ino" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/kriswiner/MPU9250/blob/master/MPU9250BasicAHRS.ino</a> (and the lib too). I think base the lib on the t3 version will be better, but it have to work with the standard version.</p>
<p dir="auto">Do you think what is wrong ? Is it possible to calibrate better and to save the calibration ? (or have I a bad interpretation of Yaw ?).</p>
<p dir="auto">Thanks !</p>
]]></description><link>https://community.m5stack.com/topic/103/compass-and-calibration</link><generator>RSS for Node</generator><lastBuildDate>Fri, 01 May 2026 01:07:20 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/103.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 16 Feb 2018 19:36:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Compass and calibration on Tue, 13 Mar 2018 09:06:26 GMT]]></title><description><![CDATA[<p dir="auto">Hello JimiT,</p>
<p dir="auto">I will see if it can solve my problem, thanks for your help ! I will follow the github issue.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://community.m5stack.com/post/595</link><guid isPermaLink="true">https://community.m5stack.com/post/595</guid><dc:creator><![CDATA[quetzal]]></dc:creator><pubDate>Tue, 13 Mar 2018 09:06:26 GMT</pubDate></item><item><title><![CDATA[Reply to Compass and calibration on Sat, 03 Mar 2018 23:55:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/quetzal" aria-label="Profile: quetzal">@<bdi>quetzal</bdi></a> Hi Quetzal,</p>
<p dir="auto">Below is a link to a high quality article discussing exactly how to calibrate a magnetometer and how this can be applied to the M5Stack to get accurate readings from the mpu9250.</p>
<p dir="auto"><a href="https://appelsiini.net/2018/calibrate-magnetometer/" target="_blank" rel="noopener noreferrer nofollow ugc">https://appelsiini.net/2018/calibrate-magnetometer/</a></p>
]]></description><link>https://community.m5stack.com/post/498</link><guid isPermaLink="true">https://community.m5stack.com/post/498</guid><dc:creator><![CDATA[JJ]]></dc:creator><pubDate>Sat, 03 Mar 2018 23:55:52 GMT</pubDate></item><item><title><![CDATA[Reply to Compass and calibration on Mon, 19 Feb 2018 20:04:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/quetzal" aria-label="Profile: quetzal">@<bdi>quetzal</bdi></a><br />
Hi, there has been some discussion of this here:  <a href="https://github.com/m5stack/M5Stack/issues/39" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5Stack/issues/39</a></p>
]]></description><link>https://community.m5stack.com/post/416</link><guid isPermaLink="true">https://community.m5stack.com/post/416</guid><dc:creator><![CDATA[JJ]]></dc:creator><pubDate>Mon, 19 Feb 2018 20:04:49 GMT</pubDate></item><item><title><![CDATA[Reply to Compass and calibration on Mon, 19 Feb 2018 14:14:37 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">Moreover, i'm not sure but I think magnets on the m5stack with mpu9250 is a bad idea (i've removed the ones in my board). So i still not resolved my problem :/</p>
]]></description><link>https://community.m5stack.com/post/412</link><guid isPermaLink="true">https://community.m5stack.com/post/412</guid><dc:creator><![CDATA[quetzal]]></dc:creator><pubDate>Mon, 19 Feb 2018 14:14:37 GMT</pubDate></item></channel></rss>