CongducPham / LowCostLoRaGw

Low-cost LoRa IoT & gateway with SX12XX (SX1261/62/68; SX1272/76/77/78/79; SX1280/81), RaspberryPI and Arduino boards
694 stars 352 forks source link

Unrecognized Transreceiver #121

Open randr97 opened 7 years ago

randr97 commented 7 years ago

Im using arduino dragino shield v1.4. { no dio pins used}. Its showing unrecognized trans-receiver. Where as the LoRa GPS hat is working fine on the RPi. I'm using arduino uno with dragino Shield v1.4. Thanks

CongducPham commented 7 years ago

On the Dragino shield, CS pin is hard wired to pin 10, so change in the SX1272.h file, the last #define statement (marked in red). Initial value is 2, for Uno format board. Change to 10.

if defined ARDUINO_AVR_PRO || defined ARDUINO_AVR_NANO || defined

ARDUINO_AVR_MICRO || defined ARDUINO_AVR_MINI \ || defined MK20DX256 || defined MKL26Z64

define SX1272_SS 10

elif defined ARDUINO_AVR_FEATHER32U4 || defined ARDUINO_SAMD_FEATHER_M0

// on the Adafruit Feather, the RFM95W is embeded and CS pin is normally on pin 8

define SX1272_SS 8

undef SX1272_RST

define SX1272_RST 4

else

define SX1272_SS 10

endif

Le 28/06/2017 à 15:18, randr97 a écrit :

Im using arduino dragino shield v1.4. { no dio pins used}. Its showing unrecognized trans-receiver. Where as the LoRa GPS hat is working fine on the RPi. I'm using arduino uno with dragino Shield v1.4. Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/CongducPham/LowCostLoRaGw/issues/121, or mute the thread https://github.com/notifications/unsubscribe-auth/ABNEN40R4CjEer58YwoZ4YYBCSN9ZH3bks5sIlKtgaJpZM4OH8_P.

C. Pham.

-- ------------ Congduc PHAM - Professor -------------------------- LIUPPA - Equipe T2I U.P.P.A. Pau http://liuppa.univ-pau.fr/ http://www.univ-pau.fr
UPPA, LIUPPA laboratory, UFR Sciences et Techniques
Avenue de l'Université - BP 1155
64013 PAU CEDEX, FRANCE
phone: [33] (0) 5 59 40 75 94
fax: [33] (0) 5 59 40 76 54
Congduc.Pham@univ-pau.fr http://www.univ-pau.fr/~cpham
----------------------------------------------------------------
randr97 commented 7 years ago

Tried the edit ...... still problem exists........also tried un-commenting #define PABOOST in the arduino .ino {ping pong file}. Still didn't work. Also tried the edit mentioned in dragino page. http://wiki.dragino.com/index.php?title=Lora_Shield this also didn't work. Thanks

CongducPham commented 7 years ago

Well, then I don't know. regards,

Le 28/06/2017 à 16:23, randr97 a écrit :

Tried the edit ...... still problem exists........also tried un-commenting #define PABOOST in the arduino .ino {ping pong file}. Still didn't work. Also tried the edit mentioned in dragino page. http://wiki.dragino.com/index.php?title=Lora_Shield this also didn't work. Thanks

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/CongducPham/LowCostLoRaGw/issues/121#issuecomment-311675419, or mute the thread https://github.com/notifications/unsubscribe-auth/ABNEN3bDBceSu8uu20xoEbr4fhJ-mFslks5sImH6gaJpZM4OH8_P.

C. Pham.

-- ------------ Congduc PHAM - Professor -------------------------- LIUPPA - Equipe T2I U.P.P.A. Pau http://liuppa.univ-pau.fr/ http://www.univ-pau.fr
UPPA, LIUPPA laboratory, UFR Sciences et Techniques
Avenue de l'Université - BP 1155
64013 PAU CEDEX, FRANCE
phone: [33] (0) 5 59 40 75 94
fax: [33] (0) 5 59 40 76 54
Congduc.Pham@univ-pau.fr http://www.univ-pau.fr/~cpham
----------------------------------------------------------------