mhmt
mhmt

Reputation: 23

IDs for LoRa modules

I use two SX1278 LoRa Ra-02 modules for communication. I wonder how I can set IDs for these two modules to deny an interference with other LoRa modules which work at the same frequency.

I mean, is there a solution similar to pipe addresses of NRF24l01 communication. Thanks in advance.

Upvotes: 2

Views: 1356

Answers (1)

Tarick Welling
Tarick Welling

Reputation: 3265

Encryption is the answer to blocking snooping on your communication. This can be a basic XOR encryption, a Caesar cipher or even better rsa.

For the unique ID problem: there are several solutions to this problem and it highly depends on the specific microcontroller you are using. A solution was offered on arduino.stackexchange.com.

For example the ESP8266 has a unique ID accessible through this piece of code: ESP.getChipId().

Another option which uses external hardware would be the DS2401 from Maxim Integrated. This is a Silicon Serial Number chip accessible trough a one-wire interface.

Upvotes: 2

Related Questions