How to Create a LoRa IOT Single Channel Gateway.

Create a simple LoRa IOT Gateway with a Wemos D1 and this interface PCB. This PCB is perfect for learning and experimenting with LoRa.  Just add a Wemos D1 and a HopeRF RFM92 RFM95 LoRa module to the PCB. The PCB makes all the necessary connections to the LoRa module. And you are ready to go!

Parts list:

1X LoRa Gateway PCB.  
1x Wemos D1 mini.
1X HopeRF RFM95.  
1x RF Antenna.


RFM95 Wemos D1 Mini
VCC 3.3V VCC 3.3V
DIO2 D3 / GPIO0 (optional)

DIO2 can be optionally connected to D3 / GPIO0 with the placement of a jumper. Do this to connect an experimental feature. The RFM95 Frequency Hop connection.
Other data pins are free to use.

D3 and D4 can be used for an OLED screen. Do not place the F-Hop jumper when connecting an OLED screen.

You can place two optional capacitors the stabalize the VCC voltage. The size is SMD 0805.



This PCB is compatible with the ESP-1ch_Gateway-v5.0 Firmware. (v6.0 not tested)

Used pin configuration: ComResult 

Edit file: ESP-sc-gway.h
line 55:  #define _SPREADING SF9 //set to your sensor SF setting
line 90:  #define_PIN_OUT 2 //select pinout ComResult
line 113: #define _STRICT_1CH 0 //set to your sensor channel

Wifimanager setup for direct accessing the Wemos:
line 120/121:
#define AP_NAME “YourName”
#define AP_PASSWD “YourPassword”
(create login for setting up wifi trough wifimanager)

OLED screen optional:
line 138: #define OLED 2
Select witch OLED you want to use. The Pinout can be found in OLED.h
OLED.h line 40/42:
#elif _PIN_OUT==2 // COMRESULT
#define OLED_SCL 0 // GPIO0 / D3
#define OLED_SDA 2 // GPIO2 / D4

Gateway Ident definitions:
line 194/200:
#define _DESCRIPTION “ESP Gateway”
#define _EMAIL “”
#define _PLATFORM “ESP8266”
#define _LAT 52.0
#define _LON 5.0
#define _ALT 1
line 261: setup your wifi login for automatic login
wpas wpa[] = {
{ “” , “” }, // Reserved for Wifi Manager
{ “yourWifiNetwork”, “yourPass” },
{ “ape”, “beer” } //optional extra network


4 thoughts on “How to Create a LoRa IOT Single Channel Gateway.

  1. Ernst de Vreede says:

    My application, mcci-catena/arduino-lmic, needs the RFM95W’s DIO-2 pin. Connecting DIO-2 to D3 by soldering the bridge on the back of the PCB is obstructing the boot process of the WEMOS D1 mini.

    I patched a wire from DIO-2 to D0 (without the bridge to D3) to make the WEMOS boot again.
    This works with the mcci-catena/arduino-lmic software as a fairly cheap node for the TheThingsnetwork.
    Used pins settings for arduino-lmic:

    // Pin mapping
    const lmic_pinmap lmic_pins = {
    .nss = 15,
    .rxtx = LMIC_UNUSED_PIN,
    .rst = LMIC_UNUSED_PIN,
    .dio = {5, 4, 16},

    • diycon says:

      Thank you for your comment.
      Sorry to hear that your application did not work right away.

      We did not test the firmware you are using on this PCB.
      Only the single channel gateway firmware.

      Thanks for testing this application, and keep up the good work.

    • Diycon says:

      Hello Patrick. Thank you for your comment. Our board has been designed for an RFM95. It is not compatible with the RFM69 that is used by You could make it work. But the script and the PCB must be changed. Maybe we will release another design of our boards for this RFM69HW.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

This site uses cookies to offer you a better browsing experience. By browsing this website, you agree to our use of cookies.