.. SnapEmu Docs documentation master file, created by sphinx-quickstart on Tue Dec 24 17:57:35 2024. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Build a LoRaWAN System with SnapEmu =================================== Resource guidance stickers -------------------------- Building a LoRaWAN system aims to utilize Heltec LoRa devices to achieve low-power, long-distance, low data rate wireless communication, especially in IoT application scenarios. Read data using Heltec LoRa nodes and upload it through the LoRaWAN gateway, and finally display its data and curves on our cloud platform SnapEmu. .. figure:: img/1.png :scale: 20% :align: center :alt: SnapEmu structure :figclass: align-center 1. Summary ---------- This document is a comprehensive guidance document aims at explaining how to quickly build a LoRaWAN network. To build a LoRaWAN communication system must need these three parts: - **A LoRaWAN server:** LoRaWAN server include two parts, Network Server and Application Server (We also generally call them NS). All operations will be based on SnapEmu. - **A LoRa Gateway:** A specialized device for LoRaWAN packet Uplink/Downlink forwarder. You can recognize it as a bridge between LoRa Node devices and LoRa NS. - **A LoRa Node device:** Usually it’s sensors or actuators are used to collect data or control some devices. 2. preparation -------------- **Heltec LoRaWAN server -** `Snapemu `__ **Heltec LoRa Gateway -** `Several optional gateways `__ +-----------------------------------+-----------------------------------+ | Heltec Gateway | Feature | +===================================+===================================+ | `HT-M02 Edge LoRa Gateway | The edge computing LoRa gateway | | (V2) `__ | LTE functions | +-----------------------------------+-----------------------------------+ | `HT-M2802 Indoor LoRa | Having high-performance hotspots | | Gateway `__ | | +-----------------------------------+-----------------------------------+ | `HT-M2808 Indoor Hotspot For | Full LoRaWAN/LongFi gateway | | Helium `__ | | +-----------------------------------+-----------------------------------+ | `HT-M01S Indoor LoRa Gateway | A standard LoRaWAN gateway based | | (Rev.2.0) `__ | | +-----------------------------------+-----------------------------------+ | `HT-M7603 Indoor LoRa | A cost-effective eight-channel | | Gateway `__ | | +-----------------------------------+-----------------------------------+ | `HT1303 LoRaWAN Concentrator | LoRa gateway module based on | | Module `__ | | +-----------------------------------+-----------------------------------+ | `HT-H7608 Wi-Fi HaLow Router / | Used for long-distance/high-speed | | Gateway `__ | | +-----------------------------------+-----------------------------------+ **Heltec LoRa Node device -** `ESP32 + LoRa Series `__, `nRF52840 + LoRa Series `__, `Cubcell Series `__ and `WiFi HaLow Series `__ +-----------------------------------+-----------------------------------+ | Heltec LoRa Node | Feature | +===================================+===================================+ | **Plug & Play** | | +-----------------------------------+-----------------------------------+ | `Heltec Capsule Sensor | A portable LoRa/LoRaWAN device | | V3 `__ | | +-----------------------------------+-----------------------------------+ | `HRU-3601 `__ | (temperature and humidity) | | | monitor | +-----------------------------------+-----------------------------------+ | `Sensor | A ready-to-use LoRa/LoRaWAN | | Hub `__ | applications | +-----------------------------------+-----------------------------------+ | `Sensor Hub – Bus | A sub-model of the Sensor Hub for | | Transformer `__ | drives third-party RS-485 sensors | +-----------------------------------+-----------------------------------+ | `RS485-LoRa Wireless | HRI-4851 converts 485 bus into | | Converter | LoRa, HRI-4852 connect HRI-4851 | | `__ | | +-----------------------------------+-----------------------------------+ | `RS485-LoRaWAN Wireless | A device that converts 485 bus | | Converter | into LoRa, LTE, and Ethernet | | `__ | | +-----------------------------------+-----------------------------------+ | `RS485-TCP/UDP/MQTT Converter | HRI-4853 converts RS-485 bus into | | HRI-4 | LTE, and Ethernet communication | | 853 `__ | | +-----------------------------------+-----------------------------------+ | `Wireless Aggregator – Bus | A LoRa/LoRaWAN device for outdoor | | Transformer `__ | | +-----------------------------------+-----------------------------------+ | `Wireless Aggregator – Sensor | A LoRa/LoRaWAN device for outdoor | | Docker `__ | | +-----------------------------------+-----------------------------------+ | `Wireless Aggregator – Valve | A LoRaWAN conveter belonging to | | Controller `__ | | +-----------------------------------+-----------------------------------+ | `Wireless Temperature Measuring | A rod type wireless thermoprobe | | Rod `__ | transmission technology | +-----------------------------------+-----------------------------------+ | `Wireless | A wireless thermoprobe displaying | | Thermoprobe `__ | LoRaWAN | +-----------------------------------+-----------------------------------+ | **Maker series** | | +-----------------------------------+-----------------------------------+ | `WiFi LoRa | A classic IoT development board | | 32(V3) `__ | | +-----------------------------------+-----------------------------------+ | `Wireless | An E-Ink development kit with | | Paper `__ | | +-----------------------------------+-----------------------------------+ | `Wireless | HTIT-Wsh provides Wi-Fi, BLE, and | | Shell(V3) `__ | | +-----------------------------------+-----------------------------------+ | `Wireless Stick | A development board for Wi-Fi, | | Lite(V3) `__ | | +-----------------------------------+-----------------------------------+ | `Wireless | Meet users’ requirements for high | | Stick(V3) `__ | | +-----------------------------------+-----------------------------------+ | `Wireless | A development kit based on | | Tracker `__ | | +-----------------------------------+-----------------------------------+ | `Vision Master | A IoT development board with 2.13 | | E213 `__ | | +-----------------------------------+-----------------------------------+ | `Vision Master | A IoT development board with 2.9 | | E290 `__ | | +-----------------------------------+-----------------------------------+ | `Vision Master | An ESP32+LoRa development board | | T190 `__ | | +-----------------------------------+-----------------------------------+ | `Multi Size E-ink Drive | E-ink driveboard, the accessory | | Board `__ | | +-----------------------------------+-----------------------------------+ | `HT-CT62 `__ | high sensitivity, and low cost | +-----------------------------------+-----------------------------------+ | `HT-AT62 `__ | | +-----------------------------------+-----------------------------------+ | `Mesh Node T114 | A Low Power Consumption | | (Rev. 1.0) `__ | nRF52840 and SX1262 | +-----------------------------------+-----------------------------------+ | `Mesh Node T114 | A Low Power Consumption | | (Rev. 2.0) `__ | nRF52840 and SX1262 | +-----------------------------------+-----------------------------------+ | `Sufficient IoT | Linux SiP with 1GHz dual-core ARM | | Hub `__ | | +-----------------------------------+-----------------------------------+ | `Wireless | A bridge that converts | | Bridge `__ | each other | +-----------------------------------+-----------------------------------+ | **CubeCell Series** | | +-----------------------------------+-----------------------------------+ | `CubeCell – AB01 Dev-Board | LoRa development board integrated | | (V2) `__ | | +-----------------------------------+-----------------------------------+ | `CubeCell – AM01 Module | A small volume, stamp hole | | (V2) `__ | | +-----------------------------------+-----------------------------------+ | `CubeCell 1/2AA Node | A Dev-Board. Friendly designed | | (HTCC-AB02A) `__ | communication solutions | +-----------------------------------+-----------------------------------+ | `CubeCell AM02 Module | A Module, Supports AT transparent | | Plus `__ | | +-----------------------------------+-----------------------------------+ | `CubeCell Dev-Board Plus | A Dev-Board, based on ASR605x | | (HTCC-AB02) `__ | | +-----------------------------------+-----------------------------------+ | `CubeCell GPS-6502 | A Dev Board with integrated | | (HTCC-AB02S) `__ | | +-----------------------------------+-----------------------------------+ | **WiFi HaLow Series** | | +-----------------------------------+-----------------------------------+ | `ESP32 Wi-Fi HaLow | A built-in camera development | | Camera `__ | Wi Fi HaLow module | +-----------------------------------+-----------------------------------+ | `Raspberry Pi Wi-Fi HaLow Camera | A Raspberry Pi HAT that | | HAT `__ | a 5MP camera | +-----------------------------------+-----------------------------------+ 3. Deploy SnapEmu ----------------- `SnapEmu `__ **is an open-source IoT platform that supports LoRaWAN and MQTT, designed to simplify device management, data decoding, and data visualization operations. It provides intuitive device registration and data flow monitoring functions, supports low code visualization of upstream data decoding and downstream instruction sending, and has corresponding comprehensive documentation support, enabling developers to quickly deploy and debug**. .. toctree:: :maxdepth: 2 Local Deploy/index 3.1 Register LoRa Gateway on SnapEmu ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Here are four methods for registering gateways on SnapEmu. Select the corresponding gateway for registration. **Note:** *The frequency band for configuring the gateway page needs to be consistent with the frequency band selected on snapemu.* .. toctree:: :maxdepth: 2 Gateway Register on Snapemu/index 3.2 Node Devices Connection ~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. toctree:: :maxdepth: 2 Node Devices Connection/index - WiFi LoRa 32 working with SnapEmu - `Hall Sensor Door Detection LoRaWAN System `__ - nRF T114 working with SnapEmu - `Ultrasonic Sensor Distance Measurement with LoRaWAN `__