Skip to content
Arnaud Durand edited this page Nov 19, 2019 · 2 revisions

Introduction

According to Nordic; “The Nordic Thingy:52™ is a compact, power-optimized, multi-sensor development kit. It is an easy-to-use development platform, designed to help you build IoT prototypes and demos, without the need to build hardware or write firmware.” The device can probe temperature, humidity, air pressure, air quality (CO2 and TVOC), color and light intensity. It has 9-axis motion sensing (accelerometer, gyroscope and compass). It also has a push button, a RGB LED and a speaker for playing pre-recorded samples.

Thingy:52

BLE services

BLE services from Thingy:52 are extensively described in the firmware architecture.

Sample configuration

{
  "ble": {
    "services": {
      "whitelist": [
        "ef680100-9b35-4933-9b10-52ffa9740042",
        "ef680200-9b35-4933-9b10-52ffa9740042",
        "ef680300-9b35-4933-9b10-52ffa9740042",
        "ef680500-9b35-4933-9b10-52ffa9740042"
      ],
      "definitions": {
        "ef680100-9b35-4933-9b10-52ffa9740042": {
          "name": "Thingy Configuration Service"
        },
        "ef680200-9b35-4933-9b10-52ffa9740042": {
          "name": "Thingy Environment Service"
        },
        "ef680300-9b35-4933-9b10-52ffa9740042": {
          "name": "Thingy User Interface Service"
        },
        "ef680400-9b35-4933-9b10-52ffa9740042": {
          "name": "Thingy Motion Service"
        },
        "ef680500-9b35-4933-9b10-52ffa9740042": {
          "name": "Thingy Sound Service"
        }
      }
    },
    "characteristics": {
      "whitelist": [
        "ef680101-9b35-4933-9b10-52ffa9740042",
        "ef680201-9b35-4933-9b10-52ffa9740042",
        "ef680202-9b35-4933-9b10-52ffa9740042",
        "ef680203-9b35-4933-9b10-52ffa9740042",
        "ef680204-9b35-4933-9b10-52ffa9740042",
        "ef680205-9b35-4933-9b10-52ffa9740042",
        "ef680301-9b35-4933-9b10-52ffa9740042",
        "ef680302-9b35-4933-9b10-52ffa9740042",
        "ef680501-9b35-4933-9b10-52ffa9740042",
        "ef680502-9b35-4933-9b10-52ffa9740042"
      ],
      "definitions": {
        "ef680101-9b35-4933-9b10-52ffa9740042": {
          "name": "Thingy Name Characteristic",
          "types": [
            "utf8s"
          ]
        },
        "ef680201-9b35-4933-9b10-52ffa9740042": {
          "name": "Thingy Temperature Characteristic",
          "types": [
            "sint8",
            "uint8"
          ]
        },
        "ef680202-9b35-4933-9b10-52ffa9740042": {
          "name": "Thingy Pressure Characteristic",
          "types": [
            "sint32",
            "uint8"
          ]
        },
        "ef680203-9b35-4933-9b10-52ffa9740042": {
          "name": "Thingy Humidity Characteristic",
          "types": [
            "uint8"
          ]
        },
        "ef680204-9b35-4933-9b10-52ffa9740042": {
          "name": "Thingy Air Quality Characteristic",
          "types": [
            "uint16",
            "uint16"
          ]
        },
        "ef680205-9b35-4933-9b10-52ffa9740042": {
          "name": "Thingy Light Intensity Characteristic",
          "types": [
            "uint16",
            "uint16",
            "uint16",
            "uint16"
          ]
        },
        "ef680301-9b35-4933-9b10-52ffa9740042": {
          "name": "Thingy LED Characteristic",
          "types": [
            "uint8",
            "uint8",
            "uint8",
            "uint8"
          ]
        },
        "ef680302-9b35-4933-9b10-52ffa9740042": {
          "name": "Thingy Button Characteristic",
          "types": [
            "boolean"
          ]
        },
        "ef680501-9b35-4933-9b10-52ffa9740042": {
          "name": "Thingy Sound Configuration Characteristic",
          "types": [
            "uint8",
            "uint8"
          ]
        },
        "ef680502-9b35-4933-9b10-52ffa9740042": {
          "name": "Thingy Speaker Data Characteristic",
          "types": [
            "uint8"
          ]
        }
      }
    }
  }
}