Home › Forums › The libraries hosted on the site › EByte LoRa e32 UART devices sx1262/sx1268 › Lora E32+arduino nano, Not receiving any message
- This topic has 4 replies, 4 voices, and was last updated 1 year, 7 months ago by alexcary21. 
- 
		AuthorPosts
- 
		
			- 
15 February 2024 at 09:56 #29779Thank you very much for your library and tutorial. I’m using two Arduino nano and Lora E32 to send and receive. both have same connection: Lora module: E32-TTL-1W 
 Arduino: Nano 3GND -> G 
 VCC -> 3V3
 AUX ->D5
 TX->D2
 RX->D3
 M1->D6
 M0->D7sender code: LoRa_E32 e32ttl(2, 3, 5, 7, 6);void setup() { 
 Serial.begin(9600);
 while (!Serial) {
 ;
 }
 delay(500);e32ttl.begin(); ResponseStructContainer c; 
 c = e32ttl.getConfiguration();
 Configuration configuration = *(Configuration*) c.data;
 Serial.println(c.status.getResponseDescription());
 Serial.println(c.status.code);// configuration.ADDL = 0x01; 
 // configuration.ADDH = 0x00;
 // configuration.CHAN = 0x02;
 // configuration.OPTION.fixedTransmission = FT_FIXED_TRANSMISSION;
 // e32ttl.setConfiguration(configuration, WRITE_CFG_PWR_DWN_SAVE);
 printParameters(configuration);
 c.close();
 }void loop() { 
 delay(5000);Serial.println("Send message to 03 00 04"); 
 ResponseStatus rs = e32ttl.sendFixedMessage(0, 3, 0x04, "Message to 00 03 04 device");Serial.println(rs.getResponseDescription()); } receiver code: LoRa_E32 e32ttl(2, 3, 5, 7, 6);void setup() { 
 Serial.begin(9600);
 while (!Serial) {
 ;} 
 delay(500);e32ttl.begin(); 
 ResponseStructContainer c;
 c = e32ttl.getConfiguration();
 Configuration configuration = *(Configuration*) c.data;
 Serial.println(c.status.getResponseDescription());
 Serial.println(c.status.code);// configuration.ADDL = 0x03; 
 // configuration.ADDH = 0x00;
 // configuration.CHAN = 0x04;
 // configuration.OPTION.fixedTransmission = FT_FIXED_TRANSMISSION;
 // e32ttl.setConfiguration(configuration, WRITE_CFG_PWR_DWN_SAVE);
 printParameters(configuration);
 c.close();
 }void loop() { 
 if (e32ttl.available() > 1){
 Serial.println("GOT message");
 ResponseContainer rs = e32ttl.receiveMessage();
 String message = rs.data;Serial.println(rs.status.getResponseDescription()); 
 Serial.println(message);
 }
 }I got “Success” on my sender side. but the receiver is not receiving any message, it is not going inside the condition: if (e32ttl.available() > 1){}. Can you check my code and connections please Mr.Mischianti - 
		This topic was modified 1 year, 8 months ago by tstmrtamir. 
 
- 
		This topic was modified 1 year, 8 months ago by 
- 
15 February 2024 at 10:26 #29782I have the same problem. However, in the diagram in the description https://mischianti.org/lora-e32-device-for-arduino-esp32-or-esp8266-library-part-2/#Fully_connected_schema 
 is a different connection. Which one is valid?
 Pins 2,3,4,5,6 are used.
 Elkez.
- 
15 February 2024 at 10:49 #29784Hi Elkez, 
 enable debug and post all the output of the 2 microcontrollers.
 Bye Renzo
- 
31 March 2024 at 12:34 #30232Ensure proper wiring, matching configurations, and check for potential interference. Debug step by step, verify code integrity, and ensure adequate power supply for both Lora E32 and Arduino Nano. 
 
- 
- 
		AuthorPosts
- You must be logged in to reply to this topic.

 
 
																			


 
