- This topic has 1 reply, 2 voices, and was last updated 10 hours, 11 minutes ago by .
Viewing 1 reply thread
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Home › Forums › The libraries hosted on the site › EByte LoRa e220 UART devices LLCC68 › MODE_1_WOR_TRANSMITTER not send two byte for wake up sleep MODE_2_WOR_RECEIVER
Hello Renzo!
I use your library
* EBYTE LoRa E220 Series
* AUTHOR: Renzo Mischianti
* VERSION: 1.0.8
and I can’t understand the logic of the work.
There are two devices WOR_TRANSMITTER and WOR_RESEIVER, respectively, we set one e220ttl.setMode(MODE_1_WOR_TRANSMITTER); and this device
wakes up the second device to receive data from it by sending a password using the e220ttl.sendFixedMessage() method;
While WOR_RESEIVER is, respectively, in MODE_2_WOR_RECEIVER mode, when the Arduino itself is set to SLEEP_MODE_PWR_DOWN
sometimes loses the first two characters of the transmitted information. i.e. sometimes it loses and sometimes it doesn’t. It is not clear what this behavior depends on and how to control it.
I understand that the first two bytes are sent specifically to wake up WOR_RESEIVER and I assume that your library in MODE_1_WOR_TRANSMITTER mode specifically sends two bytes containing 0xFF to wake up WOR_RESEIVER, but when it sends them and when it stops sending them and how to live with this – I do not understand.
Please tell me more.
Thanks in advance.
Hi Gadzilla,
Just to clarify: the library doesn’t add any extra bytes—the E22 module sends the wake‑up preamble on its own. If you notice missing characters, it usually means the MCU hasn’t woken up quickly enough to catch the start of the UART stream.
Please try lengthening the WOR period so the receiver stays awake a bit longer, and let me know if that solves the problem.
Best,
Renzo
More