Industrologic MT1 Mini-Terminal

LCD based mini-terminal with RS-232 Interface

Reference Manual

version 12/5/05



Industrologic, Inc.
3201 Highgate Lane
St. Charles, MO
63301
USA

Phone: (636) 723-4000
WWW: http://www.industrologic.com
Email: info@industrologic.com




Trademark and Copyright Information

MT1 is a Trademark of Industrologic, Inc. 2005

This document is Copyright (c) 2005 by Industrologic, Inc.
All rights reserved.

No part of this manual may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying or scanning, for any purpose other than the personal use by the purchaser of this product. Industrologic, Inc. reserves the right to revise this document at any time without obligation to notify any person of such revision. Industrologic, Inc. assumes no responsibility for any errors that may appear in this document.


Warning/Disclaimer

Whereas effort has been made to make the information in this document as useful and accurate as possible, Industrologic, Inc. assumes no responsibility for the application, usefulness, or completeness, of the information contained herein. Under no circumstance will Industrologic, Inc. be responsible or liable for any damages or losses including indirect or consequential damages or losses arising from either the use of any information contained within this manual or the use of any products or services referenced within this manual.

Industrologic, Inc. reserves the right to change any product's features, specifications, documentation, warranties, fee schedules, and conditions at any time and without notice.

Industrologic products are provided as printed circuit board level assemblies. Some Industrologic products may include mechanical packaging accessories which are provide for the purchaser's convenience, and are not intended to be final assembly enclosures.

Industrologic products are provided with the understanding that the purchaser will determine fitness for any particular application as well as achieve compliance with any particular specifications or regulations as required or desired for that application.


Warranty

Industrologic, Inc. products are warranted to be free from defects in workmanship or material under normal use and service for a period of one year from date of purchase. Industrologic's warranty is to the original purchaser only, but is extended to you by the Distributor or OEM from whom you purchased the product.

Industrologic's obligation under this Warranty is limited to replacement with a new or repaired unit to the original purchaser. The unit must be returned, and replacements obtained from Industrologic, Inc. or the Distributor or OEM from whom it was purchased.

This warranty will not apply if, in the judgment of Industrologic, Inc., damage or failure of the product has resulted from accident, alteration, misuse, abuse, connection to or operation with incompatible signals or power sources, or improper installation.

Under no circumstances shall Industrologic, Inc. be liable to purchaser or any third party for any loss of profits or other direct or indirect costs, expenses, losses, or consequential damages arising out of or as a result of any defects in or failure of Industrologic products or any part or parts thereof.

THIS WARRANTY IS IN LIEU OF ANY OTHER WARRANTY, EITHER EXPRESSED OR IMPLIED, AS TO DESCRIPTION, QUALITY, MERCHANTABILITY, FITNESS FOR ANY PARTICULAR PURPOSE OR USE, OR ANY OTHER MATTER.


Return and Repair Policy

Products purchased in single piece quantities may be returned, if in resellable condition, for a full refund of the purchase price only, to the original purchaser, within 30 days of purchase.

Products must be returned by original purchaser with a Return Materials Authorization (RMA) number issued by Industrologic, Inc. or the Distributor or OEM from whom it was purchased, authorizing its return. Current repair or replacement fees and procedures will be related during the issue of the RMA number.

Warranty or repair units must be returned with postage and insurance paid by purchaser. Industrologic, Inc. is not responsible for damages or loss during shipment.





Industrologic MT1

LCD based mini-terminal with RS-232 Interface

The MT1 is an LCD based mini-terminal that has been designed for easy connection to the serial port of Industrologic microcontroller based products or to an IBM PC compatible serial port connection. It includes a one line by 16 character LCD display, 3 pushbutton switches, and an LCD contrast control.



picture of MT1

MT1-I installed in its optional enclosure

picture of MT1

MT1-I top view




Summary of Features



Mechanical specifications

Two .062" FR-4 glass epoxy printed circuit boards, one used as a front panel.
Front panel board has four #4 clearance holes for mounting to enclosure, or 1.25 inch standoffs.


P.C. Board Dimensions:

mechanical drawing of MT1



Electrical specifications

Operating Environment:
Temperature: 0-50 degrees Celsius (32-122 Fahrenheit)
Humidity: 30 to 80 percent, non-condensing

Power supply requirements for external power connection (MT1-T):
Operating voltage: 7 to 18 volts AC, 8 to 18 volts DC, regulated or unregulated
Operating current: 18 ma at 12VDC
Power supply connector: 5.5 mm outside diameter, 2.1 mm inside diameter

Power supply requirements for power through RS-232 connection:
Power supply voltage: 5 volts DC, regulated only
Power supply current: 13 ma at 5VDC


MT1 Serial Port and Power Connections

The MT1-I DB9M serial port connection is made through a 10 pin header type connector J1 and a short ribbon cable assembly with a 10 pin female IDC connector and DB9M. This cable provides easy signal and power connections to Industrologic products that have a DB9F connector.

The MT1-T DB9F serial port connector pinout matches the 9-pin serial port of IBM PC compatible computers and can be easily connected to these computers or an equivalent serial port connection using a pin-to-pin male-to-female cable.

The MT1 does not require hardware handshake signals and can be used with only the transmit, receive, and ground signals connected. However, some programs that run on a PC require that some of the input handshake signals be asserted going into the PC. In order to make this easier, the MT1 has the common PC handshake signals looped back on the board, so that when a 9-wire cable is used, the signals are asserted without further connection.

The MT1 can be powered by either the on-board power supply and an external power source (MT1-T), or can be powered by +5 volts at pin 9 of either of the DB9 connectors (MT1-T and MT1-I). Most microcontroller based Industrologic products that have a DB9F connector have +5 volts out available at pin 9.

diagram of MT1 serial connector


Using the MT1

When the MT1 is powered up in the normal manner the on-board microcontroller initializes the LCD module, turns on the display, and prepares the MT1 to accept characters from the RS-232 port to display. It also begins reading the three pushbutton switches on the front panel and will send characters to the RS-232 port when these switches are pressed.

Note: Initialization takes 45-50 milliseconds. If characters are received before this time they may be ignored. The MT1 microcontroller firmware provides for a variety of modes in which to set the display and for any ASCII character to be sent in response to a pushbutton press.

The pushbutton switches are labeled for use as "Up", "Down" and "Select" controls for menuing schemes and parameter changes, not only for user programs communicating with the MT1, but also for use in the Setup Mode. At the bottom right of the front panel is a "contrast" control that can be adjusted as desired to obtain the best appearing contrast on the LCD module.


Setup Mode

Setup Mode can be entered by pressing all three pushbutton switches on the front panel while applying power to the MT1. The message "Setup Mode" will then be displayed.

After the switches are released, the MT1 will display the option being changed and its current selection or value. The selection can be changed or the value increased or decreased by pressing the "Up" or "Down" (top and bottom) buttons. When the "Select" button (middle button) is pressed the selection will be saved and the next option will be displayed.

When all options have been displayed and saved the display will be cleared, indicating that the MT1 is ready to act as a terminal in the normal manner.

If an incorrect selection is saved, Setup Mode can be continued or the power to the MT1 can be removed and the Setup Mode entered again.

The following is a list of the options in the order in which they are displayed, along with an explanation of the possible selections or values.

Baud Rate allows you to set the baud rate to 19200, 9600, 4800, 2400, 1200, or 300 baud.

Bits/Parity allows you to set the number of data bits and parity to 8/N (8 bits with no parity), 7/O (7 bits with odd parity), or 7/E (7 bits with even parity).

Term (terminal or receive mode):

Note: Characters or instructions received that cause the display to be cleared or the cursor to be placed at the home position will take 2 milliseconds. If additional characters are received during this time they may be ignored.

In Simple Term mode the MT1 acts like a small section of the upper left part of a simple 80 character by 24 line CRT terminal. In this mode displayable characters are displayed until the line is full, after which further characters will not be displayed until a control character modifies the cursor position. A carriage return will set the cursor position to the first character on the line, (or the "home" position.) A line feed will set the cursor position to the next line. (On the MT1 with a one line display this will "scroll" the line up and will clear the display.) A form feed will scroll the entire display upward (and clear the display.)

Scroll Msg allows the MT1 to be used as a scrolling message display for long messages by scrolling the entire line to the left one character and placing the most recently received character at the last character position in the line. Messages can be repeated by sending the character sequence multiple times with spaces between the sequences. Clearing the display can be done either by scrolling the visible characters off the display with spaces, or by sending a form feed.

In LCD Inst mode LCD instructions can be sent to the LCD module in addition to normal characters for display. To send an LCD instruction, the ASCII character with the value 254 decimal or FE hexadecimal is sent first, followed by the ASCII character with the value of the LCD instruction. LCD instructions include cursor positioning, display and cursor on/off control, cursor blinking, display scrolling, and setup of custom characters. The LCD display on the MT1 is based on the Hitachi HD44780 LCD display driver or equivalent chip. Refer to the reference manual for this driver chip for detailed information about how to send instructions.

[Up Arrow symbol] allows you to change the ASCII character sent to the RS-232 port when the "Up" button is pressed. HHhex, DDDdec, C is the current ASCII values in different formats. HH is the value from 00 to FF in hexadecimal, DDD is the value from 0 to 255 in decimal, and C is the character itself, (but only if a displayable character.)

[Select Button symbol] (Radio Button) is the same as for the "Up" button. [Down Arrow symbol] is the same as for the "Up" button.


LCD Module Character Set

Shown below is the character set for the LCD module used in the MT1. Notice that the character generator RAM (CGRAM) where custom characters 1-8 are stored are accessed through ASCII characters 0-7 and repeated with ASCII characters 8-15.

MT1 character set


Custom Characters

Custom characters are created in the LCD module by the MT1 firmware to be used in the Setup Mode, and are available unless overwritten by other custom characters. Characters for the backslash character \ and for the tilde ~ are also created since these characters are not supported by the LCD module.

Shown below is the method and values used to create these characters as an example of how to create custom characters. The LCD display on the MT1 is based on the Hitachi HD44780 LCD display driver chip or an equivalent chip. Refer to the reference manual for this driver chip for detailed information about how to create custom characters.

MT1 custom characters



end of manual
log file