Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Frederic Pillon edited this page Mar 23, 2020 · 1 revision

LoRa

Hereafter some application codes which can be used for RAK811 LoRa board provided by @RAKWireless in #859.

Power on for LoRa chip:

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

External antenna receiving and transmitting state switching pin configuration:

Receive state:
  pinMode(RADIO_RF_CRX_RX, OUTPUT);  
  digitalWrite(RADIO_RF_CRX_RX, HIGH);  //control LoRa work to receive
  pinMode(RADIO_RF_CTX_PA, OUTPUT);  
  digitalWrite(RADIO_RF_CTX_PA, LOW);
Transmit state:
  pinMode(RADIO_RF_CRX_RX, OUTPUT);  
  digitalWrite(RADIO_RF_CRX_RX, LOW);  
  pinMode(RADIO_RF_CTX_PA,OUTPUT);  
  digitalWrite(RADIO_RF_CTX_PA, HIGH);  //control LoRa send by PA_BOOST

More details can be found here: https://github.com/RAKWireless/RAK811_LoRaWAN_Arduino

Clone this wiki locally
Morty Proxy This is a proxified and sanitized view of the page, visit original site.