- This topic has 5 replies, 2 voices, and was last updated 9 months, 3 weeks ago by .
- 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
3D Printer 3D printer upgrade ABB Arduino Arduino IDE Arduino SAMD boards Aurora AWS CNC Cyclone PCB Factory Cyclone PCB Factory how to build It Display DynamoDB E32 E70 EByte esp01 esp32 esp8266 File System Firmware i2c Library LoRa MicroPython Milling PCB My PCB Networking PCB pinout Power saving Raspberry Pi REST API RF rp2040 SD Card Sensors Sleep and Wake UP SPI STM32 Temperature Tutorial Web Server Wemos D1 mini WiFi