Skip to content

RFM95W + ESP32C3 - join error -5 #1063

Answered by jgromes
michapr asked this question in Q&A
Apr 12, 2024 · 2 comments · 5 replies
Discussion options

You must be logged in to vote

In that case, you have DIO0 and DIO1 swapped. Your constructor looks like this:

SX1276 radio = new Module(SX1276_CS, SX1276_DIO1, SX1276_RESET, SX1276_BUSY);

However, SX127x constructor expects this (as shown in the examples):

// SX1278 has the following connections:
// NSS pin:   10
// DIO0 pin:  2
// RESET pin: 9
// DIO1 pin:  3
SX1278 radio = new Module(10, 2, 9, 3);

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@michapr
Comment options

@jgromes
Comment options

Answer selected by michapr
@michapr
Comment options

Comment options

You must be logged in to vote
2 replies
@michapr
Comment options

@jgromes
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants