Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sandeepmistry/node-bbc-microbit
Control a BBC micro:bit from Node.js using BLE
https://github.com/sandeepmistry/node-bbc-microbit
Last synced: about 2 months ago
JSON representation
Control a BBC micro:bit from Node.js using BLE
- Host: GitHub
- URL: https://github.com/sandeepmistry/node-bbc-microbit
- Owner: sandeepmistry
- License: mit
- Created: 2016-06-20T01:27:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-05T20:53:26.000Z (over 6 years ago)
- Last Synced: 2024-10-18T21:58:51.461Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 216 KB
- Stars: 83
- Watchers: 17
- Forks: 26
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-microbit-zh - node-bbc-microbit - 使用蓝牙在Node.js中控制micro:bit (编程 / JavaScript 和 MakeCode)
README
# node-bbc-microbit
Control a [BBC micro:bit](https://www.microbit.co.uk/) from Node.js using BLE.
## Prerequisites
* See [noble prerequisites](https://github.com/sandeepmistry/noble).
* 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](https://github.com/sandeepmistry/node-bbc-microbit-firmware).### Flashing micro:bit firmware
1. Save hex file from [firmware folder](firmware/) to computer.
1. Connect micro:bit to computer using USB cable.
1. Copy hex file to micro:bit disk drive.
1. Calibrate magnetometer, by rotating micro:bit around in a circle.## Install
```
npm install bbc-microbit
```## Examples
See [examples](examples/) folder.
## Usage
See [API documentation](API.md).