sandeepmistry / arduino-LoRa

An Arduino library for sending and receiving data using LoRa radios.
MIT License
1.61k stars 620 forks source link

Cant work whit´h dragino gateway #442

Open DiegoDVG opened 3 years ago

DiegoDVG commented 3 years ago

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

IoTThinks commented 3 years ago

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.