Comments: SparkFun LoRa Gateway 1-Channel Hookup Guide

Pages

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • Where can I get driver for SparkFUn LoRa Gateway 1-Ch USB port for Window 10 ?

    • Hi there, it sounds like you are looking for technical assistance. Please use the link in the banner above, to get started with posting a topic in our forums. Once you have posted a new topic, our technical support team will do what they can to help.

      Otherwise, the specific board in this hookup guide uses a CH340C chip. A Windows 10 computer should automatically install the drivers once the board is plugged in. However, you can use this hookup guide if you need to manually install the drivers.

  • I connected an interface cable from U.FL to RP-SMA, and then an antenna that is supposed to give 2dBi gain. To my horror the measured RSSI was very bad, limiting the device to just WiFi range. After some debugging, found out that the culprit was the antenna itself. In lieu of the $10 antenna, I just soldered a 1/4-wave length wire and viola! It is working Long Range as advertised. To use the U.FL port, you need to short a jumper.

  • Unfortunately I'm not able to compile the sketch. I followed all the instructions before "Upload the Sketch", did a successful blink test and installed the correct library versions as stated in the "Getting Started" section of the README of the ESP-1ch-Gateway-v5.0 library.

    1. Load the other necessary libraries that are not shipped with this sketch in your IDE. Goto in the IDE to do so.
    • ArduinoJson (version 5.13.1)
    • WifiManager (Version 0.12.0 by Tzapu)

    I get the following error:

    /Users/diego/Code/PlatformIO/Projects/ESP-1ch-Gateway-v5.0_arduino_ide/ESP-sc-gway/_txRx.ino: In function 'int sendPacket(uint8_t*, uint8_t)':
    _txRx:63:2: error: 'StaticJsonDocument' was not declared in this scope
      StaticJsonDocument<312> jsonBuffer;
      ^
    _txRx:63:26: error: 'jsonBuffer' was not declared in this scope
      StaticJsonDocument<312> jsonBuffer;
                              ^
    _txRx:76:50: error: 'deserializeJson' was not declared in this scope
       auto error = deserializeJson(jsonBuffer, bufPtr);
                                                      ^
    _txRx:97:45: error: expected primary-expression before '>' token
       JsonObject root = jsonBuffer.to<JsonObject>();
                                                 ^
    _txRx:97:47: error: expected primary-expression before ')' token
       JsonObject root = jsonBuffer.to<JsonObject>();
                                                   ^
    

    When I searched for the undeclared 'StaticJsonDocument' online, I found out, that there were some name changes in ArduinoJson v6, but no matter which version I choose (v5 oder v6), I get the same error.

    I hope, somebody has an idea, how I could get my LoRa Gateway up and runnung.

    • Instead of the one on GitHub, did you try the archived copy? I just used the code w/o issue, but couldn't remember whether it was the Github or archived copy

  • Would anyone recommend a document that would point the way on how to feed the data to your own MQTT broker (Mosquitto)?

  • It might help some folks to know that the DEVADDR variable format is different than what is copied from the Things network webpage. It should look something like this:

    static const u4_t DEVADDR =  0x11223C1A;
    

    That took a minute for me to figure out.


If you've found a bug or have other constructive feedback for our tutorial authors, please send us your feedback!