Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. My Project
  3. LoRa Gateway

LoRa Gateway

Scheduled Pinned Locked Moved My Project
18 Posts 4 Posters 7.0k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    NeverDie
    Hero Member
    wrote on last edited by NeverDie
    #3

    @alexsh1

    The range and coverage, as you would guess, is fantastic.

    1 Reply Last reply
    0
    • alexsh1A alexsh1

      @neverdie Did make any tests on range, power, etc?
      How do you envisage using it in home automation?
      The only Lora GW (LoraWAN for TTN) I have tinkered was Hallard's one:

      https://github.com/hallard/WeMos-Lora

      N Offline
      N Offline
      NeverDie
      Hero Member
      wrote on last edited by NeverDie
      #4

      @alexsh1
      Hallard's is more like my earlier LoRa shield, except of course with more bells and whistles. This new shield is different, in that it required a separate MCU (the atmega328p in this case) to handle the LoRa radio while the ESP8266 D1 Mini runs ESP-LINK, which is what allows the D1 Mini to perform as an untethered gateway.

      Hmmm. Come to think of it, if ESP-LINK ran on an ESP32, then I suppose I wouldn't need the atmega328p. Perhaps one core of the ESP32 could run ESP-LINK and the other could manage the LoRa. I should look into that.... Up until just now, I hadn't really seen a reason to use an ESP32 for anything, let alone this.

      Anyhow, the purpose of it is, like all gateways, to communicate with nodes and relay information via Domoticz and/or Node Red. For instance, I have leak detectors based on LoRa which need to be managed:
      https://www.openhardware.io/view/534/Extremely-Simple-Arduino-Pro-Mini-LoRa-Water-Leak-Detector

      1 Reply Last reply
      1
      • N Offline
        N Offline
        NeverDie
        Hero Member
        wrote on last edited by
        #5

        By the way, ESP-LINK comes with a built-in MQTT Client.

        1 Reply Last reply
        0
        • alexsh1A Offline
          alexsh1A Offline
          alexsh1
          wrote on last edited by
          #6

          OK, excellent. I have not tried lora coverage myself (apart from single channel GW for TTN). In fact I did not even built one for my home automation. I think the best usage of it are things like remote location sensors. I know a guy who is utilising lora for HAB (High Altitude Ballooning) projects - http://www.daveakerman.com/

          I am trying to think about where at home I can utilise one, but so far RFM69 is covering everything for me. Having said that, your GW is a simple and minimalist one and I can probably build one just to tinker.

          PS BTW, water leak sensors - I have a couple of z-wave sensors. They were not DIY, but the advantage is that they just work and look very nice.

          1 Reply Last reply
          0
          • R Offline
            R Offline
            ricorico94
            wrote on last edited by
            #7

            Hi,
            Seems a great project !
            Can you clarify the difference with your previous minimalist gateway : the new one is linked to Domoticz controller through wifi, but how was the minimalist linked to controller ? Wasnt'it already through wifi ? Or do you mean this new approach enhances the wifi connectivity by using ESP-Link ? (to be frank, I don't really understand what makes ESP-Link so good, as I never investigated it)

            br,
            Ricorico94

            N 1 Reply Last reply
            0
            • R ricorico94

              Hi,
              Seems a great project !
              Can you clarify the difference with your previous minimalist gateway : the new one is linked to Domoticz controller through wifi, but how was the minimalist linked to controller ? Wasnt'it already through wifi ? Or do you mean this new approach enhances the wifi connectivity by using ESP-Link ? (to be frank, I don't really understand what makes ESP-Link so good, as I never investigated it)

              br,
              Ricorico94

              N Offline
              N Offline
              NeverDie
              Hero Member
              wrote on last edited by
              #8

              @ricorico94 The main difference is that the newer project can use ESP-LINK on the ESP8266, whereas the first one can't. However, you are correct: with the right programming both can use wi-fi

              1 Reply Last reply
              0
              • N Offline
                N Offline
                NeverDie
                Hero Member
                wrote on last edited by
                #9

                Also, I've confirmed that ESP-LINK doesn't run on the ESP32, so the only way to use it is with an ESP8266 plus an additional MCU, which is what this newer version enables.

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  ricorico94
                  wrote on last edited by
                  #10

                  I think I could understand the wiring thanks to your other projects (the shield for ESP-link on Wemos D1 mini), but I'd appreciate if you could clarify it -just to make sure since I see the 90° connector on picture is not like the one in your shield)
                  Could you detail also the SW/scripts and settings you use ?
                  Thanks,
                  Ricorico94

                  N 1 Reply Last reply
                  0
                  • R ricorico94

                    I think I could understand the wiring thanks to your other projects (the shield for ESP-link on Wemos D1 mini), but I'd appreciate if you could clarify it -just to make sure since I see the 90° connector on picture is not like the one in your shield)
                    Could you detail also the SW/scripts and settings you use ?
                    Thanks,
                    Ricorico94

                    N Offline
                    N Offline
                    NeverDie
                    Hero Member
                    wrote on last edited by
                    #11

                    @ricorico94
                    To overcome the overhang, I've since put everything onto a single shield for the ESP8266 D1 Mini:
                    0_1522936040252_LoRa Gateway v4_top.png
                    0_1522936050583_LoRa Gateway v4_bottom.png

                    1 Reply Last reply
                    0
                    • N Offline
                      N Offline
                      NeverDie
                      Hero Member
                      wrote on last edited by
                      #12

                      Of course, another way to handle the overhang would be to make it overhang in the opposite direction, where the overhang wouldn't matter:
                      https://www.openhardware.io/view/273/ESP-LINK-ESP8266-WeMos-D1-Mini-Adapter-Board
                      That would work too.

                      1 Reply Last reply
                      1
                      • R Offline
                        R Offline
                        ricorico94
                        wrote on last edited by
                        #13

                        This is even one step further as I understand you get rid of the sandwich Arduino pro mini by soldering directly an ATMEGA328p. It makes the overall setup much more dense indeed. Congratulations !

                        Could you share the details on software (scripts..) you used for the whole setup ?
                        I'm also interested in settings you use, because based on another thread, I had seen that some settings for RFM95 had an impact on error rates.

                        N 1 Reply Last reply
                        0
                        • R ricorico94

                          This is even one step further as I understand you get rid of the sandwich Arduino pro mini by soldering directly an ATMEGA328p. It makes the overall setup much more dense indeed. Congratulations !

                          Could you share the details on software (scripts..) you used for the whole setup ?
                          I'm also interested in settings you use, because based on another thread, I had seen that some settings for RFM95 had an impact on error rates.

                          N Offline
                          N Offline
                          NeverDie
                          Hero Member
                          wrote on last edited by NeverDie
                          #14

                          @ricorico94 said in LoRa Gateway:

                          software (scripts..) you used for the whole setup ?

                          Nothing meaningful to share as yet. I'm using RadioHead to verify that the hardware works as intended.

                          1 Reply Last reply
                          0
                          • N Offline
                            N Offline
                            NeverDie
                            Hero Member
                            wrote on last edited by
                            #15

                            Currently priced at $3.01 per module with free shipping:
                            https://www.aliexpress.com/item/LoRa-Series-Ra-01-Spread-Spectrum-Wireless-Module-Ultra-10KM-433M-RF-Chip-SX1278/32799821469.html?spm=a2g0s.13010208.99999999.262.rCAs4B
                            https://www.aliexpress.com/item/LoRa-Series-Ra-02-Spread-Spectrum-Wireless-Module-Ultra-10KM-433M-RF-Chip-SX1278/32799769669.html?spm=a2g0s.13010208.99999999.265.rCAs4B

                            1 Reply Last reply
                            0
                            • N Offline
                              N Offline
                              NeverDie
                              Hero Member
                              wrote on last edited by
                              #16

                              Epilog: the fully integrated ESP-LINK LoRa gateway has no antenna overhang and is working fine. :)
                              0_1524335325809_unified_LoRa_gateway.jpg

                              1 Reply Last reply
                              0
                              • alowhumA Offline
                                alowhumA Offline
                                alowhum
                                Plugin Developer
                                wrote on last edited by
                                #17

                                Cool.

                                Have you seen these?
                                https://nl.aliexpress.com/item/RCmall-2-Sets-partij-LoRa32u4-II-Lora-Development-Board-Module-LiPo-Atmega328-SX1276-HPD13-868-MHZ/32832789857.html

                                1 Reply Last reply
                                0
                                • N Offline
                                  N Offline
                                  NeverDie
                                  Hero Member
                                  wrote on last edited by
                                  #18

                                  Hadn't seen it. I'm lately of the mind that it's better to have everything (including sensors) integrated onto a single board.

                                  1 Reply Last reply
                                  0

                                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                  With your input, this post could be even better 💗

                                  Register Login
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                  15

                                  Online

                                  12.1k

                                  Users

                                  11.2k

                                  Topics

                                  113.4k

                                  Posts


                                  Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                  • Login

                                  • Don't have an account? Register

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • MySensors
                                  • OpenHardware.io
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular