Node.js driver for Semtech SX1276/77/78/79 based LoRa radios.
This implementation is based on the project https://github.com/sandeepmistry/node-sx127x
The differences are:
- Removing the library "async";
- ECMAScript 2015
- Update dependece librarys
Requires a Linux computer with SPI hardware, like a Raspberry Pi.
Built on top of @fivdi's onoff and spi-device modules.
- Linux computer with SPI hardware
- Node.js installed
- SPI driver installed and enabled
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 |
npm install sx127x
See API.md.
See examples folder.
This libary is licensed under the MIT Licence.