LoRa/LoRaWAN tutorial 28: LoRaWAN Gateway

Поделиться
HTML-код
  • Опубликовано: 22 янв 2019
  • If you like this video and want to support me, go this page for my donation Paypal or crypto addresses:
    / mobilefish
    This is part 28 of the LoRa/LoRaWAN tutorial.
    In this video series different topics will be explained which will help you to understand LoRa/LoRaWAN.
    It is recommended to watch each video sequentially as I may refer to certain LoRa/LoRaWAN topics explained earlier.
    In this tutorial I will explain what the RAK831 Pilot Gateway is, how to configure it and how you can register this gateway with The Things Network.
    Rakwireless Technology (RAK) was established in June 2014 and is based in Shenzhen, China.
    RAK main focus is developing and supplying advanced IoT technology and services.
    There are many different gateways, one of them is the RAK831 Pilot Gateway.
    This gateway is designed for indoor usage and supports the LoRaWAN 1.0.2 protocol.
    It is ideal for prototyping, Proof-of-Concept demonstration or for evaluation purposes.
    The RAK831 Pilot Gateway is a fully assembled gateway with an aluminium housing and is shipped with a micro SD card with all software pre-installed.
    The RAK831 Pilot Gateway consists of:
    - a Raspberry Pi 3 model B+ (rev1.3),
    - a converter board with a GPS (Ublox, MAX-7Q) module,
    - a RAK831 LoRa Concentrator,
    - an aluminium housing with the top cover serving as a heat sink housing size DxWxH = 69x92x54 mm,
    - a power adapter (5V, 2A) with micro USB, and the cable length is 115 cm,
    - an antenna with the correct frequency for the LoRa radio,
    - a GPS antenna and the cable length is 150 cm,
    - a micro SD card (16 GB, class 10) with pre-installed software.
    The RAK831 concentrator uses the Semtech SX1301 chip and is able to receive up to 8 LoRa packets simultaneously, and can send with different spreading factors on different channels.
    The concentrator is the radio communication module which receives and transmits radio messages.
    The converter board with the GPS module routes the signals between the Raspberry Pi and the RAK831 concentrator.
    The Raspberry Pi processes these radio messages as well as protocol related tasks and sends the processed data to a LoRaWAN server, for example The Things Network server.
    The RAK831 Pilot Gateway is a fully assembled gateway and needs to be configured before it can be used.
    To register your gateway with The Things Network you need its gateway EUI.
    The gateway EUI can be any random 8 bytes number but it is recommended that the gateway EUI is based on the gateway MAC address.
    A MAC address is a hardcoded identification number which is assigned to your network interface card.
    WiFi is by default disabled in the RAK831 Pilot Gateway.
    The gateway is shipped with a micro SD card with the following software pre-installed.
    Raspbian Stretch Lite:
    www.raspberrypi.org/downloads...
    Semtech LoRa library (V5.0.1):
    github.com/Lora-net/lora_gateway
    Semtech UDP Packet Forwarder (V4.0.1):
    github.com/Lora-net/packet_fo...
    The Semtech LoRa library contains drivers/HAL (Hardware Abstraction Layer) to be used in gateways using a concentrator board based on Semtech SX1301 multi-channel modem and SX1257/SX1255 RF transceivers.
    The Semtech UDP Packet Forwarder is a program running on the host of a LoRa gateway (in my case the Raspberry Pi) that forwards RF packets received by the concentrator to a LoRaWAN server through an IP/UDP link.
    The RAK831 Pilot Gateway is shipped with a converter board with an Ublox MAX-7Q GPS (Global Positioning System) module and a GPS antenna.
    GPS satellites broadcasts navigational messages to Earth, which contains very accurate time stamps and their position.
    The gateway GPS module receives these navigational messages.
    With this information the GPS module calculates its position on Earth.
    The GPS module can use these accurate time stamps to create a PPS (Pulse Per Second) signal that is used for timing/synchronisation purposes.
    Every LoRaWAN gateway with a GPS module generates the same synchronised PPS signal.
    The RAK831 Pilot Gateway has a GPS module but it is disabled.
    This is done because class B functionality is not implemented yet in LoRaWAN servers, such as The Things Network servers.
    More information about the RAK831 Pilot Gateway:
    www.aliexpress.com/store/prod...
    Interested in the RAK831 components:
    www.aliexpress.com/store/prod...
    Check out all my other LoRa/LoRaWAN tutorial videos:
    • LoRa/LoRaWAN tutorials
    Subscribe to my RUclips channel:
    / @mobilefish
    The presentation used in this video tutorial can be found at:
    www.mobilefish.com/developer/...
    #mobilefish #lora #lorawan
  • НаукаНаука

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

  • @DanielHofer
    @DanielHofer 4 года назад

    Thank you very much for this great tutorial!

  • @zip1982besh
    @zip1982besh 5 лет назад

    thanks. You do very important work!!!

  • @akekakong78
    @akekakong78 5 лет назад +2

    Thank you 🙏🙏

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

    Thanks. This is the most comprehensive run through about the Rak Gateway. Rak produced nice and professionally-done hardware, but I can't see the same for their documentation.

  • @joanaguilarfabregas1041
    @joanaguilarfabregas1041 5 лет назад

    Hi Sir, Thanks a lot for your great learning videos. Do you know if LoRaWAN gateways have adaptative power control features?

  • @shirhussain
    @shirhussain 5 лет назад

    Thank you for your good videos. I have a question.
    I want to use a LoRa gateways to connect 200 nodes to a gateway. Also I do not want to use thethingsnetworks. Can I use a RAK831.

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

    Hi, thanks for the very informative video. I have a RAK7243 and by default it seems that GPS is enabled with "fake-gps": false, I noticed that GPS often out of sync and it will then show "altitude" as -1 (i.e. the default value from global_conf.json). My GPS is placed at my balcony with wide open space in front and above without blocking. One thing that I noticed is that there is no GPS beaconing conf file for Asia (I live in Singapore) in /cfg directory, my question is that is the lack of the GPS beaconing configuration causing the GPS out of sync?

  • @jamestate7851
    @jamestate7851 5 лет назад

    Putting the Antenna outside what type cable and max length of cable , from RAK831 to Antenna

  • @mohamedmouhouldcheikh2624
    @mohamedmouhouldcheikh2624 5 лет назад +2

    hello thanks for this work
    i have ERROR: failed to start concentrator.
    can you help me to fix this problem please.

  • @fenilmangukiya8482
    @fenilmangukiya8482 5 лет назад

    did you used SF12 when taking those measurements?

  • @pretikumari8228
    @pretikumari8228 5 лет назад

    If two nodes communicate directly with each other, will they also follow duty cycle restriction? If yes, then who is monitoring their duty cycle?

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

    Hello Sir, thanks a lot for the tutorial, is there a way of getting gateway GPS i want to deploy my gateway within a user interface as I did with the end nodes

  • @ArieLash01
    @ArieLash01 5 лет назад

    Thanks do you know if it is possible to two servers from the gateway

  • @thassh.67
    @thassh.67 5 лет назад

    How could I download this 2 links of TTN-gateway to my Gateway on command line ?
    I am a beginner.
    Thank you.

  • @cute_pet_videos
    @cute_pet_videos 4 года назад

    Thanks for this valuable content.
    the RAK83 has been made obsolete. Which equivalent model do you recommend ?

    • @Mobilefish
      @Mobilefish  4 года назад

      See: www.mobilefish.com/download/lora/lora_part51.pdf
      LPWAN Gateway Developer Kit - Kit 7 is similar to RAK831 but without the aluminium enclosure (page 9+10).
      RAK7243 (page 12) - this an upgraded version but without the need of a converter board.

  • @ayotundealoba8879
    @ayotundealoba8879 5 лет назад

    I just bought the RAK831 but at 29:06 i could not get the tty port /dev/ttyAMA0 open GPS for synchronisation.
    cat /dev/ttyAMA0 work only after disabling shell & kernel message thru sudo raspi-config >>> interface option >> serial
    Alot of this messages "$GPTXT,01,01,01,NMEA unknown msg*58" were seen . Can you help with this issue

  • @candr0idcrypto383
    @candr0idcrypto383 6 месяцев назад

    Have you ever tried to pull the file system or firmware from a Bobcat 300? You seem to know what you are doing.

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

    thank you for your great videos, I have a project about building a lorawan network, I have asked to use sensecap loarawan gateway which is a ready_made gateway, my question is about the choice of lora module for end device
    is it ok to use dragino lora shiled(RFM95(W)) +arduino?
    I mean can any lora end node connect to the new ready-made lorawan gateway?

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

      Normally any LoRa node should be able to connect to a LoRaWAN gateway (But always check the specs!). I have a Dragino LoRa shield (v1.1) + Arduino Uno and I was able to transmit data to my LoRaWAN gateway. But be careful Arduino Uno has only 32K bytes of Flash memory.

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

      @@Mobilefish Dear sir I tried to use this code that you mentioned github.com/robertlie/dht11-ttn-rfm95.git , but got error in arduino IDE, and I do not know if this code is still can be used for dragino+dht11+arduino uno?

  • @dungle-ck8xp
    @dungle-ck8xp 3 года назад

    why do we use raspberry pi for our microprocessor ? Can we use another kit? Im looking forward to your answer. Thank you sir.

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

      Because of the use of the Semtech LoRa library (github.com/Lora-net/lora_gateway) and the Semtech packet forwarder (github.com/Lora-net/packet_forwarder) that is being used. If there is another kit which can run these packages than the answer is yes.

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

    can be used for helium crypto mining or data only?

  • @mrnobody1286
    @mrnobody1286 4 года назад

    Hi , in 1:05 you said that rak831 is for indoor usage. But as I know Rak831 uses SX1301 . isn't is for outdoor usage ?

    • @Mobilefish
      @Mobilefish  4 года назад +1

      You are right, but I am referring to the housing. The aluminium housing is not waterproof. If you put the 3 boards inside a waterproof container than you can use it outside.

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

    Hi Sir, Can multiple channel gateway device not forward th packet, but store the data temporarily and then send it to a internal server by FTP? Which lora library shoul be used? Thank you...

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

      As far as I know all LoRaWAN gateways sends its data to a LoRaWAN server using a packet forwarder. But goto www.chirpstack.io/ and submit this question at their forum, maybe it is possible with Chirpstack??

  • @ahmadfarid7025
    @ahmadfarid7025 4 года назад

    is it possible if i use dragino LG01 lora gateway single channel to bridge a lots of end devices and connect to TTN server?

    • @Mobilefish
      @Mobilefish  4 года назад

      Sorry Ahmad, I do not work with single channel lorawan gateways anymore. Submit this question at dragino support www.dragino.com/support/require-support.html

  • @pdeepakjayan5515
    @pdeepakjayan5515 5 лет назад

    In this video, when we register the gateway in The things console, it shows that the gateway is connected along with a green symbol. But why is the last seen time of the gateway be shown as changing to 6, 7 and 14 seconds? What does the " connected "status" along with "last seen 5 seconds ago" means? Does this mean the gateway was active 5 seconds ago (which means not active at the very moment) or does it mean that the gateway is still active and last seen has no significance? Please reply

    • @Mobilefish
      @Mobilefish  5 лет назад

      Checkout stat_interval:
      www.mobilefish.com/download/lora/lora_part29.pdf

  • @yangyuexiang
    @yangyuexiang 4 года назад

    Hello SIr, can this device have BLE antenna? Is there a way to add BLE antenna for this device?

    • @Mobilefish
      @Mobilefish  4 года назад

      LoRa devices does not operate on 2.45 GHz. See: www.semtech.com/lora/lora-products

  • @pdeepakjayan5515
    @pdeepakjayan5515 5 лет назад

    I followed all the instructions in the video and tried to connect my gateway to ethernet using ethernet. I tried to change the static IP of Raspberry pi to DHCP. Please explain to me, How can I change the IP address back to static later? Please reply

    • @Mobilefish
      @Mobilefish  5 лет назад

      This is a Raspberry Pi question. There are many tutorials on internet answering your question, Google "Set a static IP on my Raspberry Pi 3"

  • @sairfan06
    @sairfan06 5 лет назад

    Why do you think RAK831 is only good for prototypes?

    • @Mobilefish
      @Mobilefish  5 лет назад

      I just reiterating what is stated on their website / products page.

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

    shawn jones wifi