Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Saxer Lin on 2025/04/15 17:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -217,7 +217,7 @@ 217 217 218 218 [[image:lt-22222-l-dev-repo-reg-p1.png||height="625" width="1000"]] 219 219 220 -* 220 +* 221 221 ** Enter the **AppEUI** in the **JoinEUI** field and click **Confirm** button. 222 222 ** Enter the **DevEUI** in the **DevEUI** field. 223 223 ** Enter the **AppKey** in the **AppKey** field. ... ... @@ -229,19 +229,26 @@ 229 229 ==== Entering device information manually: ==== 230 230 231 231 * On the **Register end device** page: 232 -** Select the **Enter end device specifie dmanually** option.232 +** Select the **Enter end device specifies manually** option as the input method. 233 233 ** Select the **Frequency plan** that matches with your device. 234 234 ** Select the **LoRaWAN version**. 235 235 ** Select the **Regional Parameters version**. 236 -** Click **Show advanced activation, LoRaWAN class and cluster settings** option. 236 +** Click **Show advanced activation, LoRaWAN class and cluster settings** link to expand the section. 237 237 ** Select **Over the air activation (OTAA)** option under **Activation mode** 238 238 ** Select **Class C (Continuous)** from the **Additional LoRaWAN class capabilities**. 239 -** Enter **AppEUI** in the **JoinEUI** field and click **Confirm** button. 240 -** Enter **DevEUI** in the **DevEUI** field. 241 -** Enter **AppKey** in the **AppKey** field. 242 -** In the **End device ID** field, enter a unique name within this application for your LT-22222-N. 243 -** Under **After registration**, select the **View registered end device** option. 244 244 240 +[[image:lt-22222-l-manually-p1.png||height="625" width="1000"]] 241 + 242 + 243 +* Enter **AppEUI** in the **JoinEUI** field and click **Confirm** button. 244 +* Enter **DevEUI** in the **DevEUI** field. 245 +* Enter **AppKey** in the **AppKey** field. 246 +* In the **End device ID** field, enter a unique name within this application for your LT-22222-N. 247 +* Under **After registration**, select the **View registered end device** option. 248 + 249 +[[image:lt-22222-l-manually-p2.png||height="625" width="1000"]] 250 + 251 + 245 245 ==== Joining ==== 246 246 247 247 Click on **Live Data** in the left navigation. Then, power on the device, and it will join The Things Stack Sandbox. You can see the join request, join accept, followed by uplink messages form the device showing in the Live Data panel. ... ... @@ -249,12 +249,12 @@ 249 249 [[image:1653298044601-602.png||height="405" width="709"]] 250 250 251 251 252 -== 3.3 Uplink Payload == 259 +== 3.3 Uplink Payload formats == 253 253 254 254 255 -The rearefiveworking modes+oneinterrupt modeon LTfor different type application:262 +The LT-22222-L has 5 working modes. It also has an interrupt/trigger mode for different type applications that can be used together with all the working modes as an additional feature. The default mode is MOD1 and you can switch between these modes using AT commands. 256 256 257 -* (% style="color:blue" %)**MOD1**(%%): (default set ting): 2 x ACI + 2AVI + DI + DO + RO264 +* (% style="color:blue" %)**MOD1**(%%): (default mode/factory set): 2 x ACI + 2AVI + DI + DO + RO 258 258 259 259 * (% style="color:blue" %)**MOD2**(%%): Double DI Counting + DO + RO 260 260 ... ... @@ -270,7 +270,7 @@ 270 270 271 271 272 272 ((( 273 - The uplink payload includes totally9 bytes. Uplink packetsuse FPORT=2and every10 minutessendone uplinkbydefault. (% style="display:none" %)280 +In working mode MOD1, the uplink payload includes a total of 9 bytes. Uplink packets are sent over LoRaWAN FPort=2. By default, one uplink is sent every 10 minutes. (% style="display:none" %) 274 274 275 275 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 276 276 |(% style="background-color:#4f81bd; color:white" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1** ... ... @@ -288,23 +288,23 @@ 288 288 ))) 289 289 290 290 ((( 291 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1 .Totally1bytesas below298 +(% style="color:#4f81bd" %)*** DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1, for a total of 1 byte ,as shown below 292 292 293 293 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 294 -|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0** 295 -|RO1|RO2|DI3|DI2|DI1|DO3|DO2|DO1 301 +|**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0** 302 +|RO1|RO2|--DI3--|DI2|DI1|--DO3--|DO2|DO1 296 296 ))) 297 297 298 -* RO is for relay. ROx=1 : close, ROx=0 always open. 299 -* DI is for digital input. DIx=1: high or float, DIx=0: low. 300 -* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 305 +* RO is for relay. ROx=1 : closed, ROx=0 always open. 306 +* DI is for digital input. DIx=1: high or floating, DIx=0: low. 307 +* DO is for reverse digital output. DOx=1: output low, DOx=0: high or floating. 301 301 302 -(% style="color:red" %)**Note: DI3 and DO3 bit are not valid for LT-22222-L** 309 +(% style="color:red" %)**Note: DI3 and DO3 bits are not valid for LT-22222-L** 303 303 304 -For example if payload is: [[image:image-20220523175847-2.png]] 311 +For example, if the payload is: [[image:image-20220523175847-2.png]] 305 305 306 306 307 -**The value fortheinterfaceis: **314 +**The interface values can be calculated as follows: ** 308 308 309 309 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V 310 310 ... ... @@ -316,23 +316,23 @@ 316 316 317 317 The last byte 0xAA= 10101010(B) means 318 318 319 -* [1] RO1 relay channel is close and the RO1 LED is ON. 320 -* [0] RO2 relay channel is open and RO2 LED is OFF ;326 +* [1] RO1 relay channel is closed, and the RO1 LED is ON. 327 +* [0] RO2 relay channel is open, and RO2 LED is OFF. 321 321 322 322 **LT22222-L:** 323 323 324 -* [1] DI2 channel is high input and DI2 LED is ON ;325 -* [0] DI1 channel is low input ;331 +* [1] DI2 channel is high input and DI2 LED is ON. 332 +* [0] DI1 channel is low input. 326 326 327 327 * [0] DO3 channel output state 328 -** DO3 is float in case no load between DO3 and V+. ;335 +** DO3 is float in case no load between DO3 and V+. 329 329 ** DO3 is high in case there is load between DO3 and V+. 330 330 ** DO3 LED is off in both case 331 331 * [1] DO2 channel output is low and DO2 LED is ON. 332 332 * [0] DO1 channel output state 333 -** DO1 is float in case no load between DO1 and V+. ;340 +** DO1 is float in case no load between DO1 and V+. 334 334 ** DO1 is high in case there is load between DO1 and V+. 335 -** DO1 LED is off in both case 342 +** DO1 LED is off in both case. 336 336 337 337 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 338 338 ... ... @@ -1346,54 +1346,71 @@ 1346 1346 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173929-8.png?width=1205&height=76&rev=1.1||alt="image-20220823173929-8.png"]] 1347 1347 1348 1348 1349 -== 3.5 Integrat ewithMydevice==1356 +== 3.5 Integrating with ThingsEye.io == 1350 1350 1358 +If you are using one of The Things Stack plans, you can integrate ThingsEye.io with your application. Once integrated, ThingsEye.io works as an MQTT client for The Things Stack MQTT broker, allowing it to subscribe to upstream traffic and publish downlink traffic. 1351 1351 1352 - Mydevicesprovidesa humanendlyinterface to show thesensor data, once wehave datainTTN, we can useMydevicestoconnectto TTNandsee the data in Mydevices. Beloware the steps:1360 +=== 3.5.1 Configuring The Things Stack Sandbox === 1353 1353 1354 - (((1355 - (%style="color:blue" %)**Step1**(%%): Besurethatyour deviceisrogrammedandproperly connectedto thetworkatthis time.1356 - )))1362 +* Go to your Application and select MQTT under Integrations. 1363 +* In the Connection credentials section, under Username, The Thins Stack displays an auto-generated username. You can use it or provide a new one. 1364 +* For the Password, click the Generate new API key button to generate a password. You can see it by clicking on the eye button. 1357 1357 1358 -((( 1359 -(% style="color:blue" %)**Step 2**(%%): To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps: 1366 +[[image:tts-mqtt-integration.png||height="625" width="1000"]] 1360 1360 1361 - 1362 -))) 1368 +=== 3.5.2 Configuring ThingsEye.io === 1363 1363 1364 -[[image:image-20220719105525-1.png||height="377" width="677"]] 1370 +* Login to your thingsEye.io account. 1371 +* Under the Integrations center, click Integrations. 1372 +* Click the Add integration button (the button with the + symbol). 1365 1365 1374 +[[image:thingseye-io-step-1.png||height="625" width="1000"]] 1366 1366 1367 1367 1368 - [[image:image-20220719110247-2.png||height="388"width="683"]]1377 +On the Add integration page configure the following: 1369 1369 1379 +Basic settings: 1370 1370 1371 -(% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices. 1381 +* Select The Things Stack Community from the Integration type list. 1382 +* Enter a suitable name for your integration in the Name box or keep the default name. 1383 +* Click the Next button. 1372 1372 1373 - (% style="color:blue" %)**Step 4**(%%): Search LT-22222-L(for both LT-22222-L) and add DevEUI.(% style="display:none"%)1385 +[[image:thingseye-io-step-2.png||height="625" width="1000"]] 1374 1374 1375 - Search underThethingsnetwork1387 +Uplink Data converter: 1376 1376 1377 -[[image:1653356838789-523.png||height="337" width="740"]] 1389 +* Click the Create New button if it is not selected by default. 1390 +* Click the JavaScript button. 1391 +* Paste the uplink decoder function into the text area (first, delete the default code). The demo decoder function can be found here. 1392 +* Click the Next button. 1378 1378 1394 +[[image:thingseye-io-step-3.png||height="625" width="1000"]] 1379 1379 1380 - After added, the sensordataarriveTTN, itwill alsoarriveandshowinMydevices.1396 +Downlink Data converter (this is an optional step): 1381 1381 1382 -[[image:image-20220524094909-1.png||height="335" width="729"]] 1398 +* Click the Create new button if it is not selected by default. 1399 +* Click the JavaScript button. 1400 +* Paste the downlink decoder function into the text area (first, delete the default code). The demo decoder function can be found here. 1401 +* Click the Next button. 1383 1383 1403 +[[image:thingseye-io-step-4.png||height="625" width="1000"]] 1384 1384 1385 - [[image:image-20220524094909-2.png||height="337" width="729"]]1405 +Connection: 1386 1386 1407 +* Choose Region from the Host type. 1408 +* Enter the cluster of your The Things Stack in the Region textbox. 1409 +* Enter the Username and Password in the Credentials section. Use the same username and password you created with the MQTT page of The Things Stack. 1410 +* Click Check connection to test the connection. If the connection is successful, you can see the message saying Connected. 1411 +* Click the Add button. 1387 1387 1388 -[[image:i mage-20220524094909-3.png||height="338" width="727"]]1413 +[[image:thingseye-io-step-5.png||height="625" width="1000"]] 1389 1389 1390 1390 1391 - [[image:image-20220524094909-4.png||height="339"width="728"]](%style="display:none"%)1416 +Your integration is added to the integrations list and it will display on the Integrations page. 1392 1392 1418 +[[image:thingseye-io-step-6.png||height="625" width="1000"]] 1393 1393 1394 -[[image:image-20220524094909-5.png||height="341" width="734"]] 1395 1395 1396 - 1397 1397 == 3.6 Interface Detail == 1398 1398 1399 1399 === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) ===
- lt-22222-l-manually-p1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.pradeeka - Size
-
... ... @@ -1,0 +1,1 @@ 1 +306.6 KB - Content
- lt-22222-l-manually-p2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.pradeeka - Size
-
... ... @@ -1,0 +1,1 @@ 1 +279.1 KB - Content