#117

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ค. 2024
  • In this video we will build a Lora Node and connect it to the TTN LoRaWAN network. I will show you also some tricks to save you time and explain a little about modulation.
    Links:
    Code: github.com/SensorsIot/LoRa
    Library: github.com/matthijskooijman/a...
    Fair access policy: www.thethingsnetwork.org/foru...
    If you want to support the channel and buy from Banggood: bit.ly/2jAQEf4 (no additional charges for you)
    / andreas-spiess-7331894...
    / spiessa
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 478

  • @robfel68
    @robfel68 7 ปีที่แล้ว +8

    Stellar work Mr Spiess. Can't wait until next episode.

  • @johnhschuster
    @johnhschuster 7 ปีที่แล้ว +1

    In 14 Minutes you made the LoRa mystery unfold. Thank you and I look forward to catching up on this series. You are a natural teacher.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      Thank you for your compliment!

  • @jesuschal3802
    @jesuschal3802 3 ปีที่แล้ว

    It is amazing to see how this video and #115 has given me (three years later) two fundamental aspects to get my 1-channel gateway and my node to work on TTN. Subtle but remarked details that I have not found in any how-to I have followed up! Thanks Andreas!!!! :)

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      Glad it was useful after this time!

  • @HariWiguna
    @HariWiguna 7 ปีที่แล้ว +1

    Andreas...The number of things that could go wrong in setting up a Lora node is staggering! Even setting up parameters on the website looks complicated. Thank you for sharing your knowledge. Great content well presented!

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      Actually, for me, the pins were the most difficult thing. Now, everything should work with the video

    • @Ekosusiloharjo
      @Ekosusiloharjo 6 ปีที่แล้ว

      Agree the pins make me crazy, always failed arduino-lmic-master/src/lmic/radio.c:689 ;(

  • @greenspand
    @greenspand 7 ปีที่แล้ว +3

    Thank you for the hard work. It saved me so much time, and finally I can play around with LoRa

  • @dogfreak3000
    @dogfreak3000 3 ปีที่แล้ว

    Great video, I was scratching my head for a few hours trying to figure out how I could run the Dragino LoRa shield. Then I stumbled upon this video... Explanation was very good, I managed to make it work. Thank you!

  • @Jhinsydney
    @Jhinsydney 7 ปีที่แล้ว

    This is awesome Andreas, very cool and useful. Look forward to the outdoors testing.

  • @TheThingsNetworkCommunity
    @TheThingsNetworkCommunity 3 ปีที่แล้ว +10

    Hi Andreas! Great to see all the awesome content about using LoRaWAN and The Things Network.
    We’ve released a new version of our network server, and we'd like to work with you to refresh some old content so it aligns with The Things Stack (the old network server is being sunset). What's the best way to reach you?

  • @brucejackson5898
    @brucejackson5898 7 ปีที่แล้ว +3

    thanks again for another great Lora video, your video saves me hours of time! (maybe days) :)

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว +1

      This is exactly the purpose. Glad that it works...

  • @AA3WK
    @AA3WK 7 ปีที่แล้ว +1

    Great job as always!! Thanks for all your good works.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว +1

      You are welcome. I am also motivated by such comments.

  • @Peter_S_
    @Peter_S_ 7 ปีที่แล้ว +4

    Another excellent episode. :-)

  • @Ed19601
    @Ed19601 7 ปีที่แล้ว

    great video Andreas, I think you cleared up the difference between the various modules, especially the rfm95 and the rfm69 verywell.
    Having said that, for most people LoRa is just about connecting something over a distance and then it doesnt need to be 'LoRa' enabled, as long as one has similar ttransceivers at both ends.
    The shield you use is indeed very neat and handy as an (almost) straight out of the box solution. I have been deliberating using it, but the hardwiring of the cs to pin 10 was a bit of a minus to me, but I would definitely recommend that one if one is looking for an easy entry into Lora

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว +1

      Thanks for the feedback! I think, currently, for most people, a "private" network is sufficient, especially if they do not have a gateway round the corner...

  • @metamedian
    @metamedian ปีที่แล้ว

    Thank you for this very informative video, Andreas!

  • @cantstopthebeatify
    @cantstopthebeatify 7 ปีที่แล้ว

    Fantastic work Andreas, can't wait to see what your outcome is with LoRa and what your end goal is.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      Thanks! The end goal is to die. But before, I have lots of fun trying new stuff ;-)

    • @cantstopthebeatify
      @cantstopthebeatify 7 ปีที่แล้ว

      Andreas Spiess I like your view on life ;) I bought a few sonoff products, including the wall switch only to find that my wall switch doesn't have a negative wire... only the live switch wire! Only solution I can think of is putting a negative wire down trunk from the attic. :(

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      Strange laws in your country...

    • @cantstopthebeatify
      @cantstopthebeatify 7 ปีที่แล้ว

      Andreas Spiess I don't think the Irish took their construction industry very seriously to start off with, the return wire just went back to the box with all the lights of the house on one fuse :)

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      They survived more severe situations there...

  • @AtelierAgile
    @AtelierAgile 7 ปีที่แล้ว

    Things are coming together! Thanks for the video.

  • @PhG1961
    @PhG1961 2 ปีที่แล้ว

    Since I'm putting up my LoRa shield, this is a nice recap. So sad to find out that I already forgot so many details from the first time I saw this video. Fortunately we have TH-cam and all your videos available... ;-)

    • @AndreasSpiess
      @AndreasSpiess  2 ปีที่แล้ว +1

      You probably will see a lot of problems with V3 and deep-sleeping your node. I am working on a video and right now do not have a proper solution :-(

  • @asiw
    @asiw 7 ปีที่แล้ว +1

    Thanks for a very clear and informative video. Best Wishes. Arthur

  • @philbx1
    @philbx1 7 ปีที่แล้ว

    Excellent research and great explanation again Andreas!
    BTW, I think your English is better than mine now :-)

  • @tinker7722
    @tinker7722 6 ปีที่แล้ว

    I had to update my version of Arduino IDE to the latest version 1.8.x from arduino.cc - before I had compiler errors!
    now it sends messages to a gateway in Zurich ETHZ - 10 km from my home. Great! Thanks for such great instructions!

  • @jimgbf
    @jimgbf 3 ปีที่แล้ว

    Love your videos - these are a HUGE resource for me

  • @banditboy6444
    @banditboy6444 3 ปีที่แล้ว

    Thanks so much for this great video. Helped me a lot.

  • @healthcoachchris7382
    @healthcoachchris7382 7 ปีที่แล้ว

    Thanks for another great video Andreas :) The range test will be very interesting :)

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      I am also curious...

    • @miikakurkela5606
      @miikakurkela5606 7 ปีที่แล้ว +1

      Thank you Andreas! Thank you very much. Excellent tutorial! Before you climb up to that hill, you probably have noticed that you have a 915 MHz Dragino LoRa Shield th-cam.com/video/duwUwXt-hs8/w-d-xo.htmlm38s It works at 868 MHz, too, but probably isn't optimal for a range test.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว +1

      No, no. It was delivered as that, but I changed the module. (And I got the money back). No worries. I maybe should have changed the mark, too.

    • @miikakurkela5606
      @miikakurkela5606 7 ปีที่แล้ว

      OK, I remember that you told about such a device :-) If you have an RFM9X module (with an sx1272 or sx1276 chip) there, it would be interesting to know, how a simple wire antenna would do there on the hill. If I here place a 868 MHz transmitter into my freezer and wait few minutes my factory made Dragino LoRa Shield (with its RFM95W module and SMA connected antenna and in the room temperature) stops to hear the transmissions. But my plain RFM95W module with an ordinary 8.2 cm wire antenna still catches all the transmissions. learn.adafruit.com/adafruit-rfm69hcw-and-rfm96-rfm95-rfm98-lora-packet-padio-breakouts/overview?view=all#wire-antenna

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      Strange. Are you sure you use a 868 MHz antenna. The 2.4 GHz antennas look very similar and I also got a 2.4 GHz antenna with ma GPS module (which is on 1.5GHz)...If so, the difference would be explainable.

  • @slimshadyreal3755
    @slimshadyreal3755 4 ปีที่แล้ว

    Besten Dank für das Video! Super erklärt und sehr Hilfreich, ...endlich eine erfolgreiche Verbindung zum TTN :-). Grüsse aus der Schweiz.

  • @karstenausbraunschweig2889
    @karstenausbraunschweig2889 ปีที่แล้ว

    Hey Andreas, richtig gutes Video!!! Alles drin, was wichtig ist. So hat es bei mir geklappt. Vielen Dank dafür!

  • @MatthewTaylorAu
    @MatthewTaylorAu 6 ปีที่แล้ว

    very detailed. thanks for posting.

  • @adolfozuniga6713
    @adolfozuniga6713 4 ปีที่แล้ว

    Tx a lot Andreas. For the record, my Dragino is v1.4 and is connected to a Multitech Conduit AP that works as a Network Server (then I take out the data consuming a ws with Node Red)

    • @AndreasSpiess
      @AndreasSpiess  4 ปีที่แล้ว

      Thank you for sharing your project!

  • @cybersoftie
    @cybersoftie 4 ปีที่แล้ว

    Vielen Dank! Dank dir habe ich meinen ersten Frust überwunden. Daumen hoch.

  • @waltsteinchen
    @waltsteinchen 7 ปีที่แล้ว +1

    Thanks again for a great video!..Personally I think I'll have to view a more of you videos before trying to jump into that area ;-)

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      +Walter Steinchen That's why I do it! You can lean back and decide later;-) One for all...

  • @dl8cy
    @dl8cy 7 ปีที่แล้ว

    interesTing and useful
    and prevents me to buy the wrong stuff!

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      Thanks. It is wrong since a few episodes, and now, two guys "discovered" it. Next episode, it should be corrected.

    • @dl8cy
      @dl8cy 7 ปีที่แล้ว

      so you missed my previous hint :-)
      Now and them i admire you Swiss people, that there is no "ß" in your alphabet.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      But we have the french part which occupies quite some keys on our keyboards

  • @youliantroyanov2941
    @youliantroyanov2941 7 ปีที่แล้ว

    educational. keep them coming. was planning to do exactly the same, after the same reasoning, but the module never arrived... damn.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      You should move to a *civilized" area ;-). Or you get the modules from Adafruit. Maybe there, the delivery is better.

  • @juanjobarrero696
    @juanjobarrero696 7 ปีที่แล้ว +1

    Dear Andreas. Many many thanks. Now I'm in love with your accent :). Really nice explanations and jod job. Congrats

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      Thank you for your nice words!

  • @xer00style
    @xer00style 6 ปีที่แล้ว

    Andreas, thank you for all your videos. They are great, very educational and clear, congratulations. BTW, is it hard to use the data generated from the sensor nodes, in a webserver? i.e. put it into a sql DB?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      You can watch my video about node-red. There, I show one possibility. I am not a web programmer.

    • @xer00style
      @xer00style 6 ปีที่แล้ว

      Thanks Andreas (y)

  • @manfredhiller7978
    @manfredhiller7978 4 ปีที่แล้ว

    I just love your channel and i always come back if i have to remember to one or the other fact
    Question: is the lmic library from your video still the one you recommend? Its is now 4 years old!

    • @AndreasSpiess
      @AndreasSpiess  4 ปีที่แล้ว +1

      I would go to the TTN forum to find the newest version. Maybe I have to do an update...

    • @ianhindle891
      @ianhindle891 4 ปีที่แล้ว

      @@AndreasSpiess Andreas thanks for all your videos they are all very interesting and informative. For some weeks I've been experimenting with two LoRaWan nodes, (Nano+RFM95 the other a Heltec ESP32 module with LoRa). Both are working as expected, apart from terrible range. I'm getting about 1.5km. Terrible I hear you say, after your world record. I noticed in a comment in Matthijs Kooijman library he thinks the modules are not responding to the TX power settings set in the library. I was wondering if you've experienced any range and power issue brought about by the library? I have 5dBi gain antenna attached to each module and have tested against commercial outdoor Gateways. Each time just 1.5km range. All this suggests my LoRaWan nodes are at fault. Unfortunately, I don't have access to a spectrum analyser to measure the output power.

  • @muhammadasifsaeed500
    @muhammadasifsaeed500 4 ปีที่แล้ว +1

    I am using dragino Lora shield for my node, but its Antenna is not good. Could you tell me what kind of Antenna you have used in this video!
    Thank you.
    Regards from Germany

  • @hanshaerdtle4682
    @hanshaerdtle4682 2 ปีที่แล้ว

    Hi Andreas, great video with all the relevant explanations and a lot of tricks and useful information alongside the core content. It seems TTN server has changed however and details look different. I can't see the DEVADDR and a number of differences on the server backend. Is there a plan to update the content?

    • @AndreasSpiess
      @AndreasSpiess  2 ปีที่แล้ว

      Maybe you watch my TTN V3 update video?

  • @andreasnoll8596
    @andreasnoll8596 4 ปีที่แล้ว

    Hi Andreas, thanks for that cool video and the detailed description. Unfortunately, I cannot even compile the examples from the LMIC library. I'm getting "undefined reference to `table_get_u4'" and a couple of other undefined references. Where can I start looking how to proceed? Thanks again!

    • @andreasnoll8596
      @andreasnoll8596 4 ปีที่แล้ว

      I used Platformio instead of the Arduino IDE and there it worked perfect! Danke Dir!

    • @AndreasSpiess
      @AndreasSpiess  4 ปีที่แล้ว

      Maybe you go to the TTN Forum to get the newest instructions. This video is quite old.

  • @afsanehakhbari8880
    @afsanehakhbari8880 3 ปีที่แล้ว

    thank you for this great video

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      You're welcome!

    • @afsanehakhbari8880
      @afsanehakhbari8880 3 ปีที่แล้ว

      @@AndreasSpiess DearAandreas I am new in Lora and I want to know that is it possible to have three Lora nodes in such a way that the first node send data to second and second to third and third send its info and and first and second node’s info to gateway?

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      You can do that, but you have to write the code yourself. Most LoRa nodes (and their software) communicate directly to a gateway.

  • @Adrian-zl7sx
    @Adrian-zl7sx 4 ปีที่แล้ว

    Hi Andreas,
    Great tutorial and very informative however I just have a question about the libraries. I followed your tutorial and when it comes to the compiling the code on arudino an error message appears about the libraries. I have added in all the libraries in the library section but just wondering if you may have any idea. The error code exactly is "hal/hal".

    • @AndreasSpiess
      @AndreasSpiess  4 ปีที่แล้ว +1

      This video is quite old. Maybe you search for the newest libraries. I cannot keep all my video description updated :-(

  • @sagargodase5182
    @sagargodase5182 6 ปีที่แล้ว

    thanks alot for videos...!!! :-)

  • @nikolatotev
    @nikolatotev 2 ปีที่แล้ว

    Over 4 years later and everything still works great even with the new V3 TTN!

    • @AndreasSpiess
      @AndreasSpiess  2 ปีที่แล้ว +1

      Fortunately there was not a lot of innovation ;-)

    • @nikolatotev
      @nikolatotev 2 ปีที่แล้ว

      @@AndreasSpiess I only encountered one issue, after sending 2-3 messages, ttn stops receiving/accepting messages, even though the gateway logs show messages coming from the Arduino

    • @AndreasSpiess
      @AndreasSpiess  2 ปีที่แล้ว

      The session counter does no more work the same as in V2. Maybe you watch my V3 videos...

    • @nikolatotev
      @nikolatotev 2 ปีที่แล้ว

      @@AndreasSpiess Ok I'll check it out. I'll give the Arduino shield another try after I watch it.

  • @thomasb.6318
    @thomasb.6318 4 ปีที่แล้ว

    Very good explanation - since a long time I look for a solution to get data from the client to ttn-console. There no traffic is shown and I am wondering about the blinking wireless lamp at the LG01 ...

    • @AndreasSpiess
      @AndreasSpiess  4 ปีที่แล้ว

      If no resullt are coming you have to debug teh whole route, one after the other...

  • @georgeboydratcliff1036
    @georgeboydratcliff1036 6 ปีที่แล้ว

    Love your TH-cam videos Andreas. I've been trying to setup a LoRa gateway (single channel) and the same Arduino and Dragino boards as in this video .... but can't get messages across! I've checked the SF (set to 7) on both, and both *look* like they're working (no error messages, TTN shows 'connected', etc) but the device shows as 'never seen' and no data shows! Any ideas?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Maybe you go with your transmitter to a place with a known Gateway and try it out. Then you at least can see if the transmitter or the gateway is the problem. You find all operating gateways on the TTN page.

    • @pranavthakkar8089
      @pranavthakkar8089 3 ปีที่แล้ว

      I also got the same, Have you got solved this?

  • @DenysSene
    @DenysSene 7 ปีที่แล้ว

    I'm doing some experiments with this ttl module: E30-TTL-1W. This brand also have some LoRa versions of this chip.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      Thanks for the feedback. This is more a module. And they seem to use different chips inside. If the modules "speak" LoRa, you find the usual suspects from Semtech (SX12...).

  • @mr.engsha7696
    @mr.engsha7696 3 ปีที่แล้ว

    Thanks a lot Mr. Spiess for your brilliant Videos !!
    I have a Similar system from Dragino. Any ideas to upgrade this project ?

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      I would no more build nodes like that. I would use a board with a built-in Lora chip.

    • @mr.engsha7696
      @mr.engsha7696 3 ปีที่แล้ว

      @@AndreasSpiess thank you fir replying. My system also has two lora shield nodes and two Arduino Uno with single channel lora gateway.

  • @kevinwong2098
    @kevinwong2098 5 ปีที่แล้ว

    Bonjour Andreas,
    je voudrais savoir comment déclencher le TX manuellement par bouton ou un contacteur de porte,
    Merci

  • @jayaraj2181
    @jayaraj2181 5 ปีที่แล้ว

    Really useful

  • @hansvink9178
    @hansvink9178 6 ปีที่แล้ว

    Thanks for this great lesson, now my Dragino finally works! I have a question about the Device EUI, on 9:51 it shows 12 34 ... and on 10:23 it has changed to 00 17 ... In my case it is still 12 34 .... Is this an important setting and how did it change in your instruction? Hope to hear from you, thanks!

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      I think I explained the two different activation methods. You only chose one.

    • @hansvink9178
      @hansvink9178 6 ปีที่แล้ว

      Thanks Andreas! Keep up the good work and I can't wait to see your video about the TTGO Lora32 OLED V2 ;-)

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Will take a while ;-)

  • @VishalVenky
    @VishalVenky 4 ปีที่แล้ว

    Thank you very much for the video. It has helped me a lot. I have a question regarding this.I am working on this LoRa project. Is it possible for the dragino Lora shield to directly send the data to the TTN gateway without the need for a physical gateway?

    • @RakshithPrakash
      @RakshithPrakash 4 ปีที่แล้ว

      You mean does it work without the raspberry pi gateway?

    • @AndreasSpiess
      @AndreasSpiess  4 ปีที่แล้ว +1

      You always need a gateway to connect to TTN

    • @slimshadyreal3755
      @slimshadyreal3755 4 ปีที่แล้ว

      As Andreas Spiess Mentioned, you need a gateway to connect to TTN ...BUT... it does not have to be your own gateway. If your node is able to reach a TTN gateway from someone else you can transmit your log as well.

  • @didierrechatin9765
    @didierrechatin9765 7 ปีที่แล้ว

    Hello Andreas, Thanks for the video. I successfully connected to a TTN gateway but strangely the initial "hi" translated somehow in a lot of other alternatives than the expected 6869 (379C, D3CE, BD46, 9938 ...it seems to try all possible hex combinations) although I do not have any decoder or converter function setup. Any idea about the reason for that erratic behaviour ?

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      No. I always got the payload I was sending.

    • @didierrechatin9765
      @didierrechatin9765 7 ปีที่แล้ว

      OK thanks! just found the error

  • @marioalbuja4907
    @marioalbuja4907 7 ปีที่แล้ว

    Good work

  • @jeffpollock5243
    @jeffpollock5243 6 ปีที่แล้ว

    Andreas, I set up the sketch for the Lora node just as you suggest in the video, word for word. I find that the transceiver initiates but cannot find the gateway. TTN indicates that gateway is connected. I get the message: Executing Exit 1. Is there anything you can suggest?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      I would go to the TTN forum. There are experts on the matter which usually help.

  • @MarcoZaro
    @MarcoZaro 5 ปีที่แล้ว

    At 11:48 minutes you talk about sf12 and sf7 can I change it in the arduino script to get much longer distance or it is automatically changed from one value to another related to gateway distance?

    • @AndreasSpiess
      @AndreasSpiess  5 ปีที่แล้ว

      You have to change it in the node software

  • @tinker7722
    @tinker7722 6 ปีที่แล้ว

    Hi Andreas, is there a way to save and restore the frame counter with the current library?
    I always need to reset the frame counter on the backend (ttn server) in order to get the payload after rebooting arduino.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      I switched the frame counter off (in the backend) to avoid this issue

    • @tinker7722
      @tinker7722 6 ปีที่แล้ว

      Andreas Spiess thanks!

  • @williammoore413
    @williammoore413 7 ปีที่แล้ว

    Andreas... TTN shows my gateway is "connected"... responding ever 30 seconds in sync with what I am seeing on Raspian Linux command line feed. I was able to successfully (after multiple tries) to upload Thomas Telkamp's "sketch" to the Arduino node after modifying the pins and session keys (Note: your version kept throwing errors for me). Question now is how do I tell if the node is transmitting and being received by the gatesway maybe 30 inches away? There is nothing happening on the TTN console at this point, so I am guessing no data is being sent from the node.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      Sorry for not coming back. I missed your post between many others. The only thing is to test one after another. Forst, the node, then, the gateway protocol, and finally the TTN backend. It is important, that your node and your gateway is on the same frequency and the same SF, if you use a single channel gateway. Otherwise, it will not connect even in close proximity.

  • @JDeubler
    @JDeubler 6 ปีที่แล้ว

    Hey Andreas! With your help I've got the first gateway up and running in my State in the US. I currently using your Cheap Lora Gateway and I'm struggling to get the Node Connected. Do you know if any of your steps would change in the Github code if you were located in the US?
    When I go to the matthijskooijman/arduino-lmic library and use their TTN-ABP code with the pins you assigned and my own created NWKSKEY, APPSKEY and DEVADDR nothing happens on the TTN site.
    When I use the Serial Monitor I get : Starting
    Packet queued
    131148: EV_TXCOMPLETE (includes waiting for RX windows)
    I'm pretty lost and any assistance would help.
    Thanks!

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      I suggest you go to the forum of the TTN network. There are some specialists which can help you, also some from the US. If I remember right the IP address was different in different geographies, but I am not sure if this is the reason for your problem.

  • @AbiChess.tricks
    @AbiChess.tricks 7 ปีที่แล้ว

    Dear Andreas,,so the limitations of the fair Access Policy is applicable for between Lora node and Gateway only . NOT between node to node communication . kindly let me know my understanding is right or wrong. Thank you looking forward to your reply

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว +1

      You have to distinguish between LoRa as a physical layer (connection between two devices over the air and LoraWan. LoRa as physical connection only has the legal limitations of 1% air time (in Europe). I never talked about LoRa itself. I always talked about LoRaWan, which is an extension of LoRa as a physical connectoon. It does not forsee any communications between nodes, only between node and gateways. And there, the fair usage policy applies (in addition to the legal requirements). However, for the moment, these limits are not enforced ;-)

  • @MarcoZaro
    @MarcoZaro 5 ปีที่แล้ว

    At 13:55 you show how to change it in the script, do I need to change sf only in yellow line or also in the previous?

    • @AndreasSpiess
      @AndreasSpiess  5 ปีที่แล้ว

      If I remember right, only there. ( you can search with the text editor if you find it somewhere else)

  • @naraind1489
    @naraind1489 3 ปีที่แล้ว

    Very good resourceful video.
    Can lora nodes be used with Raspberry pi instead of Arduino? Does software support already exist for it or code needs to be written newly?
    Most of the video in the internet use arduino or some other microcontroller as lora node but not the raspberry pi thats why i got this doubt.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      I would not use a Pi for a node because it consumes too much energy. LoRa generally is for low power applications.

  • @pdeepakjayan5515
    @pdeepakjayan5515 5 ปีที่แล้ว

    Instead of the IC880 based LoRa gateway, Can I use " The things Gateway " which is easily available. Does the LoRa end node work with this gateway or do I need to make any change in the transmitting section ( I mean in the LMIC Library). If I am using 'things gateway, after activating the gateway, can I just use it. Please reply.

    • @AndreasSpiess
      @AndreasSpiess  5 ปีที่แล้ว

      It should work without changes.

  • @rebinmohammed9921
    @rebinmohammed9921 7 ปีที่แล้ว

    Hi Sir,
    How is the testing outdoor, what is the range you are getting?
    Thank You

  • @karanrao6881
    @karanrao6881 6 ปีที่แล้ว

    I would like to know if LoRa can be implemented onto a vehicle? will the moving vehicle at certain speed disrupts the signal...?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Not the speed, but probably the lack of line of sight between the sender and the receiver

  • @pingsiriraj6576
    @pingsiriraj6576 5 ปีที่แล้ว

    Hello Andreas, I have a huge problem about how to select the class of LoRaWan and how to set time interval between first message and second message. I've already use time interval for 60 but my message from node to the gateway always 8 minute apart for message to message. Also I would like to know if there is any possible for me to use BW=250KHz for my device, I lived in Thailand and using AS923

    • @AndreasSpiess
      @AndreasSpiess  5 ปีที่แล้ว

      There is a built-in delay to respect the law. If you want to change it you have to dig into the library code.

  • @TheRamsbod
    @TheRamsbod 4 ปีที่แล้ว

    Great video. How does one get data from the Lora online App into a local database?

    • @AndreasSpiess
      @AndreasSpiess  4 ปีที่แล้ว +1

      Maybe you watch my other videos about LoRa?

  • @pdeepakjayan5515
    @pdeepakjayan5515 5 ปีที่แล้ว

    Very informative video to know about lora . But I have one doubt. In one paper about lorawan, it has been mentioned that SX1276 chips works in the frequency range of 137-1020Mhz whereas the SX1278 chips works in the frequency range of 137-525Mhz. Which hardware component inside the chips selects the respective frequency of the chips? Please reply.

    • @AndreasSpiess
      @AndreasSpiess  5 ปีที่แล้ว

      You have to add hardware on the outside which defines the frequency range. Look at the modules. They only have a small frequency range even if the chips have a big one.

  • @wongtszkitken13
    @wongtszkitken13 5 ปีที่แล้ว +1

    hi Andreas I am new to LoraWan. I would like to know why I upload the lmic-abp file to the 433MHz lora shield with entering the network section key, app section key and devaddress. When I open the serial monitor of Arduino , it stucks and loop in packet queued and EV_TXComplete ( includes waiting for RX windows) while the ttn shows not connected of my device.

    • @wongtszkitken13
      @wongtszkitken13 5 ปีที่แล้ว

      Note that my gateway is lg-01 p which is function at 433mhz. I registered a 868Mhz frequency plan at ttn and it shows that is connected

    • @AndreasSpiess
      @AndreasSpiess  5 ปีที่แล้ว

      I cannot do remote diagnostics (too difficult). But I am sure you will find the problem yourself.

  • @MDFRESCUER
    @MDFRESCUER 7 ปีที่แล้ว +1

    Nice.

  • @user-rx9dz1qf6w
    @user-rx9dz1qf6w 6 หลายเดือนก่อน

    Seems like I can't order the iC880A-SPI concentrator board in North America 915Hz... any replacement options?

    • @AndreasSpiess
      @AndreasSpiess  6 หลายเดือนก่อน

      There are many commercial LoRa gateways available. Look at Mikrotik, for example.

  • @robinjansen51
    @robinjansen51 7 ปีที่แล้ว

    What if you need more than the Things Network Policy Fair Access Policy? Is it as simple as using more device keys / application keys for one device?

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      I do not know for the moment.

  • @RahulSingh-wq3sr
    @RahulSingh-wq3sr 5 ปีที่แล้ว

    Great videos sir,
    One question, in this video how does lora sensor knows that to which gateway it has to spit data to?
    Because we have not provide EUI of gateway to LoRa sensor.
    Love from 🇮🇳 India

    • @AndreasSpiess
      @AndreasSpiess  5 ปีที่แล้ว +1

      It does not need to know. All gateways receive the message.

  • @Alanblumenmkt
    @Alanblumenmkt 7 ปีที่แล้ว

    Great videos, I have one question, How many bits (or bytes) per day can someone send with LoRawan?

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว +1

      There is a link to the fair access policy in the comment. There, you find some examples.

    • @Alanblumenmkt
      @Alanblumenmkt 7 ปีที่แล้ว

      thanks!

  • @abd9915
    @abd9915 6 ปีที่แล้ว

    Thanks andreas, another great video.Question: canyou guide me to a video on which you have shown compiling and uploading sketch to the arduino?
    Or you can just say the software i need on my vomputer, and commands commands here? If you do so i greatly appreciate you.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      You find these videos using google. I do no more use them, so I do not know ;-)

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Maybe this helps? www.sensorsiot.org/installing-the-arduino-ide-including-esp8266-support/

  • @rayfelch3554
    @rayfelch3554 2 ปีที่แล้ว

    Thank you for all that you do sir!! I just built a Raspberry Pi-4 based Gateway using the Rakwireless Rak2243 HAT. I have registered my Gateway with TNN and following this blog wanted to create an Application, however I can't find the Access Keys that you show in your video. Maybe things have changed in 6 months?

    • @AndreasSpiess
      @AndreasSpiess  2 ปีที่แล้ว +1

      Maybe you watch my newest video about the matter?

    • @rayfelch3554
      @rayfelch3554 2 ปีที่แล้ว

      @@AndreasSpiess Do you have a newer link than #117 sir?

    • @rayfelch3554
      @rayfelch3554 2 ปีที่แล้ว

      Thank you!! Yes I found your newer post. I am still struggling a bit with the differences between the LoRaWAN v2 and the newer Stack. No legacy box, no ABP, etc, but I am confident I'll be successful soon, thanks to your amazing videos!

  • @lamacobain9653
    @lamacobain9653 3 ปีที่แล้ว

    hi andreas, i created a lora node using arduino and sx1276. i uploaded the sketch successfully but i simply get nothing in the ttn console. why do you think that is?

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      This can have multiple reasons and unfortunately, I cannot do remote debugging. I would try to follow your message and check if it arrives on your gateway and if your gateway is visible on TTN. Then I would check all keys.

  • @MrPinedax
    @MrPinedax ปีที่แล้ว

    Hi Andreas! Thanks for all the content about LoRaWAN This and others videos help me a lot, even in TTN v3.
    I trying to make a node with the same shield (Dragino Lora Shield v1.4) because I need to send some raw data (a lot of bytes that represent an "string message"). I'm using and arduino mega with the lastest version con MCCI LMIC Library and for my location I'm using AU915 frecuency plan. At the time I can send a custom uplink message, but I have 2 questions:
    1) I don't understand, Why this device can only be activated by ABP?
    2) How can I send a downlink to this?
    Greetings from Chile

    • @AndreasSpiess
      @AndreasSpiess  ปีที่แล้ว

      1. You have to choose OTAA in your code. The newest version of MCCI should support it
      2. Your program has to support downlink. From the console, you can send a message. The newest version of MCCI should support it. Maybe you google.

  • @lance9668
    @lance9668 6 ปีที่แล้ว

    Hello Andreas! First of all - thanks for the video. And the second - got a problem with this dragino module. It seems that my module stops Txing after some time. Usually it takes around 500 messages. After this the module shows some progress that something is being transmitted but in fact no data arrives at the server side. And the next thing I have to do to make it work again is to generate and place new keys (nwsk, appsc, devaddr) in the code and push it to the device. I've noticed this fact on both ttn and open-source lora servers (installed directly on my laptop). Any ideas what is wrong? Thanks in advance.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      If I remember right, the Software has a limitation built-in. Maybe you reset your node frequently. If this behavior stops, have a close look at the code. Maybe it tries to keep the 1% air-time (legal requirement).

    • @lance9668
      @lance9668 6 ปีที่แล้ว

      Thanks for the reply. Pretty sure my node runs stable and with no changes/reboots at least for couple of hours. Had a look at the source code TTN-Tester.ino and found this "Note: LoRaWAN per sub-band duty-cycle limitation is enforced (1% in g1, 0.1% in g2)..." But I'm not sure what it means and where to edit this...

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Laws prohibit you to send more than 1% of the time. I mentioned this in one of my videos. This is why I suggested resetting the board from time to time. Then, this "mechanism" starts from new.

  • @giovannilambertini4627
    @giovannilambertini4627 2 ปีที่แล้ว

    Hello. Currently the TTN only allows the OTAA method. What changes should I make to the code to make it work? Thanks

    • @AndreasSpiess
      @AndreasSpiess  2 ปีที่แล้ว

      You have to check if your library also offers OTAA and change it accordingly. Otherwise you have to rewrite your sketch.

    • @nikolatotev
      @nikolatotev 2 ปีที่แล้ว

      It works with ABP as well, you need to create an end device manually and expand the "Show advanced activation, LoRaWAN class and cluster settings" section. There you can switch to ABP

  • @winniepooh3790
    @winniepooh3790 2 ปีที่แล้ว

    Hi dear sir! Due to the shortage of chips, I have to buy the old shield v1.2 not the latest v1.4, Will there be a big gap between the two versions?

    • @AndreasSpiess
      @AndreasSpiess  2 ปีที่แล้ว

      I do not know, I do not own a new shield

  • @afsanehakhbari8880
    @afsanehakhbari8880 3 ปีที่แล้ว

    Dear andreas why you used frequency 915Mhz?..for Europe we must provide dragino at frequency 868Mhz right?

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว +1

      868 MHz for Europe is right. 915 is for the US.

  • @Telectronics
    @Telectronics 3 ปีที่แล้ว

    Hi very good video and tutorial ! I tried your example but I only get one package to TTN after Arduino reset I can´t understand why ? I don´t use the dragino shield and made my own circuit board I only connected the SPI pins through level shifter. I left the reset and DiO pins floating from my RFM95W board is that the problem ? Thanks for your answer.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      There is a counter on TTN which has to be switched off.

  • @namugwanyamarypatience7039
    @namugwanyamarypatience7039 ปีที่แล้ว

    Nice video. Is it normal for the lora shield to not light when connected to the arduino uno?

  • @rollandjones8777
    @rollandjones8777 7 ปีที่แล้ว

    Hello Andreas, I just noticed a problem on my Dragino LoRa Shields. U2 pins 1,4,7,10 and 13 are not connected to ground. Also pins 4 and 10 of U1 are also no connected to ground. These are V1.4 boards. Do you have the same issue on your boards?

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      I do not know and cannot easily open the case I built it in. But here github.com/dragino/Lora you find the info about the different boards.

    • @rollandjones8777
      @rollandjones8777 7 ปีที่แล้ว

      Well if you get unexpected results from your device then you can check the 5 to 3.3 V converters because some pins are not connected on V1.4. Dragino is aware and are going to send me replacements.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      +Rolland Jones If I remember right, I had a 1.3 version. I use it now for quite a while as a test node. Without issues.

  • @user-ov6gv3xe4z
    @user-ov6gv3xe4z 2 หลายเดือนก่อน

    i want to know the maximum distance your own module would be able to send data to your gateway. and how to build a gateway with a very large range like the ones the country use to cover up areas.

    • @AndreasSpiess
      @AndreasSpiess  2 หลายเดือนก่อน +1

      I made several videos about the coverage of LoRa.

  • @luguille303
    @luguille303 3 ปีที่แล้ว

    Hi. I have a measurement sensor of six electrical variables. How can I link to sensor varialbles on the HelloWorld.ino archive? Thanks for your answer. Greetings from Medellín Colombia.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      You have to put them somehow into a string. Either use the Arduinojson library or google the commands to do that.

  • @BEdmonson85
    @BEdmonson85 7 ปีที่แล้ว +2

    Have you ever experimented with AX. 25 packet radio or APRS? I've been experimenting with those recently. APRS is networked all over the world. Typically used for gps tracking and weather station telemetry but there are protocols to send other messages and even email as well! Have to have an amateur radio license though. But it's not hard to get one :) I believe the APRS frequency for Europe is 144.8 MHz, is 144.390 in the US

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว +1

      No, I did not (even if I have a license since 40 years).

    • @BEdmonson85
      @BEdmonson85 7 ปีที่แล้ว +2

      Andreas Spiess, Oh nice! I thought i saw a uv5r in one of your videos... I should have known :) My callsign is KM4MLS, only had my license for a little over a year but it's so much fun for me. I like experimenting.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว +1

      :-)

    • @DenysSene
      @DenysSene 7 ปีที่แล้ว

      amprnet was great too, but for IoT I believe we have better options now.
      73's - PU2KMB

    • @BEdmonson85
      @BEdmonson85 7 ปีที่แล้ว +1

      Denys Sene, definitely; I didn't mean to imply using it for IoT. Packet collisions are bad enough with just the aprs trackers' traffic.

  • @hendifakhripratama9978
    @hendifakhripratama9978 5 ปีที่แล้ว

    i just following your tutorial but i got problem on the result. it said
    "Starting
    614: Unknown event
    Packet queued
    "
    what should i do?

    • @AndreasSpiess
      @AndreasSpiess  5 ปีที่แล้ว

      Unfortunately I cannot do remote debugging.

  • @rohitmaji5400
    @rohitmaji5400 ปีที่แล้ว

    Hey Sir what is the range of the lora here u had used

    • @AndreasSpiess
      @AndreasSpiess  ปีที่แล้ว

      Maybe you watch my videos about my range tests?

  • @jameslamb4573
    @jameslamb4573 7 ปีที่แล้ว

    So what we are looking at here is a very slow, wireless, message limited version of the internet?

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว +2

      I do not think so. As I said in my first LoRa video: It is an extension for a very particular purpose.

  • @GeertDroid
    @GeertDroid 2 ปีที่แล้ว

    After all these years could this Arduiono LoRa project still be compatible with the newer TTNv3 protocol ?

    • @AndreasSpiess
      @AndreasSpiess  2 ปีที่แล้ว

      Maybe you watch my V3 migration video?

  • @cooolone4u
    @cooolone4u 5 ปีที่แล้ว

    sir, excellent explanation @high level! was not actually in a detailed. do you have a video to explain in complete detailed version including the software/script loading etc. thanks in advance!

    • @AndreasSpiess
      @AndreasSpiess  5 ปีที่แล้ว

      There is a LoRa playlist. Maybe you find what you are searching for.

    • @cooolone4u
      @cooolone4u 5 ปีที่แล้ว

      @@AndreasSpiess , thanks a lot sir!

  • @mkilchhofer
    @mkilchhofer 7 ปีที่แล้ว

    Hast du schon Erfahrungen mit den LoRa-Modulen von Ai gemacht?

  • @eldofrederick1269
    @eldofrederick1269 4 ปีที่แล้ว

    Hi Andreas, I don't want to connect to TTN. I need my master node control or send wake signal to atleast 200 slave node (local network) every slave node is battery powered. Which device will be best for my solution and faster prototyping. Thanks

    • @AndreasSpiess
      @AndreasSpiess  4 ปีที่แล้ว

      Then you probably need direct LoRa connections. Not a simple task.

  • @MPElectronique
    @MPElectronique 6 ปีที่แล้ว

    Andreas. How much current with this shield ?? Thank you.
    Marc.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      I did not measure, but for sure below 200 mA. Depends also if you sleep the Arduino and the LoRa transceiver.

    • @MPElectronique
      @MPElectronique 6 ปีที่แล้ว

      Andreas Spiess so u cannot have this with batteries?..
      What module do you recommand for battery usage ?
      Thanks.
      Marc.

  • @kadirozdinc6065
    @kadirozdinc6065 2 ปีที่แล้ว

    Hello I am trying to change data rate to DR_SF12 with the code ( LMIC_setAdrMode(0);
    LMIC_setDrTxpow(DR_SF12, 14);) but I could not see the change on things network somehow It is sf7bw125 all the time. Did you try it ? if you could, how did you do it ?

    • @AndreasSpiess
      @AndreasSpiess  2 ปีที่แล้ว +1

      I tried it once a few years ago and it worked. But not with the newest libraries.

  • @rin-zevanya
    @rin-zevanya 6 ปีที่แล้ว

    hi sir , nice video ,
    can i modified frame size in the lora ?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      I do not know. You have to read the LoRaWAN specifications.

    • @rin-zevanya
      @rin-zevanya 6 ปีที่แล้ว

      thank you sir ,, :)

  • @Syntax1990
    @Syntax1990 4 ปีที่แล้ว

    Hey, I'm just trying to run a private ThingsStack network in my local network. I was able to setup the gateway to my server but upon registering a device it asks me for MAC Layer and PHY Layer. How do I get these? What am I supposed to use. Couldn't find anything on the web.

    • @AndreasSpiess
      @AndreasSpiess  4 ปีที่แล้ว

      I never tried that. So I do not know.

  • @martinbirrell57
    @martinbirrell57 3 ปีที่แล้ว

    Hi Andreas, I notice that your Arduino code is missing quite a bit of code. I have installed the MCCI_LoRaWAN_LMIC_library and used the ttn-abp.ino example scetch initially on my Uno. What found was after days of trying it just would not work. Then the penny dropped and I actually read the errors from the compiler and realised the Uno didn't have enough memory to store the code. I switched to an Arduino Mega and problem solved.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      Thanks for sharing your experience!

  • @pdeepakjayan5515
    @pdeepakjayan5515 5 ปีที่แล้ว

    why there is a need to connect DIO0 AND DIO1 pins of RFM95 to Dragino shield? Doesn't it work only with MISO AND MOSI?

    • @AndreasSpiess
      @AndreasSpiess  5 ปีที่แล้ว

      The sketch needs these pins. It does not work without them

  • @user-ov6gv3xe4z
    @user-ov6gv3xe4z หลายเดือนก่อน

    i bought 2 lora modules one is working on 915mhz band and the other one is working on 868mhz band, they both can communicate with each other however you said that they should be on the same frequency band, how'd you explain that?

    • @AndreasSpiess
      @AndreasSpiess  หลายเดือนก่อน +1

      Maybe you look at the program driving the two boards. Then you will discover that they use exactly the same frequency. The boards have filters that fit the 915 or 868MHz range, but the frequency is defined by the program.

    • @user-ov6gv3xe4z
      @user-ov6gv3xe4z หลายเดือนก่อน

      @@AndreasSpiess Thanks for the assistance Andreas, i wouldn't had do it without your channel, this year i'm going to graduate and my project is all built in LoRa, i've even included your channel's name on my book as a source.

  • @rollandjones8777
    @rollandjones8777 7 ปีที่แล้ว

    Hello Andreas, just translated #117. Do you have a text file for #118? I only found a timed subtitle file.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      Thanks for the translation! Concerning #118: This is everything I have. Because I had no script for this episode, I used the transcription of TH-cam and corrected the errors.

    • @rollandjones8777
      @rollandjones8777 7 ปีที่แล้ว

      OK I'll use it.
      I don't know if you saw I also did 115.
      Question, is it possible to reedit a translation once it's uploaded ?

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      +Rolland Jones Unfortunately, I do not see, who translated. I do not knpw, why. Concerning re-edit: I think, I can reopen it. Which one would you like to re-edit?

    • @rollandjones8777
      @rollandjones8777 7 ปีที่แล้ว

      It's 115 timing is not so good.

    • @AndreasSpiess
      @AndreasSpiess  7 ปีที่แล้ว

      +Rolland Jones Ill do it tomorrow. It is already close to 1am here

  • @o3b918
    @o3b918 6 ปีที่แล้ว

    Hey Andreas,
    I tried using the dragino gps hat with the instruction given on their page: wiki.dragino.com/index.php?title=Use_Lora/GPS_HAT_%2B_RaspberryPi_to_set_up_a_Lora_Node at 915 Mhz.
    The gateway seems to work well but I am having trouble with the node. It mostly either "unknown interrupt flags for fsk" or "Event EV_TXCOMPLETE".
    How do I check if my gateway(on the command line) is indeed receiving the packets being sent(apart from on the TTN console)?

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      What kind of gateway do you use?

    • @o3b918
      @o3b918 6 ปีที่แล้ว

      i used the lora gps hat as a gateway too. just like you described in video #124. though my gateway status on ttn shows not connected still (its been 2 days)

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Then, the sketch on the gateway should show some output for debugging.