ESPLoraWeb is an example of LoRa working on the ESP8266 NodeMCU with SX1276 and RFM98W.
I share this example as I haven't been able to find one that work!
- Connect with LoRa
- Send messages from a module and receive it from other modules
Please configure Settings.h to give access to your wireless network! First copy Settings.h.sample to Settings.h (Settings.h is ignored by git.)
It's an example, the ip and wireless access is hardcoded.
You can then either connect on the WebSocket, port 81. Or just use the web interface: http://{IpOfTheModule}/
pio lib list
- 124: RadioHead (1.74)
- 549: WebSockets (2.0.7)
The libraries should be installed automatically!
If it doesn't work, you can install them by typing in your terminal (the icon with a > on the left of PlatformIO).
platformio lib install {library id}
Example for the pixel library: platformio lib install 679
- PlatformIO
- An ESP8266
- Some LoRa modules
- RF22/24/26/27/69
- Si4
- 460/4461/4463/4464
- nRF24/nRF905
- SX1276/77/78
- RFM95/96/97/98
Tested:
- RFM98, SX1276
You may be interested to buy: Please note that other modules are supported. It's the one I've tested.
- SX1278 LoRa
- RFM98W Wireless transceiver
- Holder for the LoRa Chips
Remove the 3 resistances, connect the left pin of the left resistance to the bottom left pin (resistance to the bottom).
- Some Dupont cables
All actions are done on the left panel.
To build: PlatformIO: Build
If you have any errors, verify that your libraries are well installed!
To deploy files (images, html, javascript),
click on : Run other target. PIO Upload SPIFFS image
Now click on PlatformIO: Upload
The leds will blink and you will see a new wireless access.