<
From version < 99.1 >
edited by Kilight Cao
on 2022/11/12 16:41
To version < 100.1 >
edited by Kilight Cao
on 2022/11/12 16:43
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -442,7 +442,7 @@
442 442  == **7.1 How does LG01-V2 communicate with Lora shield (LoRa.h)** ==
443 443  
444 444  
445 -This example describes how to use LG01-V2, LoRa Shield to set up a LoRa network
445 +This example describes how to use LG01-V2, LoRa Shield to set up a LoRa network,
446 446  
447 447  [[image:image-20221103152238-8.png||height="251" width="654"]]
448 448  
... ... @@ -484,6 +484,44 @@
484 484  [[image:image-20221101162527-4.png]]
485 485  
486 486  
487 +== **7.2 How does LG01-V2 communicate with Heltec LoRa Node** ==
488 +
489 +
490 +This example describes how to use LG01-V2 and Heltec LoRa Node to set up a LoRa network,
491 +
492 +[[image:image-20221112161111-2.png||height="258" width="692"]]
493 +
494 +(% style="color:red" %)**Prerequisites: The configurations of LG01-V2 and Lora shield must match**
495 +
496 +**LG01-V2 configuration:**
497 +
498 +(% class="box infomessage" %)
499 +(((
500 +AT+FRE=868.100,868.100  ~-~--> TX and RX frequency set: 868100000
501 +AT+BW=0,0  ~-~--> TX and RX Bandwidth set: 125kHz
502 +AT+SF=12,12  ~-~--> TX and RX Spreading Factor set: SF12
503 +AT+POWER=14  ~-~--> TX Power Range
504 +AT+CRC=1,1  ~-~--> TX and RX CRC Type
505 +AT+HEADER=0,0  ~-~--> TX and RX Header Type
506 +AT+CR=1,1  ~-~--> TX and RX Coding Rate
507 +AT+IQ=0,0  ~-~--> TX and RX InvertIQ
508 +AT+PREAMBLE=8,8  ~-~--> TX and RX Preamble Length set: 8
509 +AT+SYNCWORD=0  ~-~-->  Syncword**(0: private,1: public), **the corresponding Lora shield syncword is 0x12
510 +AT+RXMOD=65535,0  ~-~-->  Rx Timeout and Reply mode,RX window always open
511 +AT+RXDAFORM=1  ~-~--> RX data format**(0: Hex ,1: String)**
512 +)))
513 +
514 +After we upload the sketch to Heltec LoRa Node, we can see below output from Arduino.
515 +
516 +Lora Shield example: [[attach:LoRa_send_trial.ino||target="_blank"]]
517 +
518 +[[image:image-20221112162733-3.png||height="524" width="927"]]
519 +
520 +
521 +And we can see the logread of gateway as below, means the packet arrive gateway:
522 +
523 +[[image:image-20221112163119-4.png||height="808" width="560"]]
524 +
487 487  = (% style="color:inherit; font-family:inherit; font-size:29px" %)**8. Supports**(%%) =
488 488  
489 489  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0