arduino-LoRa icon indicating copy to clipboard operation
arduino-LoRa copied to clipboard

Cant work whit´h dragino gateway

Open DiegoDVG opened this issue 4 years ago • 1 comments

hi, this is my code,

#define BAND 868E6 @de //LORA lora_spi.begin(SCK, MISO, MOSI, SS); LoRa.setPins(SS, RST, DIO0); LoRa.setSPI(lora_spi); if (!LoRa.begin(BAND)) { Serial.println("Fallo Lora!"); } LoRa.setSpreadingFactor(7); LoRa.setSignalBandwidth(125E3); LoRa.enableCrc();

I use this library in my arduino with this gateway https://www.dragino.com/products/lora/item/143-lg01n.html

I change the frecuency in the gateway and the sync world, but i cand recive data,

Anyone use this combiantion

DiegoDVG avatar Feb 27 '21 19:02 DiegoDVG

You need to find the correct pin mapping of the SPI LoRa in that board. The board is mixed between Arduino board and Linux board.

So try harder.

IoTThinks avatar Mar 01 '21 04:03 IoTThinks