Projekt LoRaWAN

Aus Opennet
Wechseln zu: Navigation, Suche
Team
Projektlorawan.jpg
Projekt LoRaWAN
Treffen: nur bei Bedarf
LoRa-WAN
Mitglieder:
Thomas, Philipp, Johannes
Kontakt:
crew@list.opennet-initiative.de


Inhaltsverzeichnis

Knowledge LoRa / LoRaWAN

Einsatzmöglichkeiten

Protokoll

LoRaWAN Klassen (ausLoRaWAN Backend Interfaces 1.0 Specification)
  • Layer 1 - Chirp Spread Spectrum
  • Layer 2
    • Bi-directional end-devices (Class A): End-devices of Class A allow for biirectional communications whereby each end-device’s uplink transmission is followed by two short downlink receive windows. The transmission slot scheduled by the end-device is based on its own communication needs with a small variation based on a random time basis (ALOHA-type of protocol). This Class A operation is the lowest power end-device system for applications that only require downlink communication from the server shortly after the end-device has sent an uplink transmission. Downlink communications from the server at any other time will have to wait until the next scheduled uplink.
    • Bi-directional end-devices with scheduled receive slots (Class B): End-devices of Class B allow for more receive slots. In addition to the Class A random receive windows, Class B devices open extra receive windows at scheduled times. In order for the End-device to open its receive window at the scheduled time, it receives a time synchronized Beacon from the gateway.
    • Bi-directional end-devices with maximal receive slots (Class C): End-devices of Class C have nearly continuously open receive windows, only closed when transmitting. Class C end-device will use more power to operate than Class A or Class B but they offer the lowest latency for server to end-device communication.
LoRaWAN Network Reference Model (NRM), roaming End-Device (aus LoRaWAN Backend Interfaces 1.0 Specification)

LoRaWAN bei Opennet

Nutzen für Opennet

  • Neues Projekt
  • Bereitstellen eines Community LoRaWANs in Rostock und ggfs. sonstwo
  • Eigene Nutzungsmöglichkeiten
    • Anwendungen vor allem Sensordaten erfassen, Fernsteuern, Überwachen
      ESP32 mit LoRa Transceiver, WLAN
    • Gateways ab 100,-EUR ohne Outdoor-Gehäuse und Antennen
    • Eigene Clients zum Basteln je nach Anwendung

Standorte

Bei 2km Reichweite in Städten würden wir mit den ersten drei Gateways schon die komplette Innenstadt abdecken.

Verteilung möglicher Gateways.

Das erste Radio-Gateway hängt seit Anfang Mai auf Z10.

Erstes Gateway auf Z10.

Plan / Offene Fragen

  • Gateways aufstellen
  • LoRaWAN Network Server bereitstellen
  • Eventuell Anbindung an The Things Network oder eigene Systeme aufbauen
  • Standorte so planen, dass gesamte Stadt abgedeckt wird
  • Adressen und Einbindung in Opennet Netzwerkstruktur besprechen

Ausprobierte Hardware

LoRa Endgeräte

LoRa Netzwerkkonfiguration

Folgenden Schritte haben wir unternommen damit alles funktionierte:

Geräte:

  • AP1.52 (hat auf eth0 192.168.11.52)
  • LoRaWan GW: 192.168.5.30 (siehe Adressschema)
  • Netzwerkkonfiguration in /etc/network/interfaces
 # Ethernet
 auto eth0
 allow-hotplug eth0
 iface eth0 inet static
 address 192.168.5.30
 netmask 255.255.0.0
 gateway 192.168.11.52
 # add nameserver routes
 dns-nameservers 192.168.0.246 192.168.0.247 192.168.0.248
 up ip route add 192.168.0.246 dev eth0 via 192.168.11.52
 down ip route del 192.168.0.246 dev eth0 via 192.168.11.52
 up ip route add 192.168.0.247 dev eth0 via 192.168.11.52
 down ip route del 192.168.0.247 dev eth0 via 192.168.11.52
 up ip route add 192.168.0.248 dev eth0 via 192.168.11.52
 down ip route del 192.168.0.248 dev eth0 via 192.168.11.52
  • Konfiguration des TTN Gateways (unter anderem, welcher TTN Server genutzt werden soll)
 /opt/ttn-gateway/global_conf.json
  • Status des Gateway abfragen:
 service ttn-gateway status
  • AP1.52
    • HNA 192.168.5.30 eintragen
    • hier Masquerade für HNA konfigurieren (siehe [Opennet_Firmware_f%C3%BCr_Fortgeschrittene#HNA.2FNAT_Konfigurieren_f.C3.BCr_Nicht-OLSR-Nachbarn]
  • UGW Server: Forward für TTN Router (router.eu.thethings.network 52.169.76.203) immer erlauben

Merkzettel

Hardware

Gateways

Endgeräte

Server-Software

Sonstiges

Meine Werkzeuge
Namensräume

Varianten
Aktionen
Start
Opennet
Kommunikation
Karten
Werkzeuge