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.
- 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 sx127xSee API.md.
See examples folder.
This libary is licensed under the MIT Licence.