Hi everyone !
I need help find a working program defining a Lora Transmitter and a LoRa receiver using (RYRL896) and connected Arduino Uno.
It could be software Serial or hardware Serial.
to send DHT11 value.
Hi everyone !
I need help find a working program defining a Lora Transmitter and a LoRa receiver using (RYRL896) and connected Arduino Uno.
It could be software Serial or hardware Serial.
to send DHT11 value.
Lora.begin is failing
void setup() {
dht.begin();
Serial.begin(9600);
while (!Serial);
Serial.println("LoRa Sender test");
//initilize the LoRa radio on the module
LoRa.begin(915000000);
if (!LoRa.begin(915E6)) {
Serial.println("Starting LoRa failed!");
while (1);
}
}
If your actually using an RYLR896 then thats a UART front ended LoRa module, and you appear to be trying to use a LoRa library for the normal SPI based modules, so that library wont work.
thanks!
What are the conditions for using #include <lora.h> ?
lora.begin(915e6) is never working just like that
Read post #4 again.
Have you checked that the lora.h library you are trying to use will work with your module ?
It says that <lora.h> is is compatible with the SX1276 engine, which is what is featured in the RYLR896.
I tested the modules, they work when connected via UART to TLL conversion. they can send data to each other.
My problem is that I cannot find any program (TX /RX) that can work to send the sensor data from one node to the other.
No, No, No.
Study the lora.h documentation again and post #4 yet again.
The (normal) lora.h library expects an SPI hardware interface.
Your RYLR896 does not have an SPI interface, it has a UART interface.
Probably true, there are very few worked examples for those UART based supposed LoRa modules.
There are however gazillions of examples and a fair number of libraries for the normal SPI based modules.
Yes, that s true.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.