wikiroute

networking recipes

User Tools

Site Tools


deploying_lorawan

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
deploying_lorawan [2017/05/01 15:16] – [4.1. MQTT spy] samerdeploying_lorawan [2017/05/02 17:52] samer
Line 8: Line 8:
   * Applications that enable to visualize and store the sensor data obtained from the devices.    * Applications that enable to visualize and store the sensor data obtained from the devices. 
  
-[{{ :lora-pilot-architecture.png?direct&650 | Figure 2. Architecture of the LoRaWAN Platform}}]+[{{ :lora-pilot-architecture.png?direct&650 | Figure 1. Architecture of the LoRaWAN Platform}}]
 ===== -. Devices ===== ===== -. Devices =====
 ==== -. Autonomo with LoRaBee ==== ==== -. Autonomo with LoRaBee ====
Line 118: Line 118:
 ==== -. Single Channel Gateway ==== ==== -. Single Channel Gateway ====
  
-The single channel gateway includes a LoRa transmission module (Dragino Shield) connected to a Raspberry Pi (2 or 3) as shown in Figure 1. Communication between the two modules is done over an SPI interface.+The single channel gateway includes a LoRa transmission module (Dragino Shield) connected to a Raspberry Pi (2 or 3) as shown in Figure 2. Communication between the two modules is done over an SPI interface.
  
 [{{ :2017-01-04_11.34.54.jpg?direct&300 |Figure 2. LoRa single channel gateway}}]  [{{ :2017-01-04_11.34.54.jpg?direct&300 |Figure 2. LoRa single channel gateway}}] 
  
-In order to assemble the gateway, start by making the wire connections: the connection pins are identified in Figures 2 and 3. +In order to assemble the gateway, start by making the wire connections: the connection pins are identified in Figures 3 and 4
-[{{ :schema-single-channel-pi3.png?direct&300 |Figure 2. Dragino pin mapping}}] +[{{ :schema-single-channel-pi3.png?direct&300 |Figure 3. Dragino pin mapping}}] 
-[{{ :schema-pins-pi3.png?direct&300 |Figure 3. Raspberry pi 3 pins}}]+[{{ :schema-pins-pi3.png?direct&300 |Figure 4. Raspberry pi 3 pins}}]
  
 Connect the Raspberry Pi to the Internet and install the packet forwarding software. The source code of the single channel packet forwarder is available on: [[https://github.com/samerlahoud/single_chan_pkt_fwd]]. In order to install it, you need to: Connect the Raspberry Pi to the Internet and install the packet forwarding software. The source code of the single channel packet forwarder is available on: [[https://github.com/samerlahoud/single_chan_pkt_fwd]]. In order to install it, you need to:
Line 204: Line 204:
 ===== -. Backend ===== ===== -. Backend =====
 ==== -. Loraserver ==== ==== -. Loraserver ====
 +
 +The Loraserver has a web interface for configuring the applications and devices on the platform. Full details for installing the software are provided on [[https://www.loraserver.io]]. Start by creating and application as in the Figure 5.
 +
 +[{{ :app-loraserver.png?direct&400 | Figure 5. Loraserver web interface}}]
 ==== -. The Things Network ==== ==== -. The Things Network ====
  
Line 209: Line 213:
 ==== -. mqtt-spy ==== ==== -. mqtt-spy ====
  
-mqtt-spy is an open source utility intended to help you with monitoring activity on MQTT topics. It'been designed to deal with high volumes of messages, as well as occasional publications. mqtt-spy is a JavaFX application, so should work on any operating system with an appropriate version of Java 8 installed. A very useful tutorial is available on [[https://github.com/eclipse/paho.mqtt-spy/wiki]]. +mqtt-spy is an open source utility intended to help you with monitoring activity on MQTT topics. It has been designed to deal with high volumes of messages, as well as occasional publications. mqtt-spy is a JavaFX application, so it should work on any operating system with an appropriate version of Java 8 installed. A very useful tutorial is available on [[https://github.com/eclipse/paho.mqtt-spy/wiki]]. 
-Start by downloading the software tool from the previous link. After launching, configure a new connection to the MQTT broker by simply adding the IP address of the broker in the ''Server URI'' field.+You can use mqtt-spy to debug the messages received from the LoRaWAN devices. For this, you should download the software tool from [[https://github.com/eclipse/paho.mqtt-spy/wiki]]. After starting the application, configure a new connection to the MQTT broker by simply adding the IP address of the broker in the ''Server URI'' field. Now you can subscribe to any MQTT topic. If you want to receive all messages arriving at the backend, you can use the generic topic ''#''. You can also limit to the topic including the messages of any specific device: ''application/APPLICATION_ID/node/DEVICE_EUI/rx''
 ==== -. Emoncms ==== ==== -. Emoncms ====
deploying_lorawan.txt · Last modified: 2021/08/28 09:50 by samer