420 Key Encoder
420 Key Encoder
420 Key Encoder
Contents
Contents .................................................................................................................................................................................. 1
Product Overview .................................................................................................................................................................... 2
Communications Protocol ....................................................................................................................................................... 3
LCD Display ............................................................................................................................................................................ 4
Part Ordering Details - Storm Products ................................................................................................................................. 6
Part Details - Other Hardware Required (depending on end application) ............................................................................. 6
Part Details - Other Hardware Required (depending on end application) ............................................................................. 7
Part Details - Other Hardware Required (depending on end application) ............................................................................. 8
Connecting the Encoder to a 4-Way Keypad........................................................................................................................ 11
Connecting the Encoder to a 12 or 16 Way Keypad – Telephone Layout ........................................................................... 13
Connecting the Encoder to a 12 or 16 Way Keypad – Calculator Layout ............................................................................ 15
Connecting the Encoder to the Storm 5000 Series Integrated Keypad ................................................................................ 17
Connecting the Encoder to Storm 6000 Keypads ................................................................................................................ 19
NOTICE
This document is provided for use and guidance of engineering personnel engaged in the installation or application of
Storm Interface data entry products manufactured by Keymat Technology Ltd. Please be advised that all information,
data and illustrations contained within this document remain the exclusive property of Keymat Technology Ltd. and are
provided for the express and exclusive use as described above. This document is not supported by Keymat
Technology’s engineering change note, revision or reissue system. Data contained within this document is subject to
periodic revision, reissue or withdrawal. Whilst every effort is made to ensure the information, data and illustrations are
correct at the time of publication, Keymat Technology Ltd. are not responsible for any errors or omissions contained
within this document.
No part of this document may be reproduced in any form or by any means or used to make any derivative work (such as
translation or adaptation) without written permission from Keymat Technology Ltd.
For more information about Storm Interface and its products, please visit our website at
www.storm-interface.com
©Copyright Storm Interface. 2017
All rights reserved
Product Overview
The Storm 420 Series Encoder provides a serial interface between keypad and host system. It can be supplied either as
a separate encoder module or pre-assembled into a Storm keypad to suit end user requirements.
Features / Specifications
Storm 420 Series Encoders are classified as a component with regard to the European Community EMC regulations. It is
the equipment manufacturers responsibility to ensure that systems using the Storm 420 Series Encoder are compliant
with the appropriate EMC standards.
If the electronic system requires input protection against high voltage transients (to meet CE requirements) it is
recommended that an external interface board is located at the point where the external wiring enters the electronic
system enclosure.
Using the 420 Series Encoder with Storm 5000 Series Integrated Keypads
As a combination the Storm Integrated Keypad/ Display Module with Encoder forms a complete serial communications
device. Alphanumeric output from the unit is communicated via the familiar RS232 physical link layer.
The keypad has 20 keys including ten numeric keys and a further ten special function keys. The LCD module displays 80
characters across 4 lines. Both the keypad and LCD module may be backlit from the controller board.
The module has been designed in such a way that it can be used as part of an embedded application, possibly using a
separate host microcontroller or PC to communicate with the module. Alternatively it may be used as an input interface
since the keypad and LCD functions have been designed to be familiar to most users.
The keypad is arranged as a 5-row, 4 column matrix and is scanned and debounced by the module’s built-in
microprocessor. The debounce filter is set at 64ms. No typematic key rollover function is implemented. Multi-key lockout
is, however, implemented in the firmware.
Use of 420 Series Encoder to provide RS232 output from Storm K Range Keypads
When used with any Storm Interface matrix keypad, the encoder can either be fitted directly to the rear of the keypad, or
connected via a ribbon cable. Please note that the cables required to connect a keypad to the encoder are custom cables
and are not provided by Storm.
The encoder can either be fitted directly to the rear of a standard Storm K Range Keypad, or remotely by a ribbon cable.
Where Storm K Range Keypads are underpanel mounted the 420 Encoder can be directly connected, requiring no
additional mounting hardware.
The overall depth required to house the 420 Encoder is 32mm (1.25in) when measured from back of keypad.
Where Storm K Range Keypads are fixed to a panel surface, a ribbon cable and mounting hardware are required (these
items not included with encoder)
Communications Protocol
No software or hardware handshaking is used since the data rate is low relative to the bandwidth of the communications
protocol.
Only the TX, RX and Ground signals are employed. The chosen nomenclature is that TX means transmission out of the
module.
Data buffering
Both data transmission and reception are controlled by the module’s built in microprocessor using a pair of stacks- one for
transmitted characters and one for received characters. These allow the application to send data to and from the unit
largely without consideration of the timing constraints of the RS232 physical link layer.
Provided the stacks are not filled, data can be freely sent to and received from the module and the module will buffer the
characters until such times as it is able to process them.
Should the buffers be filled, further characters will not be pushed onto the stacks, but instead are discarded.
Character echoing
Characters received from the host terminal/microprocessor may be echoed back to the host by setting DIP Configuration
Switch 2 to ON. With DIP Switch 2 OFF the characters are not echoed.
Characters resulting from key strokes are never echoed to the LCD display, but are simply sent via the RS232 TX pin to
the host application.
Brown-out
If the DC supply voltage drops below 2.85V then the encoder will shut down, and will restart automatically when the
supply voltage is restored back above this level
LCD Display
The LCD display comprises 80 characters in all, arranged as 20 characters on each of 4-lines. The full range of standard
ASCII characters are available, including lower case letters. Some, but not all, of the extended ASCII characters are
available. Appendix 3 lists the available characters.
Power-up message
At power-on the LCD display shows hardware and software version numbers and communications information for a
period of approximately 5 seconds. After this time the display automatically clears and the cursor is located at the first
character on the left of line 1.
The LCD interface is designed to be suitable either for keypad data input (for example as a data entry terminal) or for
embedded microprocessor applications.
It has been designed to operate in a similar way to a teletype terminal since this is a familiar environment to most users
and is consequently intuitive.
The cursor begins on the left of line 1. Entered characters move the cursor progressively further to the right of line 1 until
the end of the line is reached. Entering one further character automatically moves the cursor to the beginning of line 2, i.e.
automatic text wrapping is implemented. This applies to all lines.
Once the end of line 4 is reached, entering one further character results in all lines moving up one place, resulting in the
contents line 1 being discarded, line 2 moves to line 1, line 3 moves to line 2 and line 4 moves to line 3. Line 4 is
subsequently cleared and the cursor moves to the beginning of line 4.
Special characters
The Carriage Return key is supported (ASCII character 0x0D) and results in the cursor moving to the beginning of the
next line, exactly as described above. The Line Feed key (ASCII character 0x0A , or Ctrl-J in HyperTerminal ) is also
supported and gives the same functionality as carriage return.
The backspace key (ASCII character 0x7F) and Del key (ASCII character 0x08) may be used to delete the last entered
character and move the cursor back one place. This can be repeated until the cursor is at the beginning of the current
line, but no further (exactly as a teletype terminal).
The Tab key (ASCII character 0x09) is supported, and enters four spaces, even if this involves a line-wrap.
The Form Feed key (ASCII character 0x0C, Ctrl-L in HyperTerminal) is implemented as a ‘clear screen’ function and
returns the cursor to the beginning of line 1..
Typical implementations
An embedded application where the LCD is written to by a separate microprocessor or computer would typically send a
Form Feed character followed by up to 80 characters, possibly interspersed with carriage returns to reduce the number of
characters to be transmitted.
It is unlikely that such as application would make use of the backspace function since there are unlikely to be errors in
data entry, although the line-wrap feature may be used to allow the microprocessor to treat the display as a contiguous
array of 80 characters with no requirement for carriage returns.
A terminal-like application, however, where the user is permitted to type any characters on the LCD (perhaps using an
application such as HyperTerminal) would almost certainly make use of all the features built into the module such as line-
wrap and special characters to make the interface more user friendly.
LCD adjustment
A potentiometer is provided on the module interface circuit board to allow the contrast of the LCD display to be adjusted.
Wide Temp Range Displays require 0V to -9V ; Std Temp Range Displays require 0V to +5V
Supported Displays
3 Vo Contrast Adjust
6 E Enable signal
Cable for PC Connection Cable 6 Way Molex KK to Serial Port as drawing below
1 TX
2 RX
3 NC
4 NC
5 GND
6 NC
KK Crimp terminals.
RS part number 467-598 or Molex Part number 08-50-0032.
6 - off required.
Cable for 4 Way Keypad Ribbon Cable 5 Way Molex KK to bare ends
Cable for 4 way Backlit Keypad Ribbon Cable 7 Way Molex KK to bare ends
12 / 16 WAY BACKLIT Fit polarising pin Fit polarising pins YES —fit polarising pins to positions 1,12 and 13
12 / 16 WAY NOT BACKLIT Fit polarising pins Fit polarising pins YES
Fit Fit
4 WAY BACKLIT Fit polarising pin polarising
pin
polarising
pin
NO —separate cable required
STD version needs 5 way cable
BACKLIT version needs 7 way cable
4 WAY NOT BACKLIT Fit polarising pins Fit polarising pins
Fit polarising pins as required
Encoder
1 2 3 4 5 6 7 8 9 10 11 12 13
Pin
R5
R = ROW, LED TAMPER TAMPER LED
To Keypad R1 R2 C1 C2 C3 C4 R4 R3 FUNCTION
C = COLUMN CATHODE IN OUT ANODE
KEYS
PIN 1 ON REVERSE
JUMPER CONTROLS
LED COLOUR
RED
Θ Θ R3 Link
Θ Θ ( remove
before use
Θ Θ
GREEN with FT5000
Θ Θ & 6000)
FACTORY
JP8 USE
ONLY
Power
Adjustment Symbol Vss Vdd Vo RS R/W E DB0 DB1 DB2 DB3 DB4 DB5 DB6 DB7 A K
The Product Identification Code is shown on the label on the encoder. The (non-upgradeable)
firmware version is shown on the back of the controller eg Version 5.03 (or alternatively 5v03 )
Before you connect the encoder to a 4-way keypad, make sure you have:
An RS232 cable with 6-way Molex connector to connect the encoder to your controller
A 16-way ribbon cable if using the Storm 5000 series bezel with LCD (this cable is not supplied by Storm)
2 NC 1
11 1 2
5 5 6
6 4 5
7 3 4
4 WAY BACKLIT KEYPAD
CONTACT CONNECTIONS 8 2 3
(REAR VIEW)
PINS ● ● ● ● ● ● ● 13 NC 7
7 6 5 4 3 2 1
PIN NUMBER
4 WAY KEYPAD
CONTACT MATRIX
CONTACT CONNECTIONS
(REAR VIEW) ROW /
PIN
COLUMN
PINS ● ● ● ● ●
1 LED POWER ASCII CODES
PIN NUMBER 5 4 3 2 1
2 R5
CONTACT MATRIX 3 C4
ROW / 4 C3 Row 5
PIN COLUMN
COLUMN 5 C2
C1 11
1 R5
6 C1
2 C4 C2 12
7 LED POWER
3 C3 C3 13
4 C2
C4 14
5 C1
An RS232 cable with 6-way Molex connector to connect the encoder to your controller
Serial Connection to PC
12 / 16 WAY KEYPAD
CONTACT CONNECTIONS
(REAR VIEW)
ASCII Codes
12 / 16 WAY KEYPAD PINS ● ● ● ● ● ● ● ● ● ●
CONTACT CONNECTIONS ROW/
(REAR VIEW) C1 C2 C3 C4
PIN NUMBER 10 9 8 7 6 5 4 3 2 1 COLUMN
PINS ● ● ● ● ● ● ● ●
CONTACT MATRIX R1 31 32 33 61
PIN NUMBER 8 7 6 5 4 3 2 1
ROW / R2 34 35 36 62
PIN
COLUMN
CONTACT MATRIX
1 LED POWER R3 37 38 39 63
ROW /
PIN 2 R1
COLUMN
1 R1 3 R2 R4 2A 30 23 2E
2 R2 4 C1
3 C1 5 C2
4 C2 6 C3
5 C3 7 C4 (16 WAY ONLY)
6 C4 (16 WAY ONLY) 8 R4
7 R4 9 R3
8 R3 10 LED POWER
An RS232 cable with 6-way Molex connector to connect the encoder to your controller
12 / 16 WAY KEYPAD
CONTACT CONNECTIONS ASCII Codes
12 / 16 WAY KEYPAD (REAR VIEW)
CONTACT CONNECTIONS ROW/
(REAR VIEW) PINS ● ● ● ● ● ● ● ● ● ● C1 C2 C3 C4
COLUMN
PINS ● ● ● ● ● ● ● ● PIN NUMBER 10 9 8 7 6 5 4 3 2 1
R1 37 38 39 1B
PIN NUMBER 8 7 6 5 4 3 2 1 CONTACT MATRIX
R2 34 35 36 0C*
CONTACT MATRIX ROW /
PIN
COLUMN
ROW / R3 31 32 33 05
PIN 1 LED POWER
COLUMN
1 R1 2 R1
R4 7F 30 0D 2E
2 R2 3 R2
3 C1 4 C1
4 C2 5 C2
5 C3 6 C3
7 R4 8 R4
8 R3 9 R3
10 LED POWER
Before you connect the encoder to any of the Storm 5000 Series keypads, make sure you have:
An RS232 cable with 6-way Molex connector to connect the encoder to your controller
Encoder is supplied with four off adhesive backed stand offs. to allow it to be mounted on the back plate.
16 way ribbon cable connected between the LCD and encoder. The part number is 4200-101. Not supplied with
encoder.
Integrated 20 Way Keypad and Display - Telephone Layout OFF ON OFF OFF ON OFF Integrated 20 way Keypad
CHARACTER BAUD RATE
Encoder , configuration switch set
Integrated 20 Way Keypad and Display - Calculator Layout OFF ECHOING ON ON ON ON OFF SELECTOR LCD and 16 way ribbon cable if needed
SELECTOR Panel Fixing prepared
ON = ECHO ON
OFF=9600 +5V regulated supply
BAUD RS 232 cable with 6 way Molex KK socket
Note : Remove Jumpers from JP3 and JP4 in this configuration. OFF = ECHO ON=1200 Polarising pins fitted to encoder
OFF BAUD
R5C1 ▲ 11 ▲ 11
R5C2 ▲ 12 ▲ 12
R5C3 ▲ 13 ▲ 13
R5C4 ▲ 14 ▲ 14
R1C1 1 31 1 31
2
R1C2 32 2 32
ABC
3
R1C3 33 3 33
DEF
R1C4 A 41 ENTER 1B
4
R2C1 34 4 34
GHI
5
R2C2 35 5 35
JKL
6
R2C3 36 6 36
MNO
R2C4 B 42 CLEAR 0C
20 WAY KEYPAD
CONTACT CONNECTIONS
(REAR VIEW) 7
R3C1 37 7 37
PQRS
PINS ● ● ● ● ● ● ● ● ● ● ● ● ●
8
R3C2 38 8 38
TUV
PIN NUMBER 13 12 11 10 9 8 7 6 5 4 3 2 1
9
R3C3 39 9 39
CONTACT MATRIX WXYZ
ROW /
PIN R3C4 C 43 ? 05
COLUMN
1 NOT USED *
R4C1 2A * 7F
2 TAMPER IN CLR
3 R1 R4C2 0 30 0 30
4 R2
#
5 C1 R4C3 23 # 0D
ENT
6 C2
7 C3 . ENTER 2E CANCEL 2E
8 C4 ANTI-
TAMPER
9 R4 07* 07*
OPEN
CIRCUIT
10 R3
* = CODE REPEATS EVERY 10
11 R5 SECONDS WHILST CONDITION REMAINS
ACTIVE
12 TAMPER OUT
13 NOT USED
An RS232 cable with 6-way Molex connector to connect the encoder to your controller
8 controls the Baud. ‘OFF’ provides a Baud of 9600, ‘ON’ provides a Baud of 1200.
8 controls the Baud. ‘OFF’ provides a Baud of 9600, ‘ON’ provides a Baud of 1200.
Red with
Green with
R1C4 CANCEL raised 0D ENTER 1B
raised circle
Cross
ANTI-
TAMPER 07* 07*
OPEN
CIRCUIT
*= CODE REPEATS EVERY 10 SECONDS WHILST CONDITION
REMAINS ACTIVE.
TO RESET—DISCONNECT POWER FOR 30 SECONDS.
Change History