<?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>Nordic Thingy Bluetooth Speaker Control</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27753/nordic-thingy-bluetooth-speaker-control</link><description>Dear Nordic Development community, 
 I have a very interesting project going on based on bluetooth speaker controls. 
 In short words, i&amp;#39;d like to control the sound level of a speaker by Nordic Thingy&amp;#39;s 9-axis accelerometer. For example, if you lift</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Dec 2017 13:59:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27753/nordic-thingy-bluetooth-speaker-control" /><item><title>RE: Nordic Thingy Bluetooth Speaker Control</title><link>https://devzone.nordicsemi.com/thread/109496?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2017 13:59:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc0b14b8-ed86-4383-af51-7f405e2d011b</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Erke&lt;/p&gt;
&lt;p&gt;The specifics of how you connect and interact with the Thingy depends on the BLE libraries you use, but the basic procedure is as follows:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Scan for any device advertising the Thingy Configuration Service UUID: EF680100-9B35-4933-9B10-52FFA9740042&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Connect to the device, and look for the Thingy services that you want to interact with. The various services and characteristics used by the Thingy are documented &lt;a href="https://nordicsemiconductor.github.io/Nordic-Thingy52-FW/documentation/firmware_architecture.html#fw_arch_ble_services"&gt;here&lt;/a&gt;.&lt;br /&gt;
If you only care about the accelerometer data you only need to access the Motion service.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Once you have discovered the right services you can start reading and writing data, and enable notifications in the thingy to get regular updates.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Best regards&lt;br /&gt;
Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Thingy Bluetooth Speaker Control</title><link>https://devzone.nordicsemi.com/thread/109495?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2017 11:10:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3519805d-bdf1-464b-ba75-880ccbeae3c3</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Well that&amp;#39;s a question more to Arduino community I&amp;#39;m afraid. I even don&amp;#39;t know which BT add-on you want to use and how that works to fulfill basic BLE GAP&amp;amp;GATT roles to cooperate with opposite configuration in Thingy app. To be honest this is like high-level project question (&amp;quot;How to receive sensor data in Arduino over BLE&amp;quot;) and it could be answered on 100 pages (if you also count source code projects). So I don&amp;#39;t thing that&amp;#39;s a good question to any internet forum. The way I would go is:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Learn from Nordic tutorials how BLE and nRF5x with Nordic stack work. Like really what are stack layers like LL, L2CAP, (G)ATT and GAP, what data structures live on each layer, what methods are used and what asymmetric roles defined etc.&lt;/li&gt;
&lt;li&gt;Make Thingy work in basic demo without Arduino. I don&amp;#39;t have Thingy myself but &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.rds/dita/rds/designs/thingy/intro/frontpage.html?cp=9_0"&gt;it comes with pre-installed FW and off-the-shelf scenarios described in the guide&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Once you know what is the profile and services on Thingy and what must be the opposite &amp;quot;app&amp;quot; on mobile then you just need to solve the question &amp;quot;how to make it with Arduino&amp;quot;. To be honest I would give a s**t about Arduino but simply buy nRF52 DK for $40 which gives you bunch of examples immediately compatible and also more horse power than whatever Arduino...&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Thingy Bluetooth Speaker Control</title><link>https://devzone.nordicsemi.com/thread/109494?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2017 10:59:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e86de44-dc26-404c-a68d-5c7a80a1186d</guid><dc:creator>Erke Can Tellal</dc:creator><description>&lt;p&gt;So do you have any suggestions for your question
&amp;quot;&amp;quot;&amp;quot;So actually this degrades your question to &amp;quot;How to make transfer of Thingy sensor data to any BLE device so it can interpret it as control messages&amp;quot;&amp;quot;&amp;quot;&amp;quot;&amp;quot;&lt;/p&gt;
&lt;p&gt;Thank you again =)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Thingy Bluetooth Speaker Control</title><link>https://devzone.nordicsemi.com/thread/109492?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2017 10:58:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1af2147d-8748-4c0e-bfe2-9167b1c83392</guid><dc:creator>Erke Can Tellal</dc:creator><description>&lt;p&gt;Thank you for the quick answers. The main question is as you summed up how to transfer sensor data from the thingy to arduino. For the scope of the project the bluetooth control is more important than controlling the sound.
To be more clear, i only need to show the motion control capabilities of the Thingy. For example, if i lift the thingy, arduino should recognize it and should show the appropiate output (in this case lighting up an LED is also enough)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Thingy Bluetooth Speaker Control</title><link>https://devzone.nordicsemi.com/thread/109491?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2017 10:51:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bc188b7-978e-455f-8e49-57187c6e860d</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;So actually this degrades your question to &amp;quot;How to make transfer of Thingy sensor data to any BLE device so it can interpret it as control messages&amp;quot; (and then act accordingly - e.g. control volume on wireless speakers or whatever else, this is pretty irrelevant to Thingy and data transfer over BLE).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nordic Thingy Bluetooth Speaker Control</title><link>https://devzone.nordicsemi.com/thread/109493?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2017 10:50:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd4118d9-8fe0-48e4-8587-4fb6693c6f2a</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Just a footnote: be careful, basically all Bluetooth audio applications are BT classic aka BR/EDR not LE. If you do it through some &amp;quot;hub&amp;quot; like mobile phone/tablet/PC which has both BLE and BT classic capabilities then it might work. Otherwise make sure that your &amp;quot;middle man&amp;quot; is able to connect both Nordic BLE chip in something like Thingy and wireless speakers. I would say connecting directly Thingy with some off-the-shelf BT wireless speaker or headphones won&amp;#39;t work (also because BLE as well as BT classic are pretty much always point to point so whatever more complex must be routed through application layer meaning you need to have some programmable device - like Android phone, Arduino with some shields, Windows PC - to make such application).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>