How to connect a LoRa and Micro-SD module to an Arduino Uno?
Hello first of all.
I ordered a LoRa module online and successfully installed it. The LoRa module occupies pins D9 through D13 on the Arduino Uno, which everything needs to be installed on (for my project, I can only use the Arduino Uno because of its size). However, the transmitted data should be stored on a microSD card. The microSD card module occupies pins D10 through D13. As you can see, they overlap… I'm wondering what I can/should do now. A different storage device (which I haven't found online)? Or maybe something completely different? I would be very happy to hear any ideas or solutions, thank you.
Here again the 2 modules and their connections:
Micro SD module: (I think I had different connections before. It doesn't work there anymore either 😂)
CS-10
SCK-11
MOSI – 13
MISO – 12
LoRa modules:
RST-9
NSS-10
MOSI – 11
MISO – 12
SCK-13
DI00 – 2
SCK MISO and MOSI can be occupied several times only NSS must be different for both modules then works.
The SPI bus can also address more devices.
And where should I connect the NSS pin? How do I talk to him about the idea?
The NSS Pin can be on any GPIO.
You only need to tell your library which pin is the right NSS Pin. Usually, Arduino indicates the in the beginning function.
At least in most libraries I know yours of course not so I can't say much about it.