Warning:Some customers may want Linx radio frequency (“RF”)
Warning:Linx radio frequency ("RF") products may be
!
!
products to control machinery or devices remotely, including machinery
used to control machinery or devices remotely, including machinery
or devices that can cause death, bodily injuries, and/or property
or devices that can cause death, bodily injuries, and/or property
damage if improperly or inadvertently triggered, particularly in industrial
damage if improperly or inadvertently triggered, particularly in industrial
settings or other applications implicating life-safety concerns (“Life and
settings or other applications implicating life-safety concerns. No Linx
Property Safety Situations”).
Technologies product is intended for use in any application without redundancies where the safety of life or property is at risk.
NO OEM LINX REMOTE CONTROL OR FUNCTION MODULE
SHOULD EVER BE USED IN LIFE AND PROPERTY SAFETY
The customers and users of devices and machinery controlled with SITUATIONS. No OEM Linx Remote Control or Function Module
RF products must understand and must use all appropriate safety
should be modified for Life and Property Safety Situations. Such
procedures in connection with the devices, including without limitation,
modification cannot provide sufficient safety and will void the product’s
using appropriate safety procedures to prevent inadvertent triggering by
regulatory certification and warranty.
the user of the device and using appropriate security codes to prevent
Customers may use our (non-Function) Modules, Antenna and
triggering of the remote controlled machine or device by users of other
Connectors as part of other systems in Life Safety Situations, but
remote controllers.
only with necessary and industry appropriate redundancies and
in compliance with applicable safety standards, including without
Do not use this or any Linx product to trigger an action directly
limitation, ANSI and NFPA standards. It is solely the responsibility
from the data line or RSSI lines without a protocol or encoder/
of any Linx customer who uses one or more of these products to
decoder to validate the data. Without validation, any signal from
incorporate appropriate redundancies and safety standards for the Life
another unrelated transmitter in the environment received by the
and Property Safety Situation application.
module could inadvertently trigger the action. This module does not have data validation built in.
Do not use this or any Linx product to trigger an action directly
from the data line or RSSI lines without a protocol or encoder/
All RF products are susceptible to RF interference that can prevent
decoder to validate the data. Without validation, any signal from
another unrelated transmitter in the environment received by the module
communication. RF products without frequency agility or hopping
could inadvertently trigger the action.
implemented are more subject to interference. This module does not have frequency agility built in.
All RF products are susceptible to RF interference that can prevent
communication. RF products without frequency agility or hopping
Do not use any Linx product over the limits in this data guide.
implemented are more subject to interference. This module does not
Excessive voltage or extended operation at the maximum voltage could
have a frequency hopping protocol built in.
cause product failure. Exceeding the reflow temperature profile could
cause product failure which is not immediately evident.Do not use any Linx product over the limits in this data guide.
Excessive voltage or extended operation at the maximum voltage could
Do not make any physical or electrical modifications to any Linx
cause product failure. Exceeding the reflow temperature profile could
product. This will void the warranty and regulatory and UL certifications
cause product failure which is not immediately evident.
and may cause product failure which is not immediately evident.
Do not make any physical or electrical modifications to any Linx
product. This will void the warranty and regulatory and UL certifications
and may cause product failure which is not immediately evident.
Table of Contents
1 Introduction
2 Ordering Information
2 MS Series Decoder Development Board
3 Using the Master Development System
3 Troubleshooting
4 Setting the Transmitter Address
4 Button Assignments
5 The Decoder Board
9 Installing the Software and Drivers
10 Master Development Software
13 Notes
15 Resources
Page 3
MS Keyfob
Master Development System
User's Guide
Figure 1: MS Keyfob Transmitter Master Development System
Introduction
The Linx MS keyfob transmitter offers a simple, efficient and cost-effective
method of adding remote control capabilities to any product. This
Master Development System gives a designer all the tools necessary to
incorporate the transmitter, LR Series receiver and MS Series decoder into
a product. It serves several important functions:
• Rapid Evaluation: It allows the performance and features of the
transmitter, LR Series receiver and MS Series encoders and decoders
to be evaluated quickly in a user’s environment.
• Range Testing: The transmitter and receiver board form a full remote
control system so that the range performance can be evaluated.
• Design Benchmark: The boards provide a known benchmark against
which the performance of a custom design may be judged.
• Application Development: An onboard prototyping area allows for the
development of custom circuits directly on the development board. All
signal lines are available on a header for easy access.
The Master Development System includes 2 MS keyfob transmitters,
2 LR Series receivers*, 2 MS Series decoders*, 1 receiver / decoder
development board,1 CW Series antenna, demonstration software CD and
full documentation.
*One part is soldered to the board, one extra is for use on the first prototype board
– –
1
Revised 3/18/2015
Page 4
Ordering Information
Ordering Information
Part NumberDescription
MDEV-***-HH-KF-MSMS Keyfob Master Development System
*** = 418 (Standard) or 433MHz
Using the Master Development System
Using the Master Development System is straightforward. After unpacking
the board, screw the antenna onto the connector, install the supplied
9V battery, and turn on the power switch. The encoder and decoder are
configured at the factory and work straight out of the box. To create a new
address, follow these easy steps:
Figure 2: Ordering Information
MS Series Decoder Development Board
5
1
6
2
3
Figure 3: The MS Series Decoder Development Board
4
1. 9V Battery
2. Power Jack
3. On-Off Switch
4. Voltage Regulator
5. QS Series USB Module
6. Prototype Area
7. Break-Out Header
7
13
8. RP-SMA Antenna Connector
9. LR Series Receiver
10. MS Series Decoder
11. Data Line LEDs
12. Indicator LEDs
13. Function Switches
14. LEARN Button
11
10
12
14
1. Press and hold the CREATE_ADDR button on the transmitter to create
a new Code Word. This is done by sticking a paper clip through the
hole on the back of the case and pressing the button inside. The
Address is randomized for as long as the button is held down. Once
comfortable that the number is sufficiently random, release the button.
2. Once the button is released, the MODE_IND LED begins to flash to
indicate that it is ready to accept Control Permissions. Press all of the
8
data line buttons that are to be recognized, then press the CREATE_
ADDR button again or let it time out after seventeen seconds.
3. Press the LEARN button on the decoder board and the MODE_IND
9
LED starts flashing. Press any of the data line buttons on the
transmitter and press the LEARN button again. The encoder’s Address
has now been learned by the decoder and they will operate together.
Troubleshooting
If the boards fail to work out of the box, then try the following:
• Check the battery to make sure it is not dead.
• Make sure the baud rate switches are set to 9,600bps on the decoder
board.
• Make sure that the antenna is connected.
• Check to see if the PDN switch is on, placing the decoder into Power
Down Mode. In most cases, the encoder PDN switch should be on.
• Make sure that you set your Control Permissions correctly. If you have
not set the encoder to use a particular line, then when you press a
button on the encoder board, the MODE_IND LED on the decoder
board lights up, but the data line LED does not light up.
If all of these appear to be in order, then call +1 800 736 6677 or e-mail
[email protected] for technical support.
– –
23
– –
Page 5
Setting the Transmitter Address
The address is changed by using a paper clip
or probe to press the CREATE_ADDR button
on the board through the hole in the back
of the case. When the button is depressed,
an LED lights up on the front of the keyfob,
indicating that the address is being created.
The address is randomized for as long as
CREATE_ADDR
Button Access
the button is held down. When the button is
released, the randomized address is saved
and the LED begins flashing to indicate that
the Control Permissions may now be set.
Figure 4: CREATE_ADDR Button Access
Press the buttons that the Keyfob user will have the authority to access.
Press the CREATE_ADDR button with the paper clip again or wait 17
seconds for it to time out. The address and Control Permissions are
now set. The decoder needs to learn the address before it accepts any
transmissions. Please see the MS Series Decoder Data Guide for details.
Button Assignments
The Keyfob is available in five button configurations. Those configurations
and the corresponding switch numbers are shown in Figure 5. The table
shows which encoder data line has been assigned to each switch. When a
button is pressed, the data line goes high, causing the corresponding data
line on the decoder to go high if the address has been learned.
S5
S4
S2
S4
S5
S2
The Decoder Board
The decoder board included with the evaluation kit uses the LR Series
receiver to receive the signal from the Keyfob transmitter and then
feeds it into the MS Series decoder. The board is designed to allow full
access to the many features of the decoder and to speed development
and integration of the LR and MS into a product. The following sections
describe the features of this board in detail.
The Prototyping Area
The prototyping area on the decoder board contains a large area of plated
through-holes so that external circuitry can be placed on the board.
This circuitry can be interfaced with the MS Series decoder through the
breakout header to the right of the holes. At the bottom of this area is a row
connected to the 3V power supply and at the top is a row connected to
ground.
All of the data lines are connected to a wire-wrap header to the right,
allowing easy access from the prototyping area. The Decoder Data and
TX ID lines are also available on the header as well as the PDN line from
the RF module. This allows complete control of the entire system from the
prototyping area, giving the designer a great deal of flexibility in using the
board.
The Power Supply
The power supply on the decoder board consists of a standard 9V battery
and power jack connected to a 3.0V voltage regulator. It can provide
approximately 500mA of current to the prototyping area, so if the added
circuitry needs more than this, the designer must add an external supply.
If the circuit consistently draws more than 100mA of current, it might be
better to use the power jack rather than the battery, as the battery may run
down fairly quickly, reducing testing and development time.
S4
S3
S1
S2
Figure 5: OTX-***-HH-KF#-MS Button Assignments
S4
S1
S3S5
S2
– –
45
Button Data Line
S1D0
S2D1
S3D2
S4D3
S5D4
The jack accepts a standard 5.5mm plug with the tip ground and the outer
shell 7 to 16VDC positive supply. While a reverse voltage protection diode
has been included on the board to protect the circuitry in case the voltage
on the plug is reversed, it is still a good idea to double-check the polarity.
– –
Page 6
The RF Area
Figure 6 shows the RF area of the development board. The board uses the
LR Series receiver as shown. Attach the included antenna to the reverse
polarity SMA connector before operation.
There are four switches to the left of the CREATE / LEARN button. BSEL0
and BSEL1 are used to set the baud rate of the decoder as shown in
Figure 8. The Keyfob transmitter is set to 9,600bps, so BSEL0 should be
on and BSEL1 should be off. If the switch is up, then the line is high (on); if
down, then the line is low (off).
Baud Rate Selection
BSEL1BSEL0Baud Rate
002,400
019,600
1019,200
1128,800
Figure 6: The Decoder Board RF Area
The Decoder Area
Figure 7 shows the decoder area of the development board.
Figure 7: The Decoder Area
The decoder is in the center beneath the Linx logo. To the left are LEDs that
are connected to the decoder data lines. These light up when the decoder
receives a signal from the transmitter instructing it to take the data line high.
LED D0 corresponds to data line D0 and so forth.
Beneath the decoder are two LEDs. D12 is connected to the MODE_IND
line. D8 is connected to the RX_CNTL line and provides visual feedback
by lighting up when the decoder activates the receiver when in RX Control
Mode.
Figure 8: Baud Rate Selection
Note: The decoder board must be set to the same baud rate as the
transmitter in order for the signal to be received correctly.
The PDN switch connects the RX_CNTL line of the encoder to the PDN line
of the receiver so that the RX Control Mode can be tested. This mode is
described in the MS Series Decoder Data Guide.
The LATCH switch places the decoder into Latch Mode when on, so that
the data lines go high when a valid signal is received and stay high until
a second valid signal is received. If the switch is off, the data lines are
momentary.
Under the LEDs is a button that is connected to the LEARN line. This
button is used to learn the Address from the encoder as described in the
MS Series Decoder Data Guide.
– –
67
– –
Page 7
The USB Area
The decoder board has a Linx SDM-USB-QS-S USB module for use with
the included development software. This module is powered by the USB
bus, so it does not pull any current from the battery. Figure 9 shows this
section.
Figure 9: The Decoder Board USB Area
The microcontroller on the right monitors the data lines and generates
commands that are sent to the development software on the PC via the
QS Series USB module. The RX_IND LED to the left of the module flashes
to indicate that data is being received from the PC, and the TX_IND line
flashes to indicate that the module is sending data to the PC.
Installing the Software and Drivers
The Master Development System uses the QS Series USB module to
provide a simple serial interface to a PC via a USB connection. The module
requires drivers to be installed on the PC before it can function properly.
The QS Series drivers are included on the CD with the software.
The first time the QS module is plugged into the computer, Windows
displays the Found New Hardware Wizard, which guides you through
installing the drivers. Application Note AN-00201 describes the installation
of the drivers in detail. The drivers should be installed before running the
Development Software.
The MS Series Master Development Software automatically starts when the
CD is inserted and the player in Figure 10 appears.
Exit
Player Screen
The QS Series USB module provides a simple serial link to a PC via a
USB connection. It converts logic-level serial signals to USB-compliant
signals and vice versa, so it can be connected to virtually any serial device,
including microcontrollers, RS-232 / RS-485 level converters, or Linx RF
modules. It is completely self-contained, requiring only a USB type B jack,
and includes all necessary firmware and drivers.
– –
89
View Documentation
Install Software
Figure 10: Software Installer
Play Movie
Selection Keypad
Go to the
Linx Website
Clicking the Install Software button starts the Installation Wizard, which
guides you through the installation of the development software. The View
Documentation button shows a list of the application notes and manuals
related to the MS Series. Selecting one of these opens the file in Adobe
Acrobat. The Play Movie button plays a short video about Linx on the
Player Screen, which can be controlled with the Selection Keypad. Clicking
the button on the bottom right of the player opens the Linx Technologies
website in the computer’s default browser.
The View Documentation list allows for the installation of Adobe Acrobat
Reader so that the documents may be viewed. There is also the option
of installing Flash, which may be required if the Linx video does not play
correctly.
– –
Page 8
Master Development Software
LATCH
RA2/AN2
1
RA3/AN3
2
RA4/AN4
3
RA5/MCLR
4
GND
5
GND
6
RB0/INT
7
RB1
8
RB2/RX
9
RB3
10
RB4
11
RB5/TX
12
RB6/AN5
13
RB7/AN6
14
VCC
15
VCC
16
RA6
17
RA7
18
RA0/AN0
19
RA1/AN1
20
U7
PIC16LF88
GND
VCC
GNDVCC
GND
GND
GND
GND
GND
D7
D4
TX_ID
D6
D3
D0
D1
D2D5
DATA_PC
PDN
DEC_DATA
GND
GND
VCC
RF1ES RF
1
GND
2
NC
3
GND
4
VCC
5
LR PDN
6
LR RSSI
7
LR DATA
8
NC
9
ES AUDIO REF
10
ES AUDIO
11
ES DATA
12
ES RSSI
13
ES PDN
14
GND
15
LR RF
16
U4
RXM-XXX-LRRXM-XXX-ES
GND
PDN
DEC_DATA
RF2
ANT1REVSMAPCB
GND
RF1
ANT2REVSMAPCB
GND
RF2
DATA_PC
5V
1
DAT -
2
DAT+
3
GND
4
GSHD
5
GSHD
6
J2USB-B
USBDP
1
USBDM
2
GND
3
VCC
4
SUSP IND
5
RX IND
6
TX IND
7
485 TX
8
DTR
9
CTS
10
RTS
11
DATA OUT
12
DATA IN
13
DSR
14
DCD
15
RI
16
U5
SDM-USB-QS
GND
GND
GNDGND
R9
200
D11
RX_IND
R10
200
D10
TX_ID
B19V BATTERY
GND
SW15
POWER SWITCH
GND
+
C1220uF
GND
VCC
C210uF
GND
VCC
D9
DIODE400
Vb
SW Vb
Va
J1
PWRJACK
GND
GND
1
Vout
2
Vin
3
U2
VREG-3VVREG-5V (ES RX ONLY)
PDN
1
LVL/AM
2
VCC
3
GND
4
DATA
5
/CLK
6
/CLK SEL
7
LV DET
8
GND
9
RF
10
U8
TXM-xxx-ES
GND
VCC
DATA_OUT
PDNRF2
GND
VCC
GND
1
DATA IN
2
GND
3
LADJ/VCC
4
RF OUT
5
GND
6
VCC
7
PDN
8
U3
TXM-xxx-LR
GND
VCC
GND
GND
DATA_OUT
PDN
RF1
R27
620ohm
POWER SUPPLY SECTION
USB SECTION
RF SECTION
This software is designed to give a complete understanding of how the MS
Series encoders and decoders work together, as well as providing an idea
of how they can be used in a system.
The Master Development software can be used in one of two modes.
The default mode is a software simulation of the system and does not
require any hardware. It simulates two handheld transmitters as well as two
receiving devices. This is a good way of showing how the MS Series can
work in a system by turning on lights and opening doors.
VCC
D5
S6D6S7
D7D4D6
D4S3D3S2D2S1D1S0D0
S5
D5
D5
S4
VCC
VCC
D3D0D1
D2
D2D3D4
VCC
VCC
D0
D1
SEND/DEC_DATA_IN
CREATE/LEARN
SW16
R23
100K
GND
R26
0K
DEC_DATA
SEND
D7
The second mode is for use with the Master Development System. When
the decoder board is plugged into a USB port on the PC, the transmitter
can be used to activate the features in the software. If the LEDs on the
evaluation board turn on, then the LEDs in the program turn on and
activate the corresponding data line function.
Figure 11 is a screen shot of the program set up in Software Operation
Mode for simulating the operation of the system.
Figure 11: MS Encoder / Decoder Demonstration Software
The transmitters are on the right hand side and the receivers are at the
bottom. Complete instructions for using the software can be found by
clicking on the Help label at the top right of the window.
For technical support, product documentation, application notes, regulatory
guidelines and software updates, visit www.linxtechnologies.com
RF Design Services
For customers who need help implementing Linx modules, Linx offers
design services including board layout assistance, programming,
certification advice and packaging design. For more complex RF solutions,
Apex Wireless, a division of Linx Technologies, creates optimized designs
with
RF components and firmware selected for the customer’s application. Call
+1 800 736 6677 (+1 541 471 6256 if outside the United States) for more
information.
Antenna Factor Antennas
Linx’s Antenna Factor division has the
industry’s broadest selection of antennas
for a wide variety of applications. For
customers with specialized needs, custom antennas and design services
are available along with simulations of antenna performance to speed
development. Learn more at www.linxtechnologies.com.
by
(This page is intentionally blank.)
– –
1415
– –
Page 11
Linx Technologies
159 Ort Lane
Merlin, OR, US 97532
Phone: +1 541 471 6256
Fax: +1 541 471 6251
www.linxtechnologies.com
Disclaimer
Linx Technologies is continually striving to improve the quality and function of its products. For this reason, we
reserve the right to make changes to our products without notice. The information contained in this Data Guide
is believed to be accurate as of the time of publication. Specifications are based on representative lot samples.
Values may vary from lot-to-lot and are not guaranteed. “Typical” parameters can and do vary over lots and
application. Linx Technologies makes no guarantee, warranty, or representation regarding the suitability of any
product for use in any specific application. It is the customer’s responsibility to verify the suitability of the part for
the intended application. NO LINX PRODUCT IS INTENDED FOR USE IN ANY APPLICATION WHERE THE SAFETY
OF LIFE OR PROPERTY IS AT RISK.
Linx Technologies DISCLAIMS ALL WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. IN NO EVENT SHALL LINX TECHNOLOGIES BE LIABLE FOR ANY OF CUSTOMER’S INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING IN ANY WAY FROM ANY DEFECTIVE OR NON-CONFORMING PRODUCTS
OR FOR ANY OTHER BREACH OF CONTRACT BY LINX TECHNOLOGIES. The limitations on Linx Technologies’
liability are applicable to any and all claims or theories of recovery asserted by Customer, including, without
limitation, breach of contract, breach of warranty, strict liability, or negligence. Customer assumes all liability
(including, without limitation, liability for injury to person or property, economic loss, or business interruption) for
all claims, including claims from third parties, arising from the use of the Products. The Customer will indemnify,
defend, protect, and hold harmless Linx Technologies and its officers, employees, subsidiaries, affiliates,
distributors, and representatives from and against all claims, damages, actions, suits, proceedings, demands,
assessments, adjustments, costs, and expenses incurred by Linx Technologies as a result of or arising from any
Products sold by Linx Technologies to Customer. Under no conditions will Linx Technologies be responsible for
losses arising from the use or failure of the device in any application, other than the repair, replacement, or refund
limited to the original product purchase price. Devices described in this publication may contain proprietary,
patented, or copyrighted techniques, components, or materials. Under no circumstances shall any user be
conveyed any license or right to the use or ownership of such items.