#404

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 พ.ย. 2024

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

  • @Martin-DL
    @Martin-DL 3 ปีที่แล้ว +3

    Excellent summary on the subject of LoraWan / TTN V2&V3. Short and concise! And thanks for the reference to IoTDevices: the device is now on my wish list. Unfortunately, I can only click the thumb once...

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

      I am glad you liked the video. I was not sure if it is a good idea to combine the setup and the migration...

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

    You helped me a lot with my RAK831 pilot gateway! Thank you!

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

    Awesome! The video I was waiting for so long 😁. Now I'm motivated to update my gateway to V3 and will rethink my GPS tracker nodes. Thank you very much!

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

      My TTN trackers (using T-beams) work fine on V3. But I use the newest software and did not try to update them

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

    Excellent video, I really enjoyed it. Very interesting and I'm looking forward for the next one when you cover more of the Helium network. Maybe I'll get rich after that one...

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

      And by now I found the Tindie store of Matthias... another guy with a Swiss accent ?! I guess the viewers of this channel are very lucky, excellent quality from Switserland. I thought of Swiserland in terms of cheese and chocolate..., I defenately must review my thoughts...

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

      I will only cover the data aspect of Helium in this video, particularly for our US colleagues where TTN is not as present. Nothing to get rich ;-)

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

      @@AndreasSpiess Sounds interesting too... Getting rich with Hemium....I guess I'll carry on working and delay my retirement a few more years. So sad...

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

      @@PhG1961 helium was a flop
      Until they started turning their product into a get rich scam for the rubes

  • @DM7XK
    @DM7XK 3 ปีที่แล้ว +2

    Great video, Andreas. I successfully migrated a v2 sensor (running on a 32u4 board) using ABP. After some research, it required small changes in the device description to make it work in v3.

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

      You are right. You have to deal with the counter in a different way and add frequencies in the backend. Our old nodes will not work without changes because most of us kept the counter at 0.

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

    Another useful video Andreas! Especially V2-->V3 TTN. Thank you!

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

    Great video Andreas, this will help me further in finalyzing my LoRaWAN project for school 😀😀😀

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

    As always, well made, attention to detail and lots of humour. Thanks for sharing

  • @NicksStuff
    @NicksStuff 9 หลายเดือนก่อน +2

    12:23 Interesting, I thought it was 1% for everything before. So I checked the ETSI documentation and found it's 10% on 433 MHz and you can ignore the duty cycle limits on some frequencies if your Tx power is set at a lower limit.

    • @NicksStuff
      @NicksStuff 9 หลายเดือนก่อน

      For those interested:
      www.etsi.org/deliver/etsi_en/300200_300299/30022002/03.02.01_60/en_30022002v030201p.pdf
      (Annex B page 21)

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

      These limits are defined locally. But LoRaWAN in Europe is on 868MHz

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

      ​@@AndreasSpiessMy understanding is that while TTN doesn't use it, it is allowed.
      "The LoRaWAN® can be used in the 433.05 to 434.79 MHz ISM band in ITU Region 1 as long as the radio device EIRP is less than 12 dBm. The end-device transmit duty-cycle SHALL be lower than 10%.The LoRaWAN® channels center frequency can be in the following range:
      • Minimum frequency: 433.175 MHz
      • Maximum frequency: 434.665 MHz
      EU433 end-devices SHALL be capable of operating in the 433.05 to 434.79 MHz frequency band and SHALL feature a channel data structure to store the parameters of at least 16 channels."

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

    Great content. Covered all topics needed for mvp. Many videos don’t cover full pipeline if needed thing.

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

    Hi Andreas, your videos are always fab. In case no one has mentioned this already, the ESP32 in light sleep, the code continues from where it left off, unlike deep sleep you mentioned where it restarts.

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

      Thanks for the info. So far I never used light sleep. Maybe I have to try it once.

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

      @@AndreasSpiess I have modified the standard WiFi scan example to show it working and limitations, well you help so many of us:
      /*
      * This sketch demonstrates how to scan WiFi networks.
      * The API is almost the same as with the WiFi Shield library,
      * the most obvious difference being the different file you need to include:
      */
      #include "WiFi.h"
      #include
      void setup()
      {
      Serial.begin(115200);
      delay(2000);
      Serial.println("Setup done");
      }
      void loop()
      {
      Serial.println("scan start");
      // Set WiFi to station mode and disconnect from an AP if it was previously connected
      WiFi.mode(WIFI_STA);
      WiFi.disconnect();
      delay(500);
      // WiFi.scanNetworks will return the number of networks found
      int n = WiFi.scanNetworks();
      Serial.println("scan done");
      if (n == 0) {
      Serial.println("no networks found");
      } else {
      Serial.print(n);
      Serial.println(" networks found");
      for (int i = 0; i < n; ++i) {
      // Print SSID and RSSI for each network found
      Serial.print(i + 1);
      Serial.print(": ");
      Serial.print(WiFi.SSID(i));
      Serial.print(" (");
      Serial.print(WiFi.RSSI(i));
      Serial.print(")");
      Serial.println((WiFi.encryptionType(i) == WIFI_AUTH_OPEN)?" ":"*");
      delay(10);
      }
      }
      Serial.println("");
      // Wait a bit before scanning again
      printf("Light sleep starting, 10 seconds.
      ");
      delay(1000); //To allow above message to complete before sleep mode kicks in.
      esp_wifi_stop(); //ESP32, WiFi is turned off in sleep, cannot be avoided.
      esp_sleep_enable_timer_wakeup(10000 * 1000); //Time in micro seconds, not milli seconds.
      esp_light_sleep_start();
      esp_wifi_start();
      printf("Light sleep over.
      ");
      //Please note WiFi does stop in light sleep so hence restart it every time on wake up (rather than normally run once on power up in setup()).
      }

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

      Thank you for the example! I will try it.

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

    Thanks for the video. Inspiration to get started again. My custom LoRaWAN gateway is now up and running again with minor changes to the code and time to build some new nodes ... and the planned 433MHz weather device (Ecowitt) to LoRaWAN TTN transceiver using an ESP32 LoRa board and C1101.

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

    Great walkthrough video as always 👍
    Thanks for sharing your experience with all of us 👍😀

  • @hzgl
    @hzgl 3 ปีที่แล้ว +9

    How to avoid frustrations - only if The Things Network could use terms with some level of coherency and avoid using a vast number of alternatives to refer to the same thing - TTN V3, The Thing Stack, The Things Network Community Edition, The Things Industries V3.

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

      You are right. There is a lot of confusion. And most is home-made. Fortunately, the reality is simpler...

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

      Yes!! The barrier to entry for Lora and TTN is the language!

  • @joinedupjon
    @joinedupjon 3 ปีที่แล้ว +13

    Maybe a delicate point but isn't updating the protocol with no back compatibility going to destroy confidence and limit uptake. Hope they can keep it stable for many years now.

    • @AndrewDeme
      @AndrewDeme 3 ปีที่แล้ว +6

      Yep, if they have any interest in surviving then forward and backward compatibility will become their highest priority

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

      The network was backwards compatible for about a year before it is shut down. My gateway and sensors ran now for nearly 5 years and the upgrade procedure is not that hard. So it is acceptable if I look to other technologies like my Smartphone or PC. The communication was not very good, I think. I had to do a lot of investigations, mainly on the sensor side.

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

      I was about to write the same.

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

      @@AndreasSpiess I find it disturbing that we've reached the point where we'll accept 3 to 5 years of compatibility.
      I own a 70 year old phone that still works on the current network.
      I can still listen to 50 year old CD's through my DVD player, and I can still get parts for my 30 year old car, washer, dryer, stove, and furnace.
      But because it's "modern", we're happy if we get 5 years before we have to toss it?
      (Edit: *40* year old CDs...
      Thanks Dagerman65!)

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

      @@RottnRobbie I agree with your general sentiment, but 50yr old CDs won’t be here until about 2029… 😂

  • @NicksStuff
    @NicksStuff 9 หลายเดือนก่อน

    13:02 You could use some of the Energizer Lithium AA or AAA you get with weather balloons, they're meant to work in cold environments

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

      Yes, I use them sometimes. Fortunately, our weather is not htat cold...

  • @sr.modanez
    @sr.modanez 3 ปีที่แล้ว +1

    obrigado pelo seus videos, meu interesse em apreender so esta crecendo por causa sua em emplicar da melhor forma esse mundo tao ocultado por muitos profissionais da area, obrigado, e continue com seu legado, um fan seu do Brasil.

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

      Thank you for your nice words! I am glad you like our hobby.

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

    Great video and right on time for my water sensor project.
    *must resist urge to buy iotdevices node
    *must resist urge to buy iotdevices node
    *must ... (Adds two to basket)

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

      No need to buy one if you do not already have one. On the other hand, if you have a valuable water project it might be a good investment ;-)

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

    Hallo Andreas, danke für das informative Video. Gibt es Ihres Wissens auch eine Implementierung nach platformIO bzw. VSCode?

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

      Du kannst alle Arduino Projekte einfach in PlatformIO importieren wenn das deine bevorzugte IDE ist.

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

    Looking forward to your Helium video. Keen to use my Helium Gateway and send it data from sensors.

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

      Good to know. I am not sure when it will become available...

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

    Excellent video sir,

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

    Hey Andreas, given that some airlines have doubts about 5G networks interfering with navigation instruments of their infrastructure, do you think that 5G might also mess with LoRa networks?

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

      No problem. These are completely different issues. Proof: The problems are only in the US because of their frequency allocations.

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

    Excellent video, as always. I'm new to LoRaWAN and TTN and even after days of research I'm unsure of one thing: I want to monitor and ideally remote control an off-grid irrigation system controlled by a raspberry pi. Since there's no network connectivity, I'm thinking of connecting it to TTN, but I'm not sure how to best do things. Would a SX1262 Hat be sufficient to send data from an number of sensors and receive commands? Or would it make more sense to have a esp32 board with radio that connects to the raspi through wifi and is used as a relay to TTN? Or are there existing solutions to this? Any help pointing in the right direction is highly appreciated!

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

      Maybe you watch my other videos about LoRaWAN. Particular the introduction. The chip selection is not important. All chips have very similar performance.

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

    Is there a discord or a way to ask further questions? I’m loving the content as I’m very new to all of this

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

      TTN has a forum with lots of specialist.

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

    Thanks a lot, I've upgraded my gateway but had no idea how to update my sensors!

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

    I am wondering, if you connect to TTN, with your own LoRa-gateway, is that using LoRa as well?, or is that via Internet only. If so, why not use an any other MQTT broker on the Raspberry Pi itself combined with Grafana. Or connect to TTN directly from the Sensor-Nodes using LoRa. (....Me puzzled....)

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

      Maybe you rewatch my LoRa introduction video. The gateway is connected to the internet. It receives LoRa messages and transmits it to the TTN backend. There my MQTT broker get them and feeds them into node-red.

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

    Moin Andreas, your video reminds me that i wanted to start this for a long time. Maybe it was pretty good idea to have waited. Thank you for the helpful information!
    vy 73 de Micha, DD0UL

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

      You are welcome. The DARC has started a LoRa group if you are interested…

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

      well done walkthrough
      the link to DARC Lorawan

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

    Good presentation!

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

    Once our income issues subside, I think I might buy that RAK hat! Got a Pi 3 sitting around gathering dust. Totally unacceptable. 😁

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

      These hats still are quite expensive because the same technology is used by the Helium network which is growing like hell...

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

      @@AndreasSpiess They were twice as expensive when I last looked, even amidst the chip shortage, so hopefully they have further to fall yet. I'm not invested in any of these networks right now so I'm happy to wait.

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

    Thank you. This is very informative video.

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

    Very informative, thank you.

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

    What a great video, I think I finally get it!

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

    From someone who is really new to LoRa… If I want to send a pdf document (medical protocol) and life stream a video (patient monitor) would that be possible over the LoRa network ?

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

      No. LoRa only has a very low throughput.

  • @Andrew-rc3vh
    @Andrew-rc3vh ปีที่แล้ว

    Have you tried the Ra-08 out? It's got a SX1262 chip in it so more modern and also an ARM Cortex M4. AI-thinker has a Github page for it, some stuff is in Chinese, although what I was wondering is if I could load the Semtech's code onto it. The AI version says you need to run Linux, but the Semtech people say you can run their code in Windows and the way it loads means it will run on any target processor. I've had a look at the code and see it is quite easy to configure. You just dump your data into an array and set the flags etc.

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

      AFAIK, the RA-08 already has a LoRaWAN firmware on it and is used with AT commands like an old modem (search for "LORAWAN NODE APPLICATION: AI-THINKER RA-08/H MODULE"). I did not find information on how to program it with the Arduino IDE. It contains an ASR6601 MCU. Maybe you can program it with the Heltec Cubecell software?

    • @Andrew-rc3vh
      @Andrew-rc3vh ปีที่แล้ว

      ​ @Andreas Spiess What I'm interested in is low power, and low cost and hardware complexity, so the whole reason to use it is it looks possible you can run the whole thing on the internal processor. The other issue that helps is the whole thing comes self-contained in its own screening can and is designed to pass the CE certification. All high speed switching is nicely screened and tested for EMI.
      Actually I would not be surprised if the Heltec software is very close the AI thinker pre-installed software which in turn will be a fork of the Semtech official software. I've got a copy of Visual Studio if the Arduino system does not work. The Ra-08 is new so not too much software support yet.

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

    A big thank you from Greece Andreas!
    Great video once again!
    Managed to register my MikroTik lora 8 GW to TTN.
    Could you suggest an ultrasonic sensor to measure distance? I have an arduino board and I m planning my first Lorawan scenario 🙂

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

      I only know the usual ultrasonic distance sensors. But pay attention. They are active and consume a lot of energy.

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

    Great as always - I am torn about the LMIC - MCCI dilemma - is there some pointers to learn more? Does this mean ESP32 ESP8226 are no longer viable for LORAWAN Nodes? Appreciated

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

      Only if you want to deep-sleep them. Otherwise MCCI works fine

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

    The video title and thumbnail are a bit missleading. The newest LoRaWAN versions are:
    1.1 Roaming added, security features added.
    and 1.0.4 Class B improved, security improved, clarifications
    It is only TTN that has decided to call their version of servers V3, not LoRaWAN gateways or sensors!

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

      I thought TTN was in the thumbnail as well as in the title...

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

    Fantastic Sir! Thank you. I tried ABP mode MCCI library with RFM95 sensor node. The node works on activation of TTN v3 for a day. Next day the node does not work... so again I have to re do as a new node. I would try OTAA as you suggested.
    On the GPS tracker node , in the v2 version you can see the gps node on the TTN mapper , but I cannot find that in the V3 after migration...

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

      ABP works. But you need to manually add frequencies and pay attention that you counter always counts up. Even if you disable it.

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

      @@AndreasSpiess Thank you sir I will check this.

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

    Thanks for this video. Something I don't understand about TTN : say I want to communicate between 2 devices that are 10km far from each other. Device A is in a zone without surrounding gateways so I need to setp my own. Problem is how do I know that my gateway will be able to relay messages to surrounding gateways in order to reach Device B? I understand TTN is a community mesh LORAWAN network therefore there's no guarantee 1 gateway will be close enough the another one in order to relay messages, is that right? Is there a way to 'simulate' a message travelling from point A to point B with all known TTN available gateways so that we can anticipate whether the message from A will reach B?

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

      Maybe you watch my introduction video about LoRaWAN. There is no connection between sensors. Only between sensors and gateways.

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

      @@AndreasSpiess ok I got it now, thanks!

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

    Great video Andrea, nowadays I am using a esp32 for a project using wifi and sigfox, i am starting to use de rfw95 to have also the possibility to use LoRaWAN, and I have test it and it works, but is true that i have to sleep them.The issue is just that after sleep mode I have to redo the JoinRequest, or there are further problems. I will really appreciate your help. Thank you very much in advance. Miguel Morales

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

      If you live in Europe you should be able to use my sketch from the last video.

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

    Great work, I have only one question, how do you send downlink messages (for example: FPort:3 Payload:01), from node-red to the TTN v3 ? I can receive my data, but I donnot know how to send data back to the TTN

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

      I never tried it. But there is a node in Node-Red to do it.

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

    great explanation

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

    Problem is that for free edition they don't guarantee 100% uptime, and they want credit card info for registration (same story for any cloud vendor actually, which is actually very annoying to me).
    Also pricing for one month is 190$ more or less, which is quite expensive for home projects. Please correct me if I'm wrong.

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

      Are you really talking about TTN? I do not think they have a credit card number from me. But yes, they do not guarantee uptime. Mission critical operations always are more expensive...

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

    My newest project is simple. Just a simple ESP32 or whatever with GSM and a single button... it is for my mother,. When the button is pressed it will send an email and an SMS to report an emergency. It can call me and the emergency. Makes a lot of sense. It can easily be altered to make a children tracker. GPS modules are cheap these days.

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

      Its coverage is extremely good compared to all other technologies. But you are lucky that the GSM network still runs in your area. In many areas they are already shut down...

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

    Wow nice Video i Must change my Sensor

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

      It is hight time. The old network is switched off by now...

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

    You were referring to those devices as cheap, I wouldn't call it particularly cheap when the TTIG costs ~92€.
    Already made sensor for outdoor use, 70€.
    Zigbee is so much cheaper.

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

      I also use Zigbee for short range. A very good technology similar to BLE.

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

      @@ruakij6452 I was talking more about the already made sensors, and not the modules themselfs.

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

    Good Morning,
    I’m using some HTCC-AB01 like sender, I’m sending some value read from 5 sensors connected to their GPIO. I’m using also an HTCC-AB01 like receiver.
    I need to know how many HTCC-AB01 used like sender can be handle by one HTCC-AB01 used like receiver.
    Can you help me?

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

      No need to ask twice the same question

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

    I'm impressed! So much effort to make this thing operable. Wow! Takes hundreds of dollars to get to simple implementation. Lots more for gateway... Ongoing costs to get into internet... Wow! And yet my remote field cam setup can't use it because it's a SENSOR net! Nor my remote security system with watchdog maintaining constant com. For hobbyists, lorawan is fun to play with. But of what real use? Sure, I got a hot tub in the mountains and it says the temp...but I already know the temp, as I set it before I left.... But WHERE'S THE BEEF? Wimpy data on a lazy net. Blinky lights....ohhhh! Ahhhhh! Keep up the good work sharing the unfolding saga. Peace, Doug

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

    Hello Sir, can I still connect to TTN V3 using Dragino Lora shield?? As per your older videos

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

    Did you have to update your Arduino libraries for OTAA to work before you migrated?

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

      No. I just removed the LMIC library and innstalled the MCCI library. But not because of OTAA. Just to have the newest one.

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

    Hello Andreas
    I am attending a further education course at the ZHAW and am working with Arduino and LoRa for the first time.
    I have an Arduino UNO board and a Dragino LoRa Shield v1.4.
    I want to connect an analogue sound level meter to my UNO board and transmit the data via TTN. Afterwards I want to visualise the whole thing on Thingspeak.
    Can you give me a good tutorial so that I can achieve my goal?
    Best regards
    Patrick

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

      As I said in the video: The Arduino is no more a good choice because it does not have enough memory. I made some videos on how to build LoRa sensors in the past.

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

    hooray thanks for the excellent video

  • @83SzT3
    @83SzT3 2 ปีที่แล้ว

    Hi!
    Ich möchte um Hilfe bitten!
    Ich suche eine "LoRa"-Karte ... Ich habe sie vor ungefähr einem Jahr im Zusammenhang mit Ihrem Video gesehen.
    Das Gateway und der aktive Sender sind alle darauf.
    Das Gateway Möhlini Sonnenberg ist auch da oben...!
    Kannst du helfen?

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

      Ich verstehe deine Frage leider nicht :-(

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

    Excelent informative video!! How can I use the "Low power Atmega1284P based Arduino Lora node" with 915Mhz Andreas?

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

      Just use a different RRM95 module which supports 915MHz

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

    In general, must I use a outside server to use lorawan or can it be local?

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

      Maybe you watch my LoRa introduction video? The answer is not simple.

  • @qayyumrashid6949
    @qayyumrashid6949 9 หลายเดือนก่อน

    please help me sir, how do i determine the lorawan version that i need to use when i register my end device. I'm using Dragino lora shield v1.4 and i'm using AS923 frequency plan in my gateway

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

      I would go to the TTN forum to ask this question.

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

    I am trying to use nicerf sx1268 module with esp32 to sending and receiving data. Unfortunately i couldn't find the better Library support this module and pin connection aswell, always i have a initialization error message from the serial monitor pls help me i am a big fan of yours

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

      Unfortunately, I cannot do remote debugging. I would check the connections to the LoRa chip and the pin definitions in your sketch.

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

    Hi Andreas, can you show us how to use Helium which is a decentralized LoRa network funded by Crypto? I think the subject matter is perfect for your channel.

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

      @@nomoreprivacyanymore cool. Thanks for the link!

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

    I have been enjoying these LoRa videos and have learned quite a lot from them. But I have not seen anything about using LoRa only on an isolated network. I am using Home Assistant and have several devices with it. I built a mailbox sensor a lot like what you have, but used WiFi for the communication and ESP Home on the sensor. It has some problems with power usage and I think that is because of the board I am using. LoRa looks to be a possible solution for this and other sensors I have been thinking about. There are no local gateways to me so I would have to install my own. My network connection can be problematic at time. I don't like relying on the cloud because of this. If my network connection goes down, or there are network problems, my devices stop working.
    Is it possible to setup a gateway that runs on an isolated network so I don't have to rely on TTN? I would probably also setup a second gateway for TTN, but it would be lower priority. Is there anything out there that shows how to do a private gateway?

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

      I made a video on one-to-one LoRa connections. Maybe a solution for you?

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

      I live in a very remote area, my nearest non-tech neighbors are about 1 KM away. To me it only makes minimal sense to use something like TTN. I would really like to implement something like a star topology where the center brokers my messages either for Home Assistant or Node Red. I am new enough to LORA to not really know what key words to look for. I like Meshtastic, but it seems to be pretty limited on choices at the present.
      Any suggestions.

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

    Hello, on the file linked to my board, the AppEUI and DevEUI are written in big endian. Do I have to write it exactly the same on TTN to add my end device, or do I have to write it on little endian on TTN? Thank you in advance !

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

      It is written when you create the node on TTN. Not all numbers are the same

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

      @@AndreasSpiess Thank you for your response. Nothing is written when i'm creating my end device. But I found afterwards if it lsb or msb by looking at the setting of my end device.

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

    Hi Andreass. im working in a final project for a degree, about LoRa aplication in Ambulance georeference and status alert sending. For the prototype im using a TTGO T-Beam V.1 board, but i cant conect the end device to TTN V3, the gateway shows that it receives packets, but in the internal application it shows no activity on the node, i put the EUIS in LSB and MSB, but is not working, can you help me a litle? Thanks!!

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

      Unfortunately, I cannot do remote debugging. But you seem to be close if the gateway receives packages. If you do not see a join request in the application, something with your numbers is wrong. Then, TTN does not know that the number sent by your tracker is yours.

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

      ​@@AndreasSpiess Thank you very much for your answer, what number do you mean? to the EUI? I have put them all as the code asks me, it would help me a lot if you take a look, the code is on GitHub, as TTN MapperTTGO T-Beam Tracker for The Things Network.
      Should I modify something special in this code?
      Best regards

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

      @@Ardutomas TTN offers LSB and MSB notation. Some sensors need LSB and others need LSB. And sometimes it is even mixed. I am sure you will be able to solve the problem.

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

    I must have blinked at the wrong time. What happens on Dec 31, 2021?

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

      The TTN V2 network will be shut down.

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

      @@AndreasSpiess Thank you

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

    Hello, I would like to use on of my ttgo t-beam boards to connect to ttn in order to register signal levels in my area. Is there such a sketch?

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

      Search for "TTGO T-Beam Tracker for The Things Network"

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

    Opps, supposed to say ARE acceptible! But people here are brighter than the average surfer so there ya go...

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

    Hallo Herr Spiess, super Tutorials haben Sie da auf TH-cam geladen. Ich bin gerade daran, mit ein paar Kollegen ein Zeitmess System für die Trendsportart des Bogenschiessens zu Pferde als Prototypen zu realisieren. Dabei sind ein paar (Zeit) Messpunkte auf weiter Strecke verteilt. Denken Sie ein lokales LoRa Netzwerk wäre für so eine Aufgabe geeignet? Die Präzision der Zeitmessung ist nicht entscheidend, aber die Zuverlässigkeit der Signalübertragung. Vielen Dank und viele Grüsse vom Peter aus Bern.

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

      Da müsst ihr ein spezielles Protokoll schreiben mit Rückmeldung wenn korrekt empfangen und wiederholen wenn nicht. Ich nehme an die Knoten sind in Sichtverbindung.

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

      Ja das ist so, Sichtverbindung innerhalb weniger hundert Meter. Wäre vielleicht auch eine Option die Message mehrfach abzusetzen zusammen mit der Verzögerungszeit wenn der Triggerpunkt ausgelöst wurde. Ich frage mich noch ob ich für erste Versuche Einen LoRa ESP32 oder Raspberry Pi mit LoRa Shield nehmen sollte ? Vielen Dank und viele Grüße, Peter

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

      @@peterkuemmerli7695 wenn du sicher sein willst brauchst du eine Rückmeldung. Ausserdem vermutlich synchronisierte Uhren (kann mit GPS einfach gemacht werden). LoRa braucht viel übertragunszeit.
      Ich würde T-Beams nehmen. Die haben alles.

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

      @@AndreasSpiess Vielen Dank für die Tipps! Falls LoRa die geeignete Technologie für eine solche Anwendung ist und die TTGO Module, respektive ESP32 mehr als nur eine proprietäre Eintagsfliege der Elektronik-Entwicklung zu sein scheint. So könnte ich mit 3 solchen Modulen eine Punkt zu Punkt Verbindung zwischen Zeit-Mess-Gates und dem zentralen Steuergerät realisieren ? Eine Einbindung ins Internet, respektive ein Gateway wäre für den stand-alone Betrieb ja dann nicht nötig, vielleicht zu einem späteren Zeitpunkt mit neuen Funktions-Erweiterungen.
      In welchem Bereich liegt das mit "viel Übertragungszeit" sprechen wir da von ms oder s?
      Viele Grüsse und vielen Dank, Peter.

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

      @@peterkuemmerli7695 wir sprechen von Sekunden im schlimmsten Fall. Aber du weisst nicht wann der schlimmste Fall eingetreten ist. Deshalb GPS. Ich werde in Kürze ein Video über ein Sensornetzwerk machen. Vielleicht ist das was für dich. Hoffentlich noch vor meiner Sommerpause.

  • @ulis.1544
    @ulis.1544 3 ปีที่แล้ว +1

    I don't get you point why esp32 are not suitable for MCCI OTAA. OTAA should be used to join the network. Once done a ABP is totally fine after a sleep.

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

      I am not sure if you can mix the two in one node. At least I had to chose one for each end device (ABP or OTAA).

    • @ulis.1544
      @ulis.1544 3 ปีที่แล้ว

      @@AndreasSpiess you can mix abp and otaa... This is even the desired method by ttn.

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

      This is an insight I wish to learn more about. Any good pointers?

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

      yes greater clarification would be helpful here. because of the desirability of esp32 in sensor nodes. and also because for other mcus, then the addition of a 'nano power timer' would also mean the mcu execution gets resetted there too, right?

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

    well, I already migrated, but Home Assistant does not have the V3 version integration yet :( I'm too hesitant to go the MQTT way.

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

      MQTT should also work fine with HA (as a backup for December)...

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

    The 5 seconds between is just a TTN thing, the time between TX and RX can be different on different networks. It is not the protocol.

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

      Thank you for clarification!

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

    Sorry to disturb, but i find it really hard as a novice, to understand GET and POST requests... I mean, in url encoded form you send a string, not data, so you need to create the string first, meaning to convert data into characters ? And then decode the string, on the other side, and how to get sure the data is put in the right place. .? Thanks, l

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

      This is too complex to be answered here. But I am sure Google will help you. For TTN, you just can use my Node-Red flow and it should work.

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

    This video (as always) is awesome.
    Will you be my new Dad?

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

      Thank you. I already have enough kids ;-)

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

    Are these sensors good enough if we sit in the first row?

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

    How to make sms tranciever system using a mobile app with wifi on esp32

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

      First define your exact needs and then search for a good project. Maybe you will come across the "Meshtastic" project...

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

    RIP my stock of 328P boards

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

      Maybe you can still use the "old" LMIC lib...

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

    SD card in my ic880a/Ch2i based gateway has died and none of the installations seam to work with current versions of rasbian, tried going back to jessie but that fails as all the repositories are dead... Anyone know of a working install?

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

      I still have my IC880a running with an installation based on the Zurich method (link in the description. But I do not know which version of Raspbian I am using.

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

    13:49 where is the text from the sketch????

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

      I thought it is inside the Arduino sketch (as comment)

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

    Great video as usual Andreas. However, considering we would like to be disconnected from the "3rd party clouds" (for any reason) LoRa makes sense only if:
    1- your sensor is out of reach of your WiFi/BT and
    2- you cannot use any other RF4xx/8xx MHz transceiver (for extension of the range)
    Otherwise WiFi/BLE/RF modules are more "private".
    If you i.e. see where Home Assistant users go (read: devices that are INDEPENDENT from clouds) I am not getting why "sensors users/makers" should go opposite direction ;-)
    Also: LoRaWAN reduces the amount of sent messages per day - sometimes it is not enough if you stay within the required/limited messages per day (ok, you might not have the postman coming more than 1 time per day but other sensors?).
    Alternatively: own LoRa gateway but then again: why LoRa not any other radio interface/protocol?
    "One more thing": if I remember correctly LoRa is patented and NOT open standard, right? One day someone will say: "kindly starting tomorrow please pay me..." ;-) Or in case of disaster, when cloud goes down you don't even know if there is... a rain or sun in your garden ;-)
    One last thing: no OTA when you use LoRa, right? So the idea about having sensor that is far from you (read: further than your WiFi range) is killed when you need to update the program. Apart from OTA: when you have WiFi you can use MQTT to even reconfigure the sensor remotely i.e. update_interval or so - probably impossible with LoRa with limited transmitting allowed.
    For the battery issues: I just upgraded all my sensors by installing solar panels (10x7cm) and even in UK the battery is full every day before the midday. This way battery is not an issue anymore.
    No, I am not against LoRa - just thinking loudly ..."why LoRa(WAN)?".

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

      Here are my 2 cents:
      It all depends on the use case. I do not care too much about privacy or cloud for the data I transfer with LoRa and, as you write, I only use it if WLAN does not work. You can do OTA for remote nodes with LoRa but I never tried it. Most sensors are so simple you probably do not need to update OTA if you did a proper testing job.
      You are right: LoRa is a proprietary protocol. This is not important to me because it is built in a (proprietary) chip. I will be able to use this chip till it dies, even it I am not allowed to copy it.
      Why not another interface/protocol? Because I would have to write it myself. And LoRa exists and in many areas you even do not need your private gateway. Very handy. BTW I use 433 for my weather sensor, for example.
      Concerning clouds: I do not see that people go away from clouds. I see a big trend in the direction of clouds, particularly in the business environment. Private users already are on the hook for years (Facebook, Whatsapp, Apple, Spotify, etc). I do not push it in my systems, but I accept clouds if they provide some added value.

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

      @@AndreasSpiess and you might be very right Andreas ;-)

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

    What a pitty the swiss low power board is not available anymore…

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

      That often happens with my videos... But he has a waiting list...

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

      @@AndreasSpiess I know. Entered myself in it. Would be thrilled to get to work on some industrial sensor for autonomous sensoric on trains.

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

    Yes OF COURSE I will build my sensor projects on a platform that regularly forces me to migrate to new technology. My free time is endless and I really have nothing better to do.

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

      Regularly in this case means every 5 years...

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

    hmm, anybody else having problems with comments not showing up? I'm posting some comments critical of helium, and they show as posted, but then later they are gone!

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

      Did you include a link? Then also mine on my own channel disappear :-(

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

      @@AndreasSpiess yes, I included reference links to my sources, but apparently, YT is silently removing them. At least they should say no links or something.

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

      @@AndreasSpiess ok even after removing the links, they are taking down my comments, so not sure whats going on... it's not malicious or bad language - they are just silently disappearing :( I wanted to ask you to cover some things in your upcoming helium video, but I guess YT doesn't want "creator/audience engagement metrics" ;)

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

      This comment at least made it ;-) I will only cover technical details on nodes and gateways. No mining stuff. This was covered in my previous video.

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

      @@AndreasSpiess The gist of my comments were the other discussions on reddit of whether or not it was an elaborate ponzi scheme or not, as there seem to be requirement of a "buy in" even for non-earning gateways, they still charge something like $15 to get on the network. So will be interesting to see you cover anything related to registration and/or usage fees in these regards.

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

    lora is all proprietary and corporate controlled

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

      Only the protocol definitions. You can do what you want with the boards...

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

    The text is a little hard to read

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

      Thank you for the feedback.

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

    ...furthermore...be mindful of building MORE FREEWAYS! More freeways IS NOT a good solution to congestion on wifi. Sensor solutions that integrate coms and avoid ad-hoc, hit or miss tech are not acceptable in todays world. It's another way to cut costs by trying to vampire another system. Cheap, imported devices use this sloppy tech. Mostly it works after a fashion. But is a real user, like a farm owner, going to install the cheapest system or a mid scale system? Would he settle for temp while his neighbor has video of his tractor working a field? Lorawan is cool in many ways, no buts about it. But utility is huge these days! Lorawan is slow scan tv WITHOUT a blurry image!

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

    I would rather wait for this technology to mature..For successful implemention one requires knowledge of hardware as well as networking...too much for people with limited brain functions like me...in the meanwhile i would experiment with cloud vm like amazon and my tv stb android box with debian for replacement of pi

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

      by the way, here is the pi4 running windows 11 th-cam.com/video/UYSytYtyqCk/w-d-xo.html

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

      I thought this LoRa stuff is quite simple if you know how to do it...
      Concerning Windows on a Raspberry: Interesting and a good marketing trick for Microsoft. But here I am not sure if this is something I would want to do because I assume nearly no application will be compiled for ARM for some time. All the applications are the main reason to use Windows for me

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

      Most comments going to spam...

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

      ?

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

      I wrote 2 comments both disappeared. Only this appeared.

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

    Only my feet smell better than Swiss Cheese. PERIOD.