<?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>topic NFC Controled RGB LED using LPC812 in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/NFC-Controled-RGB-LED-using-LPC812/m-p/662462#M22358</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This project demonstrate the controlling of RGB led over NFC by smartphone. LPC812 MAX board is interfaced with NTAG I2C board (NT3H1101).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="176238_176238.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122797iBDB2CDD85A3D24E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="176238_176238.jpg" alt="176238_176238.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="nfc_control_led.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13644iF28DCC4988A34F80/image-size/large?v=v2&amp;amp;px=999" role="button" title="nfc_control_led.jpg" alt="nfc_control_led.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The pin connections are here,&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P0_11 -&amp;gt; SCL_NTAG&lt;/P&gt;&lt;P&gt;P0_10 -&amp;gt; SDA_NTAG&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="176237_176237.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122798i66D5C23B20B226C2/image-size/large?v=v2&amp;amp;px=999" role="button" title="176237_176237.png" alt="176237_176237.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="rgb_led_wire.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13594iB3D8521D09309344/image-size/large?v=v2&amp;amp;px=999" role="button" title="rgb_led_wire.png" alt="rgb_led_wire.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;P0_7 -&amp;gt; RED LED&lt;/P&gt;&lt;P&gt;P0_17 -&amp;gt; GREEN LED&lt;/P&gt;&lt;P&gt;P0_16 -&amp;gt; BLUE LED&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="176203_176203.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122799i5B3886BDF1E3D40C/image-size/large?v=v2&amp;amp;px=999" role="button" title="176203_176203.png" alt="176203_176203.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="rgb_led_wire.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13555i093970F5049CDDF9/image-size/large?v=v2&amp;amp;px=999" role="button" title="rgb_led_wire.png" alt="rgb_led_wire.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The NTAG is having 476 pages with 4bytes per each page. For this project we used the page1 (4bytes)&lt;/P&gt;&lt;P&gt;byte1 - Led status (On/Off)&lt;/P&gt;&lt;P&gt;byte2 -&amp;nbsp; Red value&lt;/P&gt;&lt;P&gt;byte3 - Green Value&lt;/P&gt;&lt;P&gt;byte4 - Blue&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using of the android application , we can choose the color and corresponding RGB values&amp;nbsp; will be write into NTAG memory page1 by tapping the smartphone in it. LPC812 is loaded with wo tasks , the 1st one to generate the PWM signal (bit banging) based on the time_buffers, the other one is to read the NTAG Page1 values and update the time_buffers.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here with i have attached the source code , and soon the Android application is available in Google Play &lt;A _jive_internal="true" class="" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.fair.ashok.nfccontrolled%26hl%3Den"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;the working Demo here&amp;nbsp; &lt;A _jive_internal="true" class="" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fyoutu.be%2FtWfwOi7I0vk"&gt;https://youtu.be/tWfwOi7I0vk&lt;/A&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashok R&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-337756"&gt;ntag_rgb_control_src.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Feb 2017 07:12:20 GMT</pubDate>
    <dc:creator>ashokfair</dc:creator>
    <dc:date>2017-02-02T07:12:20Z</dc:date>
    <item>
      <title>NFC Controled RGB LED using LPC812</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/NFC-Controled-RGB-LED-using-LPC812/m-p/662462#M22358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This project demonstrate the controlling of RGB led over NFC by smartphone. LPC812 MAX board is interfaced with NTAG I2C board (NT3H1101).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="176238_176238.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122797iBDB2CDD85A3D24E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="176238_176238.jpg" alt="176238_176238.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="nfc_control_led.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13644iF28DCC4988A34F80/image-size/large?v=v2&amp;amp;px=999" role="button" title="nfc_control_led.jpg" alt="nfc_control_led.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The pin connections are here,&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P0_11 -&amp;gt; SCL_NTAG&lt;/P&gt;&lt;P&gt;P0_10 -&amp;gt; SDA_NTAG&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="176237_176237.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122798i66D5C23B20B226C2/image-size/large?v=v2&amp;amp;px=999" role="button" title="176237_176237.png" alt="176237_176237.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="rgb_led_wire.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13594iB3D8521D09309344/image-size/large?v=v2&amp;amp;px=999" role="button" title="rgb_led_wire.png" alt="rgb_led_wire.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;P0_7 -&amp;gt; RED LED&lt;/P&gt;&lt;P&gt;P0_17 -&amp;gt; GREEN LED&lt;/P&gt;&lt;P&gt;P0_16 -&amp;gt; BLUE LED&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="176203_176203.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122799i5B3886BDF1E3D40C/image-size/large?v=v2&amp;amp;px=999" role="button" title="176203_176203.png" alt="176203_176203.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="rgb_led_wire.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/13555i093970F5049CDDF9/image-size/large?v=v2&amp;amp;px=999" role="button" title="rgb_led_wire.png" alt="rgb_led_wire.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The NTAG is having 476 pages with 4bytes per each page. For this project we used the page1 (4bytes)&lt;/P&gt;&lt;P&gt;byte1 - Led status (On/Off)&lt;/P&gt;&lt;P&gt;byte2 -&amp;nbsp; Red value&lt;/P&gt;&lt;P&gt;byte3 - Green Value&lt;/P&gt;&lt;P&gt;byte4 - Blue&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using of the android application , we can choose the color and corresponding RGB values&amp;nbsp; will be write into NTAG memory page1 by tapping the smartphone in it. LPC812 is loaded with wo tasks , the 1st one to generate the PWM signal (bit banging) based on the time_buffers, the other one is to read the NTAG Page1 values and update the time_buffers.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here with i have attached the source code , and soon the Android application is available in Google Play &lt;A _jive_internal="true" class="" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.fair.ashok.nfccontrolled%26hl%3Den"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;the working Demo here&amp;nbsp; &lt;A _jive_internal="true" class="" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fyoutu.be%2FtWfwOi7I0vk"&gt;https://youtu.be/tWfwOi7I0vk&lt;/A&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ashok R&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-337756"&gt;ntag_rgb_control_src.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 07:12:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/NFC-Controled-RGB-LED-using-LPC812/m-p/662462#M22358</guid>
      <dc:creator>ashokfair</dc:creator>
      <dc:date>2017-02-02T07:12:20Z</dc:date>
    </item>
  </channel>
</rss>

