LowCostLoRaGw icon indicating copy to clipboard operation
LowCostLoRaGw copied to clipboard

Raspberry gateway with 2 sx1278

Open zaiplanet opened this issue 3 years ago • 7 comments

Hi sir! I running this project on raspberry 3B+ gateway with 1 sx1278 and 2 node also use sx1278. But while 2 node transmit same time to gateway, gw only received 1 packet from 1 node. Can we set one more sx1278 on second spi on raspberry, sir? Sorry about my english

zaiplanet avatar Aug 12 '21 07:08 zaiplanet

It is theoretically possible but managing both radio modules is very tricky. In your scenario, you may have packet collision. You may need to implement simple listen-before-mechanism with random back-off procedure to limit packet collision.

regards,

CongducPham avatar Aug 17 '21 13:08 CongducPham

Ok sir. Thank u sir

zaiplanet avatar Aug 17 '21 13:08 zaiplanet

How i can enable LBT at nodes with sx1278, sir?

zaiplanet avatar Aug 17 '21 13:08 zaiplanet

You have to implement it yourself using LoRa's CAD mechanism. You can have a look at our modified SX12XX lib and look at the CarrierSense function: https://github.com/CongducPham/LowCostLoRaGw/blob/9f930cdc8393c5bc76e901757c07bcde70f588f2/Arduino/libraries/SX12XX/src/SX127XLT.cpp#L6224

CongducPham avatar Aug 18 '21 08:08 CongducPham

Thank you very much, sir I'll check it 👍

zaiplanet avatar Aug 25 '21 09:08 zaiplanet

hi sir, gateway can send request then node reply?

zaiplanet avatar Oct 23 '21 02:10 zaiplanet

That can be done through a downlink message from the gateway, then the node would decide to send something following the reception of the downlink. regards,

CongducPham avatar Oct 23 '21 07:10 CongducPham