CongducPham / LowCostLoRaGw

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

Can't communicate between Arduino_Simple_Temp <-> Arduino_LoRa_Gateway #172

Open cassiolucas opened 6 years ago

cassiolucas commented 6 years ago

Dear Mr. @CongducPham,

I am trying to test the code using two arduinos and two NiceRF1276 V2.0 (915MHz) modules, so one is the Simple_Temp and the other is Gateway (Arduino_LoRa_Simple_temp and Arduino_LoRa_Gateway).

The only parameter I have changed on both is the #define BAND900

The Simple Temp looks fine, because it loads the module and start sending messages:

image

But I dont receive anything on the gateway side:

image

Do you know why? Maybe there is another parameter which I need to change?

CongducPham commented 6 years ago

Check the PABOOST in the Arduino_LoRa_temp as the NiceRF needs PABOOST. Do the same for the gateway.

cassiolucas commented 6 years ago

I have already tried this but no success, anyway I will give it one more try... Any other idea?

Thank you.

Em qui, 22 de fev de 2018 às 17:35, Congduc Pham notifications@github.com escreveu:

Check the PABOOST in the Arduino_LoRa_temp as the NiceRF needs PABOOST. Do the same for the gateway.

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

cassiolucas commented 6 years ago

Hello @CongducPham

Yes, I have enabled the PABOOST and now it works.

I am just wondering why the RSSI value is not close to 0, the gateway and sensor are just side-by-side:

image

According to the datasheet the module is able to work up to 20dBm power, but, looks like is currently set to +14dBm, how can I change that to +20dBm?

CongducPham commented 6 years ago

When nodes are close, the value you got is normal. You will never get something close to 0.