Quick Start- WisNode

Overview

Top three reasons why we like the RAK811 WisNode-LoRa:

  1. Low cost
  2. Works both standalone as well as an Arduino shield
  3. Easy to start with AT commands as well as extend with open source code in CoIDE, a free software development environment using RAK811_LoRaMac_CoIDE

1x1

Get It Now

1x1

1x1

Resources

1x1

Quick Start

Before you start, contact KotahiNet for a free network connection. We will send ABP (Activation By Personalisation) details you need to enter into the code. Remember to check there is network coverage in your area.

Flashing

1. Download and save updated firmware.

2. Download and install STM32 flashing tool. Requires free registration or providing name and email address to STMicroelectronics.

3. Put the board in flashing mode by placing the supplied sleeve so as to bridge the pins 3V3 and BOOT.

 

Putting WisNode in flash mode

4. Connect the board to your computer with a USB cable. It should set up automatically on a COM port.

5. Flash the firmware following instructions on pages 5-7 of the Quick Start Guide.

6. Disconnect board from your computer.

Configure & Send Data

1. Set board to normal mode by placing the supplied sleeve so as to bridge the pins BOOT and GND.

2. Connect the board to your computer with a USB cable again.

3. Use a terminal emulator tool such as Tera Term or PuTTY and connect to the COM port. In Terminal Setup set new-line receive and transmit as CR+LF. Also select local echo. For serial port settings, leave all as default other than setting Baud rate to 115200.

4. Configure the board as below and send data.

IMPORTANT: Change the dev_addr (Device Address), nwks_key (Network Session Key), and apps_key (Application Session Key) in the configuration below to that provided by KotahiNet. Data sent will be visible on a web page. KotahiNet will provide the details about this when providing your ABP details.

Tip: It may be easier to copy and paste the ABP parameters and configuration for channels into the terminal, one line at a time. Typically, pasting is by right mouse button click.

 

at+version

OK1.0.2.3.5

at+set_config=dev_addr:014D066B

OK

at+set_config=nwks_key:405DD9F2F66300825D80BF2D2E44CA80

OK

at+set_config=apps_key:D4F0B91AC3D50A8B25412E1FCC8AB361

OK

at+join=abp

OK

// set channels, data rate, duty cycle, re-transmissions, tx power

at+set_config=ch_list:0,on,864862500,0,5&ch_list:1,on,865062500,0,5&ch_list:2,on,865402500,0,5&ch_list:3,on,865602500,0,5&ch_list:4,on,865985000,0,5&ch_list:5,on,866200000,0,5&ch_list:6,on,866400000,0,5&ch_list:7,on,866600000,0,5&rx2:866550000,0&duty:off&retrans:1&tx_power:20

OK

// send data- confirmed transmission, port, hex data

at+send=1,7,ABC123

OK

at+recv=1,0,0

// send data- unconfirmed transmission, port, hex data
at+send=0,7,ABC124

OK

at+recv=2,0,0