<?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中的主题 LPCXpresso804 - Sensor Demo</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso804-Sensor-Demo/m-p/833166#M33248</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;This is a quick demo tutorial about interfacing DHT22 with &lt;A href="https://www.nxp.com/docs/en/data-sheet/LPC804.pdf"&gt;LPC804&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="IMG_5636.00_00_10_01.Still001.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/66057i58A504DB6FB55170/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG_5636.00_00_10_01.Still001.jpg" alt="IMG_5636.00_00_10_01.Still001.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;The LPC804 are an ArmCortex-M0+ based, low-cost 32-bit MCU family operating at CPU frequencies of up to 15 MHz. The LPC804 supports 32 KB of flash memory and 4 KB of SRAM.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt; &lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;I have used the &lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/lpc-cortex-m-mcus/lpc800-series-cortex-m0-plus-mcus/lpcxpresso804-for-the-lpc804-family-of-mcus:OM40001"&gt;LPCXpresso804&lt;/A&gt; development kit &lt;A href="https://cdn-shop.adafruit.com/datasheets/Digital+humidity+and+temperature+sensor+AM2302.pdf"&gt;here &lt;/A&gt;. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt; &lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;The IoT adapter board is handmade one , it has esp8266 module interface to send the data to cloud. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt; &lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;LPC side PIN &lt;STRONG&gt;P0_13&lt;/STRONG&gt; is used for 1wire interface with DHT&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PIN &lt;STRONG&gt;P0_8&lt;/STRONG&gt; and &lt;STRONG&gt;P0_9&lt;/STRONG&gt; is used for UART Debug interface&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="dht_01.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/66056iC716E840C99B32BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="dht_01.jpg" alt="dht_01.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;DHT22 data line is pulled up with 10k resistor. when we want to read the data from DHT22 , the LPC pulls the data low for 18ms then poll the pin for acknowledge (Pin as Input) The DHT responds with Low for nearly 40us. After that sampling the data at right interval receives all 5 bytes. The last byte contains the checksum which is addition of other 4 bytes.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;Byte0 - Humidity HIGH byte&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;Byte1 - Humidity LOW byte&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;Byte2 - Temperature HIGH byte&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;Byte3 - Temperature LOW byte&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;Division by 10 will give proper data with one decimal point. (example 27.8 C)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;after processing the data will be send to PC via serial debug interface.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt; &lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;The working demo is here &lt;A href="https://www.youtube.com/watch?v=O-3RNi6EDDk"&gt;Watch Now&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt; &lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Jul 2018 10:08:38 GMT</pubDate>
    <dc:creator>ashokfair</dc:creator>
    <dc:date>2018-07-22T10:08:38Z</dc:date>
    <item>
      <title>LPCXpresso804 - Sensor Demo</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso804-Sensor-Demo/m-p/833166#M33248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;This is a quick demo tutorial about interfacing DHT22 with &lt;A href="https://www.nxp.com/docs/en/data-sheet/LPC804.pdf"&gt;LPC804&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="IMG_5636.00_00_10_01.Still001.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/66057i58A504DB6FB55170/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG_5636.00_00_10_01.Still001.jpg" alt="IMG_5636.00_00_10_01.Still001.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;The LPC804 are an ArmCortex-M0+ based, low-cost 32-bit MCU family operating at CPU frequencies of up to 15 MHz. The LPC804 supports 32 KB of flash memory and 4 KB of SRAM.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt; &lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;I have used the &lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-based-processors-and-mcus/lpc-cortex-m-mcus/lpc800-series-cortex-m0-plus-mcus/lpcxpresso804-for-the-lpc804-family-of-mcus:OM40001"&gt;LPCXpresso804&lt;/A&gt; development kit &lt;A href="https://cdn-shop.adafruit.com/datasheets/Digital+humidity+and+temperature+sensor+AM2302.pdf"&gt;here &lt;/A&gt;. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt; &lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;The IoT adapter board is handmade one , it has esp8266 module interface to send the data to cloud. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt; &lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;LPC side PIN &lt;STRONG&gt;P0_13&lt;/STRONG&gt; is used for 1wire interface with DHT&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;PIN &lt;STRONG&gt;P0_8&lt;/STRONG&gt; and &lt;STRONG&gt;P0_9&lt;/STRONG&gt; is used for UART Debug interface&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="dht_01.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/66056iC716E840C99B32BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="dht_01.jpg" alt="dht_01.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;DHT22 data line is pulled up with 10k resistor. when we want to read the data from DHT22 , the LPC pulls the data low for 18ms then poll the pin for acknowledge (Pin as Input) The DHT responds with Low for nearly 40us. After that sampling the data at right interval receives all 5 bytes. The last byte contains the checksum which is addition of other 4 bytes.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;Byte0 - Humidity HIGH byte&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;Byte1 - Humidity LOW byte&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;Byte2 - Temperature HIGH byte&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;Byte3 - Temperature LOW byte&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;Division by 10 will give proper data with one decimal point. (example 27.8 C)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;after processing the data will be send to PC via serial debug interface.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt; &lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt;&lt;SPAN style="font-size: 15px;"&gt;The working demo is here &lt;A href="https://www.youtube.com/watch?v=O-3RNi6EDDk"&gt;Watch Now&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt; &lt;/DIV&gt;&lt;DIV style="left: 250.867px; top: 370.272px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.00342);"&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jul 2018 10:08:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCXpresso804-Sensor-Demo/m-p/833166#M33248</guid>
      <dc:creator>ashokfair</dc:creator>
      <dc:date>2018-07-22T10:08:38Z</dc:date>
    </item>
  </channel>
</rss>

