/node-sx127x

Node.js driver for Semtech SX1276/77/78/79 based LoRa radios

Primary LanguageJavaScriptMIT LicenseMIT

node-sx127x

Node.js driver for Semtech SX1276/77/78/79 based LoRa radios.

Requires a Linux computer with SPI hardware, like a Raspberry Pi.

Built on top of @fivdi's onoff and spi-device modules.

Prerequisites

Hardware Wiring

Semtech SX1276/77/78/79 Generic Linux Raspberry Pi
VCC 3.3V 3.3V
GND GND GND
SCK SCK SCK (pin 11)
MISO MISO MISO (pin 10)
MOSI MOSI MOSI (pin 9)
NSS Chip enable/select CS0 (pin 8) or CS1 (pin 7)
NRESET GPIO pin GPIO pin
DIO0 GPIO pin GPIO pin

Installation

npm install sx127x

API

See API.md.

Examples

See examples folder.

License

This libary is licensed under the MIT Licence.