- This topic has 3 replies, 2 voices, and was last updated 11 months, 2 weeks ago by .
- You must be logged in to reply to this topic.
Home › Forums › The libraries hosted on the site › EByte LoRa e220 UART devices LLCC68 › Send LoRa message from Arduino C env to MicroPython with Raspberry Pi Pico
Tagged: Arduino, E220, micropython, Raspberry
Ok, now I have tried to send a string with the following settings:
Sender
ADDH = 00
ADDL = 03
CHAN = 18
FIXED TRANSMISSION
RSSI Enabled
Here I use the Arduino library.
and call the function as follows:
ResponseStatus rs = e220ttl.sendFixedMessage(0, DESTINATION_ADDL, 18, "Hello, world?");
Receiver
ADDH = 00
ADDL = 03
CHAN = 18
FIXED TRANSMISSION
RSSI Enabled
Here I use the Micropython library as follows:
while True:
if lora.available() > 0:
...
Unfortunately, the receiver does not receive a string.
Hi woto,
you have configured the Address and Channel for transparent transmission and set fixed transmission.
Follow these tutorials to send fixed message
Ebyte LoRa E220 device for Arduino, esp32 or esp8266: fixed transmission, broadcast, monitor, and RSSI – 4
this is for E32 and micropython but you can get some ideas
EByte LoRa E32 & MicroPython: a deep dive into transmission types – 4
Bye Renzo
Hi Renzo,
Thank you very much.
Sometimes i can’t see the wood for the trees (German proverb).
So thank you very much.
best regards
Woto
Sorry Woto,
if you set the ADDH, ADDL, and CHAN with the same value, you have configured the devices to communicate in transparent transmission.
To use fixed transmission, you must set a different ADDH or ADDL and send the message from the first by setting the receiver’s destination address.
So, if you have configured the sender
ADDH = 00
ADDL = 03
CHAN = 18
you must configure the receiver
ADDH = 00
ADDL = 04
CHAN = 18
and in the sender
ResponseStatus rs = e220ttl.sendFixedMessage(0, 4, 18, "Hello, world?");
But I think you must check the articles, they can be more clean.
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 E32 E70 EByte esp01 esp32 esp8266 File System Firmware i2c Library LoRa MicroPython Milling PCB My PCB Networking PCB pinout Power saving Programming board Raspberry Pi REST API RF rp2040 SD Card Sensors Sleep and Wake UP SPI STM32 Storage devices Tutorial Web Server Wemos D1 mini WiFi