- This topic has 5 replies, 2 voices, and was last updated 11 months, 4 weeks ago by .
Viewing 5 reply threads
Viewing 5 reply threads
- You must be logged in to reply to this topic.
Home › Forums › Raspberry Pi › LoRa E220 and Raspberry PI 5 serial issue
Tagged: raspberry pi 5
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
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
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
Hi Guy,
I tested now the library on my Raspberry Pi 4b, and it works correctly.
Can you post your code?
Thanks Renzo
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
Thanks, Guy; I am waiting for your news.
Bye Renzo
More