Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Lora E22 stops sending after some time #21060
    Lucas0411
    Participant

      I used Esp32 for the receiver and an Arduino Uno (imbedded) for the sender. I tried changing the LoRa/Arduino but it doesn’t seem to do much. There’s something else I would like to ask you, which is about the RSSI Ambient noise. I didn’t find any examples regarding that. Do you have any idea how can I retrieve this information? Is it just like the packet RSSI, or there’s a special way to get this one? Thanks in advance.

      in reply to: Lora E22 stops sending after some time #21054
      Lucas0411
      Participant

        Hi Renzo, thanks for your reply.

        This is the receiver code:

        
        #include "LoRa_E22.h"
        
        LoRa_E22 e22ttl(&Serial2, 13, 2, 4);
        int count = 0;
        void setup() {
        	Serial.begin(9600);
        	e22ttl.begin();
        	Serial.println("Rx Iniciado");
        	delay(300);
        }
        
        void loop() {
        	if (e22ttl.available() > 1) {
        		ResponseContainer rs = e22ttl.receiveMessage();
        		String message = rs.data;
        
        		Serial.println(rs.status.getResponseDescription());
        		Serial.println(message);
        		count++;
        		Serial.print("Count: ");
        		Serial.println(count);
        	}
        }
        

        And this is the sender one:

        
        #include "LoRa_E22.h"
        
        LoRa_E22 e22ttl(6, 5, 3, A4, 10, 9600);
        
        void setup() {
        	Serial.begin(9600);
        	e22ttl.begin();
        	delay(300);
        }
        
        void loop() {
        //delay(1000);
        	for (int i = 0; i < 1; i++) {
        		ResponseStatus
        		rs = e22ttl.sendFixedMessage(15, 11, 65, "&4;70.15;15;15@");
        		Serial.println(rs.getResponseDescription());
        		delay(2000);
        	}
        }
        
        

        I have also attached a image containing the configuration used on both LoRas. I will now try to change all the hardware used, to see if that makes any difference.

        Attachments:
        You must be logged in to view attached files.
      Viewing 2 posts - 1 through 2 (of 2 total)