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, 4 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,3 +1,5 @@ 1 +**Contents: ** 2 + 1 1 {{toc/}} 2 2 3 3 ... ... @@ -21,6 +21,7 @@ 21 21 * Notification mechanism, notify the transmission of both sides when an exception occurs 22 22 23 23 26 + 24 24 = 3. What does this example shows? How it works? = 25 25 26 26 ((( ... ... @@ -60,6 +60,7 @@ 60 60 ))) 61 61 62 62 66 + 63 63 = 4. Preparation = 64 64 65 65 == 4.1 Hardware == ... ... @@ -74,7 +74,6 @@ 74 74 The LoRa End node keeps getting temperature and humidity from the sensor and sends out via LoRa periodically. 75 75 ))) 76 76 77 - 78 78 == 4.2 Software == 79 79 80 80 1. [[4.3.4 version>>url:http://www.dragino.com/downloads/index.php?dir=motherboards/ms14/Firmware/IoT/]] ... ... @@ -83,11 +83,13 @@ 83 83 1. [[DHTlib>>url:https://github.com/goodcheney/Lora/blob/patch-1/Lora%20Shield/Examples/DHTlib.zip]] 84 84 85 85 89 + 86 86 == 4.3 Server(For example) == 87 87 88 88 * [[ThingSpeak>>url:https://thingspeak.com/]] 89 89 90 90 95 + 91 91 == 4.4 Configure IoT Server == 92 92 93 93 * Need this keys: ... ... @@ -106,11 +106,14 @@ 106 106 ))) 107 107 1. ((( 108 108 [[image:image-20220531140304-12.png]] 109 -))) 110 110 111 111 116 + 117 +))) 118 + 112 112 == 4.5 Configure LG01 settings == 113 113 121 + 114 114 Tips:Please confirm that your LG01 version is 4.3.3. 115 115 116 116 [[image:image-20220531140248-11.png]] ... ... @@ -233,7 +233,6 @@ 233 233 1. Send reply after then receive LoRa node data. 234 234 1. Sketch will write active content to /tmp/iot/status periodically (every 5 minutes).(Watchdog feature) 235 235 236 - 237 237 1. [[image:image-20220531141656-31.png]]((( 238 238 Open the sketch [[MQTT_Simple_Server>>url:https://github.com/dragino/Arduino-Profile-Examples/tree/master/libraries/Dragino/examples/LoRa/MQTT_Simple_Server]].(Board:Dragino Yun + UNO or LG01/OLG01,Port:Network ports.)and upload. 239 239 ... ... @@ -246,7 +246,7 @@ 246 246 247 247 248 248 ))) 249 -1. [[image:image-2022053114 1842-33.png]](((256 +1. [[image:image-20220531143748-48.png]]((( 250 250 Open the Sketch [[MQTT_Client>>url:https://github.com/dragino/Arduino-Profile-Examples/tree/master/libraries/Dragino/examples/IoTServer/ThingSpeak/MQTT_Client]]. (Board:Arduino/Genuino Uno.Port:Serial ports.)and upload. 251 251 252 252 ... ... @@ -260,13 +260,13 @@ 260 260 ))) 261 261 1. Go to IoT Server to check the result. 262 262 1. ((( 263 -[[image:image-2022053114 2023-35.png]]270 +[[image:image-20220531143707-47.png]] 264 264 265 265 266 266 267 267 ))) 268 268 1. ((( 269 -[[image:image-20220531142 155-36.png]]276 +[[image:image-20220531143632-46.png]] 270 270 271 271 272 272 ... ... @@ -354,4 +354,5 @@ 354 354 If the time doesnt's change,you can refer it to calculate for checking status. 355 355 ))) 356 356 357 -== == 364 +(% class="wikigeneratedid" id="H" %) 365 +
- image-20220531143604-45.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +42.6 KB - Content
- image-20220531143632-46.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +42.4 KB - Content
- image-20220531143707-47.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +34.2 KB - Content
- image-20220531143748-48.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +38.8 KB - Content