<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>PTM 215B switch</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35417/ptm-215b-switch</link><description>Hi, 
 
 I would like to control the LEDs based on the PTM 215B switch by programming it using nRF52 DK. Where each button in the switch should turn one LED. 
 
 I am using the following tools: 
 
 IAR Emedded Workbench IDE 
 nRFgo Studio 
 nRF5_SDK_15</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Jun 2018 07:57:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35417/ptm-215b-switch" /><item><title>RE: PTM 215B switch</title><link>https://devzone.nordicsemi.com/thread/136287?ContentTypeID=1</link><pubDate>Fri, 15 Jun 2018 07:57:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:766aa5be-72e7-4186-832c-c5c51ce74b56</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;I am not familiar with this specific module, but I suspect it has mesh firmware pre-loaded onto it. You can check with the supplier to verify this.&lt;/p&gt;
&lt;p&gt;If the module has that, then you can follow the documentation for the nRF Mesh SDK to build the light_switch server application and the provisioner example in order to create the mesh network.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PTM 215B switch</title><link>https://devzone.nordicsemi.com/thread/136277?ContentTypeID=1</link><pubDate>Fri, 15 Jun 2018 07:47:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f29f788-6e01-4c2d-b506-b4b0bb9114ec</guid><dc:creator>Mo7ammed</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;H&amp;aring;kon,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for your support, but is it possible to do this example with only one nRF52 DK ????&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also, I&amp;#39;m new in this field, and I just want a simple connection between the PTM 215B and the nRF52 DK to control the 4 LEDs in the nRF52 DK.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PTM 215B switch</title><link>https://devzone.nordicsemi.com/thread/136157?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 12:17:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db90ed6d-7794-4299-a692-d9bd54b3c23e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The PTM 215B module is a energy harvesting module, which we have an example for in the nRF Mesh SDK v2.0.1:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v2.0.1/md_examples_enocean_switch_README.html?cp=4_1_0_4_1"&gt;http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v2.0.1/md_examples_enocean_switch_README.html?cp=4_1_0_4_1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately, the nRF Mesh SDK does not support IAR. You can use gcc or Segger Embedded Studio (free to use with nRF5-devices) to build the above project.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It might be that the vendor has already pre-loaded this device with mesh-firmware, so you may not have to program the switch itself. If this is the case, you can setup two kits as per the example documentation:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;To see the demonstration, this example has to be used with a Provisioner and one or more Servers from the&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v2.0.1/md_examples_light_switch_README.html"&gt;light_switch&lt;/a&gt;&amp;nbsp;examples folder.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>