<?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[[Solved]Doesn&#x27;t work sample sketch &quot;MP9250BasicAHRS&quot; on M5Stack Gray]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I bought M5Stack Gray for motion sencing of wheelchair.</p>
<p dir="auto">I installed M5Stack library and sketched on my Mac and basic sketch worked fine.<br />
Also I tried to install sample sketch "MP9250BasicAHRS", but it didn't.</p>
<ul>
<li>comple and download into M5Stack was work fine</li>
<li>Then I checked behavior of M5Stack via Serial Monitor and following message was displayed.</li>
</ul>
<blockquote>
<p dir="auto">MPU9250 I AM 0 I should be 71<br />
MPU9250 is online...<br />
x-axis self test: acceleration trim within : 2.2% of factory value<br />
y-axis self test: acceleration trim within : 8.4% of factory value<br />
z-axis self test: acceleration trim within : 1.6% of factory value<br />
x-axis self test: gyration trim within : -0.0% of factory value<br />
y-axis self test: gyration trim within : 0.0% of factory value<br />
z-axis self test: gyration trim within : 0.8% of factory value<br />
Guru Meditation Error: Core  1 panic'ed (IntegerDivideByZero). Exception was unhandled.<br />
Core 1 register dump:<br />
PC      : 0x400d3ba5  PS      : 0x00060730  A0      : 0x800d1412  A1      : 0x3ffb1f20<br />
A2      : 0x3ffc2494  A3      : 0x3ffc2520  A4      : 0x3ffc252c  A5      : 0x3ffb1f50<br />
A6      : 0x00000000  A7      : 0x00000000  A8      : 0x00000000  A9      : 0x00000000<br />
A10     : 0x00000000  A11     : 0x00000000  A12     : 0x00000002  A13     : 0x00000002<br />
A14     : 0x3ffb1f50  A15     : 0x00000000  SAR     : 0x0000001c  EXCCAUSE: 0x00000006<br />
EXCVADDR: 0x00000000  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0x00000000</p>
</blockquote>
<p dir="auto">It look like that MPU9250 didn't calibrate.<br />
Is this following line correct?</p>
<blockquote>
<p dir="auto">// Calibrate gyro and accelerometers, load biases in bias registers<br />
IMU.calibrateMPU9250(IMU.gyroBias, IMU.accelBias);</p>
</blockquote>
<p dir="auto">I've no idea to fix this problem and will you help or give advises?</p>
<p dir="auto">Thank you,</p>
]]></description><link>https://community.m5stack.com/topic/281/solved-doesn-t-work-sample-sketch-mp9250basicahrs-on-m5stack-gray</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 04:57:34 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/281.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 05 Aug 2018 02:48:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Solved]Doesn&#x27;t work sample sketch &quot;MP9250BasicAHRS&quot; on M5Stack Gray on Fri, 11 Jan 2019 12:09:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/clause4" aria-label="Profile: clause4">@<bdi>clause4</bdi></a></p>
<p dir="auto">You need click "Library Manager" on Arduino IDE</p>
]]></description><link>https://community.m5stack.com/post/2457</link><guid isPermaLink="true">https://community.m5stack.com/post/2457</guid><dc:creator><![CDATA[m5-docs]]></dc:creator><pubDate>Fri, 11 Jan 2019 12:09:18 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]Doesn&#x27;t work sample sketch &quot;MP9250BasicAHRS&quot; on M5Stack Gray on Fri, 11 Jan 2019 12:08:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/clause4" aria-label="Profile: clause4">@<bdi>clause4</bdi></a><br />
Hi, you can update your other libraries through arduino ide by following this article.</p>
<p dir="auto"><a href="https://docs.m5stack.com/#/en/related_documents/upgrade_m5stack_lib" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.m5stack.com/#/en/related_documents/upgrade_m5stack_lib</a></p>
]]></description><link>https://community.m5stack.com/post/2456</link><guid isPermaLink="true">https://community.m5stack.com/post/2456</guid><dc:creator><![CDATA[m5-docs]]></dc:creator><pubDate>Fri, 11 Jan 2019 12:08:33 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]Doesn&#x27;t work sample sketch &quot;MP9250BasicAHRS&quot; on M5Stack Gray on Wed, 09 Jan 2019 05:03:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/watson" aria-label="Profile: watson">@<bdi>watson</bdi></a>  Thank you replying.<br />
I' m not sure how to update the library.<br />
I need to use the MPU9250 to monitor a pumps vibrations.</p>
]]></description><link>https://community.m5stack.com/post/2400</link><guid isPermaLink="true">https://community.m5stack.com/post/2400</guid><dc:creator><![CDATA[clause4]]></dc:creator><pubDate>Wed, 09 Jan 2019 05:03:36 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]Doesn&#x27;t work sample sketch &quot;MP9250BasicAHRS&quot; on M5Stack Gray on Wed, 09 Jan 2019 02:10:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/clause4" aria-label="Profile: clause4">@<bdi>clause4</bdi></a><br />
Hi, What's your specific proble/issue?</p>
]]></description><link>https://community.m5stack.com/post/2397</link><guid isPermaLink="true">https://community.m5stack.com/post/2397</guid><dc:creator><![CDATA[m5-docs]]></dc:creator><pubDate>Wed, 09 Jan 2019 02:10:26 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]Doesn&#x27;t work sample sketch &quot;MP9250BasicAHRS&quot; on M5Stack Gray on Tue, 08 Jan 2019 06:59:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/0x1abin" aria-label="Profile: 0x1abin">@<bdi>0x1abin</bdi></a> Hi, please can you explain to me how this fixed the issue. I am struggling with the same thing. I am very new to this. I have followed all the instructions but i dont know how to upload the other I2c onto the m5stack.<br />
I'm sure I'm missing something...</p>
]]></description><link>https://community.m5stack.com/post/2390</link><guid isPermaLink="true">https://community.m5stack.com/post/2390</guid><dc:creator><![CDATA[clause4]]></dc:creator><pubDate>Tue, 08 Jan 2019 06:59:36 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]Doesn&#x27;t work sample sketch &quot;MP9250BasicAHRS&quot; on M5Stack Gray on Wed, 29 Aug 2018 05:12:55 GMT]]></title><description><![CDATA[<p dir="auto">HI, I faced the same problem, but it seems to be fixed on this commit for now.<br />
<a href="https://github.com/espressif/arduino-esp32/commit/b05430cfd9f273d627baa6c4dac6c215d6cde902" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/espressif/arduino-esp32/commit/b05430cfd9f273d627baa6c4dac6c215d6cde902</a></p>
]]></description><link>https://community.m5stack.com/post/1455</link><guid isPermaLink="true">https://community.m5stack.com/post/1455</guid><dc:creator><![CDATA[tiryoh]]></dc:creator><pubDate>Wed, 29 Aug 2018 05:12:55 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]Doesn&#x27;t work sample sketch &quot;MP9250BasicAHRS&quot; on M5Stack Gray on Mon, 13 Aug 2018 15:11:08 GMT]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">Thank you for your comments and advise.</p>
<p dir="auto">My M5Stack work fine too after update library by 0x1abin's advise.</p>
]]></description><link>https://community.m5stack.com/post/1396</link><guid isPermaLink="true">https://community.m5stack.com/post/1396</guid><dc:creator><![CDATA[tmarujumpoff]]></dc:creator><pubDate>Mon, 13 Aug 2018 15:11:08 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]Doesn&#x27;t work sample sketch &quot;MP9250BasicAHRS&quot; on M5Stack Gray on Tue, 07 Aug 2018 14:35:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bin" aria-label="Profile: bin">@<bdi>bin</bdi></a> That worked, thank you.</p>
]]></description><link>https://community.m5stack.com/post/1387</link><guid isPermaLink="true">https://community.m5stack.com/post/1387</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Tue, 07 Aug 2018 14:35:55 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]Doesn&#x27;t work sample sketch &quot;MP9250BasicAHRS&quot; on M5Stack Gray on Tue, 07 Aug 2018 07:30:58 GMT]]></title><description><![CDATA[<p dir="auto">The latest arduino-esp32 I2C have a problem, I checkout out to the  e63aa4065092c9a3a0547b2649a509585866ce87 can fix the problem.</p>
<pre><code>cd ~/Documents/Arduino/hardware/espressif/esp32
git checkout e63aa4065092c9a3a0547b2649a509585866ce87
</code></pre>
]]></description><link>https://community.m5stack.com/post/1382</link><guid isPermaLink="true">https://community.m5stack.com/post/1382</guid><dc:creator><![CDATA[0x1abin]]></dc:creator><pubDate>Tue, 07 Aug 2018 07:30:58 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]Doesn&#x27;t work sample sketch &quot;MP9250BasicAHRS&quot; on M5Stack Gray on Mon, 06 Aug 2018 19:15:07 GMT]]></title><description><![CDATA[<p dir="auto">I have the same problem, I just bought and received a gray model that said it has the MPU9250, but<br />
I can't seem to get it to work.  My error is almost the same, the calibration numbers are a little different, otherwise same error.<br />
Someone please tell us how to fix this.<br />
I'm on a Linux Mint box (19.0, 64bit, 4gb ram, Arduino 1.8.5 IDE) Updated ESP32 cores, etc.<br />
I've tried all the versions of the M5Stack library that are available via the library manager, all give the same error.</p>
]]></description><link>https://community.m5stack.com/post/1380</link><guid isPermaLink="true">https://community.m5stack.com/post/1380</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Mon, 06 Aug 2018 19:15:07 GMT</pubDate></item></channel></rss>