This repository contains a proof-of-concept implementation of a single channel LoRaWAN gateway. It has been tested on the Wemos D1 Mini, using a Semtech SX1276 transceiver (HopeRF RFM95W).
The code is for testing and development purposes only, and is not meant for production usage.
Engine is based on code base of Single Channel gateway for RaspberryPI which is developed by Thomas Telkamp. Code was ported and extended to run on ESP 8266 mcu and provide RTC, Webserver and DNS services.
Maintained by Maarten Westenberg (mw12554@hotmail.com)
- listen on configurable frequency and spreading factor
- SF7 to SF12
- status updates
- can forward to two servers
- DNS support for server lookup
- NTP Support for time sync with internet time servers
- Webserver support (default port 8080)
- OTA Updates
- Access Point Mode (for OTA)
Not (yet) supported:
- PACKET_PUSH_ACK processing
- SF7BW250 modulation
- FSK modulation
- downstream messages (tx)
Added features if you're using WeMos-Lora Shield as gateway
- 2 On board RGB LED for visual
- 1 SSD1306 I2C OLED connector
- 1 On board push button
Assembled WeMos-Lora Shield
- gBase64 library by Adam Rudd is now integrated in the project, no need to install
- Time library Arduino documentation
- NeoPixelBus library is you're using WeMos Lora Shield as gateway
See things4u in the hardware section for building and connection instructions See WeMos-Lora github if you're using WeMos Lora Shield as gateway
Defaults:
- LoRa: SF7 at 868.1 Mhz
- Server: 54.229.214.112, port 1700 (The Things Network: croft.thethings.girovito.nl) or directly croft.thethings.girovito.nl
Edit .h file (ESP-sc-gway.h) to change configuration (look for: "Configure these values!").
Please set location, email and description.
The source files in this repository are made available under the Eclipse Public License v1.0, except for the base64 implementation, that has been copied from the Semtech Packet Forwader.