The core of WisNode is the RAK811 LoRa module, and its interface is a universal Arduino interface, which means you can easily connect to any open source hardware with such an interface. As long as the user writes the control code on the Arduino IDE, the communication between LoRaWAN and LoRa P2P can be quickly realized.
To develop Arduino program, you can refer to the API manual:WisNode_Arduino_Library API Manual V1.1.pdf
-
Install Arduino IDE First, you need to install the Arduino IDE. From the link below, select the version that suits your platform. https://www.arduino.cc/en/main/software
-
Install the Arduino library
WisNode is controlled by AT commands. RAKWireless provides an encapsulation library for Arduino developers. AT commands are encapsulated as APIs, which are convenient for developers to call.
a. Download the
Arduino-RAK811-Library folderin the repository.The current warehouse supports version RAK811 WisNode V1.3.
If you are using RAK811 WisNode in V1.1 version, please download RAK811 WisNode through this link:
If you are using RAK811 WisNode in V1.2 version, please download RAK811 WisNode through this link:
b. Copy to the Arduino library directory, usually it's in
C:\Users\<UserName>\Documents\Arduino\librariesfor Windows, and in~/Documents/Arduino/libraries/for Linux and Mac OS X.c. Reopen the Arduino IDE, you can see
Arduino-RAK811-Libraryin the menu, indicating that the library is successfully installed.d. Before compiling the routine, you need to modify the serial port configuration of the development board. Open the Arduino IDE installation directory, find the
<Arduino_installation_directory>\hardware\arduino\avr\cores\arduino\HardwareSerial.hfile, and modify the size of the serial port receiving and sending buffers.
-
Please install the “STM32CubeProgrammer” tool on your Windows PC. You can download it from here:
or from RAK website:
https://downloads.rakwireless.com/en/LoRa/RAK811/Tools/SetupSTM32CubeProgrammer-2.1.0.rar
-
Please download the WisNode-Arduino version of the firmware from here:
ps:The firmware version has H and L distinction, which corresponds to different frequencies available.
WisNode-Arduino version-H:EU868、IN865、US915、AU915、KR920、AS923
WisNode-Arduino version-L:EU433、CN470
-
jump the “BOOT” pin and “3V3” pin for boot mode as following:
-
Connect RAK811 WisNode with your PC’s USB interface, Open the “STM32CubeProgrammer” tool, and select UART type, then configure the Port, Baudrate, and Pairty .Then press “Connect” button at the top right corner.
-
Press “Open file” and selectthe WisNode-Arduino version hex file in the pop-up window,And press the “Download” button to start the burning process:
-
Burn successfully, restore to the initial state.
RAKWireless provides LoRaWAN communication routines for WisNode, including OTAA and ABP modes. Open the OTAA example, you need to get the value of app_eui, dev_eui, app_key from your LoRa Server. And set these values to the corresponding DevEui, AppEui, AppKey variables.
Compile the code, download it to the target board, and see the log from the Arduino serial monitor.
After completing the above steps, connect RAK WisNode to Arduino Uno, and connect RAK WisNode to the jumper as shown in the figure below.
ps:Since there are two other previous versions of the RAK Wisnode hardware,to accommodate all users, here are the other two versions of the connection and the success stories.
If your Version of RAK WisNode is V1.1, see how to connect in this link:
If your Version of RAK WisNode is V1.2, see how to connect in this link:
Server and serial console log:
If the log does not display properly, it can be resolved by restarting the board.
If you have any questions, welcome to the forum.









