{"id":2917,"date":"2022-11-12T10:05:57","date_gmt":"2022-11-12T09:05:57","guid":{"rendered":"https:\/\/enesordek.com\/?p=2917"},"modified":"2022-11-19T08:36:04","modified_gmt":"2022-11-19T07:36:04","slug":"introduction-in-lora-lorawan-the-things-network-and-helium-mining","status":"publish","type":"post","link":"https:\/\/enesordek.com\/en\/2022\/11\/12\/introduction-in-lora-lorawan-the-things-network-and-helium-mining\/","title":{"rendered":"Introduction in LoRa, LoRaWAN, The Things Network and Helium Mining"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.youtube.com\/watch?v=7KmBQqStpgo\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/enesordek.com\/wp-content\/uploads\/2022\/11\/Untitled-Project5-1024x576.jpg\" alt=\"\" class=\"wp-image-2919\" srcset=\"https:\/\/enesordek.com\/wp-content\/uploads\/2022\/11\/Untitled-Project5-1024x576.jpg 1024w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/11\/Untitled-Project5-300x169.jpg 300w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/11\/Untitled-Project5-768x432.jpg 768w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/11\/Untitled-Project5.jpg 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\"><a href=\"https:\/\/www.youtube.com\/watch?v=7KmBQqStpgo\">https:\/\/www.youtube.com\/watch?v=7KmBQqStpgo<\/a><\/figcaption><\/figure>\n\n\n\n<p>The Internet of Things is a term for objects, sensors, &#8220;things&#8221; that sit around somewhere and send data to a network to build applications or business models with that data.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"449\" src=\"https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/640px-Architecture_lorawan.svg_.png\" alt=\"\" class=\"wp-image-2884\" srcset=\"https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/640px-Architecture_lorawan.svg_.png 640w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/640px-Architecture_lorawan.svg_-300x210.png 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><figcaption class=\"wp-element-caption\">Architektur von LoRaWan, Bild: <a href=\"https:\/\/commons.wikimedia.org\/wiki\/File:Architecture_lorawan.svg\">Elutz<\/a><\/figcaption><\/figure><\/div>\n\n\n<p>The LoRa network and LoRaWAN as a protocol is a very exciting technology that promises to send sensor data over an energy-efficient wireless network. &#8220;LoRa Gateways&#8221; are used to receive these signals. The gateway has access to the Internet and persists this data in an application server of a LoRaWan network. &#8220;The Things Network&#8221; (TTN) is an open LoRaWan network where anyone can provide their gateway and where anyone can connect their sensors with existing gateways around the world. Also there is &#8220;The People&#8217;s Network&#8221; with which you can even earn passive income as a gateway operator. I recently purchased several LoRa modules and a gateway. In this article I would like to discuss the different aspects of LoRa and evaluate it in the context of my battery powered interet devices.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"698\" src=\"https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/SX1276-Arduino-Nano-1024x698.jpg\" alt=\"\" class=\"wp-image-2890\" srcset=\"https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/SX1276-Arduino-Nano-1024x698.jpg 1024w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/SX1276-Arduino-Nano-300x204.jpg 300w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/SX1276-Arduino-Nano-768x523.jpg 768w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/SX1276-Arduino-Nano.jpg 1209w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>To get familiar with the topic, I first bought a module to send radio signals in the LoRa network. LoRa works regionally with different frequencies. I<a href=\"https:\/\/en.wikipedia.org\/wiki\/Short-range_device#SRD860\">n Europe, or in Germany, the frequency band between 868 and 870 MHz can be used license-free<\/a>, therefore LoRa also uses this frequency band.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"569\" src=\"https:\/\/enesordek.com\/wp-content\/uploads\/2022\/11\/arduino-lorawan-thingsnetwork-1024x569.png\" alt=\"\" class=\"wp-image-2901\" srcset=\"https:\/\/enesordek.com\/wp-content\/uploads\/2022\/11\/arduino-lorawan-thingsnetwork-1024x569.png 1024w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/11\/arduino-lorawan-thingsnetwork-300x167.png 300w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/11\/arduino-lorawan-thingsnetwork-768x427.png 768w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/11\/arduino-lorawan-thingsnetwork.png 1313w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>My plan is to use Arduino Nanos to send sensor data over the LoRa network, and receive it elsewhere. This can either be my own small network, or existing LoRaWan networks like Things Network. Afterwards, I want to connect my battery-powered Internet devices to this network, so that I can set up sensors that can be placed somewhere.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">EBYTE E220-900T22D<\/h2>\n\n\n\n<p>The first thing I need is a module. I found one here at Amazon.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"427\" height=\"368\" src=\"https:\/\/enesordek.com\/wp-content\/uploads\/2022\/11\/Screenshot-from-2022-11-19-08-35-01.png\" alt=\"\" class=\"wp-image-2928\" srcset=\"https:\/\/enesordek.com\/wp-content\/uploads\/2022\/11\/Screenshot-from-2022-11-19-08-35-01.png 427w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/11\/Screenshot-from-2022-11-19-08-35-01-300x259.png 300w\" sizes=\"auto, (max-width: 427px) 100vw, 427px\" \/><\/figure><\/div>\n\n\n<p>The <a href=\"https:\/\/amzn.to\/3t4O5Vu\">Ebyte E220-900T22D<\/a> is currently the cheapest module to send and receive signals into the LoRa network. I bought it and tried my first experiments with it. I have to admit that I had assumed that I can send signals with the LoRaWan protocol. This module is not suitable for that. But anyway some interesting use-cases are possible. In upcoming articles I will explain this module in more detail.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">868MHz SX1276 LoRa Breakout Board<\/h2>\n\n\n\n<p>After I found out that you can&#8217;t establish communication with a LoRaWan network with the EBYTE E220, I had to find a replacement. The reason why this is not possible is actually simple. The LoRaWan specification states that the communication between transmitter and gateway must be agreed upon in advance.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"404\" height=\"370\" src=\"https:\/\/enesordek.com\/wp-content\/uploads\/2022\/11\/Screenshot-from-2022-11-19-08-32-54.png\" alt=\"\" class=\"wp-image-2927\" srcset=\"https:\/\/enesordek.com\/wp-content\/uploads\/2022\/11\/Screenshot-from-2022-11-19-08-32-54.png 404w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/11\/Screenshot-from-2022-11-19-08-32-54-300x275.png 300w\" sizes=\"auto, (max-width: 404px) 100vw, 404px\" \/><\/figure><\/div>\n\n\n<p>The <a href=\"https:\/\/amzn.to\/3zN6hqy\">SX1276<\/a> module allows asynchronous sending and receiving of commands sent and received over the air to meet the specification. I have purchased this module and will also take a closer look at it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Things Network<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"422\" src=\"https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-28-23-52-36-1024x422.png\" alt=\"\" class=\"wp-image-2881\" srcset=\"https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-28-23-52-36-1024x422.png 1024w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-28-23-52-36-300x124.png 300w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-28-23-52-36-768x317.png 768w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-28-23-52-36.png 1132w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The Things Network (TTN) is a LoRaWan network, which provides a simple and &#8220;fair&#8221; use of the network for free. This means that you can connect your sensors to the network, but you have to follow <a href=\"https:\/\/www.thethingsnetwork.org\/docs\/lorawan\/duty-cycle\/#fair-use-policy\">some limitations (&#8220;fair use policy&#8221;)<\/a>. This makes the TTN a great way to persist your sensor data for free. Excellent for hobby engineers who want to realize their ideas and gimmicks.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"384\" src=\"https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-28-23-53-55-1024x384.png\" alt=\"\" class=\"wp-image-2882\" srcset=\"https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-28-23-53-55-1024x384.png 1024w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-28-23-53-55-300x112.png 300w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-28-23-53-55-768x288.png 768w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-28-23-53-55.png 1038w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Anyone can become part of the TTN by purchasing gateways and providing them to the network. The network consists of volunteers who provide their Internet connection and LoRaWan gateway. The TTN is a first point of contact to tackle Smart Home, Smart City, Smart University and other interesting IOT use cases.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The People&#8217;s Network (Helium Mining)<\/h2>\n\n\n\n<p>There is also money to be made with LoRaWan. The People&#8217;s Network (TPN) is built on a network based on <a href=\"https:\/\/docs.helium.com\/blockchain\/proof-of-coverage\/\">proof-of-coverage<\/a>. Participants in the network provide their bandwidth and a LoRa gateway. Participants verify each other and for each verification a reward is distributed to the verifier and verified.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"517\" src=\"https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-29-09-55-12-1024x517.png\" alt=\"\" class=\"wp-image-2886\" srcset=\"https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-29-09-55-12-1024x517.png 1024w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-29-09-55-12-300x152.png 300w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-29-09-55-12-768x388.png 768w, https:\/\/enesordek.com\/wp-content\/uploads\/2022\/10\/Screenshot-from-2022-10-29-09-55-12.png 1283w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Gateways are called &#8220;Hotspots&#8221; in Helium. I want to set up a Helium hotspot and see what it can earn. According to the explorer, both where I live and at my parents&#8217; house, there is no good coverage, and thus potentially good revenue.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Next Steps<\/h2>\n\n\n\n<p>I have ordered all the necessary modules, boards and equipment to tackle each point. I want to tackle all points in the coming time and document them in my blog and on Youtube.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Internet of Things is a term for objects, sensors, &#8220;things&#8221; that sit around somewhere and send data to a network to build applications or business models with that data. The LoRa network and LoRaWAN as a protocol is a very exciting technology that promises to send sensor data over an energy-efficient wireless network. &#8220;LoRa &hellip; <a href=\"https:\/\/enesordek.com\/en\/2022\/11\/12\/introduction-in-lora-lorawan-the-things-network-and-helium-mining\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Introduction in LoRa, LoRaWAN, The Things Network and Helium Mining<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_locale":"en_US","_original_post":"https:\/\/enesordek.com\/?p=2764","footnotes":""},"categories":[29],"tags":[],"class_list":["post-2917","post","type-post","status-publish","format-standard","hentry","category-elektronik","en-US"],"_links":{"self":[{"href":"https:\/\/enesordek.com\/wp-json\/wp\/v2\/posts\/2917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/enesordek.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/enesordek.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/enesordek.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/enesordek.com\/wp-json\/wp\/v2\/comments?post=2917"}],"version-history":[{"count":6,"href":"https:\/\/enesordek.com\/wp-json\/wp\/v2\/posts\/2917\/revisions"}],"predecessor-version":[{"id":2931,"href":"https:\/\/enesordek.com\/wp-json\/wp\/v2\/posts\/2917\/revisions\/2931"}],"wp:attachment":[{"href":"https:\/\/enesordek.com\/wp-json\/wp\/v2\/media?parent=2917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enesordek.com\/wp-json\/wp\/v2\/categories?post=2917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enesordek.com\/wp-json\/wp\/v2\/tags?post=2917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}