Download Print this page

Advertisement

Quick Links

VK202-25-USB
Technical Manual
Revision: 1.0
Downloaded from
Elcodis.com
electronic components distributor

Advertisement

loading
Need help?

Need help?

Do you have a question about the VK202-25-USB and is the answer not in the manual?

Questions and answers

Summary of Contents for Matrix Orbital VK202-25-USB

  • Page 1 VK202-25-USB Technical Manual Revision: 1.0 Downloaded from Elcodis.com electronic components distributor...
  • Page 2: Table Of Contents

    5.5 Changing the Startup Screen ........20 Matrix Orbital...
  • Page 3 9.9 Assign Keypad Codes ........37 Matrix Orbital...
  • Page 4 14.5 Contacting Matrix Orbital ........
  • Page 5: Getting Started

    Figure 1: VK202-25-USB Filter Options 1 Getting Started The VK202-25-USB is an intelligent VFD display designed to decrease development time by providing an instant solution to any project. With the ability to communicate via USB protocol, the versatile VK202- 25-USB 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.
  • Page 6: Accessories

    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 53 for contact information.
  • Page 7 Figure 3: Keypad Mountings Figure 4: Mounting Kits Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 8: Features

    • 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 • Fits Matrix Orbital’s mountings without any modifications Matrix Orbital VK202-25-USB Downloaded from Elcodis.com...
  • Page 9: Connecting To A Pc

    1.4 Connecting to a PC The VK202-25-USB 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 USB cable such as the one pictured in figure 2 on page 2...
  • Page 10: Uproject

    1.5.2 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 website, follow the following steps: 1.
  • Page 11: Power Connector

    Figure 8: VK202-25-USB 2.1 Power Connector The VK202-25-USB provides a Power Connector to allow the device to be powered externally. In order to power the device externally, you must remove one of the USB protocol select jumpers. The jumper to remove is the rightmost USB jumper as seen if figure 16...
  • Page 12: Keypad Interface Connector

    2.2 Keypad Interface Connector The VK202-25-USB 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. 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 13: Usb Header

    2.4 USB Header The USB Header provides USB connector for communication and power of the display. An alternate power option for the display can be seen in figure 9 Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 14: Serial Header

    • Do not apply any voltage other than the specified voltage. 2.5 Serial Header The VK202-25-USB also offers an alternative, Serial Header option to permit serial communication with the device. Please note the the display normally does not come with the Serial Header, it will have to be ordered as a custom.
  • Page 15: General Purpose Outputs

    2.6 General Purpose Outputs A unique feature of the VK202-25-USB 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.
  • Page 16: Dallas 1-Wire Bridge

    2.7 Dallas 1-Wire Bridge In addition to the six general purpose outputs the VK202-25-USB offers an optional Dallas 1-wire bridge, to allow for an aditional thirty two 1-wire devices to be connected to the display. Please note the the display normally does not come with the Dallas 1-wire bridge, it will have to be ordered as a custom.
  • Page 17: Troubleshooting

    Matrix Orbital using one of the mehods described in section 14.5. • The last step will be to check the USB Cable on the VK202-25-USB. If the USB Cable has become loose, or you are unable to resolve the issue, please contact Matrix Orbital, see section 14.5 for contact information.
  • Page 18: The Display Module Is Communicating, However Text Cannot Be Displayed

    0x51, whereas the write address is 0x50 by default. This address may be changed by using cmd 254 / 51 / <address>. The VK202-25-USB should only be sent addresses that are even (LSB is 0). When the I...
  • Page 19: C Transaction Example

    RS-232 protocol at at a default baud rate of 19,200 bps and is capable of standard baud rates from 9600 to 115,200 bps. Furthermore the VK202-25-USB 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: Usb Communication

    Communication is via a virtual com port, which is created in the operating system by the drivers necessary to install the USB display. The VK202-25-USB communicating via USB is capable of baud rates of 19,200 bps to 115,200 bps. Other baud rates are subject to the limitation of the virtual com port driver. For further information regarding supported operating systems, and driver limitations please contact technical support.
  • Page 21: Setting A Non-Standard Baud Rate

    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-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 22: Text

    5 Text 5.1 Introduction The VK202-25-USB 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 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 as if it was a page on a typewriter.
  • Page 23: Character Set

    5.1.1 Character Set Figure 17: Character Set 5.1.2 Control Characters In addition to a full text set, the VK202-25-USB display supports the following ASCII Control charac- ters: 0x08 Backspace 0x0C Clear screen / New page 0x0D Carriage return 0x0A Line feed / New line 5.2 Auto Scroll On...
  • Page 24: Auto Scroll Off

    254 “@” Description In order to change the text that is displayed by the VK202-25-USB 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 Auto Line Wrap On

    flow. Remembered 5.8 Set Cursor Position Syntax Hexadecimal 0xFE 0x47 [col] [row] Decimal 254 71 [col] [row] ASCII 254 “G” [col] [row] Parameters Parameter Length Description Column Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 26: Go Home

    Remembered 5.11 Move Cursor Forward Syntax Hexadecimal 0xFE 0x4D Decimal 254 77 ASCII 254 “M” Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 27: Underline Cursor On

    Hexadecimal 0xFE 0x53 Syntax Decimal 254 83 ASCII 254 “S” Description This command will cause the VK202-25-USB to display a block cursor at the current text insertion point. Remembered 5.15 Blinking Block Cursor Off Matrix Orbital VK202-25-USB Downloaded from Elcodis.com...
  • Page 28: Special Characters

    6 Special Characters 6.1 Introduction The VK202-25-USB 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.
  • Page 29: Saving Custom Characters

    Description The VK202-25-USB allows for upta to eight custom defined characters to be added onto the the character set. A custom character is a five by eight pixel matrix with each row represented by a byte value. For example: Custom Character ’h’...
  • Page 30: Loading Custom Characters

    Description New to the VK202-25-USB 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;...
  • Page 31: Initialize Medium Number

    Medium number to place (0-9). Description This command will place a medium number (two columns high) at the [row] and [col] specified. NOTE Medium Numbers must be initialized before this command is executed. Remembered Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 32: Initialize Horizontal Bar

    • Horizontal Bars must be initialized before this command is executed. • Bar graphs may be one directional only. Remembered 6.10 Initialize Narrow Vertical Bar Syntax Hexadecimal 0xFE 0x73 Decimal 254 115 ASCII 254 “s” Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 33: Initialize Wide Vertical Bar

    Hexadecimal 0xFE 0x3D [Column] [Length] Syntax Decimal 254 61 [Column] [Length] ASCII 254 “=” [Column] [Length] Parameters Parameter Length Description Column The column number. Length The length of the bar data. Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 34: General Purpose Output

    General purpose outputs allow you to connect devices, such as LEDs, to the VK202-25-USB and supply them with up to 20mA of current at 5V. The VK202-25-USB has 6 GPOs which are software controlled, with functions to turn them on/off and set the power state for the next startup.
  • Page 35: Set Startup Gpo State

    8 Dallas 1-Wire 8.1 Introduction Another convenient feature of the VK202-25-USB 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’...
  • Page 36: Dallas 1-Wire Transaction

    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-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 37: Keypad

    9 Keypad 9.1 Introduction The VK202-25-USB supports up to a 25 key, matrix style, keypad and may be configured to allow key presses to be automatically transmitted via USB. The VK202-25-USB also allows for auto-repeating key presses, and remapping of all keypad character codes.
  • Page 38: Auto Transmit Key Presses On

    254 38. Issuing this command places the unit in polled mode. Remembered 9.4 Poll Key Press Hexadecimal 0xFE 0x26 Syntax Decimal 254 38 ASCII 254 “&” Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 39: Clear Key Buffer

    The [time] value is in increments of 6.554ms. The default debounce time for the module is 8 (about 52ms), which is adequate for most membrane keypads. Remembered Default Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 40: Set Auto Repeat Mode

    9.8 Auto Repeat Mode Off Hexadecimal 0xFE 0x60 Syntax Decimal 254 96 ASCII 254 “‘” Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 41: Assign Keypad Codes

    10 Display Functions 10.1 Introduction The VK202-25-USB 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.
  • Page 42: Display Off

    Brightness 0x03 0x02 0x01 0x00 100% 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 Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 43: Data Security

    11 Data Security 11.1 Introduction Ensuring that your VK202-25-USB 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-USB 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 44: Data Lock

    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-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 45: Set And Save Data Lock

    Default Examples Binary Description 0x00 Unlock 0x50 01010000 Setting and Command Lock 11.4 Set and Save Data Lock Hexadecimal 0xFE 0xCB 0xF5 0xA0 [level] Syntax Decimal 254 203 245 160 [level] Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 46: Write Customer Data

    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. 12.2 Read Version Number Matrix Orbital VK202-25-USB Downloaded from Elcodis.com...
  • Page 47: Read Module Type

    Hex Value Version Number 0x19 Version 1.9 0x57 Version 5.7 Remembered 12.3 Read Module Type Hexadecimal 0xFE 0x37 Syntax Decimal 254 55 ASCII 254 “7” Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 48 MOS-AP-202A PK202-24-USB MOS-AL-082 MOS-AL-204 MOS-AV-204 MOS-AL-402 MOS-AV-402 LK082-12 VK402-12 VK404-55 LK402-25 VK402-25 PK204-25 Unused XBoard-S XBoard-I XBoard-U LK202-25-USB VK202-25-USB LK204-25-USB VK204-25-USB LK162-12-TC Unused Unused GLK240128-25 LK404-25 VK404-25 Unused GLT320240 GLT480282 GLT240128 Remembered Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 49: Command Summary

    254 “D” Hexadecimal 0xFE 0x47 [col] [row] Set Cursor Position Decimal 254 71 [col] [row] ASCII 254 “G” [col] [row] Hexadecimal 0xFE 0x48 Go Home Decimal 254 72 ASCII 254 “H” Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 50: Special Characters

    Decimal 254 104 ASCII 254 “h” Hexadecimal 0xFE 0x7C [Col] [Row] [Dir] [Length] Place Horizontal Bar Decimal 254 124 [Col] [Row] [Dir] [Length] Graph ASCII 254 “|” [Col] [Row] [Dir] [Length] Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 51: General Purpose Output

    Description Syntax Page Hexadecimal 0xFE 0x41 Auto Transmit Key Decimal 254 65 Presses On ASCII 254 “A” Auto Transmit Key Hexadecimal 0xFE 0x4F Decimal 254 79 Presses Off ASCII 254 “O” Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 52: Display Functions

    Hexadecimal 0xFE 0xCA 0xF5 0xA0 [level] Data Lock Decimal 254 202 245 160 [level] Hexadecimal 0xFE 0xCB 0xF5 0xA0 [level] Set and Save Data Lock Decimal 254 203 245 160 [level] Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 53: Miscellaneous

    Display Off 0x47 “G” Set Cursor Position 0x48 “H” Go Home 0x4A “J” Underline Cursor On 0x4B “K” Underline Cursor Off 0x4C “L” Move Cursor Back 0x4D “M” Move Cursor Forward Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 54 Setting a Non-Standard Baud Rate 0xC0 Loading Custom Characters 0xC1 Saving Custom Characters 0xC2 Save Startup Screen Custom Characters 0xC3 Set Startup GPO state 0xC8 Dallas 1-Wire Transaction 0xCA Data Lock Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 55: Appendix

    116.00 mm x 37.00 mm x 27.7 mm Character Size 3.20 mm x 5.55 mm Active Area 75.50 mm x 11.50 mm LED Backlight Life 100,000 hours typical 14.3 Physical Layout Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 56 Figure 18: Physical Diagram Matrix Orbital VK202-25-USB Downloaded from Elcodis.com electronic components distributor...
  • Page 57: Definitions

    14.4 Definitions E Extended Temperature (-20C to 70C) MSB Most Significant Byte LSB 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 Forums: http://www.lcdforums.com Matrix Orbital VK202-25-USB Downloaded from Elcodis.com...