Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doubt on Grove RFM95 module pin mapping #272

Open
Percmau opened this issue Mar 6, 2020 · 3 comments
Open

Doubt on Grove RFM95 module pin mapping #272

Percmau opened this issue Mar 6, 2020 · 3 comments

Comments

@Percmau
Copy link

Percmau commented Mar 6, 2020

Hi,

I am having some problems in order to connect my Grove RFM95 Lora module to the things network. The module manufacturer recommends to use the LMIC_LIBRARY to connect this Lora module to TTN. The problem is that the pin mapping of the library is not designed for the UART connector that uses the RFM95 to connect with the Grove UART port. Someone know which pin mapping should I use on the LMIC_Library code (actually using ttn-otaa.ino)?

Thanks and sorry for the inconvenience.

@trlafleur
Copy link

trlafleur commented Mar 6, 2020 via email

@matthijskooijman
Copy link
Owner

I'm a bit confused: Grove connectors have 2 power pins and 2 data pins. The RFM module needs SPI (4 pins) plus two DIO pins, so 6 pins in total.

Looking for the "Grove RFM95" module, I found this one is that the one you're using? (for future reference: It helps to include a link with such questions, so it's clearer what you're talking about).

Looking at the schematic for that module, it seems there is an Atmega168 microcontroller on the module, so I suspect it implements some kind of UART port expander.

In short: I think bthis module is not directly supported by the LMIC library. I guess the library could be modified, but that won't be quite trivial.

If the module supplier recommends a particular library, that library is probably written with this module in mind, so maybe you should use that? I'm pretty sure they did not mean LMIC there, in case that's what you thought?

@Percmau
Copy link
Author

Percmau commented Mar 6, 2020

Yes, I am using this one.
About the library, they mention there, on the Documents field, the LMIC library. That is why I am a bit confused.

However, I will write a message to the module supplier in order to get more information about that. Maybe it is an error from the web of the module supplier. Maybe I am misunderstanding what they are saying.

Thanks for the reply, I will post something when they answer me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants