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.

  • Member #1697553 / about 3 years ago * / 2

    It appears that these are NOT compatible with TTN despite what is advertised by Sparkfun. Please see link: https://www.thethingsnetwork.org/forum/t/making-single-channel-gateway-work-with-ttnv3/51540/2

  • Member #1660014 / about 4 years ago / 1

    end will there be a update to use TTN v3?

  • Member #1660014 / about 4 years ago / 1

    hello i followed this information https://learn.sparkfun.com/tutorials/sp ... an-gateway

    and doing a upload i got the error but the file is there where the other in the unziped files are...

    Arduino: 1.8.10 (Linux), Board: "SparkFun LoRa Gateway 1-Channel, Default, QIO, 80MHz, 4MB (32Mb), 921600"

    ESP-sc-gway:47:69: error: TimeLib.h: No such file or directory Multiple libraries were found for "SPI.h" compilation terminated. Used: /home/pi/.arduino15/packages/esp32/hardware/esp32/1.0.5/libraries/SPI exit status 1 TimeLib.h: No such file or directory

    This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

  • Member #247594 / about 4 years ago / 1

    Hookup Guide Question, Sparkfun ESP32 boards are now available in board manager and that doesn't seem to be reflected in the guide. Is this the preferred board file now vs espressif's?

    • santaimpersonator / about 4 years ago / 1

      At the time that this tutorial was written, the 1-channel gateway wasn't included in the Espressif board definitions. I have marked an issue in the tutorial for that section to be updated when we get a chance. You can follow our guide here to add the Espressif board definitions, which now includes the ESP32 LoRa 1-channel gateway.

  • fboesche / about 6 years ago / 1

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

    • santaimpersonator / about 5 years ago / 1

      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.

  • Member #1517682 / about 6 years ago * / 1

    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.

  • dieg0 / about 6 years ago * / 1

    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.

    • Member #1517682 / about 6 years ago / 1

      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

  • ickr / about 6 years ago / 1

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

  • xsk8rat / about 6 years ago / 1

    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 an issue with this tutorial content, please send us your feedback!