8/13/2018 8:10 PM | |
Posts: 439 Rating:
|
Hello, I want to test the LORA protocol for a while and spoiled myself lately. I have tested Draguino LORA gateway, but don't really like it, neither the support and will not use it for my current project. So I bought a REYAX RYLR406 which is a LORA antenna transceiver module and perfect size for my project. As you can see, there is a receive/transmit pin for UART communication. I want to use Node-RED for this project. Do I simply need to use "Serial" node to send the AT command? I will start my test as soon as I can and will let you know how it went. Best regards, HugoD AttachmentREYAX RYLR406 manual.pdf (879 Downloads) |
Last edited by: HugoD at: 8/13/2018 8:11:01 PMLast edited by: HugoD at: 8/13/2018 8:11:17 PMLast edited by: HugoD at: 8/13/2018 8:12:02 PMLast edited by: HugoD at: 8/13/2018 8:12:23 PM |
|
This contribution was helpful to
1 thankful Users |
8/13/2018 8:15 PM | |
Posts: 439 Rating:
|
|
8/15/2018 2:53 AM | |
Posts: 439 Rating:
|
Hello, Just to let you know I moved a step further and found the way to configure the module from computer using the "AT command" the manual is referring to. I used a "USB to 3.3v TTL PIN Header Cable" I bought some years ago and the Arduino IDE. All I had to do is connect the TX of the cable to the RX of the LORA module, the RX of the cable to the TX of the LORA module, ground and VCC (+3.3V). You can use a jumper between ground and RST pin to reset the module to default value. Once the connection were done, I connected the USB to the computer and select the good COM port in Arduino IDE. Default baud rate of the LORA module is 115200 as you can see in page 9/15 of the manual I joined to the first post. Finally, all you have to do is test the communication using "AT" command with the following selection. You get a "satisfying" +OK when everything is good. I will continue my test in my spare time and tell you how it went when connect to IOT2040!!! Best regards, HugoD |
Last edited by: HugoD at: 8/15/2018 2:55:44 AM |
|
This contribution was helpful to
1 thankful Users |
8/15/2018 8:03 PM | |
Posts: 439 Rating:
|
Module 2: |
Last edited by: HugoD at: 8/15/2018 8:04:11 PM |
|
8/16/2018 5:25 AM | |
Posts: 439 Rating:
|
Hello, Following the below manual, I connected the LORA module to X11 and X13. SIMATIC IOT2020, SIMATIC IOT2040 (page 49-54-55) X11 pin 1 (RxD) connect to TXD of LORA Module X11 pin 2 (TxD) connect to RXD of LORA Module X13 pin 4 (+3.3V) connect to VDD of LORA Module X13 pin 6 (GND) connect to GND of LORA Module I had to go into iot2000setup with PuTTY to "Enable UART0 on Pins D0 & D1". Next, I create a simple flow into Node-RED I will show in the following post. Best regards, HugoD |
Follow us on