Send LoRa message from Arduino C env to MicroPython with Raspberry Pi Pico

Home Forums The libraries hosted on the site EByte LoRa e220 UART devices LLCC68 Send LoRa message from Arduino C env to MicroPython with Raspberry Pi Pico

Viewing 3 reply threads
  • Author
    Posts
    • #29080
      woto
      Participant

        Ok, now I have tried to send a string with the following settings:
        Sender
        ADDH = 00
        ADDL = 03
        CHAN = 18
        FIXED TRANSMISSION
        RSSI Enabled

        Here I use the Arduino library.

        and call the function as follows:

        
        ResponseStatus rs = e220ttl.sendFixedMessage(0, DESTINATION_ADDL, 18, "Hello, world?");
        

        Receiver
        ADDH = 00
        ADDL = 03
        CHAN = 18
        FIXED TRANSMISSION
        RSSI Enabled

        Here I use the Micropython library as follows:

        
        while True:
            if lora.available() > 0:
        ...
        

        Unfortunately, the receiver does not receive a string.

      • #29082
        Renzo Mischianti
        Keymaster

          Hi woto,
          you have configured the Address and Channel for transparent transmission and set fixed transmission.

          Follow these tutorials to send fixed message
          Ebyte LoRa E220 device for Arduino, esp32 or esp8266: fixed transmission, broadcast, monitor, and RSSI – 4

          this is for E32 and micropython but you can get some ideas
          EByte LoRa E32 & MicroPython: a deep dive into transmission types – 4

          Bye Renzo

        • #29087
          woto
          Participant

            Hi Renzo,
            Thank you very much.

            Sometimes i can’t see the wood for the trees (German proverb).

            So thank you very much.

            best regards
            Woto

          • #29088
            Renzo Mischianti
            Keymaster

              Sorry Woto,
              if you set the ADDH, ADDL, and CHAN with the same value, you have configured the devices to communicate in transparent transmission.

              To use fixed transmission, you must set a different ADDH or ADDL and send the message from the first by setting the receiver’s destination address.

              So, if you have configured the sender

              
              ADDH = 00
              ADDL = 03
              CHAN = 18
              

              you must configure the receiver

              
              ADDH = 00
              ADDL = 04
              CHAN = 18
              

              and in the sender
              ResponseStatus rs = e220ttl.sendFixedMessage(0, 4, 18, "Hello, world?");

              But I think you must check the articles, they can be more clean.

              Bye Renzo

          Viewing 3 reply threads
          • You must be logged in to reply to this topic.
          Exit mobile version