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)
Details
- Page properties
-
- Content
-
... ... @@ -1,5 +3,3 @@ 1 -**Contents: ** 2 - 3 3 {{toc/}} 4 4 5 5 ... ... @@ -23,7 +23,6 @@ 23 23 * Notification mechanism, notify the transmission of both sides when an exception occurs 24 24 25 25 26 - 27 27 = 3. What does this example shows? How it works? = 28 28 29 29 ((( ... ... @@ -63,7 +63,6 @@ 63 63 ))) 64 64 65 65 66 - 67 67 = 4. Preparation = 68 68 69 69 == 4.1 Hardware == ... ... @@ -78,6 +78,7 @@ 78 78 The LoRa End node keeps getting temperature and humidity from the sensor and sends out via LoRa periodically. 79 79 ))) 80 80 77 + 81 81 == 4.2 Software == 82 82 83 83 1. [[4.3.4 version>>url:http://www.dragino.com/downloads/index.php?dir=motherboards/ms14/Firmware/IoT/]] ... ... @@ -85,10 +85,12 @@ 85 85 1. [[MQTT_Simple_Server MQTT_Simeple_Server>>url:https://github.com/dragino/Arduino-Profile-Examples/tree/master/libraries/Dragino/examples/LoRa/MQTT_Simple_Server]] 86 86 1. [[DHTlib>>url:https://github.com/goodcheney/Lora/blob/patch-1/Lora%20Shield/Examples/DHTlib.zip]] 87 87 85 + 88 88 == 4.3 Server(For example) == 89 89 90 90 * [[ThingSpeak>>url:https://thingspeak.com/]] 91 91 90 + 92 92 == 4.4 Configure IoT Server == 93 93 94 94 * Need this keys: ... ... @@ -109,6 +109,7 @@ 109 109 [[image:image-20220531140304-12.png]] 110 110 ))) 111 111 111 + 112 112 == 4.5 Configure LG01 settings == 113 113 114 114 Tips:Please confirm that your LG01 version is 4.3.3. ... ... @@ -233,6 +233,7 @@ 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 + 236 236 1. [[image:image-20220531141656-31.png]]((( 237 237 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. 238 238 ... ... @@ -353,5 +353,4 @@ 353 353 If the time doesnt's change,you can refer it to calculate for checking status. 354 354 ))) 355 355 356 -(% class="wikigeneratedid" id="H" %) 357 - 357 +== ==