# bbc-microbit

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

Latest version **0.2.0** (published 2017-04-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install bbc-microbit
pnpm add bbc-microbit
yarn add bbc-microbit
bun add bbc-microbit
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2017-04-10 |
| First published | 2016-07-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 86 |
| Author | Sandeep Mistry |
| Maintainers | sandeepmistry |
| Keywords | micro:bit, microbit, bbc |

## Links

- npm: https://www.npmjs.com/package/bbc-microbit
- Repository: https://github.com/sandeepmistry/node-bbc-microbit
- Issues: https://github.com/sandeepmistry/node-bbc-microbit/issues
- npm.io page: https://npm.io/package/bbc-microbit

## Dependencies (1)

- [noble-device](https://npm.io/package/noble-device.md) ^1.4.0

## Recent versions

- 0.2.0 (latest) — 2017-04-10
- 0.1.0 — 2016-07-10

## 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).

---
_Source: https://npm.io/package/bbc-microbit · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
