Note the following details of the code protection feature on Microchip devices:
YSTEM
CERTIFIE DBYDNV
== ISO/TS16949==
•Microchip products meet the specification contained in their particular Microchip Data Sheet.
•Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
•There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
•Microchip is willing to work with the customer who is concerned about the integrity of their code.
•Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC,
FlashFlex, flexPWR, JukeBlox, K
LANCheck, MediaLB, MOST, MOST logo, MPLAB,
OptoLyzer, PIC, PICSTART, PIC
SST, SST Logo, SuperFlash and UNI/O are registered
trademarks of Microchip Technology Incorporated in the
U.S.A. and other countries.
The Embedded Control Solutions Company and mTouch are
registered trademarks of Microchip Technology Incorporated
in the U.S.A.
Analog-for-the-Digital Age, BodyCom, chipKIT, chipKIT logo,
CodeGuard, dsPICDEM, dsPICDEM.net, ECAN, In-Circuit
Serial Programming, ICSP, Inter-Chip Connectivity, KleerNet,
KleerNet logo, MiWi, MPASM, MPF, MPLAB Certified logo,
MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code
Generation, PICDEM, PICDEM.net, PICkit, PICtail,
RightTouch logo, REAL ICE, SQI, Serial Quad I/O, Total
Endurance, TSHARC, USBCheck, VariSense, ViewSpan,
WiperLock, Wireless DNA, and ZENA are trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
SQTP is a service mark of Microchip Technology Incorporated
in the U.S.A.
Silicon Storage Technology is a registered trademark of
Microchip Technology Inc. in other countries.
GestIC is a registered trademarks of Microchip Technology
Germany II GmbH & Co. KG, a subsidiary of Microchip
Technology Inc., in other countries.
All other trademarks mentioned herein are property of their
respective companies.
DS50002366A-page 2Advance Information 2015 Microchip Technology Inc.
Microchip received ISO/TS-16949:2009 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchip’s quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.
®
MCUs and dsPIC® DSCs, KEELOQ
®
code hopping
Object of Declaration: RN2483 LoRa™ Technology PICtail™/PICtail Plus Daughter Board
RN2483 LoRa™ Technology PICtail™/PICtail Plus Daughter Board User’s Guide
NOTES:
DS50002366A-page 6Advance Information 2015 Microchip Technology Inc.
RN2483 LoRa™ TECHNOLOGY
PICtail™/PICtail PLUS DAUGHTER
BOARD USER’S GUIDE
Preface
NOTICE TO CUSTOMERS
All documentation becomes dated, and this manual is no exception. Microchip tools and
documentation are constantly evolving to meet customer needs, so some actual dialogs
and/or tool descriptions may differ from those in this document. Please refer to our web site
(www.microchip.com) to obtain the latest documentation available.
Documents are identified with a “DS” number. This number is located on the bottom of each
page, in front of the page number. The numbering convention for the DS number is
“DSXXXXXXXXA”, where “XXXXXXXX” is the document number and “A” is the revision level
of the document.
For the most up-to-date information on development tools, see the MPLAB
Select the Help menu, and then Topics to open a list of available online help files.
®
IDE online help.
INTRODUCTION
This chapter contains general information that will be useful to know before using the
RN2483 LoRa™ Technology PICtail™/PICtail Plus Daughter Board. Items discussed
in this chapter include:
• Document Layout
• Conventions Used in this Guide
• Recommended Reading
• The Microchip Web Site
• Development Systems Customer Change Notification Service
• Customer Support
• Document Revision History
DOCUMENT LAYOUT
This document describes how to use the RN2483 LoRa™ Technology PICtail™/PICtail
Plus Daughter Board as a development tool to emulate and debug firmware on a target
board, as well as how to program devices. The document is organized as follows:
• Chapter 1. “Overview” – This chapter describes the RN2483 LoRa™ Technology
PICtail™/PICtail Plus Daughter Board and presents various board configurations.
• Chapter 2. “Getting Started” – This chapter describes the two main communica-
tion modes and the hardware requirements for getting started with RN2483
LoRa™ Technology PICtail™/PICtail Plus Daughter Board.
• Appendix A. “Board Schematic and PCB Details” – This appendix provides the
RN2483 LoRa™ Technology PICtail™/PICtail Plus Daughter Board ‘s schematic,
PCB layouts and Bill of Materials (BOM).
Choice of mutually exclusive
arguments; an OR selection
Represents code supplied by
user
“Save project before build”
4‘b0010, 2‘hF1
any valid filename
[options]
errorlevel {0|1}
var_name...]
void main (void)
{ ...
}
DS50002366A-page 8Advance Information 2015 Microchip Technology Inc.
RECOMMENDED READING
This user's guide describes how to use LoRa™ Technology PICtail™/PICtail Plus
Daughter Board. Other useful documents are listed below. The following Microchip
documents are available and recommended as supplemental reference resources:
RN2483 Low-Power Long Range LoRa™ Technology Transceiver Module Data
Sheet (DS50002346A)
This data sheet provides detailed specifications for the RN2483 module.
This command reference user’s guide describes how to configure the RN2483 module.
THE MICROCHIP WEB SITE
Microchip provides online support via our web site at www.microchip.com. This web
site is used as a means to make files and information easily available to customers.
Accessible by using your favorite Internet browser, the web site contains the following
information:
• Product Support – Data sheets and errata, application notes and sample
programs, design resources, user’s guides and hardware support documents,
latest software releases and archived software
• General Technical Support – Frequently Asked Questions (FAQs), technical
support requests, online discussion groups, Microchip consultant program
member listing
• Business of Microchip – Product selector and ordering guides, latest Microchip
press releases, listing of seminars and events, listings of Microchip sales offices,
distributors and factory representatives
Preface
DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFICATION SERVICE
Microchip’s customer notification service helps keep customers current on Microchip
products. Subscribers will receive e-mail notification whenever there are changes,
updates, revisions or errata related to a specified product family or development tool of
interest.
To register, access the Microchip web site at www.microchip.com, click on Customer
Change Notification and follow the registration instructions.
The Development Systems product group categories are:
• Compilers – The latest information on Microchip C compilers and other language
tools
• Emulators – The latest information on the Microchip MPLAB
in-circuit emulator
• In-Circuit Debuggers – The latest information on the Microchip in-circuit
debuggers. This includes MPLAB ICD 3 in-circuit debuggers and PICkit
debug express
• MPLAB X IDE – The latest information on Microchip MPLAB X IDE, the
Windows
• Programmers – The latest information on Microchip programmers including the
PICkit™ 3 development programmer
®
Integrated Development Environment for development systems tools
RN2483 LoRa™ Technology PICtail™/PICtail Plus Daughter Board User’s Guide
CUSTOMER SUPPORT
Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Field Application Engineer (FAE)
• Technical Support
Customers should contact their distributor, representative or field application engineer
(FAE) for support. Local sales offices are also available to help customers. A listing of
sales offices and locations is included in the back of this document.
Technical support is available through the web site at:
http://www.microchip.com/support.
DOCUMENT REVISION HISTORY
Revision A (April 2015)
This is the initial release of this document.
DS50002366A-page 10Advance Information 2015 Microchip Technology Inc.
1.1INTRODUCTION
The RN2483 LoRa™ Technology PICtail™/PICtail Plus Daughter Board is a
demonstration board that showcases the Microchip RN2483 Low-Power Long Range,
™
LoRa
The RN2483 LoRa Technology PICtail/PICtail Plus Daughter Board provides access to
the RN2483 UART and General Purpose Input and Output (GPIO) ports.
This chapter discusses the following topics:
• Features
• Contents
• Board Configuration
1.2FEATURES
RN2483 LoRa™ TECHNOLOGY
PICtail™/PICtail PLUS DAUGHTER
BOARD USER’S GUIDE
Chapter 1. Overview
Technology Transceiver Module.
The RN2483 LoRa Technology PICtail/PICtail Plus Daughter Board has the following
features as represented in Figure 1-1:
1. Microchip RN2483 Low-Power Long Range, LoRa
Module
2. SMA connector for 433 MHz band
3. SMA connector for 868 MHz band
4. Solder pads around the module for GPIOs, power pins and communication
RN2483 LoRa™ Technology PICtail™/PICtail Plus Daughter Board User’s Guide
2
1
4
5
6
9
3
4
8
7
12
11
10
FIGURE 1-1:RN2483 LORA™ TECHNOLOGY PICtail™/PICtail PLUS
DAUGHTER BOARD
The high-speed UART interface and the GPIO ports are available on the module to
configure, control, and transfer data. The RN2483 LoRa Technology PICtail/PICtail
Plus Daughter Board has PICtail and PICtail Plus connectors to interface with a PIC
®
microcontroller (MCU) on the development boards that support PICtail or PICtail Plus
interface with the required pin mapping. The PICtail board also has an on-board PIC18
MCU available for custom user functions. It is preprogrammed to provide a simple
USB-to-UART serial bridge enabling easy serial connection.
Demonstration of the RN2483 is performed by plugging the daughter board into a USB
port of a PC. The USB port powers the daughter board and enables the user to
communicate using the RN2483’s ASCII commands.
Development of the RN2483 with Microchip’s PIC MCU line is possible via the 28-pin
PICtail connector to a PIC18 Explorer or 30-pin card edge PICtail Plus connector to an
Explorer 16.
DS50002366A-page 12Advance Information 2015 Microchip Technology Inc.
1.3CONTENTS
The package kit contents contain the following tools as listed in Table 1-1.
TABLE 1-1:RN2483 LORA™ TECHNOLOGY PICtail™/PICtail PLUS
DAUGHTER BOARD
DescriptionPart Number
RN2483 LoRa™ Technology PICtail™/PICtail Plus
Daughter Board
USB Cable—
433 MHz antenna—
868 MHz antenna—
1.4BOARD CONFIGURATION
Prior plugging the module into the motherboard's socket, ensure that one of the current
measure jumpers, CUR1 or CUR2, are shunted.
PICtail Daughter Board can be powered from two sources, either from one of the
PICtail headers or from USB. Both power sources can be active at the same time.
RF antennas must be connected to the SMA connectors prior attaching power to the
board.
Ensure that the applied power supply voltage does not exceed the board limits.
Figure 1-2, Figure 1-3, and Figure 1-4 show the connection to various development
boards.
Overview
RN-2483-PICtail
FIGURE 1-2:RN2483 LORA™ TECHNOLOGY PICtail™/PICtail PLUS
DAUGHTER BOARD CONNECTED TO EXPLORER 16
DEVELOPMENT BOARD
RN2483 LoRa™ Technology PICtail™/PICtail Plus Daughter Board User’s Guide
FIGURE 1-3:RN2483 LORA™ TECHNOLOGY PICtail™/PICtail PLUS
DAUGHTER BOARD CONNECTED TO PIC18 WIRELESS
DEVELOPMENT BOARD
FIGURE 1-4:RN2483 LORA™ TECHNOLOGY PICtail™/PICtail PLUS
DAUGHTER BOARD CONNECTED TO PICDEM™ PIC18
EXPLORER DEMONSTRATION BOARD
DS50002366A-page 14Advance Information 2015 Microchip Technology Inc.
2.1INTRODUCTION
This chapter describes the hardware requirements for RN2483 LoRa Technology
PICtail/PICtail Plus Daughter Board and also provides the different types of
communication modes.
The module accepts commands via UART interface. Basically, two communication
modes are supported by the daughter board, USB mode and PICtail mode.
PICtail mode gives more computing power to the user program, since motherboards
contain additional MCUs.
This chapter discusses the following topics:
• Communication Modes
• Communication to the Module
• Hardware Description
RN2483 LoRa™ TECHNOLOGY
PICtail™/PICtail PLUS DAUGHTER
BOARD USER’S GUIDE
Chapter 2. Getting Started
2.2COMMUNICATION MODES
2.2.1USB mode
USB mode is initiated if the daughter board is connected to a USB port via a mini-USB
cable. In this mode, the on-board PIC18 MCU provides a USB-to-UART bridge.
Supply voltage is provided via USB and the on-board LDO (IC1) which regulates 5V to
the nominal 3.3V.
2.2.2PICtail mode
PICtail mode is initiated if no USB cable is attached to the board and the board is
plugged into the appropriate motherboard.
Note:User must ensure that PICtail/PICtail Plus port pins are fully compatible to
the pinout of the daughter board.
When USB power is not attached, the on-board PIC18 MCU does not influence UART
communication.
Note:Some motherboards may adjust the supply voltage to the attached MCU
Plug-in Module. Do not exceed the supply voltage limits of the module.
2.2.3PICtail mode with USB connected
The daughter board can be used in a third mode when it is connected to a PICtail
motherboard while the USB is also connected. It is useful when the user wants to set
the supply voltage from the PICtail connector while the communication must be
continuously active via the USB interface. The on-board PIC18 MCU takes over the
control of the UART interface. In this case, the motherboard is unable to send UART
messages to the module, however, the messages sent by the module appear on the
PICtail UART.
RN2483 LoRa™ Technology PICtail™/PICtail Plus Daughter Board User’s Guide
Another case is that the motherboard does not have power supply. In this case, the
motherboard can be powered from the USB together with the daughter board. User
must take care of the maximum output current of the on-board LDO, which is 500 mA.
A short on the jumper JP_RST on the daughter board forces the board to operate in
PICtail mode, although USB remains connected. The jumper JP_RST keeps the
on-board PIC18 MCU in reset state to ensure that USB-to-UART protocol translation is
not performed in this mode. If jumper JP_RST is not shorted, on-board PIC18 MCU has
the priority over the UART communication.
Note:Only 30-pin PICtail Plus connection is detected. If the daughter board is
attached to a 28-pin PICtail connector, the jumper JP_RST has no affect.
2.3COMMUNICATION TO THE MODULE
In PICtail mode, the Microchip 8/16/32-bit PIC MCUs on the motherboards can run
custom functions and connect to the module using the UART interface, which accepts
ASCII commands from the host.
In USB mode, when the daughter board is connected to the host via USB, the on-board
PIC18 MCU uses the CDC class to create a USB-to-UART bridge device. The host can
run a simple terminal emulator application to issue commands.
2.4HARDWARE DESCRIPTION
The RF signal path is connected to the SMA edge connectors. The 433 MHz band RF
signal is transmitted through RFL SMA edge connector, whereas RFH SMA connector
is used for the 868 MHz band.
The current consumption measurement of the module is supported by the on-board
current measure jumpers. If jumper CUR1 is shunted, the supply current flows directly
to the module.
There are two ways to measure current consumption:
• A current meter can be connected to CUR1 jumper pins to measure the actual
current consumption of the module. CUR2 must be left open.
• The current consumption graph can be recorded in the time domain by removing
the shunt from CUR1 jumper and shunting CUR2 at the same time. Use a two
channel oscilloscope, which supports subtracting mathematical function. Connect
oscilloscope probes to CUR1 jumper pins while CUR2 jumper is shunted. Set the
oscilloscope to display the difference between the two channels.
All pins of the module can be accessed via through hole pads which is located on both
sides of the module. User can mount two 1.27 mm pitched socket headers if required.
Sockets can connect the module pins to a custom board, whereas the daughter board
provides the power. The through hole pads are classified into two groups which are
located on both sides of the module. Each pad group, J1 and J2, has a dedicated pad
on which power is delivered to the custom board. The supply current is measured
together with the module's supply current. To do this, JP2 must be shorted for J2 and
JP3 for J1.
If the supply current is separated from the module, the other two jumpers must be
shorted. To power the custom board separately, shunt JP1 or JP4.
The on-board PIC18 MCU is programmable via programming port ICSP_IC2. In USB
mode, LD1 and LD2 LEDs indicate communication on the UART.
DS50002366A-page 16Advance Information 2015 Microchip Technology Inc.
Getting Started
Ta bl e 2- 1 shows the PICtail/PICtail Plus connections to various boards.
TABLE 2-1:PICtail™ AND PICtail PLUS CONNECTIONS
Signal NameDescription
+3V3Positive Supply Rail2621, 22
GNDGround Supply Rail289, 10, 16
Module_TXUART transmit output of the module212
Module_RXUART receive input of the module174
Module_RTSUART Hardware handshake output of
the module
Module_CTSUART Hardware handshake input of the
module
PT_Module_RESETMaster Clear input of the module16
PT+_SENSESensing signal for PICtail Plus connector
(the platform connects this line to GND
when plugged)
(1)
(1)
Pin number on PICtail
connector
419
320
—15
Note 1:Optional handshake lines are supported in future firmware releases.