Home › Forums › The libraries hosted on the site › EByte LoRa e22 UART devices sx1262/sx1268 › E220 LoRa Receive-Intervall and MycroPython and Arduino Env communication (UnicodeError:) › Reply To: E220 LoRa Receive-Intervall and MycroPython and Arduino Env communication (UnicodeError:)
I’ve been experimenting some with data corruption on my setup sending between arduino and pi pico(micropython).
Factors to consider:
1. Timing
2. Forward Error Correction
3. “ReceiveMessageUntil()”, i have experimented with this setting as i was receiving two messages packed into one… eg. “Msg0Msg1”, using this setting seems to help??
If both devices are powered up at same time, and one LoRa begins receiving half way through the senders transmission, it will only receive half the message, hence corrupted data. I have only noticed this happening with FEC off, but more testing needed.
Once I’m able to log into forum here on my computer I will post my code for the working setup I’m putting together.
I am using bare ATMEGA328P chip on arduino side, and pi pico on the other side.