RisingHF

 

RisingHF’s RHF76-052 module is an economical choice to connect with KotahiNet’s network. It is a transceiver and therefore needs the MCU to run the LoRaWAN network stack. A quick way to evaluate the module and test connect with KotahiNet is to use their standalone RHF3M076 which is a USB LoRaWAN AT Modem that can be plugged into a computer.

In small quantities, the RHF76-052 is US$16 (about $24) and RHF3M076 is US$ 43 (about $63).

 

Setup
Connect the RHF3M076 to a PC using a USB cable. It should set up automatically as a serial device. Use any serial terminal to connect. Settings are default- 9600 bps, 8 bits, no parity, 1 Stop bit, no flow control. All commands need to be terminated with <CR><LF> and any replies will also be terminated by the same sequence. Turn screen echo on.

Configuring the RHF3M076 uses AT commands and is somewhat similar to configuring the Microchip RN2483 with mac commands.

Limitations
If you find that entering AT into the serial terminal immediately leads to a response “+INFO: Input timeout, start parse” making it impossible to enter any AT commands, type AT+UART=Timeout,0 in a notepad and then copy and paste that into the serial terminal. This disables the timeouts.

RHF76-052 module

RHF76-052 module

RHF3M076 demo unit

RHF3M076 demo unit

 

Configuration

// Disable timeouts

AT+UART=Timeout,0

+INFO: Input timeout, start parse

+UART: TIMEOUT is disabled

// Set Device EUI. Note this is for testing only. Contact KotahiNet for your own credentials

at+id=DevEUI,”11-11-AA-AA-00-00-00-AA”

+ID: DevEui, 11:11:aa:aa:00:00:00:aa

// Set App EUI. Note this is for testing only. Contact KotahiNet for your own credentials

at+id=AppEUI,”BE-7A-00-AA-BE-7A-00-AA”

+ID: AppEui, be:7a:00:aa:be:7a:00:aa

// Set Application Key. Note this is for testing only. Contact KotahiNet for your own credentials

at+key=AppKey,”F770E472954FC4F5A4FAF250AAFDC814″

+KEY: APPKEY F7 70 E4 72 95 4F C4 F5 A4 FA F2 50 AA FD C8 14

// Configure channel 0. Default data rates are OK.

at+ch=0,865.0

+CH: 0,865000000,DR0:DR5

// Configure channel 1

at+ch=1,865.2

+CH: 1,865200000,DR0:DR5

// Configure channel 2

at+ch=2,865.4

+CH: 2,865400000,DR0:DR5

// Configure channel 3

at+ch=3,866.2

+CH: 3,866200000,DR0:DR5

// Configure channel 4

at+ch=4,866.4

+CH: 4,866400000,DR0:DR5

// Configure channel 5

at+ch=5,866.6

+CH: 5,866600000,DR0:DR5

// Configure channel 6

at+ch=6,866.8

+CH: 6,866800000,DR0:DR5

// Configure channel 7

at+ch=7,867.0

+CH: 7,867000000,DR0:DR5

// Configure channel 8. Set bandwidth to 250 kHz, Spreading Factor 7

at+ch=8,865.6,DR6

+CH: 8,865600000,DR6

// Set RX Window 2

at+rxwin2=867.2,DR3

+RXWIN2: 867200000,DR3

// Set transmission power to maximum

at+power=20

+POWER: 20

// Set Adaptive Data Rate on

at+adr=on

+ADR: ON

// Set join mode to Over The Air Activation

at+mode=lwotaa

+MODE: LWOTAA

// Connect to network

at+join

+JOIN: Starting

+JOIN: NORMAL, count 1, 0s, 0s

+JOIN: Network joined

+JOIN: NetID 4C5254 DevAddr a8:19:32:27

+JOIN: Done

// Send confirmed hexadecimal test message

at+cmsghex=”123456″

+CMSGHEX: Start LoRaWAN transaction

+CMSGHEX: TX “12 34 56 ”

+CMSGHEX: Wait ACK

+CMSGHEX: ACK Received

+CMSGHEX: RXWIN1, RSSI -109, SNR 1.75

+CMSGHEX: Done