Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LoRa->RAK811 pins configuration #859

Closed
RAKWireless opened this issue Jan 7, 2020 · 5 comments
Closed

LoRa->RAK811 pins configuration #859

RAKWireless opened this issue Jan 7, 2020 · 5 comments
Labels
documentation 📚 Improvements or additions to documentation

Comments

@RAKWireless
Copy link

RAKWireless commented Jan 7, 2020

Power on for LoRa chip:

  pinMode(RADIO_XTAL_EN, OUTPUT);  //Power LoRa module
  digitalWrite(RADIO_XTAL_EN, 1);

External antenna receiving and transmitting state switching pin configuration:

Receive state:

  pinMode(RADIO_RF_CRX_RX, OUTPUT);  
  digitalWrite(RADIO_RF_CRX_RX, 1);  //control LoRa work to receive
  pinMode(RADIO_RF_CTX_PA, OUTPUT);  
  digitalWrite(RADIO_RF_CTX_PA, 0);  //

Transmit state:

  pinMode(RADIO_RF_CRX_RX, OUTPUT);  
  digitalWrite(RADIO_RF_CRX_RX, 0);  
  pinMode(RADIO_RF_CTX_PA,OUTPUT);  
  digitalWrite(RADIO_RF_CTX_PA, 1);  //control LoRa send by PA_BOOST
@fpistm
Copy link
Member

fpistm commented Jan 7, 2020

Hi @RAKWireless
What is the issue ? What did you expect?
Is it for an example ? If yes I guess it could be fine to add them in the Wiki?

@fpistm fpistm added the waiting feedback Further information is required label Jan 7, 2020
@RAKWireless
Copy link
Author

Hi fpistm,

Sorry for confuse.
We've ever used this BSP on RAK811 LoRa board several days ago, but we found that the RSSI is very weak, for example, the node is only 10m away from the gateway, the RSSI is almost -40...
After debuging, we've fixed this issue. Actually, it is not because BSP, users just should define some pins in their application.
The content we just paste is just used to remind users to define in their application code, when they use RAK811 LoRa board with this Arduino BSP.
More details can be found here:
https://github.com/RAKWireless/RAK811_LoRaWAN_Arduino

@fpistm fpistm added the documentation 📚 Improvements or additions to documentation label Jan 7, 2020
@fpistm
Copy link
Member

fpistm commented Jan 7, 2020

@RAKWireless
What I can propose is to add a note in the Wiki and also reference your repo in it and in the README.md (in the comment field of the RAK811 line).

@RAKWireless
Copy link
Author

OK, i think that will be helpful for users.
Thank you!

@fpistm fpistm closed this as completed in ea86645 Jan 7, 2020
@fpistm
Copy link
Member

fpistm commented Jan 7, 2020

OK done.
https://github.com/stm32duino/wiki/wiki/Connectivities#lora

Do not hesitate to update it if needed.

@fpistm fpistm removed the waiting feedback Further information is required label Jan 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation 📚 Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant