CongducPham / LowCostLoRaGw

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

Compatibility with Lora semtech SX1272 #47

Open lucasf100 opened 7 years ago

lucasf100 commented 7 years ago

Hi, Im using a Semtech LORA SX1272, I already load the program on my arduino Uno but its not reconized by the programm, How can we fix it ?

Friendly Lucas.E

CongducPham commented 7 years ago

Normally it is supported what are the error messages? Check the SPI pins. What is your board?

regards,

Le 04/11/2016 à 10:53, lucasf100 a écrit :

Hi, Im using a Semtech LORA SX1272, I already load the program on my arduino Uno but its not reconized by the programm, How can we fix it ?

Friendly Lucas.E

— 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/47, or mute the thread https://github.com/notifications/unsubscribe-auth/ABNEN3qq7PvpYOln7hMdwhDLVKwnQVMuks5q6wCNgaJpZM4KpW4J.

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 5 59 40 75 94
fax: 33 5 59 40 76 54
Congduc.Pham@univ-pau.fr http://www.univ-pau.fr/~cpham
----------------------------------------------------------------
lucasf100 commented 7 years ago

Hi, The errors is : " the card is not supported " My board is an arduino UNO I ll check the pins also Regards

CongducPham commented 7 years ago

I don't know what sketch you are running. I'm not sure that this message comes from the communication library nor the sketch examples.

regards,

Le 04/11/2016 à 14:14, lucasf100 a écrit :

Hi, The errors is : " the card is not supported " My board is an arduino UNO I ll check the pins also Regards

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

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 5 59 40 75 94
fax: 33 5 59 40 76 54
Congduc.Pham@univ-pau.fr http://www.univ-pau.fr/~cpham
----------------------------------------------------------------
lucasf100 commented 7 years ago

Ok, I'll look into tomorrow and send you the exact information

lucasf100 commented 7 years ago

Hi, I got this : "LoRa temperature sensor, extended version Unrecognized transceiver ... ... "

CongducPham commented 7 years ago

On the Uno, the CS pin should be connected to digital pin 2. Please check the SPI connections.

regards,

Le 05/11/16 à 13:29, lucasf100 a écrit :

Hi, I got this : "LoRa temperature sensor, extended version Unrecognized transceiver ... ... "

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

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 5 59 40 75 94
fax: 33 5 59 40 76 54
Congduc.Pham@univ-pau.fr http://www.univ-pau.fr/~cpham
----------------------------------------------------------------
lucasf100 commented 7 years ago

Yes ! I forgot that, I try and I tell you if its working Regards Lucas

lucasf100 commented 7 years ago

Hi, Now I got this : " LoRa temperature sensor, extended version SX1272 detected, starting ... ... ... ... ... ..." I need to wait the loading or I miss something ?

Regards Lucas

CongducPham commented 7 years ago

What is exactly your lora radio module? It is an Libelium SX1272? Seems that the connection is now ok, but the radio is unstable.

lucasf100 commented 7 years ago

The Radio Module is a Semtech SX1272, http://images.google.fr/imgres?imgurl=https%3A%2F%2Fdeveloper.mbed.org%2Fmedia%2Fcomponents%2Fpinouts%2FxPictureOfficial.jpg.pagespeed.ic.FzyoBOGJLz.jpg&imgrefurl=https%3A%2F%2Fdeveloper.mbed.org%2Fcomponents%2FSX1272MB2xAS%2F&h=1104&w=1150&tbnid=3gCVY6zRPZvbKM%3A&vet=1&docid=kVSZ-4WGi5UHvM&ei=CaogWMq1HoKVUau_juAL&tbm=isch&iact=rc&uact=3&dur=897&page=0&start=0&ndsp=9&ved=0ahUKEwiK3r3UhpfQAhWCShQKHaufA7wQMwgeKAEwAQ&bih=490&biw=1024

CongducPham commented 7 years ago

So you just have to connect the SPI pins (MOSI, MISO, NSS and SCK) and the 3.3 and GND pins, nothing else. NSS must be on digital 2. For MISO, MOSI and SCK, either use the ICSP header or SCK to pin 13, MOSI to pin 11 and MISO to pin 12 on your Uno.

lucasf100 commented 7 years ago

Hi, I have connected the pins, and I ve got this message: "LoRa temperature sensor, extended version Unrecognized transceiver" Now the card is unknow :/

lucasf100 commented 7 years ago

Im trying something else

lucasf100 commented 7 years ago

Now Its working but Only on the ICSP! not on the Digital pin of the arduino Regards Lucas

lucasf100 commented 7 years ago

It Worked only once time, after a succes try I connect a temperature sensor on the lora shield and after the card is didnt recognize like before.... Now even if I try with out captor its still not working I got this : "LoRa temperature sensor, extended version Unrecognized transceiver" Regards

CongducPham commented 7 years ago

So maybe, try to comment LOW_POWER to not use low power. Maybe that is an issue with the LoRa card that you are using.

Le 08/11/2016 à 16:53, lucasf100 a écrit :

It Worked only once time, after a succes try I connect a temperature sensor on the lora shield and after the card is didnt recognize like before.... Now even if I try with out captor its still not working I got this : "LoRa temperature sensor, extended version Unrecognized transceiver" Regards

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

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 5 59 40 75 94
fax: 33 5 59 40 76 54
Congduc.Pham@univ-pau.fr http://www.univ-pau.fr/~cpham
----------------------------------------------------------------
lucasf100 commented 7 years ago

Hi, I try to comment but still not working :(

lucasf100 commented 7 years ago

Its working :)

CongducPham commented 7 years ago

Great! Good to hear!

regards,

Le 10/11/16 à 16:52, lucasf100 a écrit :

Its working :)

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

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 5 59 40 75 94
fax: 33 5 59 40 76 54
Congduc.Pham@univ-pau.fr http://www.univ-pau.fr/~cpham
----------------------------------------------------------------
ccalas commented 7 years ago

Hi Lucas ! I'm having the same problem.. Could you please tell me how you finally connect the semtech module to the Uno ?

Colin

lucasf100 commented 7 years ago

Hi, You need to connect to the ICSP on the arduino

Lucas

ccalas commented 7 years ago

Hi, thanks for your reply ! Anyway it worked without de ICSP header.

Colin