adrianbautista / ArduinoBLE-Node-OSC-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example code to read IMU accelerometer and gyroscope data from an Arduino Nano 33 IoT, send that data to a Node.js server, and forward that data as OSC messages (e.g. to Max 8).

Prereqs

This code is tested with Node.js 9.x and Python 2.7. Had issues installing the Noble library with Node 10.x and Python 3.

Also using the abandonware/noble fork of Noble because had issues running the original Noble library on a High Sierra MacOS.

Getting Started

  • Clone or download this repository
  • Install the Arduino sketch on your Arduino Nano 33
  • Install Node.js dependencies in this repository (npm install)
  • Start the server (node index.js or npm start)

Resources/Inspiration

About


Languages

Language:JavaScript 65.6%Language:C++ 34.4%