LoRa
®
Mote User’s Guide
DS40001808B-page 16 2015-2016 Microchip Technology Inc.
TABLE 2-3: MODULE JUMPER CONNECTIONS
Signal
Name
Description
Module Pin
Connection
Mote Function
MCLR
Reset 32 ICSP™ Programmer; Connected to
MODRST (RB5, 13)
GPIO0 General Purpose I/O 35 Unused
GPIO1 General Purpose I/O 36 Unused
GPIO2 General Purpose I/O 37 Unused
GPIO3 General Purpose I/O 38 Unused
GPIO4 General Purpose I/O 39 Unused
GPIO5 General Purpose I/O 40 Unused
GPIO6 General Purpose I/O 43 Unused
GPIO7 General Purpose I/O 44 Unused
GPIO8 General Purpose I/O 45 Unused
GPIO9 General Purpose I/O 46 MODEM_WAKE (RC2, 32)
GPIO10 General Purpose I/O 14 D5 – Orange LED
GPIO11 General Purpose I/O 13 D6 – Green LED
GPIO12 General Purpose I/O 10 Connected to Temperature Sensor;
MODTMPSENS (Analog, ADC)
GPIO13 General Purpose I/O 9 Connected to Ambient Light Sensor;
MODLITESENS (Analog, ADC)
UARTRX Module Communication 7 PIC
®
MCU TX
(RC6, Pin 40)
UARTTX Module Communication 6 PIC
®
MCU RX
(RC7, Pin 1)
CTS Module Communication 3 Unused
RTS Module Communication 2 Unused
+3.3V Power Source 34, 12 +3.3V Rail
GND Ground Reference 1,8,11,20,21,22
,24,26,27,
28,33,41,47
Ground
Getting Started
2015-2016 Microchip Technology Inc. DS40001808B-page 17
2.4 MOTE APPLICATION DESCRIPTION
This section describes the basic operation of the LoRa Mote application program.
The default LoRa Mote application comes with three methods of operation:
USB CDC-Serial Communication
Mobile Mote Sensor Emulation
Application Update via Bootloader
2.4.1 USB CDC-Serial
When a USB Mini-B is connected to the LoRa Mote, it will power-on, regardless of the
power switch S3. If the LoRa Mote is already in operation, the USB connection will take
pre-emptive control and act only as a serial emulation device. After being connected to
a host PC, the LoRa Mote will enumerate. In this operation mode, the user can enter
the required LoRaWAN™ credentials for joining an existing LoRaWAN network.
There is a wide range of third-party serial communication programs which can be used
to communicate with the module populated on the LoRa Mote. Refer to the RN2483
LoRa
®
Technology Module Command Reference User’s Guide (DS40001784) for
additional information on parsing commands directly into the RN module for LoRa
communications.
2.4.2 Mobile Mote Sensor Emulation
When powered using (2) AAA batteries, the LoRa Mote will act in Mobile Mote mode.
This application is best used to demonstrate a real working Internet of Things (IoT)
sensor design.
After power-on, the LoRa Mote will attempt a LoRaWAN network first through either
Activation-By-Personalization (ABP) [S2], or Over-The-Air-Activation (OTAA) [S3];
depending upon the type requested. If the proper keys necessary to join the requested
process (ABP, OTAA), the LoRa Mote will display the message “Valid Keys Required”.
The user will then have to enter the required keys of the module through USB
CDC-Serial mode, and store them using the mac save’ command. The minimal
required credentials for each join process are indicated below:
•OTAA
-DevEUI
-AppEUI
-AppKey
•ABP
- DevAddr
- NwkSKey
-AppSKey
If the proper credentials are entered, the LoRa Mote will automatically join the system.
After joining, the LoRa Mote will enter Running mode.
When running, the LoRa Mote acts as a demonstration device. It is capable of key
LoRa communication events, such as manual uplink packets, automatic periodic uplink
packets, and displaying last received downlink data.
Menu navigation is handled by using S2 for navigation and S3 for selection.
Note: MPCOMMS is required to be installed for USB enumeration. This is
installed automatically together with MPLAB
®
X.
LoRa
®
Mote User’s Guide
DS40001808B-page 18 2015-2016 Microchip Technology Inc.
Table 2- 4 shows the menus with operation descriptions:
2.4.3 Bootloader Behavior
The PIC18LF45K50 is pre-programmed with a bootloader application. Bootloader
mode is initiated by holding either S2/S3 or both push buttons upon power-up.
The bootloader applications are based off the HID bootloader – PIC18 Non-J; the
project is supplied with the Microchip Libraries for Applications (MLA) that can be found
at www.microchip.com/mla.
In addition, the utility supplied with the MLA is used to handle all Mote PIC
®
MCU
application bootloading behaviors.
TABLE 2-4: DESCRIPTION OF MENU OPERATION
Menu Description
Sensor Display Displays Light and Temperature Sensor Data
Issue uplink (S2) issues a confirmed uplink message with sensor data
payload.
(S3) issues an unconfirmed uplink message with sensor data
payload.
(1)
View downlink When the red LED (D5) is lit, a downlink message is ready for
viewing.
This menu will display the received downlink payload.
Menu Timeout Configures/Disables the Sleep time-out features of the Mote.
Disabling this feature will prevent the Mote to automatically enter
sleeping if inactive. If not disabled, the Menu time out contains
varying options in length. Menu time-out length is represented in
seconds.
Perform Periodic
Sleep Uplinks
Configures/Disables the ability for the Mote to issue Uplink
Transmissions when asleep. Configures the rate at which the
Mote is periodically woken from Sleep through use of the
Watchdog Timer. Periodic Uplink Transmission lengths are
represented in minutes.
Select Data Rate Configures the working Data Rate for the RN module. Available
Data Rate options are dependent upon the populated RN module
type. Selection of Adaptive Data Rate (ADR) is also available.
Upon exiting the menu will issue configuration commands to the
RN module where parameter value is “saved”.
Sleep Control The LoRa
®
Mote will automatically enter Sleep if no buttons are
pressed for 30 seconds. The LoRa Mote can be placed into Sleep
manually by selecting the Sleep option in the menus.
Wake-Up events include:
Pressing either S2 or S3 push buttons
A USB plug-in
Periodic WDT (Watchdog Timer) ticks
Module message reception
Note 1: The port number used for Mote uplink messages is randomly selected
between 1-223.
Note: Additionally, the module contains its own bootloader application which can
be accessed/updated as discussed in the RN2483 LoRa
®
Technology
Module Command Reference User’s Guide (DS40001784)

DM164139

Mfr. #:
Manufacturer:
Microchip Technology
Description:
RF Development Tools RN2903 LoR Mote
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet