2 years, 3 months ago.

Connecting two Nucleo boards via LoRa

Hi everybody, It may sounds like a silly question to somebody but I want to be 100% sure of what I am going to do and buy, I've never used LoRa before and thus I've no experience in this field. Basically I am working on a telemetry project and I'd like to connect two Nucleo boards via LoRa and make them 'talk' exchanging few bytes every one or two seconds. I've thought to buy two B-L072Z-LRWAN1 boards and start playing with them in order to reach my goal. Could these two boards fulfill my purpose? Do I need extra hardware? Is there any basic example I could look up to? Any help will be greatly appreciated! Thanks in advance. G.G.

1 Answer

2 years, 3 months ago.

Hi there,

When you have 2 same boards you can use PingPong example for test the Lora communication. https://os.mbed.com/teams/ST/code/DISCO-L072CZ-LRWAN1_LoRa_PingPong/

I bought 2 different boards (The discovery board like you want and one shield for the nucleo/discovery board because I wanted to connect it to the internet without a gateway) and I start with these examples https://os.mbed.com/users/LoRaToolbox/code/

I recommand to you check all sensors what you want to connect it to a board and then then check the documentation of that board for pin compatibility and so on. I remember the B-L072Z-LRWAN1 board is not friendly with OneWire, for example.

But... I think you first need to check a rule about LORA, check a radio law for your Country and especiely a Lora limitation, because I am not sure about your data rate "exchanging few bytes every one or two seconds". You will see.

Keep in mind, If you want the signal only around the house, then you not need the Lora and you can save the money.

Best regards