LoRaWAN: Difference between revisions

From The Munich Maker Lab's Wiki
Jump to navigation Jump to search
No edit summary
(added projects box)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{project
|name        = LoRaWAN
|status      = stable
|image      = ttn-munich-logo.png
|description = a free LoRaWan Network for Munich
|author      = Severin, Heiko, Joe
|username    =
|version    =
|update      =
|platform    =
|license    =
}}
LoRaWAN is an RF standard for IoT devices to connect to the internet.
LoRaWAN is an RF standard for IoT devices to connect to the internet.


== Gateway ==
=== Research ===
We decided in the [[20161009 Plenum#Buying_more_stuff.3F|Plenum]] to buy a LoRaWAN gateway for the space. However, we don't really know kind of gateway to get. Let's figure out what kinds exist today.


==== Prebuilt ====
== The Things Network Munich ==
* The Things Gateway [https://shop.thethingsnetwork.com/index.php/product/the-things-gateway/] - not available yet?
We are a official The Things Network Community. There's a regular meetup in the third Week (one Evening) each month, 19:00, at the MuMaLab (online via Jitsi since Covid19).
* Kerlink IoT station [http://www.kerlink.fr/en/products/lora-iot-station-2/lora-iot-station-868-mhz] - can you buy that?
* [https://www.thethingsnetwork.org/community/munich/ Community Page]
** Some details:
* [https://meetup.com/de-DE/thethingsnetwork-munich/ Group on Meetup]
*** https://www.disk91.com/2016/technology/internet-of-things-technology/lorawan-experimentation-with-kerlink-gateway/
* Documentation: https://www.thethingsnetwork.org/docs/
*** https://www.thethingsnetwork.org/wiki/Hardware/Gateways/Kerlink
* Microchip LoRa Evaluation kit [https://www.microchip.com/developmenttools/productdetails.aspx?partno=dv164140-1]
** Includes a gateway and two nodes
* RisingHF Gateway RHF2S008 [http://www.risinghf.com/product/rhf2s008-loralorawan-industrial-gateway-434mhz-470mhz-868mhz-951mhz/?lang=en] - around 700€ ex. taxes [[Media:Lora_RisingHF_Prices.pdf]]
** Product brief Gateway RHF2S008 [xyz]  
** Product brief Modem [xyz]
** Product brief Temp/Hum Sensor Node RHF1S001 [[Media:RHF1S001_Product_Brief.pdf]]
* AirFy
** [http://www.onewrt.com/lora-gateway-sx1301-arrives/]
** Supposed to be available sometime in Q4 2016


==== DIY ====
We are gathering money for community operated gateways, infrastructure and our brand new Application Platform: [https://www.patreon.com/ttn_munich Patreon Page]
* ic880a-gateway
** [https://github.com/ttn-zh/ic880a-gateway/wiki], [https://www.thethingsnetwork.org/labs/story/how-to-build-your-own-lorawan-gateway] (the same document?)
** [https://www.thethingsnetwork.org/labs/story/building-a-ttn-gateway IC880A using Adapter Shield]
*** [http://www.ttn-hennef.de/ttn-gateway-workshop-2017/ Workshop Description by TTN Hennef]
*** [https://www.tinytronics.nl/shop/nl/things-network-lora-gateway-workshop Kit]
** [http://varia-store.com/Zubehoer/Gehaeuse-ohne-Antenne/RF-Elements-StationBox-ALU::2440.html Nice case]
* http://www.instructables.com/id/LoRaWAN-Gateway/
* Single Channel Gateway (not LoRaWAN spec conform, but maybe sufficent for testing?)
** http://www.instructables.com/id/Use-Lora-Shield-and-RPi-to-Build-a-LoRaWAN-Gateway/
** https://github.com/tftelkamp/single_chan_pkt_fwd


==== SDR ====
== Gateway ==
Just some thoughts. The difficult parts to get seem to be the RF modules for a LoRaWAN gateway. How about building one with a SDR? We have a few badges from the last CCCamp at the space, which work like an HackRF...
See [[/Gateway|Gateway]] for more information


Some links I found:
== Client devices ==
* [https://www.thethingsnetwork.org/forum/t/software-defined-radio-and-the-things-network/1286/13 Post on the TTN forums]
See [[/Nodes|Nodes]] for more information
* https://revspace.nl/DecodingLora
* https://myriadrf.org/blog/lora-modem-limesdr/
* https://github.com/BastilleResearch/gr-lora
 
=== Gateway number One ===
DIY gateway with RPi and IC880a SPI board, acc. to [https://github.com/ttn-zh/ic880a-gateway/wiki]
* BOM
   
{| class="wikitable"
|-
! Description !! Seller !! Price
|-
| RPi || - || style="text-align:right;" | -
|-
| IC880a || IMST || style="text-align:right;" | 218.83€
|-
| Adapter Board || Tindie GNZ || style="text-align:right;" | 9.75€
|-
| GP868 || funkmodul.com || style="text-align:right;" | 37.37€
|-
| U.FL -> BNC Adapter || 4GLte.eu || style="text-align:right;" | 8.70€
|-
| || total || style="text-align:right;" | 274.65€
|}
* Gateway EUI B827EBFFFECA0023
* [[Media:install.pdf|Install Log]]
* Check status at http://noc.thethingsnetwork.org:8085/api/v2/gateways/eui-b827ebfffeca0023
* Components
** Raspberry Pi
** [[Media:IC880A_Datasheet_V0_17.pdf|IC880a LoRa concentrator Board]]
** [[Media:RPi IC880a AdapterBoard.jpg|RPi Adapter Board]]
** [[Media:Aurel_GP868_Antenna.pdf|Groundplane Antenna]]
** [[Media:UFL_BNC_Adapter.pdf|U.FL -> BNC Adapter cable]]


== Client devices ==
== Projects ==
=== Research ===
=== Smarter Together ===
Available boards:
* [http://www.zukunftskongress.bayern/wp-content/uploads/2017/02/Onderschenka_Hauptprogramm.pdf Vortrag Smart City München]
* Arduino shields
* Überblick von der LHM: [https://www.muenchen.de/rathaus/Stadtverwaltung/Referat-fuer-Arbeit-und-Wirtschaft/Europa/Smart-Cities.html] [https://www.muenchen.de/rathaus/Stadtverwaltung/Referat-fuer-Arbeit-und-Wirtschaft/Europa/Smart-Cities/Leuchtturm-Smarter-Together.html]
** [http://wiki.dragino.com/index.php?title=Lora_Shield Dragino LoRa shield]
* [https://www.muenchen.de/rathaus/Stadtverwaltung/Referat-fuer-Arbeit-und-Wirtschaft/Europa/Smart-Cities/News-Smarter-Together-M-nchen/intelligente-lichtmasten-buergerempfehlung.html Bürgerempfehlung Intelligente Lichtmasten]
*** Based on HopeRF RFM95W
* [https://aktive-zentren-neuaubing-westkreuz.de/smarter-together/stadtteil-der-zukunft.html "Stadtteil der Zukunft"]
*** Severin has one
** [http://wiki.dragino.com/index.php?title=Lora_BEE Dragino LoRa BEE]
*** based on SX1276/SX1278
*** Heiko ordered some


* Complete boards
=== Water Checks ===
** [https://www.pycom.io/product/lopy/ PyCom LoPy] (WiFi, LoRa & BLE) - 34,95€ @ [http://www.exp-tech.de/lopy-lora-wifi-ble-development-platform EXP-Tech]
Check the water quality of some lakes people go swimming in around Munich
** [https://learn.adafruit.com/adafruit-feather-32u4-radio-with-lora-radio-module/ Adafruit Feather 32u4 with LoRa] (LoRa, LiPo Charger) - 36,95€ @ [http://www.exp-tech.de/adafruit-feather-32u4-rfm95-lora-radio-900mhz EXP-Tech]
* Temperature
** [http://support.sodaq.com/sodaq-one/loraone/ SODAQ LoraOne] (LoRa, LiPo, Solar) - ~95€
** DS18B20
** [http://badgerboard.io/product/badgerboard/ Badgerboard] (LoRa, LiPo, Temp/Humidity) - ~55€
* [https://en.wikipedia.org/wiki/Turbidity Tubidity]
** [https://github.com/hallard/Mini-LoRa Mini-LoRa] - DIY
** [https://www.dfrobot.com/wiki/index.php/Turbidity_sensor_SKU:_SEN0189 Sensor by dfRobot]
** ESP32 with OLED and SX1278 - "Heltec WiFi LoRa 32"
*** Available at [https://www.dfrobot.com/product-1394.html dfRobot], [https://www.digikey.com/products/en?mpart=SEN0189&v=1738 digiKey]
*** [https://robotzero.one/heltec-wifi-lora-32/ Some blog post]
*** [https://www.thethingsnetwork.org/forum/t/big-esp32-sx127x-topic/10247/11 TTN Forum topic]
*** [https://www.aliexpress.com/item/1pcs-868MHz-915MHz-SX1276-ESP32-LoRa-0-96-Inch-OLED-Display-Bluetooth-WIFI-Lora-Kit-32/32835520271.html?spm=a2g0s.9042311.0.0.JjXKKS Buy on AliExpress]
* Full sensor units


=== Test Unit One ===
=== TTN Mapping ===
* Arduino Uno
[https://www.ttnmapper.org/ ttnmapper.org] allows to create a coverage map of the TTN LoRaWAN network. You can take a LoRaWAN node, either with integrated GPS, or pair it with a smartphone, and gather coverage data.
* Dragino LoRa shield
* GPS module


=== Simple Dev Boards ===
A node with GPS is nice, because it's more independent. An ideal candidate is the TTGO T-Beam dev board, which combines an ESP32, GPS module and a LoRa module, as well as a battery and potentially an OLED display as well.
* TTN Amsterdam: Arduino Pro Mini + RFM95 + BMP280
** [https://www.thethingsnetwork.org/labs/story/creating-a-ttn-node HowTo] (Some more information in the comment of [https://www.meetup.com/de-DE/The-Things-Network-Amsterdam/events/238029786/?eventId=238029786 this meetup])
** [https://t.co/h99XEgVl9F Buy the board] (via [https://twitter.com/TTN_Amsterdam/status/845275085527289856])
** [https://www.tinytronics.nl/shop/nl/communicatie/rf(id)-wifi-bt/things-network-lorawan-node-workshop-2017 Complete Kit]
** [https://github.com/dlarue/KiCAD/tree/master/ProMini-LoRaWAN-node Design files on GitHub]
* TTN Stuttgart: BluePill + RFM25 + BMP280
** [https://docs.google.com/presentation/d/1KKJt2ka0uzI5xfuT7QqkQ3hpBc-t0OxTz9bRtMw2KAo/edit# Presentation]
** [https://github.com/orangewaylab/CitizenSensor GitHub Repo] (w/o Hardware design still)
** Made by [https://twitter.com/orangeway/ @orangeway]


=== Ideas for Sensors ===
* [https://github.com/DeuxVis/Lora-TTNMapper-T-Beam Basic firmware w/o OLED support]
* Weather station (Temperature, Humidity, Air Pressure)
* [https://github.com/hottimuc/Lora-TTNMapper-T-Beam Firmware by Hotti with OLED support]
* Water temperature (lake, garden pond)
* [https://github.com/MichaelEFlip/Lora-TTNMapper-T-Beam/ Port of Hotti's FW to platform.io]
* Water level (cistern, garden pond, river)
* PIR sensor for movement (garage, selfstorage, ...)
** Also Door openings
* Offgrid solar monitoring
* Postbox status -> "You got mail!"
* Garden/Plant monitoring
* NOx


== Cloud ==
Note that there are different versions of the T-Beam board, requiring different Pin settings.
We connect to The Thingsnetwork
* Documentation: https://www.thethingsnetwork.org/docs/
* Munich Community: https://www.thethingsnetwork.org/community/munich/
* Our Test Application: https://staging.thethingsnetwork.org/applications/70B3D57ED00012F7


== Other Information ==
== Other Information ==
Line 138: Line 64:
* [http://www.bolkesteijn.nl/blog/index.php?page=lora-environmental-node LoRa Environmental Node]
* [http://www.bolkesteijn.nl/blog/index.php?page=lora-environmental-node LoRa Environmental Node]
* [https://github.com/urs8000/Feinstaub_LoRa_SDS011_DHT22 AirRohr using LoRaWAN] [https://twitter.com/ursmii/status/900299409694629889]
* [https://github.com/urs8000/Feinstaub_LoRa_SDS011_DHT22 AirRohr using LoRaWAN] [https://twitter.com/ursmii/status/900299409694629889]
* [https://hereeast.com/news-events/news/2015/6/makermonday-ben-ward/ Info on Oxford Flood Network]
=== Alternative systems ===
=== Alternative systems ===
* Talk about an also LoRa based alternative to LoRaWAN, which should be able to work coexistingly with LoRaWAN: [https://wiki.sha2017.org/w/Projects:LoraLight LoraLight]
* Talk about an also LoRa based alternative to LoRaWAN, which should be able to work coexistingly with LoRaWAN: [https://wiki.sha2017.org/w/Projects:LoraLight LoraLight]
[[Category:Project]]
[[Category:Project]]

Latest revision as of 17:19, 26 December 2020

   
LoRaWAN

Release status: stable [box doku]

Ttn-munich-logo.png
Description a free LoRaWan Network for Munich
Author(s)  Severin, Heiko, Joe

LoRaWAN is an RF standard for IoT devices to connect to the internet.


The Things Network Munich

We are a official The Things Network Community. There's a regular meetup in the third Week (one Evening) each month, 19:00, at the MuMaLab (online via Jitsi since Covid19).

We are gathering money for community operated gateways, infrastructure and our brand new Application Platform: Patreon Page

Gateway

See Gateway for more information

Client devices

See Nodes for more information

Projects

Smarter Together

Water Checks

Check the water quality of some lakes people go swimming in around Munich

TTN Mapping

ttnmapper.org allows to create a coverage map of the TTN LoRaWAN network. You can take a LoRaWAN node, either with integrated GPS, or pair it with a smartphone, and gather coverage data.

A node with GPS is nice, because it's more independent. An ideal candidate is the TTGO T-Beam dev board, which combines an ESP32, GPS module and a LoRa module, as well as a battery and potentially an OLED display as well.

Note that there are different versions of the T-Beam board, requiring different Pin settings.

Other Information

Example Sensor projects

Alternative systems

  • Talk about an also LoRa based alternative to LoRaWAN, which should be able to work coexistingly with LoRaWAN: LoraLight