<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LPC MicrocontrollersのトピックRe: LPC1769 QEI rpm measurement</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-QEI-rpm-measurement/m-p/520283#M3563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Wed Aug 06 00:42:22 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Probably your computation is overflowing.&amp;nbsp; (120000000/8) * n * 60 is n time 900 million, so for n &amp;gt;= 5 it overflows a 32 bit unsigned int.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:41:59 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:41:59Z</dc:date>
    <item>
      <title>LPC1769 QEI rpm measurement</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-QEI-rpm-measurement/m-p/520282#M3562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Shoaib on Tue Aug 05 12:58:59 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was trying to implement a basic code for rpm measurement but came across a couple of problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1)&amp;nbsp; I am connecting a DC motor to the power supply and measuring the rpm values in my code. The rpm values are reducing for higher supply voltages. If the power supply is 10 V the rpm value is around 180 and for 15V it reduces to 90.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Moreover the measured rpm is alternating between two values. For example for 10V supply i receive 180 and 220 as the rpm values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337992"&gt;New%20Text%20Document_0.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337992"&gt;New%20Text%20Document_0.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337992"&gt;New%20Text%20Document_0.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337992"&gt;New%20Text%20Document_0.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337992"&gt;New%20Text%20Document_0.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337992"&gt;New%20Text%20Document_0.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:41:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-QEI-rpm-measurement/m-p/520282#M3562</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 QEI rpm measurement</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-QEI-rpm-measurement/m-p/520283#M3563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by starblue on Wed Aug 06 00:42:22 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Probably your computation is overflowing.&amp;nbsp; (120000000/8) * n * 60 is n time 900 million, so for n &amp;gt;= 5 it overflows a 32 bit unsigned int.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:41:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-QEI-rpm-measurement/m-p/520283#M3563</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1769 QEI rpm measurement</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-QEI-rpm-measurement/m-p/520284#M3564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Shoaib on Wed Aug 06 07:39:27 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot starblue! It worked when i changed the order of the multiplication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Great find!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:41:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1769-QEI-rpm-measurement/m-p/520284#M3564</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:41:59Z</dc:date>
    </item>
  </channel>
</rss>

