Changes for page Through MQTT to upload data
Last modified by Xiaoling on 2022/09/02 18:11
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 16 added, 0 removed)
- image-20220531135607-4.png
- image-20220531135650-5.png
- image-20220531135750-6.png
- image-20220531135954-7.png
- image-20220531140054-8.png
- image-20220531140120-9.png
- image-20220531140154-10.png
- image-20220531140248-11.png
- image-20220531140304-12.png
- image-20220531140326-13.png
- image-20220531140425-14.png
- image-20220531140458-15.png
- image-20220531140538-16.png
- image-20220531140611-17.png
- image-20220531140651-18.png
- image-20220531140811-19.png
Details
- Page properties
-
- Content
-
... ... @@ -41,7 +41,7 @@ 41 41 42 42 43 43 44 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/d/de/MQTT_3.png/400px-MQTT_3.png~|~|height="160" width="400"~]~]>>url:https://wiki.dragino.com/index.php/File:MQTT_3.png]]44 +[[image:image-20220531135607-4.png]] 45 45 46 46 Schematic diagram:downlink.In this section, we will try to program LG01 to fetch download data from ThingSpeak, then broadcast this data to local LoRa network. The end node will get this message and check if they need to do something. Similar with Uplink Example, we will first try to do it in PC, then do it in Linux side, and finally integrate it with LoRa. 47 47 ... ... @@ -54,10 +54,13 @@ 54 54 55 55 == 4.1 Hardware == 56 56 57 -1. [[ ~[~[image:https://wiki.dragino.com/images/thumb/f/fb/2.png/300px-2.png~|~|height="283" width="300"~]~]>>url:https://wiki.dragino.com/index.php/File:2.png]](((57 +1. [[image:image-20220531135650-5.png]]((( 58 58 Listening on the LoRa wireless channel, while there is new LoRa packet arrives, parse it and send out to IoT Server. 59 + 60 + 61 + 59 59 ))) 60 -1. [[ ~[~[image:https://wiki.dragino.com/images/thumb/4/4a/1.png/400px-1.png~|~|height="216" width="400"~]~]>>url:https://wiki.dragino.com/index.php/File:1.png]](((63 +1. [[image:image-20220531135750-6.png]]((( 61 61 The LoRa End node keeps getting temperature and humidity from the sensor and sends out via LoRa periodically. 62 62 ))) 63 63 ... ... @@ -70,7 +70,6 @@ 70 70 1. [[DHTlib>>url:https://github.com/goodcheney/Lora/blob/patch-1/Lora%20Shield/Examples/DHTlib.zip]] 71 71 72 72 73 - 74 74 == 4.3 Server(For example) == 75 75 76 76 * [[ThingSpeak>>url:https://thingspeak.com/]] ... ... @@ -80,14 +80,20 @@ 80 80 81 81 * Need this keys: 82 82 83 -1. [[ ~[~[image:https://wiki.dragino.com/images/thumb/b/bc/Server1.png/400px-Server1.png~|~|height="185" width="400"~]~]>>url:https://wiki.dragino.com/index.php/File:Server1.png]](((85 +1. [[image:image-20220531140054-8.png]]((( 84 84 Channel ID,Write API Key 87 + 88 + 89 + 85 85 ))) 86 -1. [[ ~[~[image:https://wiki.dragino.com/images/thumb/e/e2/Server2.png/400px-Server2.png~|~|height="128" width="400"~]~]>>url:https://wiki.dragino.com/index.php/File:Server2.png]](((91 +1. [[image:image-20220531140326-13.png]]((( 87 87 Account->My Profile,MQTT API Key 93 + 94 + 95 + 88 88 ))) 89 89 1. ((( 90 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/f/f3/IOT_Configure1.png/400px-IOT_Configure1.png~|~|alt="IOT Configure1.png" height="132" width="400"~]~]>>url:https://wiki.dragino.com/index.php/File:IOT_Configure1.png]]98 +[[image:image-20220531140304-12.png]] 91 91 ))) 92 92 93 93 ... ... @@ -95,31 +95,40 @@ 95 95 96 96 Tips:Please confirm that your LG01 version is 4.3.3. 97 97 98 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/e/eb/LG01_Version.png/400px-LG01_Version.png~|~|height="219" width="400"~]~]>>url:https://wiki.dragino.com/index.php/File:LG01_Version.png]]106 +[[image:image-20220531140248-11.png]] 99 99 100 -Overview 108 +**Overview** 101 101 102 -[[~[~[image:https://wiki.dragino.com/images/thumb/f/f6/MQTT_LG01_Configure_1.png/400px-MQTT_LG01_Configure_1.png~|~|height="281" width="400"~]~]>>url:https://wiki.dragino.com/index.php/File:MQTT_LG01_Configure_1.png]] 103 103 104 -Senosor->IOT Server 105 105 106 -[[ ~[~[image:https://wiki.dragino.com/images/thumb/6/64/MQTT_LG01_Configure_2.png/400px-MQTT_LG01_Configure_2.png~|~|height="152" width="400"~]~]>>url:https://wiki.dragino.com/index.php/File:MQTT_LG01_Configure_2.png]]112 +[[image:image-20220531140425-14.png]] 107 107 108 - MQTT->Configure MQTTServer114 +**Senosor->IOT Server** 109 109 110 -[[~[~[image:https://wiki.dragino.com/images/thumb/6/6a/MQTT_LG01_Configure_3.png/400px-MQTT_LG01_Configure_3.png~|~|height="91" width="400"~]~]>>url:https://wiki.dragino.com/index.php/File:MQTT_LG01_Configure_3.png]] 111 111 112 - MQTT->MQTT Channel117 +[[image:image-20220531140458-15.png]] 113 113 114 - [[~[~[image:https://wiki.dragino.com/images/thumb/3/36/MQTT_LG01_Configure_4.png/400px-MQTT_LG01_Configure_4.png~|~|height="257"width="400"~]~]>>url:https://wiki.dragino.com/index.php/File:MQTT_LG01_Configure_4.png]]119 +**MQTT->Configure MQTT Server** 115 115 116 -Sensor->LoRa/LoraWAN 117 117 118 -[[~[~[image:https://wiki.dragino.com/images/thumb/6/61/MQTT_LG01_Configure_5.png/400px-MQTT_LG01_Configure_5.png~|~|height="230" width="400"~]~]>>url:https://wiki.dragino.com/index.php/File:MQTT_LG01_Configure_5.png]] 119 119 120 - Configurenetworkaccess.Network->Internet Access123 +[[image:image-20220531140538-16.png]] 121 121 125 +**MQTT->MQTT Channel** 122 122 127 + 128 + 129 +[[image:image-20220531140611-17.png]] 130 + 131 +**Sensor->LoRa/LoraWAN** 132 + 133 + 134 + 135 +[[image:image-20220531140651-18.png]] 136 + 137 +Configure network access.**Network->Internet Access** 138 + 139 + 123 123 == 4.6 Try MQTT API call with LG01 Linux command == 124 124 125 125 === 4.6.1 Input the command at the console ===
- image-20220531135607-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +42.4 KB - Content
- image-20220531135650-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +219.8 KB - Content
- image-20220531135750-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +590.7 KB - Content
- image-20220531135954-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +79.2 KB - Content
- image-20220531140054-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +78.9 KB - Content
- image-20220531140120-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +33.5 KB - Content
- image-20220531140154-10.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +16.3 KB - Content
- image-20220531140248-11.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +20.3 KB - Content
- image-20220531140304-12.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +16.4 KB - Content
- image-20220531140326-13.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +33.4 KB - Content
- image-20220531140425-14.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +33.4 KB - Content
- image-20220531140458-15.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +32.8 KB - Content
- image-20220531140538-16.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +35.1 KB - Content
- image-20220531140611-17.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +96.6 KB - Content
- image-20220531140651-18.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +35.0 KB - Content
- image-20220531140811-19.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +14.5 KB - Content