Nordic Thingy:52 Node.js library example. Please see http://www.nordicsemi.com/thingy for the latest Nordic Thingy:52 news and software releases.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Nordic Thingy:52 Node.js library

Welcome to the Nordic Thingy:52 Node.js library example. Please see http://www.nordicsemi.com/thingy for the latest Nordic Thingy:52 news and software releases.

This library is using noble-device and noble to handle the Bluetooth connection.

See RASPBERRYPI.md for how to set it up on a Raspberry Pi running Raspbian.

See GOOGLE_ASSISTANT.md for how to set it up on a Raspberry Pi running Raspbian and Google Assistant using the Thingy:52 as microphone input.

Prerequisites

  1. Node.js JavaScript runtime.
  2. noble-device (A Node.js lib to abstract BLE (Bluetooth Low Energy) peripherals, using noble).
  3. Bluetooth 4.0 USB dongle supported by noble and node-bluetooth-hci-socket.

Installation

  1. Install package: npm install thingy52
  2. Find examples cd node_modules/thingy52/examples.

Examples

A few examples like reading environment sensor data, reading button presses, color sensor calibration, connecting Thingy:52 to Firebase and more can be found under the examples folder.