1.0.4 • Published 7 years ago

thingy52 v1.0.4

Weekly downloads
27
License
SEE LICENSE IN LI...
Repository
github
Last release
7 years ago

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.