LoRa E220 and Raspberry PI 5 serial issue

Home Forums Raspberry Pi LoRa E220 and Raspberry PI 5 serial issue

Viewing 5 reply threads
  • Author
    Posts
    • #29562
      Guy
      Participant

        Hi Renzo I am going to bother you again. I have just tried my E220-900T22D using your library on a raspberry pi5 and got an error with code=lora.begin().
        I have installed the ebyte-lora-e220-rpi module and used the following code:
        loraSerial(‘/dev/serial0’)
        lora = LoRa(‘900T22D’,loraSerial, aux_pin=18, m0_pin=23, m1_pin=24)
        note that the wiring is the one displayed on github.
        Thanks for your help. Guy

      • #29564
        Guy
        Participant

          Hi Renzo, still looking for a solution
          According to this link

          It should not be a problem on the rpi5 so I have changed /dev/serial0 to /dev/ttyAMA0 but I still have the same issue. Regards Guy

        • #29565
          Guy
          Participant

            hi Renzo I believe that I have followed everything on your github repository.
            I have now tried the raspberry PI 4 and got an error again -> responseStatusCode not defined.
            it looks like a software issue. (I hope you’ll be able to answer) thanks in advance

          • #29597
            Renzo Mischianti
            Keymaster

              Hi Guy,
              I tested now the library on my Raspberry Pi 4b, and it works correctly.
              Can you post your code?
              Thanks Renzo

            • #29609
              Guy
              Participant

                Hi Renzo Thanks for your response I got it finally working on the RPI4 looks like there is some issues with the regular uart on the RPI5, I’ll do some additional test and will let you know.
                Regards. Guy

              • #29621
                Renzo Mischianti
                Keymaster

                  Thanks, Guy; I am waiting for your news.
                  Bye Renzo

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