VK162-12 Matrix Orbital, VK162-12 Datasheet

VFD DISPLAY 16X2 SER/I2C

VK162-12

Manufacturer Part Number
VK162-12
Description
VFD DISPLAY 16X2 SER/I2C
Manufacturer
Matrix Orbital
Series
VK162-12r
Datasheet

Specifications of VK162-12

Outline L X W X H
80.00mm x 36.00mm x 12.70mm
Viewing Area
51.40mm L x 11.40mm W
Display Format
16 x 2
Display Type
Character
Format
5 x 7 Dots
Character Size
4.76mm H x 2.46mm W
Interface
Serial
Operating Temperature
-20°C ~ 70°C
Product
Character Display Modules
Character Count X Line
16 x 2
Module Size (w X H X T)
80 mm x 36 mm x 12.7 mm
Operating Temperature Range
- 20 C to + 70 C
Dot Format
5 x 7
Viewing Area (w X H)
51.4 mm x 11.4 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Voltage - Supply
-
Number Of Dots
-
Lead Free Status / Rohs Status
 Details
Other names
635-1014
VK162-12
Technical Manual
Revision: 3.1

Related parts for VK162-12

VK162-12 Summary of contents

Page 1

... VK162-12 Technical Manual Revision: 3.1 ...

Page 2

... Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 5.1.1 Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5.1.2 Control Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5.2 Auto Scroll 5.3 Auto Scroll Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5.4 Clear Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5.5 Changing the Startup Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5.6 Set Auto Line Wrap 5.7 Set Auto Line Wrap Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 5.8 Set Cursor Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Matrix Orbital VK162- ...

Page 3

... Auto Transmit Key Presses 9.3 Auto Transmit Key Presses Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 9.4 Poll Key Press . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 9.5 Clear Key Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 9.6 Set Debounce Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 9.7 Set Auto Repeat Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 9.8 Auto Repeat Mode Off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 9.9 Assign Keypad Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Matrix Orbital VK162- iii ...

Page 4

... Dallas 1-Wire . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 13.6 Keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 13.7 Display Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 13.8 Data Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 13.9 Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 13.10Command By Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 14 Appendix 14.1 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 14.1.1 Environmental . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 14.1.2 Electrical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 14.2 Optical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 14.3 Physical Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 14.4 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 14.5 Contacting Matrix Orbital . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 14.6 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 Matrix Orbital VK162- ...

Page 5

... The VK162- intelligent LCD display designed to decrease development time by providing an instant solution to any project. With the ability to communicate via serial RS-232/TTL and I the versatile VK162-12 can be used with virtually any controller. The ease of use is further enhanced by an intuitive command structure to allow display settings such as backlight brightness, contrast and baud rate to be software controlled ...

Page 6

... You will find these accessories and others on our e-commerce website at http://www.matrixorbital.com. To contact a sales associate see Section 14.5 on page 56 for contact information. Figure 3: 12V Power Cable Adapter (V/VPT Models) Matrix Orbital Figure 2: 5V Power Cable Adapter Figure 4: Breadboard Cable VK162-12 2 ...

Page 7

... Fully buffered so that no delays in transmission are ever necessary • Ability to add a customized splash / startup screen • Software controlled contrast and brightness with configurable time-out setting minutes • Use key keypad with a 10 key buffer Matrix Orbital Figure 5: Serial Cable 4FT interface. VK162- ...

Page 8

... Horizontal or vertical bar graphs • Fits Matrix Orbital’s mountings without any modifications 1.3 Connecting The VK162-12 connects seamlessly and excellent means of testing the functionality. To connect your display to a PC, you will require a standard RS-232 9-pin serial cable such as the one pictured well as a modifi ...

Page 9

... Matrix Or- bital’s support site at http://www.matrixorbital.ca/software/software_alpha/ Matrix Orbital Comport Baudrate Figure 8: uProject Settings VK162-12 The serial port the display is plugged in to. The communication speed the display module is set to. (Default 19,200) ...

Page 10

... Manual Override 2.1 DB-9 Connector The VK162-12 provides a DB-9 Connector to readily interface with serial devices which use the EIA232 standard signal levels of ±12V to ±12V also possible to communicate at TTL levels +5V by setting the Protocol Select Jumpers to TTL added feature it is also possible to apply power through pin 9 of the DB-9 Connector in order to reduce cable clutter ...

Page 11

... Power/Data connector. Pins two and three are reserved for serial transmission, using either the RS-232/TTL or the I Matrix Orbital below. The VK162-12 allows all voltage models to use figure protocol, depending on what has ...

Page 12

... Rx \ SCL (I 2 Pin SDA (I Pin 4 GND Table 1: Power Requirements Standard -V +5Vdc ±0.25V +9V to +15V 250 mA 390 mA , provide the means necessary to toggle the figure protocols default, the jumpers are set to RS-232 mode VK162-12 C clock) C data mode you must first 2 C jumpers and 8 ...

Page 13

... Figure 13: Protocol Select Jumpers 2.4 General Purpose Outputs A unique feature of the VK162-12 is the ability to control relays and other external devices using a General Purpose Output, which can provide current and +5Vdc from the positive side of the GPO. This is limited by a 240 ohm resistor as pictured below in driven by a GPO, requires a relatively high current (such as a relay) and has an internal resistance of its own greater than 250 ohms, then the 240 ohm resistor may be removed and replaced with a Jumper ...

Page 14

... See Section 8 on page 32. 2.6 Manual Override The Manual Override is provided to allow the VK162- reset to factory defaults. This can be particularly helpful if the display module has been set to an unknown baud rate or I you are no longer able to communicate with it ...

Page 15

... Figure 16: Manual Override Jumper Matrix Orbital VK162-12 11 ...

Page 16

... Keypad Interface Connector The VK162-12 provides a Keypad Interface Connector which allows for five by five matrix style keypad to be directly connected to the display module. Key presses are generated when a short is detected between a row and a column. When a key press is generated a character, which is associated with the particular key press, is automatically sent on the Tx communication line ...

Page 17

... The last step will be to check the Power / Data Connector on the VK162-12. If the Power / Data Connector has become loose, or you are unable to resolve the issue, please contact Matrix Orbital, see 14 ...

Page 18

... This address may be changed by using cmd 254 / 51 / <address>. The VK162-12 should only be sent addresses that are even (LSB is 0). When the I the effective address is $50 (0101 0000) , since the LSB has for an I master wishes to read the VK162-12, the effective address is $51 (0101 0001), since the LSB has for master read take a standard Phillips 7 bit address of $45 (100 0101), Matrix Orbital’ ...

Page 19

... RS-232 protocol default baud rate of 19,200 bps and is capable of standard baud rates from 9600 to 115,200 bps. Furthermore the VK162-12 is also capable of reproducing any non-standard baud rate in between using values entered into our baud rate generation algorithm and set through command 164 (0xA4). ...

Page 20

... C write address must be an even number and the read 0xFE 0x39 [speed] 254 57 [speed] 254 “9” [speed] Length Description 1 Hex value corresponding to a baud rate. Baud Rate 1200 2400 4800 9600 19200 28800 38400 57600 115200 2 C mode. VK162- write 16 ...

Page 21

... Setting the baud rate out of this range could cause the display to stop working properly and require the Manual Override jumper to be set. Remembered Always Matrix Orbital 0xFE 0xA4 [speed] 254 164 [speed] Length Description 2 Inputed LSB MSB from baud rate formula (12-2047). VK162-12 CrystalSpeed 1 to 8×DesiredBaud 17 ...

Page 22

... Text 5.1 Introduction The VK162- intelligent display module, designed to reduce the amount of code necessary to begin displaying data. This means that it is able to display all ASCII formated characters and strings that are sent to it, which are defined in the current character set. The display module will begin displaying text at the top left corner of the display area, known as home, and continue to print to the display was a page on a typewriter ...

Page 23

... Character Set 5.1.2 Control Characters In addition to a full text set, the VK162-12 display supports the following ASCII Control characters: 0x08 Backspace 0x0C Clear screen / New page 0x0D Carriage return 0x0A Line feed / New line 5.2 Auto Scroll On Matrix Orbital Figure 18: Character Set ...

Page 24

... Decimal ASCII Description In order to change the text that is displayed by the VK162-12 when it starts up simply send the command bytes 254 64 followed by the characters that you wish to display, starting from the top left. This command will automatically line wrap the characters that are sent to it. ...

Page 25

... Set Cursor Position Hexadecimal Syntax Decimal ASCII Parameters Parameter col row Matrix Orbital 0xFE 0x43 254 67 254 “C” 0xFE 0x44 254 68 254 “D” 0xFE 0x47 [col] [row] 254 71 [col] [row] 254 “G” [col] [row] Length Description 1 Column 1 Row VK162-12 21 ...

Page 26

... Remembered No 5.11 Move Cursor Forward Hexadecimal Syntax Decimal ASCII Matrix Orbital 0xFE 0x48 254 72 254 “H” 0xFE 0x4C 254 76 254 “L” 0xFE 0x4D 254 77 254 “M” VK162-12 22 ...

Page 27

... This command will turn the the underline cursor off. Remembered Yes 5.14 Blinking Block Cursor On Hexadecimal Syntax Decimal ASCII Description This command will cause the VK162-12 to display a block cursor at the current text insertion point. Remembered Yes 5.15 Blinking Block Cursor Off Matrix Orbital 0xFE 0x4A 254 74 254 “J” ...

Page 28

... Special Characters 6.1 Introduction The VK162-12 has the ability to create four different sets of eight custom characters and save them to internal banks of memory. Each set of eight can be recalled from memory at any time, and selected characters can be written to the display screen. Characters and sets can be created at any time, saved for later use, and displayed to the screen through the intuitive command structure described below ...

Page 29

... Description The VK162-12 allows for up to eight custom defined characters to be added onto the the character set. A custom character is a five by seven, plus underline, pixel matrix with each row represented by a byte value. Eg.: Custom Character ’h’ Each bit value of one, in the table, represents an on pixel, whereas a value of zero represents a pixel that is turned off. Therefore in order to defi ...

Page 30

... Description New to the VK162-12 has added five non-volatile memory banks for custom character storage. This is intended to allow you to create your own custom bar graphs, medium/large numbers and startup screen. However, each memory bank may be used to store a set of any eight custom characters; with the only provision being that memory bank zero contains the characters that will be used in the startup screen ...

Page 31

... NOTE Medium Numbers must be initialized before this command is executed. Remembered No Matrix Orbital 0xFE 0x6D 254 109 254 “m” 0xFE 0x6F [Row] [Col] [Digit] 254 111 [Row] [Col] [Digit] 254 “o” [Row] [Col] [Digit] Length Description 1 The row number. 1 The column number. 1 Medium number to place (0-9). VK162-12 27 ...

Page 32

... Length Description 1 The column number. 1 The row number. 1 The direction of the bar data (0 or 1). 1 The length of the bar data. 0xFE 0x73 254 115 254 “s” VK162-12 28 ...

Page 33

... Place Vertical Bar Hexadecimal Syntax Decimal ASCII Parameters Parameter Column Length Matrix Orbital 0xFE 0x76 254 118 254 “v” 0xFE 0x3D [Column] [Length] 254 61 [Column] [Length] 254 “=” [Column] [Length] Length Description 1 The column number. 1 The length of the bar data. VK162-12 29 ...

Page 34

... General purpose outputs allow you to connect devices, such as LEDs, to the VK162-12 and supply them with up to 20mA of current at 5V. The VK162-12 has 7 GPOs which are software controlled, with functions to turn them on/off and set the power state for the next startup. ...

Page 35

... Syntax Decimal ASCII Parameters Parameter Num Description This command turns ON general purpose output [num]. The standard GPO’s on the VK162-12 output 20mA of current at 5V. NOTE ON means the output is pulled HIGH. Remembered Yes 7.5 Set Startup GPO state Hexadecimal Syntax Decimal Parameters ...

Page 36

... Dallas 1-Wire 8.1 Introduction Another convenient feature of the VK162-12 is that it provides a Dallas 1-wire interface in order to readily communicate with up to thirty two 1-wire devices on a single bus. 1-wire communication is begun by discovering the address of the device that you wish to communicate with this you must send the “ ...

Page 37

... Length Description 1 Flags to control optional components of the transaction. 1 The number of bits you will be transmitting on the bus. 1 The number of bits you will be reading on the bus. variable Data to be transmitted, LSB to MSB. VK162-12 33 ...

Page 38

... No 9 Keypad 9.1 Introduction The VK162-12 supports key, matrix style, keypad and may be configured to allow key presses to be automatically transmitted via RS-232 or polled through I repeating key presses, and remapping of all keypad character codes. The connector is not keyed so the keypad will probably plug in either of two ways. The display will not be damaged by reversing the connector ...

Page 39

... This is the default mode on power up. NOTE This command is not available in I Remembered Yes Default On 9.3 Auto Transmit Key Presses Off Hexadecimal Syntax Decimal ASCII Matrix Orbital C specification by Phillips. 0xFE 0x41 254 65 254 “A” 0xFE 0x4F 254 79 254 “O” VK162- ...

Page 40

... It may also be used, in effect, to reset the keypad in case the host application resets for whatever reason. Matrix Orbital 2 C. 0xFE 0x26 254 38 254 “&” read keys in I 0xFE 0x45 254 69 254 “E” VK162- mode, one just needs 36 ...

Page 41

... Parameters Parameter mode Matrix Orbital 0xFE 0x55 [time] 254 85 [time] 254 “U” [time] Length Description 1 Debounce time in increments of 6.554ms (0 - 255). 0xFE 0x7E [mode] 254 126 [mode] 254 “~” [mode] Length Description 1 Auto Repeat Mode (0: Resend Key , 1: Key Up/Down) VK162-12 37 ...

Page 42

... On the release of the key, the key release code transmitted will be a value equal to the key down code plus 20 hex. 0xFE 0x60 254 96 254 “‘” 0xFE 0xD5 [KDown] [KUp] 254 213 [KDown] [KUp] VK162- the “Key 38 ...

Page 43

... Display Functions 10.1 Introduction The VK162-12 employs software controlled display settings, which allow for control over, clearing the screen, changing the brightness and contrast or setting timers for turning off. The combination of these allow you complete software control over your display’s appearance. ...

Page 44

... Decimal Parameters Parameter brightness Matrix Orbital 0xFE 0x46 254 70 254 “F” 0xFE 0x59 [brightness] 254 89 [brightness] 254 “Y” [brightness] Length Description 1 Brightness setting (0 to 3). Brightness 25% 50% 75% 100% 0xFE 0x91 [brightness] 254 145 [brightness] Length Description 1 Brightness setting (0 to 3). VK162-12 40 ...

Page 45

... Ensuring that your VK162-12 display’s exactly what you want it to can be the difference between a projects success and failure. This is why we incorporate features such as Data Lock into the VK162-12 With this new feature you now are in control over of how and when settings will be changed so there is no need to worry about the module acting exactly like you expected it to because all the settings may be locked and remembered for the next power up ...

Page 46

... Non-volatile memory has a ‘write limit’ and may only be changed approximately 100,000 times. Remembered No Default Do not remember 11.3 Data Lock Hexadecimal Syntax Decimal Parameters Parameter level Matrix Orbital 0xFE 0xCA 0xF5 0xA0 [level] 254 202 245 160 [level] Length Description 1 Sets the data lock level VK162-12 42 ...

Page 47

... When this bit is set (1) the module is locked from dis- playing any new informa- tion. (text lock) Hex Dec Binary 0x00 0 0 0x50 80 01010000 Setting and Command Lock 0xFE 0xCB 0xF5 0xA0 [level] 254 203 245 160 [level] VK162- Slave Description Unlock 43 ...

Page 48

... Read Version Number Matrix Orbital Length Description 1 Sets the data lock level 0xFE 0x34 [data] 254 52 [data] 254 “4” [data] Length Description 16 Writes the customer data 0xFE 0x35 254 53 254 “5” VK162-12 44 ...

Page 49

... This command will return a byte representing the version of the module, see the following table as an example: Remembered No 12.3 Read Module Type Hexadecimal Syntax Decimal ASCII Matrix Orbital 0xFE 0x36 254 54 254 “6” Hex Value Version Number 0x19 Version 1.9 0x57 Version 5.7 0xFE 0x37 254 55 254 “7” VK162-12 45 ...

Page 50

... VK402-12 4A LK402-25 4C PK204-25 4E MOS 50 XBoard-S 52 MOU 54 LK202-25-USB 56 LK204-25-USB 58 LK162-12-TC 5C Unused 72 LK404-25 74 Unused 78 GLT480282 7A VK162-12 Product ID LCD2021 LCD4021 LK202-25 LK404-55 VFD2041 VK202-25 GLC12232 Unused Unused GLK12232-25 GLK12232-25-SM GLK24064-16-1U GLK12232-16 GLK19264-7T-1U LK204-7T-1U-USB MOS-AV-162A LK162-12 LK202-24-USB LK204-24-USB PK162-12 MOS-AP-162A MOS-AL-162A MOS-AV-202A PK202-24-USB MOS-AL-204 MOS-AL-402 ...

Page 51

... ASCII 254 “C” Hexadecimal 0xFE 0x44 Decimal 254 68 ASCII 254 “D” Hexadecimal 0xFE 0x47 [col] [row] Decimal 254 71 [col] [row] ASCII 254 “G” [col] [row] Hexadecimal 0xFE 0x48 Decimal 254 72 ASCII 254 “H” VK162-12 Page Page ...

Page 52

... Hexadecimal 0xFE 0x68 Decimal 254 104 ASCII 254 “h” Hexadecimal 0xFE 0x7C [Col] [Row] [Dir] [Length] Decimal 254 124 [Col] [Row] [Dir] [Length] ASCII 254 “|” [Col] [Row] [Dir] [Length] VK162-12 Page Page ...

Page 53

... Syntax Hexadecimal 0xFE 0xC8 0x2 Decimal 254 200 2 Hexadecimal 0xFE 0xC8 0x1 [flags] [SndBits] [RcvBits] [Data] Decimal 254 200 1 [flags] [SndBits] [RcvBits] [Data] Syntax Hexadecimal 0xFE 0x41 Decimal 254 65 ASCII 254 “A” VK162-12 Page Page Page 32 33 Page 35 49 ...

Page 54

... ASCII 254 “Y” [brightness] Hexadecimal 0xFE 0x91 [brightness] Decimal 254 145 [brightness] Syntax Hexadecimal 0xFE 0x93 [switch] Decimal 254 147 [switch] Hexadecimal 0xFE 0xCA 0xF5 0xA0 [level] Decimal 254 202 245 160 [level] VK162-12 Page Page Page 41 42 ...

Page 55

... Auto Transmit Key Presses On “B” Display On “C” Set Auto Line Wrap On “D” Set Auto Line Wrap Off “E” Clear Key Buffer “F” Display Off “G” Set Cursor Position “H” Go Home “J” Underline Cursor On VK162-12 Page Page ...

Page 56

... Place Horizontal Bar Graph “~” Set Auto Repeat Mode Set and Save VFD Brightness Set Remember Setting a Non-Standard Baud Rate Loading Custom Characters Saving Custom Characters Save Startup Screen Custom Characters Set Startup GPO state Dallas 1-Wire Transaction Data Lock VK162- ...

Page 57

... C to +70 C -50 90% max non-condensing 2 4.9 m/s XYZ directions 2 19.6 m/s XYZ directions 2 29.4 m/s XYZ directions 2 490 m/s XYZ directions Table 68: Electrical Specifications Standard Wide Voltage (V) +5Vdc ±0.25V +9V to +15V 250 mA 390 mA VK162-12 ◦ ◦ +85 C ◦ ◦ + ...

Page 58

... Dot Pitch Luminance Color of Illumination 14.3 Physical Layout Matrix Orbital Table 69: Optical Characteristics 80. 36. 27. (16 characters by 2 lines with underline 51.40 x 11.40 mm 2.275 x 4.759 mm (XxY)* 3.275 mm 5.991 mm 0.359 x 0.577 mm (XxY) 0.479 x 0.697 mm (XxY) 2 350cd/m (100fL) min Blueish Green * Not including underline. VK162-12 54 ...

Page 59

... Matrix Orbital Figure 19: Physical Diagram VK162-12 55 ...

Page 60

... Contacting Matrix Orbital Telephone Sales: 1(403)229-2737 Support: 1(403)204-3750 On The Web Sales: http://www.MatrixOrbital.com Support: http://www.MatrixOrbital.ca Forums: http://www.lcdforums.com 14.6 Revision History Revision Number 3.0 3.1 Matrix Orbital Table 70: Revision History Description Initial Manual Update for PCN 2009-04-16-01 VK162-12 Author Matrix Orbital Clark 56 ...

Related keywords