This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Nordic Thingy Bluetooth Speaker Control

Dear Nordic Development community,

I have a very interesting project going on based on bluetooth speaker controls.

In short words, i'd like to control the sound level of a speaker by Nordic Thingy's 9-axis accelerometer. For example, if you lift the Thingy from its original position the sound should go up, and if you lower down the Thingy the sound level should go down.

However, the Thingy is a barely new product and I couldn't manage to understand how to send the sensor output data to an another bluetooth device or a micro controller (Arduino+Bluetooth shield) apart from the smartphone.

Basically, I'd like to read the sensor output data from the Thingy by Arduino+Bluetooth shield in order to use for controlling the audio level of a speaker.

Thank you very much,

Erke

PS: One other important topic is the question of stream pairing. For example, i would like to use the Nordic Thingy as a medium for pairing the audio streaming source (Smartphone, PC or any bluetooth device) and an another bluetooth speaker.

  • Hi Erke

    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:

    1. Scan for any device advertising the Thingy Configuration Service UUID: EF680100-9B35-4933-9B10-52FFA9740042

    2. 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 here.
      If you only care about the accelerometer data you only need to access the Motion service.

    3. Once you have discovered the right services you can start reading and writing data, and enable notifications in the thingy to get regular updates.

    Best regards
    Torbjørn

Related