LoRaWAN: Difference between revisions

From The Munich Maker Lab's Wiki
Jump to navigation Jump to search
No edit summary
(→‎Projects: TTN Mapping)
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
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.
== The Things Network Munich ==
We are a official The Things Network Community. There's a regular meetup on the third Monday each month, 19:00, at the MuMaLab.
* [https://www.thethingsnetwork.org/community/munich/ Community Page]
* [https://meetup.com/de-DE/thethingsnetwork-munich/ Group on Meetup]
* Documentation: https://www.thethingsnetwork.org/docs/


== Gateway ==
== Gateway ==
=== Research ===
We are gathering money for community operated gateways: [https://www.leetchi.com/c/ttn-muc-community-gateways Leetchi Pool]
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.
See [[/Gateway|Gateway]] for more information


==== Prebuilt ====
== Client devices ==
* The Things Gateway [https://shop.thethingsnetwork.com/index.php/product/the-things-gateway/] - not available yet?
See [[/Nodes|Nodes]] for more information
* Kerlink IoT station [http://www.kerlink.fr/en/products/lora-iot-station-2/lora-iot-station-868-mhz] - can you buy that?
** Some details:
*** https://www.disk91.com/2016/technology/internet-of-things-technology/lorawan-experimentation-with-kerlink-gateway/
*** 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 ====
* 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 ====
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...
 
Some links I found:
* [https://www.thethingsnetwork.org/forum/t/software-defined-radio-and-the-things-network/1286/13 Post on the TTN forums]
* https://revspace.nl/DecodingLora
* https://myriadrf.org/blog/lora-modem-limesdr/
* https://github.com/BastilleResearch/gr-lora


=== Gateway number One ===
== Projects ==
DIY gateway with RPi and IC880a SPI board, acc. to [https://github.com/ttn-zh/ic880a-gateway/wiki]
=== Smarter Together ===
* BOM
* [http://www.zukunftskongress.bayern/wp-content/uploads/2017/02/Onderschenka_Hauptprogramm.pdf Vortrag Smart City München]
   
* Ü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]
{| class="wikitable"
* [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]
|-
* [https://aktive-zentren-neuaubing-westkreuz.de/smarter-together/stadtteil-der-zukunft.html "Stadtteil der Zukunft"]
! 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 ==
=== Water Checks ===
=== Research ===
Check the water quality of some lakes people go swimming in around Munich
Available boards:
* Temperature
* Arduino shields
** DS18B20
** [http://wiki.dragino.com/index.php?title=Lora_Shield Dragino LoRa shield]
* [https://en.wikipedia.org/wiki/Turbidity Tubidity]
*** Based on HopeRF RFM95W
** [https://www.dfrobot.com/wiki/index.php/Turbidity_sensor_SKU:_SEN0189 Sensor by dfRobot]
*** Severin has one
*** Available at [https://www.dfrobot.com/product-1394.html dfRobot], [https://www.digikey.com/products/en?mpart=SEN0189&v=1738 digiKey]
** [http://wiki.dragino.com/index.php?title=Lora_BEE Dragino LoRa BEE]
*** based on SX1276/SX1278
*** Heiko ordered some


* Complete boards
=== TTN Mapping ===
** [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]
[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.
** [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]
** [http://support.sodaq.com/sodaq-one/loraone/ SODAQ LoraOne] (LoRa, LiPo, Solar) - ~95€
** [http://badgerboard.io/product/badgerboard/ Badgerboard] (LoRa, LiPo, Temp/Humidity) - ~55€
** [https://github.com/hallard/Mini-LoRa Mini-LoRa] - DIY
** ESP32 with OLED and SX1278 - "Heltec WiFi LoRa 32"
*** [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 ===
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.
* Arduino Uno
* Dragino LoRa shield
* GPS module


=== Simple Dev Boards ===
* [https://github.com/DeuxVis/Lora-TTNMapper-T-Beam Basic firmware w/o OLED support]
* TTN Amsterdam: Arduino Pro Mini + RFM95 + BMP280
* [https://github.com/hottimuc/Lora-TTNMapper-T-Beam Firmware by Hotti with OLED support]
** [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://github.com/MichaelEFlip/Lora-TTNMapper-T-Beam/ Port of Hotti's FW to platform.io]
** [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 ===
Note that there are different versions of the T-Beam board, requiring different Pin settings.
* Weather station (Temperature, Humidity, Air Pressure)
* Water temperature (lake, garden pond)
* 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 ==
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 50:
* [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]]

Revision as of 01:02, 10 November 2020

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 on the third Monday each month, 19:00, at the MuMaLab.

Gateway

We are gathering money for community operated gateways: Leetchi Pool 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