RFSOLUTIONS RF803

ALPHA Encoder / Decoder IC’s
RF803-ALPHA
EASY TO USE TELEMETRY SYSTEM USING ALPHA MODULES
Features
•
•
•
•
•
•
3 digital I/O
•
Performs all encoding/decoding of
data for Reliable Operation.
•
•
•
•
Fast Activation / Deactivation Time
Serial Data output
Connects directly to ALPHA Modules
Easy Enc / Dec Pairing Function
Receiver Acknowledge Signal
Minimal External Components
Required
Up to 30 Transmitter Pairings
Sleep mode, for battery saving
One to many / many to one relationship.
Applications
•
•
•
Remote control
Radio Telemetry
RFID
Description
The RF803E/D-ALPHA series are powerful yet simple encoder and decoder devices. When combined
with an RF Solutions Ltd Alpha Module they may be used to create a remote control system with up to
3 I/O lines. The RF803E/D-ALPHA also offer a feedback function when used with ALPHA-TRX
(transceiver) module they can acknowledge all transmissions for ultimate reliability.
The decoder IC incorporates an ‘easy learn’ pairing procedure to create a relationship between
encoder and decoder.
RF803 Series ICs perform all the necessary data manipulation and encoding/decoding of data for an
optimum range reliable radio link whilst providing a simple user interface.
Part Number
RF803E-ALPHA
RF803E-ALPHA-SO
RF803E-ALPHA-SOT
RF803E-ALPHA-Q
RF803D-ALPHA
RF803D-ALPHA-SO
RF803D-ALPHA-SOT
RF803D-ALPHA-Q
DS803-ALPHA-1 Nov ‘09
Description
Packages available
Encoder IC
14 pin PDIP
SOIC
Tape & Reel
16 pin QFN
Decoder IC
14 pin PDIP
SOIC
Tape & Reel
16 pin QFN
©2008 RF Solutions Ltd, www.rfsolutions.co.uk
Tel 01273 898000 Fax 01273 480661
Page 1
ALPHA Encoder / Decoder IC’s
RF803-ALPHA
Transmitter Encoder RF803E-ALPHA
Functional Description
The RF803E-ALPHA is a simple device to use. As shown in the application circuit below, it
requires only the addition of input switches and an ALPHA-TRX RF Module for use as the
transmitter in an end application. Transmission is automatic without user intervention.
The ID is designed to run in continuous sleep mode; on detecting a switch closure The
RF803E-APLHA will wake up transmit a secure data packet on the TX output.
The RF803E-ALPHA can be set as a simple transmit device, or, to expect an acknowledgement
signal back from the decoder.
The type of transmissions to send may also be configured
– Transmit only on state change,
– Transmit continuously whilst input is active.
Block Diagram
DS803-ALPHA-1 Nov ‘09
©2008 RF Solutions Ltd, www.rfsolutions.co.uk
Tel 01273 898000 Fax 01273 480661
Page 2
ALPHA Encoder / Decoder IC’s
RF803-ALPHA
Pin Descriptions RF803E-ALPHA
SOIC/PDIP
Pin
Name
Number
1
VDD
2
ACK LED
3
TX LED2
4
ACK
5
CONT
6
CLK
7
IRQ
8
SDI
9
SDO
10
SEL
11
I/P3
12
I/P2
13
I/P1
14
Vss
VQFN
Pin
Number
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Name
Input / Output
O/P
O/P
I/P (*)
I/P (*)
O/P
I/P
I/P
O/P
O/P
I/P
I/P
I/P
-
Description
Voltage in +3.3V
ACKNOWLEDGE FAILED (ACTIVE HIGH)
TX LED (ACTIVE HIGH)
ACKNOWLEDGE REQUEST (ACTIVE LOW)
CONTINUOUS TX (ACTIVE LOW)
Clock TO ALPHA MODULE Pin 13
TO ALPHA MODULE Pin 2
Serial Data In TO ALPHA MODULE Pin 1
Serial Data Out TO ALPHA MODULE Pin 12
TO ALPHA MODULE Pin 14
Input 3
Input 2
Input 1
Ground
Input / Output
ACK LED
TX LED2
ACK
CONT
CLK
IRQ
SDI
SDO
SEL
I/P3
I/P2
I/P1
Vss
O/P
O/P
I/P (*)
I/P (*)
O/P
I/P
I/P
O/P
O/P
I/P
I/P
I/P
-
VDD
-
Description
ACKNOWLEDGE FAILED (ACTIVE HIGH)
TX LED (ACTIVE HIGH)
ACKNOWLEDGE REQUEST (ACTIVE LOW)
CONTINUOUS TX (ACTIVE LOW)
Clock TO ALPHA MODULE Pin 13
TO ALPHA MODULE Pin 2
Serial Data In TO ALPHA MODULE Pin 1
Serial Data Out TO ALPHA MODULE Pin 12
TO ALPHA MODULE Pin 14
Input 3
Input 2
Input 1
Ground
DO NOT CONNECT
DO NOT CONNECT
Voltage in +3.3V
(*) Pull up / Pull Down required.
DS803-ALPHA-1 Nov ‘09
©2008 RF Solutions Ltd, www.rfsolutions.co.uk
Tel 01273 898000 Fax 01273 480661
Page 3
ALPHA Encoder / Decoder IC’s
RF803-ALPHA
IP 1-3
These are the switch inputs which when operated wake up the RF803E-ALPHA and cause
transmission. They may be switched directly to Ground. Transmission occurs for the duration of
the switch operation.
ACK FAILED LED
This Output is normally low, asserted High when a transmission fails. A transmission is re-tried
5 times when an acknowledgement is not immediately received. If none is received after the 5
re-try attempts, the Output will be asserted.
TX LED
While transmitting the TX output will toggle at high frequency (flicker LED) when the
transmission is finished the output will be asserted continuously for 2 seconds to show that an
acknowledgement has been received.
ACK – Acknowledge Request
This pin is used to set an acknowledgement request from the Receiver or not.
Only enable when using TRX modules.
CONT – Continuous TX
Low:
in this mode the RF803E-ALPHA will transmit continuously while an input is
asserted,
And stop when it is released.
High:
In this mode the RF803 will transmit only when an input changes state.
Vcc
The power supply needs to be a stable regulated voltage between 2.5 and 5.5V with <10mV
ripple. Note that in idle mode the transmitter current drain is typically only 100nA.
GND
Ground connection
DS803-ALPHA-1 Nov ‘09
©2008 RF Solutions Ltd, www.rfsolutions.co.uk
Tel 01273 898000 Fax 01273 480661
Page 4
ALPHA Encoder / Decoder IC’s
RF803-ALPHA
Application Circuit
Connecting to your ALPHA module:
DS803-ALPHA-1 Nov ‘09
©2008 RF Solutions Ltd, www.rfsolutions.co.uk
Tel 01273 898000 Fax 01273 480661
Page 5
ALPHA Encoder / Decoder IC’s
RF803-ALPHA
Receiver Decoder RF803D-ALPHA
Functional Description
The RF803D-ALPHA is simple to use. As shown in the typical application circuit below, the
RF803D-ALPHA has the capability to learn up to 30 unique RF803E-ALPHA transmitters.
The digital outputs may be configured as latching or momentary action.
Latch = the output will change state on each successive transmit of the encoder.
Momentary = the output will only operate for as long as the RF803E-ALPHA encoder is
transmitting.
The RF803D-ALPHA can be configured to work with an ALPHA TRX or TX by setting the
TX/TRX pin.
Block Diagram
DS803-ALPHA-1 Nov ‘09
©2008 RF Solutions Ltd, www.rfsolutions.co.uk
Tel 01273 898000 Fax 01273 480661
Page 6
ALPHA Encoder / Decoder IC’s
RF803-ALPHA
Pin Descriptions RF803D-ALPHA
SOIC / PDIP
Input /
Outpu
t
1
VDD
2
LRN BTN
I/P
3
LRN LED
O/P
4
MOM/LATCH
I/P (*)
5
SERIAL O/P
O/P
6
CLK
O/P
7
IRQ
I/P
8
SDI
I/P
9
SDO
O/P
10
SEL
O/P
11
O/P 3
O/P
12
O/P 2
O/P
13
O/P 1
O/P
14
VSS
(*) Pull up / Pull Down required.
QFN
Input /
Pin
Name
Outpu
Number
t
1
LRN BTN
I/P
2
LRN LED
O/P
MOM/LATC
3
I/P
H
4
SERIAL O/P
O/P
5
CLK
O/P
6
IRQ
I/P
7
SDI
I/P
8
SDO
O/P
9
SEL
O/P
10
O/P 3
O/P
11
O/P 2
O/P
12
O/P 1
O/P
13
Vss
14
15
16
VDD
Pin
Number
DS803-ALPHA-1 Nov ‘09
Name
Description
Voltage in +3.3V
Learn button input
Learn / RX LED
Momentary / Latching select
Serial data output (Low level)
TO ALPHA MODULE Pin 13
TO ALPHA MODULE Pin 2
TO ALPHA MODULE Pin 1
TO ALPHA MODULE Pin 12
TO ALPHA MODULE Pin 14
Output 3 (20mA max)
Output 2 (20mA max)
Output 1 (20mA max)
Ground
Description
Learn button input
Learn / RX LED
Momentary / Latching select
Serial data output (Low level)
TO ALPHA MODULE Pin 13
TO ALPHA MODULE Pin 2
TO ALPHA MODULE Pin 1
TO ALPHA MODULE Pin 12
TO ALPHA MODULE Pin 14
Output 3 (20mA max)
Output 2 (20mA max)
Output 1 (20mA max)
Ground
DO NOT CONNECT
DO NOT CONNECT
Voltage in +3.3V
©2008 RF Solutions Ltd, www.rfsolutions.co.uk
Tel 01273 898000 Fax 01273 480661
Page 7
ALPHA Encoder / Decoder IC’s
RF803-ALPHA
Vcc
2.5-5.5V DC input. The power supply needs to be a stable regulated voltage with <10mV ripple
GND
Ground connection.
OP1-3
These outputs are asserted LOW when the relevant inputs (I/P1 – I/P3) on the RF803E-ALPHA
are asserted.
RX LED
While a valid signal is present the Learn/RX LED output will toggle at high frequency (flicker
LED)
Note that this output will be valid whether or not, the RF803E-ALPHA has been learnt to the
RF803D-ALPHA or not
LRN
This input is used to set the decoder module to ‘Learn Mode’ and for the ‘Erase Function’ and is
also used to drive the Status LED.
OP TIMING
This pin is read on power up to sets the action of outputs 1-3. Latching is set using connection
to Vcc via a 250K resistor (R8). Momentary is set by connecting direct to GND .This may need
to be dropped to 10K in noisy environments.
SERIAL
In normal run mode this pin outputs serial data on reception of a valid data string, this pin will
output any valid serial data packet regardless of learn status.
DS803-ALPHA-1 Nov ‘09
©2008 RF Solutions Ltd, www.rfsolutions.co.uk
Tel 01273 898000 Fax 01273 480661
Page 8
ALPHA Encoder / Decoder IC’s
RF803-ALPHA
Application Circuit
Connecting to your ALPHA module:
DS803-ALPHA-1 Nov ‘09
©2008 RF Solutions Ltd, www.rfsolutions.co.uk
Tel 01273 898000 Fax 01273 480661
Page 9
ALPHA Encoder / Decoder IC’s
RF803-ALPHA
System and Functional operation
Pairing a Transmitter to a Receiver
Each transmitter is supplied a unique identity. Each time a switch is pressed, the transmitter
emits a highly secure RF signal with its identity embedded within. The Receiver can learn this
signal and allocate to an output.
Each transmitter input may be individually paired to each individual or combination of the
receiver’s outputs .This enables a powerful and flexible remote control system!
The only limitation is that each receiver has a maximum capacity of 50 pairings, these can be
from the same or any number of transmitters.
Hint: the same transmitter may be taught to any number of receivers to create ‘master keys’.
Learn Mode: Learn input activation is achieved by pulling this input to GND briefly
To learn a new transmitter switch follow this procedure (as application circuit)
Any Encoder input can be learnt to one or many of the receiver outputs.
Each input must be learnt to each output individually by following this procedure:
1. Select the receiver output to learn:
a. Briefly operate the receiver Learn switch (SW1) once
b. The Learn LED will flash once to indicate that output 1 is selected
c. After the LED stops flashing, press the Learn switch again to select the next output
channel
d. Repeat step c until the required output is selected.
2. Operate whichever input on the encoder you want to learn to the selected decoder output.
3. The Learn LED will then illuminate, within 10secs, operate the same encoder input again.
4. The Learn LED will then flash to indicate learning is complete.
Erase Mode (As application circuit): is achieved by pulling this input to GND for >8 seconds.
This causes the internal EEPROM to be erased of all pre-learnt RF803E-ALPHA encoders.
During Erase the Learn LED will activate, it will extinguish when erase is complete.
Mom / Latch
This high impedance input is used to set the digital outputs to momentary or latched actions.
Pull up / Pull down required.
LKIN Status
HIGH
LOW
Digital Outputs
Function
Momentary
Latching
Continuous Transmit or State change transmit
The RF803E-ALPHA can be set to transmit only on a state change – when it will send 3 data
packets each time it receives a state change on its inputs – or to transmit continuously while an
input is active. This enables the RF803E-ALPHA to be used in applications with momentary
inputs or latching inputs.
NOTE: TRX acknowledge can only be sent AFTER a transmission. Therefore when using TRX
mode and Continuous Transmit mode an acknowledge is send when the transmission has
finished. When using TRX mode and State Change Transmit the acknowledgement is sent
500ms after the first packet is received by the RF803D-ALPHA.
DS803-ALPHA-1 Nov ‘09
©2008 RF Solutions Ltd, www.rfsolutions.co.uk
Tel 01273 898000 Fax 01273 480661
Page 10
ALPHA Encoder / Decoder IC’s
RF803-ALPHA
Serial Data Output
The RF803D-ALPHA has a serial data output. This outputs the serial number, button and
battery status of the transmitter encoder (RF803E-ALPHA). This data may be fed directly to a
microcontroller or RS232 type driver circuit which may then be fed directly to a PC serial port.
Serial data is output initially and again on every state change whilst data is being received from
the RF803E-ALPHA transmitter. i.e. this output is valid regardless of whether the RF803EALPHA encoder has been learnt to the RF803D-ALPHA decoder or not. The serial data packet
contains a learn bit to show if an encoder input is learnt.
Serial Data Format
Serial Data is sent on every state change as a stream of 8 bytes at 19.2K baud. The serial data
format is: 8 data bits with 1 stop bit, no parity.
Serial data is output form the Decoder chip whenever a valid data packet from an RF80n or
other compatible RF Solutions transmitter is received regardless of learn
N
N
N
X
X
STAT $ 0D $ 0A
8 bytes of data transmitted
L F Line feed (last character)
CR Carriage return
Battery Status / Learn Status
Encoder Input information
Encoder serial number
Output from Serial Data pin
Encoder Serial Number [NN]: made up of two 8-bit bytes where the most significant byte is
transmitted first.
This provides a total of 65,536 possible serial numbers.
Example:
DS803-ALPHA-1 Nov ‘09
12AB (hexadecimal) or 0001 0010 1010 1011 (binary)
©2008 RF Solutions Ltd, www.rfsolutions.co.uk
Tel 01273 898000 Fax 01273 480661
Page 11
ALPHA Encoder / Decoder IC’s
RF803-ALPHA
Encoder Input Information [XX]: made up of two 8-bit bytes.
The high order byte is sent first representing inputs 16 down to 9 where the MSb is input 16 and
the LSb is input 9.
The low order byte is sent next representing inputs 8 down to 1 where the MSb is input 8 and
the LSb is input 1.
A bit at state 1 represents an encoder input as active.
Using this method inputs can be multiplexed giving maximum versatility.
Example:
00000000 00001000 - Shows input 4 active.
00000001 00000000 – Shows input 9 active
10000001 00000001 – Shows inputs 16, 9 and 1 active
Status [STAT]: The status byte is made up of an 8-bit byte as follows:
BIT
Description
Details
Reserved
For future usage
Bit 1
Learn status
1 = encoder has been learnt
Bit 0
Not Used
0 = Always
Bit-7 down to 2
Example:
00000010 = encoder battery ok, encoder has been learnt
00000001 = encoder battery low, encoder has not been learnt
Carriage Return [CR] and Line feed [LF]
To mark the end of the serial packet ascii characters for carriage return (hex 0D) are sent
followed by LF (hex 0A).
Custom Versions
Custom versions of the RF803E-ALPHA / RF803D-ALPHA chipset are available to provide a
bespoke remote chipset for OEM applications. Please contact our sales department for further
information.
*NOTE: Serial Data output is common across the entire RF80n range, therefore up to 16
inputs states are sent. When using encoders with lower numbers of inputs the un-used
bits are set to 0.
R. F. Solutions Ltd.,
Unit 21, Cliffe Industrial Estate,
Lewes, E Sussex, BN8 6JL, England
Tel +44 (0)1273 898 000
Fax +44 (0)1273 480 661
Email [email protected]
http://www.rfsolutions.co.uk
All Trademarks acknowledged and remain the property of the respected owners.
Information contained in this document is believed to be accurate, however no representation or warranty is given and R.F. Solutions Ltd. assumes no liability with respect to the accuracy of such
information. Use of R.F. Solutions as critical components in life support systems is not authorised except with express written approval from R.F.Solutions Ltd.
DS803-ALPHA-1 Nov ‘09
©2008 RF Solutions Ltd, www.rfsolutions.co.uk
Tel 01273 898000 Fax 01273 480661
Page 12
ALPHA Encoder / Decoder IC’s
RF803-ALPHA
Technical Specifications:
Absolute Maximum Ratings 803E and 803D
Note: Stresses above those listed under “Absolute Maximum Ratings” may cause permanent damage to the device.
Item
Supply voltage
Rating
Units
2.0 – 5.5
V
Max output current
Storage temperature
80
mA
-65 to +150
°C (Note)
Lead soldering temp
°C (Note)
ESD rating
V
Max O/P current sunk by any I/O pin
25
mA
Max O/P current sourced by any I/O pin
75
mA
RF803E-ALPHA
Electrical Characteristics
Operating current(average)
Vdd = 5V
Standby current
Min
Typical
Max
Unit
603
645
689
µA
.1
µA
High level Input voltage
2.0
VDD
V
Low level input voltage
VSS
0.8
V
High level output voltage
VDD - .7
V
Low level output voltage
0.6
V
Output Pin Current rating
25
mA
LED sink current
75
mA
Max
Unit
RF803D-ALPHA
Electrical Characteristics
Operating current(average)
Vdd = 5V
Standby current
Min
Typical
mA
µA
High level Input voltage
Low level input voltage
High level output voltage
V
VSS
0.8
VDD - .7
V
V
Low level output voltage
0.6
V
Output Pin Current rating
25
mA
LED sink current
75
mA
DS803-ALPHA-1 Nov ‘09
©2008 RF Solutions Ltd, www.rfsolutions.co.uk
Tel 01273 898000 Fax 01273 480661
Page 13
ALPHA Encoder / Decoder IC’s
RF803-ALPHA
Appendix – Package types
16 PIN QFN PACKAGE
DS803-ALPHA-1 Nov ‘09
©2008 RF Solutions Ltd, www.rfsolutions.co.uk
Tel 01273 898000 Fax 01273 480661
Page 14
ALPHA Encoder / Decoder IC’s
RF803-ALPHA
14 PIN SOIC PACKAGE
DS803-ALPHA-1 Nov ‘09
©2008 RF Solutions Ltd, www.rfsolutions.co.uk
Tel 01273 898000 Fax 01273 480661
Page 15
ALPHA Encoder / Decoder IC’s
RF803-ALPHA
14 PIN PDIP PACKAGE
DS803-ALPHA-1 Nov ‘09
©2008 RF Solutions Ltd, www.rfsolutions.co.uk
Tel 01273 898000 Fax 01273 480661
Page 16