Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings
Frederic Pillon edited this pageMar 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 moduledigitalWrite(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 receivepinMode(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


[8]ページ先頭

©2009-2025 Movatter.jp