arduino-LoRa icon indicating copy to clipboard operation
arduino-LoRa copied to clipboard

RESET pin -1

Open Samuel-ZDM opened this issue 3 years ago • 2 comments

Hello!

I'm using an Arduino Nano with the RFM95 module. I have a problem when I set the RESET pin to -1. There is an error in the connection.

If I put the RESET on a pin, on pin 6 in my case, the error doesn't appear anymore, but it partially works, because it takes a long time to receive the packets.

NSS: 10 DIO0: 2 DIO1: 3 RESET: -1

Thank you very much in advance.

Samuel-ZDM avatar Jul 07 '21 13:07 Samuel-ZDM

What's the error? It should be able to handle -1 as the pin

morganrallen avatar Jul 07 '21 17:07 morganrallen

Hi! Sorry for the delay. The error occurs when I set the RESET pin to -1, in the Serial Monitor it is shown that the LoRa connections are not correct.

const int csPin = 10; const int resetPin = -1; const int irqPin = 3;

When I set the RESET pin to 6, the error goes away, but my device doesn't work. The device sends the first message, but stops, it seems the device locks up. I soldered pin 6 of the Atmega328 to the RESET of the LoRa module.

Samuel-ZDM avatar Sep 16 '21 21:09 Samuel-ZDM