<?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 Re: JN5168 Home Automation Example in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-Home-Automation-Example/m-p/787762#M4926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mario for the reply. You would have seen a relay insert module which has inputs from switch and control the light as a load. This way you can control the light from a app/Zigbee command and use the manual switch also as input. I was trying to create one such device.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Oct 2018 17:27:46 GMT</pubDate>
    <dc:creator>vijay_gopinatha</dc:creator>
    <dc:date>2018-10-10T17:27:46Z</dc:date>
    <item>
      <title>JN5168 Home Automation Example</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-Home-Automation-Example/m-p/787758#M4922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I used the JN-AN-1189 example of home automation profile and the device is discovered in the controller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As the next step, I want to control a relay for the smartplug example. Based on the on-off i want to operate the relay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I determine the output pin used by JN5168? Also can i directly drive a relay with that digital output?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Sep 2018 10:55:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5168-Home-Automation-Example/m-p/787758#M4922</guid>
      <dc:creator>vijay_gopinatha</dc:creator>
      <dc:date>2018-09-23T10:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: JN5168 Home Automation Example</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-Home-Automation-Example/m-p/787759#M4923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please look at the next user Guide&lt;/P&gt;&lt;P&gt;Chapter 5. Digital Inputs/Outputs (DIOs)&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/JN-UG-3087.pdf" rel="nofollow noopener noreferrer" target="_blank"&gt;JN516x Integrated Peripherals API User Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;PUBLIC &lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;APP_vInitLeds&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="token function"&gt;vAHI_DioSetPullup&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt; DIO_LED_MASK&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;/* pull up on */&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; psDio&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;u32DioDirection &lt;SPAN class="operator token"&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;~&lt;/SPAN&gt;DIO_LED_MASK&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN class="comment token"&gt;/* input */&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 04:24:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5168-Home-Automation-Example/m-p/787759#M4923</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2018-09-25T04:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: JN5168 Home Automation Example</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-Home-Automation-Example/m-p/787760#M4924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mario,&lt;/P&gt;&lt;P&gt;thanks for the reply. It’s useful information for me. One additional question related to the question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i used the HA on off switch example Nxp has published. That’s working perfectly fine. I also needs to connect a manual switch to this. My understanding is manual switch will input to one of DIO as input and based on the interrupt I toggle switch state.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is is this the preferred approach? Do you have a sample application wich takes DIO inputs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 16:32:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5168-Home-Automation-Example/m-p/787760#M4924</guid>
      <dc:creator>vijay_gopinatha</dc:creator>
      <dc:date>2018-09-25T16:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: JN5168 Home Automation Example</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-Home-Automation-Example/m-p/787761#M4925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;My understanding is manual switch will input to one of DIO as input and based on the interrupt I toggle switch state.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I am a little bit&amp;nbsp;confused by this. What is your final application?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Mario&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 16:40:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5168-Home-Automation-Example/m-p/787761#M4925</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2018-10-08T16:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: JN5168 Home Automation Example</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/JN5168-Home-Automation-Example/m-p/787762#M4926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mario for the reply. You would have seen a relay insert module which has inputs from switch and control the light as a load. This way you can control the light from a app/Zigbee command and use the manual switch also as input. I was trying to create one such device.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2018 17:27:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/JN5168-Home-Automation-Example/m-p/787762#M4926</guid>
      <dc:creator>vijay_gopinatha</dc:creator>
      <dc:date>2018-10-10T17:27:46Z</dc:date>
    </item>
  </channel>
</rss>

