sandeepmistry / node-bbc-microbit

Control a BBC micro:bit from Node.js using BLE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-bbc-microbit

Control a BBC micro:bit from Node.js using BLE.

Prerequisites

  • See noble prerequisites.
  • Requires a custom firmware build on the micro:bit. This build removes pairing security and enables all BLE services. The source code of the custom firmware can be found here.

Flashing micro:bit firmware

  1. Save hex file from firmware folder to computer.
  2. Connect micro:bit to computer using USB cable.
  3. Copy hex file to micro:bit disk drive.
  4. Calibrate magnetometer, by rotating micro:bit around in a circle.

Install

npm install bbc-microbit

Examples

See examples folder.

Usage

See API documentation.

About

Control a BBC micro:bit from Node.js using BLE

License:MIT License


Languages

Language:JavaScript 100.0%