<?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>Beginner Help: Custom Light-Switch Mesh Dev Board Example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39385/beginner-help-custom-light-switch-mesh-dev-board-example</link><description>BACKGROUND: 
 So I&amp;#39;ve got minimal experience with low-level development/low-level coding/digital hardware, being more of an antennas person before, but have been given a task that I have boiled down to the following architecture: 
 Host PC --&amp;gt; Cloud </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Oct 2018 12:59:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39385/beginner-help-custom-light-switch-mesh-dev-board-example" /><item><title>RE: Beginner Help: Custom Light-Switch Mesh Dev Board Example</title><link>https://devzone.nordicsemi.com/thread/152699?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 12:59:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d59afbc9-b581-400b-a9bb-ba17fc4dc69c</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi Michael,&lt;/p&gt;
&lt;p&gt;No worries. Would you mind upvoting my answer if you thought it was useful? Thanks &amp;amp; have a nice weekend! &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner Help: Custom Light-Switch Mesh Dev Board Example</title><link>https://devzone.nordicsemi.com/thread/152657?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 09:58:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:926b09e9-ebd6-4e94-ae8c-46b951d50306</guid><dc:creator>MikeB</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Bj&amp;oslash;rn,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you very much for your reply!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I should have noted in more detail the end vision that we will use Mesh for: The central computer (the RPi at the moment) will control hundreds of actuators and sensors, spread out over perhaps a 1km^2. The vast majority of these will be connected to mains power, with a smaller number of battery powered ones using the Friendship feature for battery conservation. This last feature is a fair way off being implemented, so I imagine the updated SDK will be available before then.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Based on this, I think Bluetooth Mesh is probably the best way forward, over e.g. any 802.15.4 protocols.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for the pointers on where to start! I will begin reading but will almost certainly have more questions in short time.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Michael&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Beginner Help: Custom Light-Switch Mesh Dev Board Example</title><link>https://devzone.nordicsemi.com/thread/152629?ContentTypeID=1</link><pubDate>Fri, 12 Oct 2018 09:05:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5689ae53-38c5-42b3-8182-1e649473989c</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>[quote user=""]Is the above a good way of demonstrating that Bluetooth Mesh is what our system needs?[/quote]
&lt;p&gt;&amp;nbsp;You could definitely use Bluetooth Mesh for this usecase. Another option would be to use &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.2.0/ble_sdk_app_multilink.html?cp=4_0_0_4_1_0_2"&gt;the multilink example&lt;/a&gt; we have, which supports up to 20 links to one central device. Do you want the sensors to be battery-powered or not? What about the actuators? Right now with mesh sdk v2.2.0, we do not support the low power node &amp;amp; friend node feature. As of right now, I would recommend using the multilink example if you want a node that can sleep. Then, you would have the following architecture: Computer -&amp;gt; Cloud -&amp;gt; Raspberry Pi -&amp;gt; nRF52 DK (as central) -&amp;gt; up to 20 different nRF52 based devices with connected actuators &amp;amp; sensors. I would definitely follow the testing setup &amp;amp; give this example a shot. Multiple customers always ask us about Bluetooth Mesh, when in practice multilink would work just as well. The multilink example also has the option of &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/testing-long-range-coded-phy-with-nordic-solution-it-simply-works-922075585"&gt;long range&lt;/a&gt; (requires 52840) &amp;amp; high throughput (&lt;a href="https://www.youtube.com/watch?v=K1ItqEZ2_tw"&gt;link 1&lt;/a&gt;, &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/20181/nrf52-throughput-demo-blog-post"&gt;link 2&lt;/a&gt;, &lt;a href="https://github.com/NordicPlayground/nrf528xx-ble-throughput-demo"&gt;link 3&lt;/a&gt;, &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/throughput-and-long-range-demo"&gt;link 4&lt;/a&gt;). The high throughput mode will work with both nRF52832 &amp;amp; 52840. &lt;/p&gt;
&lt;p&gt;The downside of the multilink example is that there are not multiple paths to the device that is connected to the Raspberry Pi. Also, if you have a lot of nodes, then I would not recommend this approach.&lt;/p&gt;
&lt;p&gt;Bluetooth Mesh has multiple paths if you have enough devices. The regular mesh relay nodes should not be battery-powered, as the radio needs to be on most of the time to listen for incoming packets from other nodes. For a low-power battery-powered sensor, you will want to look at the friend &amp;amp; low power (LP) node features. These features will let a friend node store incoming messages intended for the LP node when the LP node is asleep. When the LP node wakes up, it can poll the friend node for all relevant messages.&lt;/p&gt;
&lt;p&gt;Although this feature is not yet available in the latest mesh sdk (v2.2.0), it should be coming soon. If you want to get more info on the potential release data, you can send me a private message on DevZone with your country location. Then, I&amp;#39;ll put you in touch with your local Regional Sales Manager.&lt;/p&gt;
[quote user=""]Is it a feasible approach within a month or two - remembering my minimal starting position[/quote]
&lt;p&gt;&amp;nbsp;I would say so, yes. :)&lt;/p&gt;
[quote user=""]What do I do to achieve these goals? I&amp;#39;m overwhelmed with the number of C files in each project. Should I start with the light switch example and modify it? I want to properly understand what&amp;#39;s going on when I switch from this demonstration to the proper development cycle.[/quote]
&lt;p&gt;&amp;nbsp;Yep, I would start with the light switch example in mesh sdk v2.2.0. Then, I would take a look at the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v2.2.0/md_scripts_interactive_pyaci_doc_demo_configuration.html?cp=4_1_0_3_0_2"&gt;interactive pyaci provisioner &lt;/a&gt;to provision the mesh network. This is a python script that could be run on a Raspberry Pi. I would test with a regular PC first. To get PWM working, I would look at &lt;a href="https://github.com/NordicPlayground/nrf52-mesh-light-switch-client-server-proxy/branches"&gt;this github example&lt;/a&gt; for adding PWM to the light switch example. A user guide is available for Android &amp;amp; iOS (see Mesh Hands-on *****_October2018.pdf). This example uses the nRF Mesh smartphone app, which is ok to use for a small mesh network. Be aware that the github example use slightly modified generic on/off server &amp;amp; client models compared to the mesh sdk v2.2.0. The example used is the proxy server model, but we have integrated both the generic on/off client &amp;amp; server models to enable a dev kit to operate as either a client (e.g. light switch) or server (e.g. LED).&lt;/p&gt;
&lt;p&gt;It might be easier for you to start with the nRF Mesh app &amp;amp; then move over to the interactive pyaci provisioner when you have a small network up &amp;amp; running. The interactive pyaci script is a bit more difficult to understand IMHO.&lt;/p&gt;
&lt;p&gt;Apart from that, you will need to figure out how you want to send the data from the Raspberry Pi to the cloud. Hope that helps!&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>