Building a LoRaWAN Node for The Things Network (TTN)

Поделиться
HTML-код
  • Опубликовано: 1 фев 2021
  • This video demonstrates how to wire and program LoRaWAN nodes to The Things Network (TTN) using both a common Arduino with an SX1276 breakout, and a Feather MO LoRa coupled with a DHT22 sensor. These demonstrations use the "MCCI LoRaWAN LMIC" library for the Arduino IDE. If you wish to replicate, you will also need to sign up for a free "The Things Network" (TTN) account at www.thethingsnetwork.org/ .
    The nodes demonstrated here will be used for testing radio coverage for a LoRaWAN gateway planned for Xerocraft (Tucson, Arizona Makerspace) in a couple months (February - March, 2021).
    LoRa at Xerocraft Playlist:
    • Lora At Xerocraft
    Please note that this video does not cover TTN's fair use policy. If you use The Things Network (free public community LoRaWAN network), the following fair use policy applies:
    The uplink airtime is limited to 30 seconds per day (24 hours) per node.
    The downlink messages are limited to 10 messages per day (24 hours) per node.
    Source: lora.readthedocs.io/en/latest/
    As such, keep in mind that the code referenced here may violate this policy if left running 24-hours a day. I haven't yet crunched the numbers on the referenced code-- maybe something for a future video.
    My sincerest thanks to Robert Lie (MobileFish); Andreas Spiess (Guy with the Swiss Accent); and Brent Rubell (Adafruit) for their own excellent demonstrations and documentation that helped non-electrical engineers like me get this far, and to both Adafruit and Andreas for always replying to my comments and questions. The following are highly recommended resources for noobs like me:
    Andreas Spiess LoRa playlist:
    • #112 LoRa / LoRaWAN De...
    Mobilefish LoRa Tutorial:
    www.mobilefish.com/developer/...
    Using LoRaWAN and The Things Network with Feather:
    learn.adafruit.com/the-things...
    LoRa Radio breakout: www.adafruit.com/product/3072
    Feather MO LoRa: www.adafruit.com/product/3178
    Sample clip at end of video is by Frederick Noad- Study in Ligados
  • НаукаНаука

Комментарии • 23

  • @xjfo
    @xjfo 3 года назад +2

    Thanks for continuing to post updates of your project! Nice work...

    • @ModestMaker
      @ModestMaker  3 года назад

      Thanks again Chris. The LoRa stuff has been fun, and I'm happy there are others that are interested.

  • @ThatGuyyy1
    @ThatGuyyy1 3 года назад +1

    extremely helpful video as i'm trying to learn about the LoRa and TTN space. thank you!

  • @j83telbatalv
    @j83telbatalv 2 года назад +1

    Thank you sir for your effort

  • @harmssam
    @harmssam 3 года назад +1

    Please consider making a video where you use the SX1276 breakout to tx sensor data!

  • @terryterry1655
    @terryterry1655 2 года назад

    How to connect to gateway nearby?. If I don't have a gateway..
    Thx for the clear explanation of lsb (not msb) for EUI. How about abp?

    • @ModestMaker
      @ModestMaker  2 года назад +1

      If you don't have a gateway nearby, you will likely have to set one up for experiments (or find someone who is hosting one and will let you configure some inexpensive nodes for your own experiments). If you just want to experiment with LoRa without setting up a gateway, check out this video: ruclips.net/video/Zw_LA3nDAkc/видео.html . That was my first venture into LoRa without needing to configure a gateway.

  • @Buru195
    @Buru195 Год назад

    Great feedback on the video! I have a couple of questions related to it. Firstly, what is the typical coverage range for a LoRaWAN node? Additionally, when you assemble a network using multiple nodes and program IoT SIM cards to run the mesh program, how feasible would it be to create your own internet connectivity? Thank you!

    • @ModestMaker
      @ModestMaker  Год назад

      I have several videos where I experiment with LoRaWAN coverage. Here's a couple you might find interesting. ruclips.net/video/Zw_LA3nDAkc/видео.html and ruclips.net/video/wz6cCa5r1eY/видео.html
      More details also in this playlist: ruclips.net/p/PLqJ5k4cakypzJPcVFz7onbwzc0EWFHU7p
      When I started hosting a Synchrobit miner on the same antenna, I was pinging other gateways farther than 40 km away! I am not to familiar with mesh networks, but I'd just keep in mind that LoRa is limited to very low bandwidth, so it's not like you can share photos or long emails on a LoRa-based network. It's more suited to very small bits of data and requires line of sight for long distance telemetry.

  • @nannanhe2637
    @nannanhe2637 Год назад

    Thank you for the very helpful videos! I have a question about LoRa Gateway. Do you think if it is possible to mount this gateway (from adafruit) to a basic drone? Is it heavy? Many thanks,

    • @ModestMaker
      @ModestMaker  Год назад

      I think a drone’s motor might generate a lot of electrical noise that will likely interfere with low energy transmissions associated with LoRa- even if your drone can handle the relatively light load of a node. I am not clear on how you would make this work for a gateway since you need to be within WiFi for the gateway to work.

  • @convolution_talk_show
    @convolution_talk_show 2 года назад

    he what node device are you using am having a rhf76-052 module and I really don't know how to connect the hardware!

    • @ModestMaker
      @ModestMaker  2 года назад

      www.adafruit.com/product/3078 . Adafruit has tutorials in their learning section.

  • @manishankars2636
    @manishankars2636 2 года назад

    Hi,Instead of that temperature sensor data can we do for the GPS module and access the data in the ttn?

    • @ModestMaker
      @ModestMaker  2 года назад +1

      That’s a completely different project. I have just plugged back into Xerocraft and hope to explore this shortly via the donated TTN gateway. (The transition to V3 was challenging so I put LoRa down for awhile until all the details are worked out).

    • @manishankars2636
      @manishankars2636 2 года назад

      @@ModestMaker actually we are trying out with our team to do that using GPS module so I have asked you....Thanks for your response...if I want to contact you can I get a Email ID..

  • @mahmoudayman6973
    @mahmoudayman6973 2 месяца назад

    hello , does this library work on " WiFi LoRa 32(V3) " with SX1262 LoRa node chip?

    • @ModestMaker
      @ModestMaker  2 месяца назад

      Sorry- been away from this project outside of range tests so really can’t say for sure.

  • @ytgc4301
    @ytgc4301 Год назад

    can you create a lora node without arduino ?

    • @ModestMaker
      @ModestMaker  Год назад

      Not sure, but I would want a microcontroller so that I can process sensor data. An Arduino (IDE) gives me access to the libraries supporting most commercial sensors.

    • @ytgc4301
      @ytgc4301 Год назад

      @@ModestMaker I am looking onto GPS data only. Tnx for the input