Forum Replies Created
-
AuthorPosts
-
If you put all sending and receiving process inside a function, theoretically when function end all allocated variable and memory will be free.
Or you can malloc inside memory.
Bye RenzoHi Elkez,
It can be a wiring problem, or there is a read or write problem in the sketch code, or a configuration problem.
Bye RenzoHi Fabiooo,
the problem of deep sleep was explained here, to be sure to read the message you must use light sleep.
The power-consuming difference isn’t so big, so It’s preferable.
Bye RenzoHi Fabiooo,
if you have a (minimal) memory leak, probably write over the memory location of the received message variable or at the sending time.
Bye Renzohi Fabioo,
It’s very strange; It’s possible that there are some issues with the power supply.
Or a bad usage of memory allocation?
Bye RenzoThanks a lot. Your work is precious.
Bye Renzo8 January 2024 at 20:46 in reply to: Send LoRa message from Arduino C env to MicroPython with Raspberry Pi Pico #29088Sorry 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
8 January 2024 at 17:26 in reply to: Send LoRa message from Arduino C env to MicroPython with Raspberry Pi Pico #29082Hi 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 – 4this is for E32 and micropython but you can get some ideas
EByte LoRa E32 & MicroPython: a deep dive into transmission types – 4Bye Renzo
-
This reply was modified 1 year, 5 months ago by
Renzo Mischianti.
Hi woto,
you don’t need to change the library.
You can find how to use the library for e32 (similar to E220) in this article.
EByte LoRa E32 & MicroPython: a detailed look at configuration – 3
I create a specified tutorial for E220 soon.code, configuration = lora.get_configuration() configuration.CHAN = 18 code, configuration = lora.set_configuration(configuration)
Bye Renzo
-
This reply was modified 1 year, 5 months ago by
Renzo Mischianti.
-
This reply was modified 1 year, 5 months ago by
Renzo Mischianti.
Hi MAWMN,
not inside the library, but I think you can check the millis(), and if you already have a click in a specified interval, you can abort the previous action and activate the new one.
But pay attention, if you already clicked one and after that interval, no other action was activated, you must execute the click function.
Bye RenzoIf you need something more specified ask here.
Bye RenzoHi Carcela,
to create a network, you can follow the instructions in this articleyou can also use the repeater function to manage devices with a lot of distance
EByte LoRa E22 repeater mode schema
Bye Renzo
Hi Orhan,
you must connect the AUX pin and try to manage the air data rate and baud rate, but the frequency can be variable because of FEC and waiting for the transmission, so disable It.
Bye RenzoHi Srill,
haaa perfect!
No, I think it’s not possible, they use a different chip to implement the communication.
Bye RenzoHi Srill,
you must pass the reference of Serial.LoRa_E32 e32ttl(&Serial2, 15, 33, 32);
Bye Renzo
-
This reply was modified 1 year, 5 months ago by
-
AuthorPosts