Technical Manual Revision1.1 PCB Revision: 1.0 or greater Firmware Revision: 1.
Revision History Revision Description Author 1.0 Initial Release Clark 1.1 Added VFD Option Clark 0.1 Initial Engineering Draft Clark 0.2 Internal Draft (Henry Release) Clark 0.3 Internal Reformat Clark 0.4 Internal Smaller Magazine Text Reformat Clark 0.5 Internal Re-organization and Connections Addition Clark 0.6 Step Simplification and Expansion Clark 0.7 Minor Changes in preparation of Release Clark 0.
Table of Contents Introduction.................................................................................................................................................................................2 Quick Start...................................................................................................................................................................................3 Parts Included.................................................................................................
Introduction The Matrix Orbital DevDevil is a product development board which provides all of the functionality of an alphanumeric display in a project development friendly package. A variety of color options are offered for both the 2 row by 20 column and 4 row by 20 column screen models. All DevDevil products contain the same 6 general purpose outputs and 5 x 5 keypad input found on their production counterparts.
Quick Start Parts Included Illustration 1: Included* and Optional Parts 1 x DevDevil Development Board DD-20X-XX 1 x 3ft mini-B USB Cable EXTMUSB3FT 1 x Breadboard Development Cable** BBC 1 x AC Power Adapter** ACPC 1 x 4ft Serial Cable** CSS4FT Table 1: Included* and Recommend Parts List *Note: If any parts are missing from your order, please contact a sales associate as quickly as possible using the Contact Information at the end of this document.
Basic Connections Illustration 2: DevDevil Basic Connections 1 USB Connector 5 Protocol Select Switches 2 Serial DB9 Connector 6 Input Select Jumper 3 Power/Communication Header 7 Voltage Select Jumper 4 AC Power Input Table 2: DevDevil Basic Connections 4
USB Cables Required EXTMUSB3FT 1 2 3 4 5 6 7 8 9 10 X X X X X X X X X X Table 3: USB Protocol Select Illustration 3: USB Connection The USB connection is the quickest, easiest solution for PC development. After driver installation, the DevDevil will be accessible through a virtual serial port, providing the same result as a serial setup without the cable hassle. To connect to your DevDevil using USB protocol, please follow the steps below. 1. 2. Prepare the onboard jumpers. i.
Serial Cables Required ACPC, CSS4FT 1 2 3 4 5 6 7 8 9 10 X X X X X X X X X X Table 4: RS232 Protocol Select Illustration 4: RS232 Connection Serial protocol provides a classic alternative the the USB method listed above. Two additional cables are required for this connection; the 4 ft serial cable and AC power adapter. These must be purchased in addition to the DevDevil kit. This set up will provide constant regulated power to your development board and provide a familiar communication scheme.
I2C Cables Required BBC 1 2 3 4 5 6 7 8 9 10 X X X X X X X X X X Table 5: I2C Protocol Select Illustration 5: I2C Connection The most advanced connection to the DevDevil is provided by the I2C protocol setting. This mode is usually used when connecting to a controller and serial TTL capability is not available. It requires a connection directly to your project, best accomplished using a breadboard and the included cable of the same name.
Software Numeric Conversion All command values listed in the document are shown in decimal notation for continuity and simplicity, however, different applications my require different numeric systems. The most basic computing numeric system is binary notation. Each digit is a placeholder for a value equaling 2 to the power of it's position.
uProject The Matrix Orbital alphanumeric display tuner, or uProject, is offered as a free download from the www.matrixorbital.ca support site. It allows the basic functionality of any display* to be tested using a simple graphical user interface system. While basic functionality can be tested using the GUI portion of the program, more advanced users will enjoy the scripting capability found in the uploader tab. Here commands can be stacked, run, and saved for later use.
Hardware Advanced Connections Illustration 6: DevDevil Advanced Connections 8 Screen* 15 Keypad Buttons 9 Power Indicator 16 GPO Header 10 Optional Power Through DB9 Jumper** 17 GPO Indicators 11 Serial Communication Indicators 18 GPO Indicator Enable 12 Optional Alternate USB Header** 19 Dallas One-Wire Connector 13 USB Communication Indicators 20 Manual Override 14 Keypad Header Table 11: DevDevil Advanced Connections *Note: The 4x20 LCD screen shown, the DevDevil is also available with a 2x20
Screen Illustration 7: Screen Location and Power Indicator The DevDevil provides a twenty character column alphanumeric display that is either two or four rows high. Both of these popular screens are available in an array of colours on a variety of Production modules listed in the appendix below. The initial power up message, contrast, and brightness settings are customizable.
USB Connectors Mating Cables EXTMUSB3FT, INTMUSB3FT Illustration 9: Mini and Alternate USB Connections with Indicators The mini USB configuration is supplied for communication and power input. To order the DevDevil with the alternate USB header populated for more advanced applications, contact a Matrix Orbital sales representative. In order to power the DevDevil using USB, ensure that the Voltage Select jumper is removed and the Power Select jumper is set to USB.
AC Power Input Mating Cables ACPC Illustration 11: AC Power Jack and Input Select In addition to the methods mentioned above, the DevDevil can be powered with an AC to DC adapter. The output voltage of any device must be between 9 and 15 volts DC and the barrel used must be center positive. For this configuration, the Voltage Select jumper must be placed on the 9-15V Input side and the Power Select jumper set to input. This input can be useful when communicating to the device via a computer serial port.
Keypad Mating Cables KPP4X4 Illustration 13: Keypad Header and Buttons Facilitating user input, the keypad interface header allows a Matrix Orbital or any other passive matrix style input device to be attached to the DevDevil in a 5x5 row, column format. A customizable value is returned to the host each time one of the five row pins is connected to a column pin.
Dallas One-Wire Mating Cables Temperature Probe Illustration 15: Dallas One-Wire Connector The Dallas One-Wire header affords the ability to add a variety of devices to the DevDevil for purposes ranging from temperature sensing to external memory. Multiple devices can be connected to this bus and accessed using the DevDevil.
Troubleshooting Power In order for the DevDevil to function correctly, it must be supplied with the appropriate power. If the D10 power LED near the AC power adapter input is not illuminated, power is not applied correctly. Try following the tips below. ● ● ● ● ● ● When using the mini USB header for power, ensure that no jumper is present on the J6 Input Voltage selection. The AC power adapter input also requires no jumper on the Input Voltage Select jumper.
Commands 1. Communications 1.1.Changing the I2C Dec Slave Address Hex ASCII 254 51 Address FE 33 Address ■ 3 Address Immediately changes the I2C write address. Address 1 byte, even value 1.2.Changing the Dec Baud Rate Hex ASCII 254 57 Speed FE 39 Speed ■ 9 Speed Immediately changes the baud rate. Can be temporarily forced to 19200 with manual override. Speed 1 byte, valid settings shown below Rate 1200 2400 4800 9600 19200 28800 38400 57600 Speed 83 41 207 103 51 34 25 16 1.3.
2. Text 2.1.Control Characters* 8 (08Hex) Backspace 10 (0AHex) Line feed/New line 12 (0CHex) Clear screen/New page 13 (0DHex) Carriage return *Note: Regular text can be sent using regular alphanumeric strings or individual character values, starting at 65. 2.2.Auto Scroll Dec On Hex ASCII 254 81 FE 51 ■Q Entire contents of screen are shifted up one line when the end of the screen is reached. Display default is auto scroll on. 2.3.
2.6.Set Auto Line Dec Wrap On Hex ASCII 254 67 FE 43 ■C Text will wrap to the next consecutive line once a row becomes full. Display default is auto line wrap on. 2.7.Set Auto Line Dec Wrap Off Hex ASCII 254 68 FE 44 ■D Text will skip one line when wrapping once a row becomes full. 20X4 screens will write to rows 1, 3, 2, then 4 while 20x2 screens will write to rows 1 then 2 but hide one row of characters after each line. Display default is auto line wrap on. 2.8.
2.12.Underline Dec Cursor On Hex ASCII 254 74 FE 4A ■J Displays a line under the current cursor position. Can be used with block cursor. 2.13.Underline Dec Cursor Off Hex ASCII 254 75 FE 4B ■K Removes line under current cursor position. 2.14.Blinking Block Dec Cursor On Hex ASCII 254 83 FE 53 ■S Displays a blinking block over the current cursor position. Can be used with underline. 2.15.Blinking Block Dec Cursor Off Hex ASCII 254 84 FE 54 ■T Removes blinking block over current cursor position.
3. Special Characters 3.1.Create a Custom Dec Character Hex ASCII 254 78 ID Data FE 4E ID Data ■ N ID Data Creates a custom character. Each character is divided into 8 rows of 5 pixels, each data byte represents one row. Each byte is padded by three zero bits followed by five bits representing each pixel state. A one represents an on condition while a zero is off. Characters are lost when a new memory bank is loaded, unless they are saved.
3.3.Load Custom Dec Characters Hex 254 192 Bank FE C0 Bank Loads a bank of custom characters into memory for use. Must be issued before using a bank of characters. Alternatively, an appropriate initialize command can be used. Bank 1 byte, memory bank ID (0-4) 3.4.Save Startup Screen Dec Custom Characters Hex 254 194 ID Data FE C2 ID Data Saves a custom character to memory for the start up screen or repeated use. Start up characters are displayed by sending their ID to the screen.
3.7.Initialize Large Dec Numbers* Hex ASCII 254 110 FE 6E ■n Loads the large number custom character bank into memory. Large numbers must be initialized before use. 3.8.Place Large Dec Number* Hex ASCII 254 35 Column Digit FE 23 Column Digit ■ # Column Digit Places a single large decimal digit of 4 row height and 3 column width on the display at the position specified. Medium numbers must be initialized before being placed.
3.11.Initialize Dec Vertical Bar Hex ASCII 254 118 FE 76 ■v Loads the horizontal bar graph custom character bank into memory. Horizontal bar characters must be initialized before a graph is displayed. 3.12.Place Dec Vertical Bar Hex ASCII 254 61 Column Length FE 3D Column Length ■ = Column Length Places a vertical bar graph on the screen beginning at the column and row specified. The bar extends upwards to the length indicated. A new bar will over write the old.
4. General Purpose Output 4.1.General Purpose Dec Output Off Hex ASCII 254 86 Number FE 56 Number ■ V Number Turns the specified GPO off. Will only affect onboard LEDs if LED enable is jumped. Number 1 byte, GPO (1-6) to be turned off 4.2.General Purpose Dec Output On Hex ASCII 254 87 Number FE 57 Number ■ W Number Turns the specified GPO on. Will only affect onboard LEDs if LED enable is jumped. Number 1 byte, GPO (1-6) to be turned off 4.3.
5. Dallas 1-Wire 5.1.Search for a Dec 1-Wire Device Hex 254 200 2 FE C8 02 Sends a search query to all of the up to 32 devices on the one wire bus. Any connected device will respond with a identification packet.
5.2.Dallas 1-Wire Dec Transaction Hex 254 200 1 Flags Send Bits Receive Bits Data FE C8 01 Flags Send Bits Receive Bits Data Preforms a single Dallas 1-Wire transaction. Consult your device documentation for information regarding device specific protocols. If an error is encountered, a corresponding value will be returned by the device.
6. Keypad 6.1.Auto Transmit Dec Key Presses On Hex ASCII 254 65 FE 41 ■A Key presses are automatically sent to the host when received by the display. Default is auto transmit on. 6.2.Auto Transmit Dec Key Presses Off Hex ASCII 254 79 FE 4F ■O Key presses are held in the 10 key buffer to be polled by the host. Use this mode for I2C transactions. Default is on. 6.3.Poll Key Dec Press Hex ASCII 254 38 FE 26 ■& Reads the last unread key press from the 10 key display buffer.
6.6.Set Auto Dec Repeat Mode Hex 254 126 Mode FE 7E Mode Sets key press repeat mode to typematic or hold. In typematic mode if a key press is held, the key value is transmitted immediately, then 5 times a second after a 1 second delay. In hold mode, the key down value is transmitted once when pressed, then the key up value is sent when the key is released. Default is typematic. Mode 1 byte, 1 for hold mode or 0 for typematic 6.7.Auto Repeat Dec Mode Off Hex 254 96 FE 60 Turns auto repeat mode off.
7. Display Functions 7.1.Display On Dec Hex ASCII 254 66 Minutes FE 42 Minutes ■ B Minutes Turns the display backlight on for a specified length of time. If an inverse display color is used this command will essentially turn on the text. Minutes 1 byte, number of minutes to leave backlight on (0 for infinite) 7.2.Display Off Dec Hex ASCII 254 70 FE 46 ■F Turns the display backlight off indefinitely. If an inverse display colour is used this command will turn off the text. 7.3.
7.5.Set Dec Brightness* Hex 254 153 Brightness FE 99 Brightness Immediately sets the backlight brightness. If an inverse display color is used this represents the text brightness instead. Default is 255. Brightness 1 byte, brightness level from 0(Dim)-255(Bright) 7.6.Set and Save Dec Brightness* Hex 254 152 Brightness FE 98 Brightness Immediately sets and saves the backlight brightness. If an inverse display colour is used this represents the text instead.
8. Data Security 8.1.Set Dec Remember Hex 254 147 Switch FE 93 Switch Allows changes to specific settings to be saved to the display memory. Writing to memory can be slow and each change consumes 1 write of approximately 100,000 available. Set and save functions are always remembered. Off is default. Switch 1 byte, 1 for on or 0 for off 8.2.Data Lock Dec Hex 254 202 245 160 Level FE CA F5 A0 Level Temporarily locks certain aspects of the display to ensure no inadvertent changes are made.
9. Miscellaneous 9.1.Read Version Dec Number Hex ASCII 254 54 FE 36 ■6 Causes display to respond with it's firmware version number. Response 1 byte, convert to hexadecimal to view major and minor revision numbers 9.2.Read Module Dec Type Hex ASCII 254 55 FE 37 ■7 Causes display to respond with it's module number.
Appendix Character Sets Illustration 17: DevDevil LCD Series Character Table 34
Illustration 18: DevDevil VFD Series Character Table 35
Environmental Operating Temperature Storage Temperature Standard VFD Standard 0oC to +50oC -20oC to +70oC -10oC to +60oC -40oC to +80oC Operating Relative Humidity Maximum 90% non-condensing Maximum 80% non-condensing Table 13: DevDevil Environmental Specifications Electrical Current Consumption Board 50mA + Backlight 20-115mA + Indicator GPOs + 1.25mA each Header GPOs 20mA each maximum Table 14: DevDevil Current Consumption Backlight Consumption 10.
Dimensional Drawing Illustration 19: DevDevil Dimensional Drawing 37
Ordering Options DD -DB1 -AL 202 C -GW 1 2 3 4 5 6 # Designator Options 1 Product Line DevDevil 2 Product Type Development Board, Revision 1.0 3 Display Type -AL: Alphanumeric Liquid Crystal Display -AV: Alphanumeric Vacuum Florescent Display 4 Display Size 202: 20 rows by 2 columns 204: 20 rows by 4 columns 5 Screen Size A: 98.0mm x 60.0mm (204 only) C: 116.0mm x 37.
Accessories Power ACPC* AC Power Converter PC5V 5V Power Cable PC12V 12V Power Cable PCUSB USB Power Cable Table 17: DevDevil Power Accessories *Note: Recommended Optional Accessory 39
Communication CSS1FT 1 ft. Serial Cable CSS4FT** 4 ft.
Peripherals KPP4X4 16 Button Keypad Temperature Probe Dallas One-Wire Temperature Probe Table 19: DevDevil Peripheral Accessories 41
Production Products Display Options Protocol* LK/VK202-25 LK/VK202-25-USB LK/VK204-45 LK/VK204-25-USB USB Not Available Default Not Available Default RS232 Default Not Available Default Not Available TTL Available Not Available Available Not Available I2C Available Not Available Available Not Available Table 20: Production Protocol Options Input Voltage LK/VK202-25 LK/VK202-25-USB LK/VK204-45 LK/VK204-25-USB 5V (Regular) Default Default Default Default 9-15V (-V) Available Not Ava
Peripherals LK/VK202-25 LK'VK202-25-USB LK/VK204-45 LK/VK204-25-USB Keypad* 1x12 Header 1x12 Header 1x12 Header 1x12 Header GPO** 2x7 Header 2x7 Header 2x7 Header 2x7 Header DOW*** Available Default Available Default Table 23: Production Peripheral Options *Note: Only the 1x12 keypad header is available on production units, a keypad such as the KPP4X4 unit must be purchased to interface with the display.
Definitions ASCII: American standard code for information interchange used to give standardized numeric codes to alphanumeric characters. BPS: Bits per second, a measure of transmission speed. DOW: Dallas One-Wire protocol is similar to I2C providing reduced data rates at a greater distance. One wire is provided for data, while two others supply power and ground.
Contact Info Sales Phone: 403.229.2737 Email: sales@matrixorbital.ca Support Phone: 403.204.3750 Email: support@matrixorbital.ca Online Purchasing: www.matrixorbital.com Support: www.matrixorbital.