<
From version < 43.22 >
edited by Xiaoling
on 2023/05/16 14:23
To version < 43.41 >
edited by Xiaoling
on 2023/05/16 15:03
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -376,26 +376,21 @@
376 376  This mode has total 12 bytes. Include 3 x ADC + 1x I2C
377 377  
378 378  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
379 -|=(((
380 -(% style="width: 50px;" %)**Size(bytes)**
381 -)))|=(% style="width: 68px;" %)**2**|=(% style="width: 75px;" %)**2**|=**2**|=**1**|=(% style="width: 304px;" %)2|=(% style="width: 163px;" %)2|=(% style="width: 53px;" %)1
379 +|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
380 +**Size(bytes)**
381 +)))|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 140px;background-color:#D9E2F3;color:#0070C0" %)2|=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)2|=(% style="width: 20px;background-color:#D9E2F3;color:#0070C0" %)1
382 382  |**Value**|(% style="width:68px" %)(((
383 -ADC1
384 -(PA4)
383 +ADC1(PA4)
385 385  )))|(% style="width:75px" %)(((
386 -ADC2
387 -(PA5)
385 +ADC2(PA5)
388 388  )))|(((
389 -ADC3
390 -(PA8)
387 +ADC3(PA8)
391 391  )))|(((
392 392  Digital Interrupt(PB15)
393 393  )))|(% style="width:304px" %)(((
394 -Temperature
395 -(SHT20 or SHT31 or BH1750 Illumination Sensor)
391 +Temperature(SHT20 or SHT31 or BH1750 Illumination Sensor)
396 396  )))|(% style="width:163px" %)(((
397 -Humidity
398 -(SHT20 or SHT31)
393 +Humidity(SHT20 or SHT31)
399 399  )))|(% style="width:53px" %)Bat
400 400  
401 401  [[image:image-20230513110214-6.png]]
... ... @@ -406,20 +406,16 @@
406 406  
407 407  This mode has total 11 bytes. As shown below:
408 408  
409 -(% style="width:1017px" %)
410 -|**Size(bytes)**|**2**|(% style="width:186px" %)**2**|(% style="width:82px" %)**2**|(% style="width:210px" %)**1**|(% style="width:191px" %)**2**|(% style="width:183px" %)**2**
404 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
405 +|(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**Size(bytes)**|(% style="width: 20px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**1**|(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**2**|(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**2**
411 411  |**Value**|BAT|(% style="width:186px" %)(((
412 -Temperature1(DS18B20)
413 -(PC13)
407 +Temperature1(DS18B20)(PC13)
414 414  )))|(% style="width:82px" %)(((
415 -ADC
416 -(PA4)
409 +ADC(PA4)
417 417  )))|(% style="width:210px" %)(((
418 -Digital in(PB15) &
419 -Digital Interrupt(PA8) 
411 +Digital in(PB15) & Digital Interrupt(PA8) 
420 420  )))|(% style="width:191px" %)Temperature2(DS18B20)
421 -(PB9)|(% style="width:183px" %)Temperature3(DS18B20)
422 -(PB8)
413 +(PB9)|(% style="width:183px" %)Temperature3(DS18B20)(PB8)
423 423  
424 424  [[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/1656377606181-607.png?rev=1.1||alt="1656377606181-607.png"]]
425 425  
... ... @@ -446,16 +446,15 @@
446 446  
447 447  Check the response of this command and adjust the value to match the real value for thing.
448 448  
449 -(% style="width:767px" %)
450 -|=(((
440 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
441 +|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
451 451  **Size(bytes)**
452 -)))|=**2**|=(% style="width: 193px;" %)**2**|=(% style="width: 85px;" %)**2**|=(% style="width: 186px;" %)**1**|=(% style="width: 100px;" %)**4**
443 +)))|=(% style="width: 20px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 150px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 200px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**4**
453 453  |**Value**|BAT|(% style="width:193px" %)(((
454 454  Temperature(DS18B20)
455 455  (PC13)
456 456  )))|(% style="width:85px" %)(((
457 -ADC
458 -(PA4)
448 +ADC(PA4)
459 459  )))|(% style="width:186px" %)(((
460 460  Digital in(PB15) &
461 461  Digital Interrupt(PA8)
... ... @@ -472,23 +472,18 @@
472 472  
473 473  [[image:image-20230512181814-9.png||height="543" width="697"]]
474 474  
475 -**Note:** LoRaWAN wireless transmission will infect the PIR sensor. Which cause the counting value increase +1 for every uplink. User can change PIR sensor or put sensor away of the SN50_v3 to avoid this happen.
465 +(% style="color:red" %)**Note:** LoRaWAN wireless transmission will infect the PIR sensor. Which cause the counting value increase +1 for every uplink. User can change PIR sensor or put sensor away of the SN50_v3 to avoid this happen.
476 476  
477 -(% style="width:961px" %)
478 -|=**Size(bytes)**|=**2**|=(% style="width: 256px;" %)**2**|=(% style="width: 108px;" %)**2**|=(% style="width: 126px;" %)**1**|=(% style="width: 145px;" %)**4**
467 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
468 +|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**Size(bytes)**|=(% style="width: 20px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 220px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 80px;background-color:#D9E2F3;color:#0070C0" %)**4**
479 479  |**Value**|BAT|(% style="width:256px" %)(((
480 -Temperature(DS18B20)
481 -
482 -(PC13)
470 +Temperature(DS18B20)(PC13)
483 483  )))|(% style="width:108px" %)(((
484 -ADC
485 -(PA4)
472 +ADC(PA4)
486 486  )))|(% style="width:126px" %)(((
487 -Digital in
488 -(PB15)
474 +Digital in(PB15)
489 489  )))|(% style="width:145px" %)(((
490 -Count
491 -(PA8)
476 +Count(PA8)
492 492  )))
493 493  
494 494  [[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/1656378441509-171.png?rev=1.1||alt="1656378441509-171.png"]]
... ... @@ -496,16 +496,15 @@
496 496  
497 497  ==== 2.3.2.7  MOD~=7 (Three interrupt contact modes) ====
498 498  
499 -(% style="width:1108px" %)
500 -|=(((
484 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
485 +|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
501 501  **Size(bytes)**
502 -)))|=**2**|=(% style="width: 188px;" %)**2**|=(% style="width: 83px;" %)**2**|=(% style="width: 184px;" %)**1**|=(% style="width: 186px;" %)**1**|=(% style="width: 197px;" %)1|=(% style="width: 100px;" %)2
487 +)))|=(% style="width: 20px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)1|=(% style="width: 40px;background-color:#D9E2F3;color:#0070C0" %)2
503 503  |**Value**|BAT|(% style="width:188px" %)(((
504 504  Temperature(DS18B20)
505 505  (PC13)
506 506  )))|(% style="width:83px" %)(((
507 -ADC
508 -(PA5)
492 +ADC(PA5)
509 509  )))|(% style="width:184px" %)(((
510 510  Digital Interrupt1(PA8)
511 511  )))|(% style="width:186px" %)Digital Interrupt2(PA4)|(% style="width:197px" %)Digital Interrupt3(PB15)|(% style="width:100px" %)Reserved
... ... @@ -514,24 +514,21 @@
514 514  
515 515  ==== 2.3.2.8  MOD~=8 (3ADC+1DS18B20) ====
516 516  
517 -(% style="width:922px" %)
518 -|=(((
501 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
502 +|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
519 519  **Size(bytes)**
520 -)))|=**2**|=(% style="width: 207px;" %)**2**|=(% style="width: 94px;" %)**2**|=(% style="width: 198px;" %)**1**|=(% style="width: 84px;" %)**2**|=(% style="width: 82px;" %)2
504 +)))|=(% style="width: 30px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 70px;background-color:#D9E2F3;color:#0070C0" %)2
521 521  |**Value**|BAT|(% style="width:207px" %)(((
522 522  Temperature(DS18B20)
523 523  (PC13)
524 524  )))|(% style="width:94px" %)(((
525 -ADC1
526 -(PA4)
509 +ADC1(PA4)
527 527  )))|(% style="width:198px" %)(((
528 528  Digital Interrupt(PB15)
529 529  )))|(% style="width:84px" %)(((
530 -ADC2
531 -(PA5)
513 +ADC2(PA5)
532 532  )))|(% style="width:82px" %)(((
533 -ADC3
534 -(PA8)
515 +ADC3(PA8)
535 535  )))
536 536  
537 537  [[image:image-20230513111231-8.png||height="335" width="900"]]
... ... @@ -539,10 +539,10 @@
539 539  
540 540  ==== 2.3.2.9  MOD~=9 (3DS18B20+ two Interrupt count mode) ====
541 541  
542 -(% style="width:1010px" %)
543 -|=(((
523 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
524 +|=(% style="width: 50px;background-color:#D9E2F3;color:#0070C0" %)(((
544 544  **Size(bytes)**
545 -)))|=**2**|=**2**|=**2**|=**1**|=(% style="width: 193px;" %)**2**|=(% style="width: 78px;" %)4|=(% style="width: 78px;" %)4
526 +)))|=(% style="width: 20px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 80px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)4|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)4
546 546  |**Value**|BAT|(((
547 547  Temperature1(DS18B20)
548 548  (PC13)
... ... @@ -556,25 +556,24 @@
556 556  Temperature3(DS18B20)
557 557  (PB8)
558 558  )))|(% style="width:78px" %)(((
559 -Count1
560 -(PA8)
540 +Count1(PA8)
561 561  )))|(% style="width:78px" %)(((
562 -Count2
563 -(PA4)
542 +Count2(PA4)
564 564  )))
565 565  
566 566  [[image:image-20230513111255-9.png||height="341" width="899"]]
567 567  
568 -**The newly added AT command is issued correspondingly:**
547 +(% style="color:blue" %)**The newly added AT command is issued correspondingly:**
569 569  
570 -**~ AT+INTMOD1** ** PA8**  pin:  Corresponding downlink:  **06 00 00 xx**
549 +(% style="color:#037691" %)**~ AT+INTMOD1 PA8**(%%)  pin:  Corresponding downlink:  (% style="color:#037691" %)**06 00 00 xx**
571 571  
572 -**~ AT+INTMOD2**  **PA4**  pin:  Corresponding downlink:**  06 00 01 xx**
551 +(% style="color:#037691" %)**~ AT+INTMOD2 PA4**(%%)  pin:  Corresponding downlink: (% style="color:#037691" %)**06 00 01 xx**
573 573  
574 -**~ AT+INTMOD3**  **PB15**  pin:  Corresponding downlink:  ** 06 00 02 xx**
553 +(% style="color:#037691" %)**~ AT+INTMOD3 PB15**(%%)  pin:  Corresponding downlink:  (% style="color:#037691" %)** 06 00 02 xx**
575 575  
576 -**AT+SETCNT=aa,bb** 
577 577  
556 +(% style="color:blue" %)**AT+SETCNT=aa,bb** 
557 +
578 578  When AA is 1, set the count of PA8 pin to BB Corresponding downlink:09 01 bb bb bb bb
579 579  
580 580  When AA is 2, set the count of PA4 pin to BB Corresponding downlink:09 02 bb bb bb bb
... ... @@ -607,11 +607,11 @@
607 607  
608 608  More DS18B20 can check the [[3 DS18B20 mode>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/#2.3.4MOD3D4283xDS18B2029]]
609 609  
610 -**Connection:**
590 +(% style="color:blue" %)**Connection:**
611 611  
612 612  [[image:image-20230512180718-8.png||height="538" width="647"]]
613 613  
614 -**Example**:
594 +(% style="color:blue" %)**Example**:
615 615  
616 616  If payload is: 0105H:  (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree
617 617  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0