With the ability to communicate via serial RS-232/TTL and I C protocols, the versatile VK202-25 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 brightness, and baud rate to be software controlled.
1.2 Accessories NOTE Matrix Orbital provides all the interface accessories needed to get your display up and running. 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 54 for contact information.
Page 7
Figure 5: Breadboard Cable Figure 6: Serial Cable 4FT Matrix Orbital VK202-25...
Page 8
Figure 7: Communication and 5V Power Cable Figure 8: Aluminum Mountings Matrix Orbital VK202-25...
Software controlled brightness with configurable time-out setting up to 90 minutes and software con- trolled speed Use of up to a 25 key keypad with a 10 key buffer Horizontal or vertical bar graphs Extended temperature option Fits Matrix Orbital’s mountings without any modifications Matrix Orbital VK202-25...
1.4 Connecting to a PC The VK202-25 connects seamlessly to a PC and it is an 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 , as well as a modified 5V power adapter such as the one pictured in...
1.5 Installing the Software 1.5.1 uProject uProject was designed by Matrix Orbital to provide a simple and easy to use interface that will allow you to test all of the features of our alpha numeric displays. To install uProject from the Matrix Orbital CD, follow the following steps: Insert the Matrix Orbital CD-ROM into the CD drive Locate the file, uProject.exe, which should be in the “CD-drive:\Download”...
Manual Override Figure 15: VK202-25 2.1 DB-9 Connector The VK202-25 provides a DB-9 Connector to readily interface with serial devices which use the EIA232 standard signal levels of 12V to 12V. It is also possible to communicate at TTL levels of 0 to +5V by setting the Protocol Select Jumpers to TTL.
In order to provide power through pin 9 of the DB-9 Connector you must place a solder jumper on the Power through DB-9 Jumper pictured in below. The VK202-25 allows all voltage models to use figure 17 the power through DB-9 option, see table 1 on the following page for display module voltage requirements.
C mode and have a default slave address of 0x50 unless it has been changed. Similarly, in order to change the display to TTL mode, simply remove the zero ohm resistors from the 232 or I C jumpers and solder them to the TTL jumpers. Matrix Orbital VK202-25...
2.4 General Purpose Outputs A unique feature of the VK202-25 is the ability to control relays and other external devices using a General Purpose Output, which can provide up to 20 mA of current and +5Vdc from the positive side of the GPO.
2.5 Dallas 1-Wire Bridge In addition to the six general purpose outputs the VK202-25 offers a Dallas 1-wire bridge, to allow for an aditional thirty two 1-wire devices to be connected to the display. Please note that the display normally does not come with the Dallas 1-wire bridge.
2.7 Keypad Interface Connector The VK202-25 provides a Keypad Interface Connector which allows for up to a 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.
The last step will be to check the Power / Data Connector on the VK202-25. If the Power / Data Connector has become loose, or you are unable to resolve the issue, please contact Matrix Orbital, see 14.5 on page 54 for contact information.
$50 (0101 0000) , since the LSB has to be 0 for an I2C master write. When the I2C master wishes to read the VK202-25, the effective address is $51 (0101 0001), since the LSB has to be 1 for an I2C master read.
ACK to indicate that the master still needs data, and a NAK to indicate that the transmission is over. The VK202-25 has some speed limitations, especially when run in I2C mode. Here are some considera- tions when writing I2C code: * to be able to read the replies of query commands (eg.
Hex Value Baud Rate 1200 2400 4800 9600 19200 28800 38400 57600 NOTE This command is not available in I2C mode. Remembered Always Default 19,200 bps Matrix Orbital VK202-25...
12 to 2047 which corresponds to a baud range of 977 to 153,800 baud. 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 VK202-25...
5 Text 5.1 Introduction The VK202-25 is an intelligent display module, designed to reduce the amount of code necessary to begin displaying data. This means that it is able to display all characters and strings that are sent to it, which are defined in the current character set.
Description In order to change the text that is displayed by the VK202-25 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.
Remembered 5.9 Go Home Hexadecimal 0xFE 0x48 Syntax Decimal 254 72 ASCII 254 “H” Description This command will return the cursor to the top left corner of the display area, identified as row one, column one. Remembered Matrix Orbital VK202-25...
5.12 Underline Cursor On Hexadecimal 0xFE 0x4A Syntax Decimal 254 74 ASCII 254 “J” Description This command will cause the VK202-25 to display an underline cursor at the current text insertion point. Remembered 5.13 Underline Cursor Off Matrix Orbital VK202-25...
Hexadecimal 0xFE 0x53 Syntax Decimal 254 83 ASCII 254 “S” Description This command will cause the VK202-25 to display an underline cursor at the current text insertion point. Remembered 5.15 Blinking Block Cursor Off Hexadecimal 0xFE 0x54 Syntax Decimal 254 84 ASCII 254 “T”...
Description The VK202-25 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’...
Description New to the VK202-25 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;...
Length Description Parameters The row number. The column number. Digit Medium number to place (0-9). Description This command will place a medium number (two columns high) at the [row] and [col] specified. Remembered 6.8 Initialize Horizontal Bar Matrix Orbital VK202-25...
The [Length] is the size in pixels of the bar graph. NOTE Bar graphs may be one directional only. Remembered 6.10 Initialize Narrow Vertical Bar Hexadecimal 0xFE 0x73 Syntax Decimal 254 115 ASCII 254 “s” Matrix Orbital VK202-25...
The length of the bar data. Description This command will place a bar graph at the specified [Column] with the specified [Length]. The [Length] is the size in pixels of the bar graph. NOTE Bar graphs may be one directional only. Remembered Matrix Orbital VK202-25...
General purpose outputs allow you to connect devices, such as LEDs, to the VK202-25 and supply them with up to 20mA of current at 5V. The VK202-25 has 6 GPOs which are software controlled, with functions to turn them on/off and set the power state for the next startup.
8 Dallas 1-Wire 8.1 Introduction Another convenient feature of the VK202-25 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. To do this you must send the “Search for a 1-Wire Device’...
SndBits The number of bits you will be transmitting on the bus. RcvBits The number of bits you will be reading on the bus. Data variable Data to be transmitted, LSB to MSB. Matrix Orbital VK202-25...
9 Keypad 9.1 Introduction The VK202-25 supports up to a 25 key, matrix style, keypad and may be configured to allow key presses to be automatically transmitted via RS-232 or polled through I C. The VK202-25 also allows for auto- repeating key presses, and remapping of all keypad character codes.
In this mode, all key presses are sent immediately to the host system without the use of the poll keypad command. This is the default mode on power up. NOTE This command is not available in I2C. Remembered Default 9.3 Auto Transmit Key Presses Off Matrix Orbital VK202-25...
No preceding commands are necessary. If there are no keys pressed the read will result in a 0x00. Remembered 9.5 Clear Key Buffer Hexadecimal 0xFE 0x45 Syntax Decimal 254 69 ASCII 254 “E” Matrix Orbital VK202-25...
10 Display Functions 10.1 Introduction The VK202-25 employs software controlled display settings, which allow for control over, clearing the screen, changing the brightness and contrast or setting timers for turning it on or off. The combination of these allow you complete software control over your display’s appearance.
If the remember function is on, this command acts the same as ’Set and Save VFD Brightness’. Remembered Default 10.5 Set and Save VFD Brightness Hexadecimal 0xFE 0x91 [brightness] Syntax Decimal 254 145 [brightness] Parameters Parameter Length Description brightness Brightness setting (0 to 3). Matrix Orbital VK202-25...
Ensuring that your VK202-25 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 VK202-25 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.
Non-volatile memory has a ‘write limit’ and may only be changed approximately 100,000 times. Remembered Default Do not remember 11.3 Data Lock Hexadecimal 0xFE 0xCA 0xF5 0xA0 [level] Syntax Decimal 254 202 245 160 [level] Parameters Parameter Length Description level Sets the data lock level Matrix Orbital VK202-25...
Page 47
(text lock) NOTES Sending a new data lock level will override the previous data lock level. Data lock levels may be combined. Remembered Always Default Examples Binary Description 0x00 Unlock 0x50 01010000 Setting and Command Lock Matrix Orbital VK202-25...
Reads whatever was written by Write Customer Data. Remembered 12 Miscellaneous 12.1 Introduction This chapter covers the ’Report Version Number’ and ’Read Module Type’ commands. These commands can be particularly useful to find out more information about the display module before contacting technical support. Matrix Orbital VK202-25...
This command will return a byte representing the version of the module, see the following table as an example: Hex Value Version Number 0x10 Version 1.0 0x20 Version 2.0 0x42 Version 4.2 Remembered 12.3 Read Module Type Hexadecimal 0xFE 0x37 Syntax Decimal 254 55 ASCII 254 “7” Matrix Orbital VK202-25...
Initialize Medium Number 0x6F “o” Place Medium Numbers 0x73 “s” Initialize Narrow Vertical Bar 0x76 “v” Initialize Wide Vertical Bar 0x7C “|” Place Horizontal Bar Graph 0x7E “~” Set Auto Repeat Mode 0x91 Set and Save VFD Brightness Matrix Orbital VK202-25...
Shock (Operating) 29.4 m/s XYZ directions Shock (Non-Operating) 593 m/s XYZ directions 14.1.2 Electrical Table 66: Electrical Specifications Standard -VPT Supply Voltage +5Vdc 0.25V +9V to +15V +9V to +35V Supply Current 148 mA typical Inrush 250 mA Matrix Orbital VK202-25...
Extended Temperature (-40C to 85C) Wide Voltage with Efficient Switching Power Supply (+9 to +35Vdc) Wide Voltage (+9 to +15Vdc) Most Significant Byte Least Significant Byte 14.5 Contacting Matrix Orbital Telephone Sales and Support: 1(403)229-2737 On The Web Sales: http://www.MatrixOrbital.com Support: http://www.MatrixOrbital.ca...
Need help?
Do you have a question about the VK202-25 and is the answer not in the manual?
Questions and answers