Skip to content

dmqgit/ESP-1ch-Gateway

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 

Repository files navigation

Single Channel LoRaWAN Gateway

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 ([email protected])

Features

  • 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

Top

Bottom

Dependencies

Connections

See things4u in the hardware section for building and connection instructions See WeMos-Lora github if you're using WeMos Lora Shield as gateway

Configuration

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.

License

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.

About

1-channel gateway based on ESP8266 mcu

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 65.3%
  • C 17.4%
  • C++ 17.3%