Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Filq
    F
    • Continue chat with Filq
    • Start new chat with Filq
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    Filq

    @Filq

    0
    Reputation
    3
    Posts
    620
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Filq Follow

    Posts made by Filq

    • RE: Lora Module ASR6501 with Arduino

      @felmue

      Thanks Felix for explaining all of it in plain English for me. I will check if there is a IoT in my are and try connect with it.

      It's a good lesson as well - always read full documentation and make sure you will be able to and know how to use parts for your project.

      posted in Modules
      F
      Filq
    • RE: Lora Module ASR6501 with Arduino

      Hi @felmue ,

      Thanks for fast reply.

      From what I read online LoraWAN units can be used as Lora units, but Lora units can not be used as LoraWAN. I hope it is the case here as well!

      I thought that AT commands are standardized and I used something found in online tutorial. IT turned out they are not and I went through your documentation briefly.

      Using documentation provided by you I changed Tx command to:
      Serial.println("AT+DTRX=1,2,10,012345");
      As well set boundrate at the beginning of the program by:
      Serial.println("AT+CGBR=9600");

      Sadly it made no difference. I still can not see Rx diode to flash on the receiver unit and only Tx on the transmitter.

      There is long example code made by the manufacturer, but it uses libraries I can not find and have no clue how to use them.

      https://github.com/m5stack/M5Stack/blob/master/examples/Unit/LoRaWAN868/LoRaWAN868.ino

      posted in Modules
      F
      Filq
    • Lora Module ASR6501 with Arduino

      Hi,

      I'm working on my first Arduino project using LoraWAN8688 ASR6501 M5 module. I would like left nano to send message, and right nano to receive and read it.

      I think however, that my Lora module must be configured before it will send and receive data from Arduino. I don't know even how to send it it

      How can I send AT+ commands to the LORA module to configure it? Do I need any additional cables or connectors, or can I use Arduino to set it up?

      Can I use Serial.println("AT+ADDRESS=1"); to set address via andruino?

      alt text

      RECEIVER CODE:
      String incomingString;

      void setup() {
      // put your setup code here, to run once:
      Serial.begin(9600);
      Serial.println("AT+ADDRESS=3");
      }

      void loop() {
      // put your main code here, to run repeatedly:
      if(Serial.available()){
      incomingString = Serial.readString();
      if (incomingString.indexOf("TeamA") >0){
      delay(500);
      }
      }
      }

      TRANSMITTER CODE:
      unsigned long lastTransmission;
      const int interval = 1000;

      void setup() {
      // put your setup code here, to run once:
      Serial.begin(9600);
      Serial.println("AT+ADDRESS=2");
      }

      void loop()
      {
      if (millis() > lastTransmission + interval) {
      Serial.println("AT+SEND=1,6,TeamA");
      delay(2000);
      lastTransmission = millis();
      }
      }

      posted in Modules
      F
      Filq