MT89M’s interface, reading mode, data format and so on. The appendix lists the default configurations of MT89M. In most cases, user can use MT89M without further configuration. 1.2 Product Requirements...
1.5 Custom Default You can create your own custom default. Scan Save Custom Default configuration barcode below and all the current settings of MT89M will be saved to your custom default, overwriting, if any, the previous one. Scan Custom Default to reset MT89M to the custom default settings.
UART USB HID* USB VCP HID & UART VID&PID can be used to locate MT89M by the host. Below are the corresponding VID&PID among various USB interfaces. Interface VID (hex) PID (hex)
MT89M User’s Manual V1.0 2.2 UART The UART communication of MT89M is based on TTL level signals. For RS232 communication, a conversion circuit must be added externally. Parameter Default Serial communication type UART (TTL-232) Baud Rate 9600 Parity None Data Bits...
Even 2.3 USB HID 2.3.1 HID Device Options Two types of HID device options are available: HID KBW* HID POS HID POS Packet Format When a barcode is read, MT89M will send data in below format. Incoming Packet Byte ___________________________________________________________________________________...
0x51 (Fixed Data) 0x01 (More incoming packet) 0x0 (No more incoming packet) 2.3.2 Polling Rate The smaller the value, the faster MT89M sends characters to the host. If the characters are missing in barcode data, please increase polling rate. 1ms* 10ms 2.3.3 Delay Before HID Release...
MT89M User’s Manual V1.0 10ms 2.3.4 Delay After HID Release Below are available options of Delay After HID Release (the period of time from release data to valid data). The configurable range is from 1 to 63ms; default is 1ms.
MT89M User’s Manual V1.0 Disable HID Prefix* Enable HID Prefix 2.3.7 Keyboard Layout English (USA)* Czech French German Hungarian Italian Japanese Spanish Turkish Q Turkish F ___________________________________________________________________________________...
MT89M User’s Manual V1.0 Mexican (Latin American) 2.3.8 Virtual Keyboard To adapt to more regional applications, virtual keyboard can be enabled at the cost of data output speed. Please make sure all alphabet keys and number keys are available when using virtual keyboard.
Page 20
MT89M User’s Manual V1.0 as follows: (1) Ctrl Mode: A barcode of “A<HT>F” (0x41/0x09/0x46) is scanned, the output sequence of virtual keyboard is: a. Enter “A” – Press A key b. Enter “Ctrl + I” – Since 0x09 corresponds to “CtrI + I”, virtual keyboard will press and hold Ctrl key, press I key, and release Ctrl key and I key c.
3. Reading Mode 3.1 Trigger Mode In trigger mode, MT89M starts scanning barcode when trigger pin = low. If trigger stays low within LED timeout, the scanning continues. When LED timeout expires or a barcode is scanned, the scanning stops. To restart scanning, the host must reset trigger level first and then pull trigger low again.
In serial trigger mode, the trigger command is 7E 00 08 01 00 02 01 AB CD. When MT89M receives trigger command, it responds with 02 00 00 01 00 33 31 and starts scanning. Scanning below configuration barcodes will allow/prohibit trigger command response.
3.3 Continuous Mode In continuous mode, MT89M keeps scanning barcodes continuously. By default, after a successful scan, MT89M enters a Scan Interval of 1000ms. During scanning, keeping the trigger pin low for 50ms will cause the scanning to pause. Likewise, during pause, keeping the trigger pin low for 50ms will restart the scanning.
MT89M User’s Manual V1.0 None 200ms 500ms 1000ms* 3000ms 5000ms 3.3.4 Identical Read Interval When identical read interval is enabled, a barcode (or an identical one) can be re-scanned only after the defined amount of interval expires. This prevents repetitive scanning of a barcode in continuous mode.
In auto-sensing mode, MT89M automatically starts scanning barcode when image change is detected within its field of view. After a successful scan or LED timeout expiration, MT89M enters a Scan Interval of 1000ms by default. MT89M can also be triggered when trigger pin is pull low.
MT89M User’s Manual V1.0 3.4.5 Auto-sensing Sensitivity Medium* High Ultra High 3.4.6 Image Stabilization Timeout Image stabilization timeout is the period of time needed for image to stay stable before scanning. The configurable range is from 0 to 25500ms in 100ms increments;...
(default = 30 sec) to reduce power consumption (< 1mA). Please note that sleep mode only works in UART interface and sleep timeout can only be configured by serial command. MT89M can be woke up by either serial commands or hardware trigger.
MT89M User’s Manual V1.0 4. Illumination and Aimer 4.1 Illumination Illumination is the white LED that provides supplemental light during scanning to increase image recognizability and adaptability to low ambient light condition. Normal: LED turns on during scanning. Always On: LED always stays on.
Page 30
MT89M User’s Manual V1.0 Always Off Always On ___________________________________________________________________________________...
MT89M User’s Manual V1.0 90ms 120ms 5.4 Beep Frequency Medium* High 5.5 Configuration Barcode Beep 5.6 Good Read LED ___________________________________________________________________________________...
MT89M User’s Manual V1.0 6. Data Format The following is the complete data format: [Preamble] + [Code ID] + [Data] + [Postamble] + [Terminator] By default Code ID, Preamble and Postamble are disabled; terminator is 0x0D (Carriage Return). Data is the content encoded in a barcode, which can be further divided into [Start] + [Center] + [End] if the length of Start/End is defined.
MT89M User’s Manual V1.0 4. Scan Save Configuration from 8.2 Save & Abort 6.2 Postamble 6.2.1 Enable/Disable Postamble Enable Postamble Disable Postamble* 6.2.2 Set Postamble Set Postamble Postamble can be up to 15 bytes of data, with each data converted into two-digit hex value during configuration.
MT89M User’s Manual V1.0 Enable Code ID Disable Code ID* 6.3.2 Reset Code ID Scanning below configuration barcode will reset all Code IDs to default. Please refer to Appendix B – Code ID for each symbology’s default Code ID. Reset All Code ID to Default 6.3.3 Set Code ID...
Page 36
MT89M User’s Manual V1.0 Set UPC-E1 Code ID Set Code128 Code ID Set Code39 Code ID Set Code93 Code ID Set Codabar Code ID Set Interleaved 2/5 Code ID Set Industrial 2/5 Code ID Set Matrix 2/5 Code ID Set Code11 Code ID...
Page 37
MT89M User’s Manual V1.0 Set GS1 Databar Expanded Code ID Set QR Code Code ID Set Data Matrix Code ID Set PDF417 Code ID Set Micro QR Code Code ID Set Han Xin Code ID Set MicroPDF417 Code ID Set Standard 2/5 Code ID...
MT89M User’s Manual V1.0 Set Aztec Code ID 6.4 Terminator None CR (0x0D)* TAB (0x09) CF LF (0x0D 0x0A) 6.5 Data 6.5.1 Data Output Data can be divided into three parts: [Start] + [Center] + [End] They are valid only when Start/End Length is defined.
Below are output encoding format options. Please note that GBK is used for Notepad, UNICODE for Microsoft Word, and raw for serial data output. GBK* UTF8 UNICODE 6.7 RF Message Read Fail (RF) message is the message sent from MT89M to the host device ___________________________________________________________________________________...
MT89M User’s Manual V1.0 in the case of scanning failure. 6.7.1 Enable/Disable RF Message Enable RF Message Disable RF Message* 6.7.2 Set RF Message Set RF Message The RF message can be up to 15 bytes of data, with each data converted into two-digit hex value during configuration.
MT89M User’s Manual V1.0 Output Data Only* Output Protocol 6.9 GS Replacement GS (0x1D) stands for Group Separator and is used as delimiters to mark fields of data structures. As a control code, GS is non-displayable in many text applications and therefore it is requested to be replaced with displayable character in some use cases.
MT89M User’s Manual V1.0 7. Symbologies 7.1 General Settings Scanning below configuration barcodes will enable/disable all symbologies or enable symbologies by default. Enable All Symbologies Disable All Symbologies Enable Default Symbologies* 7.2 Enhanced Decode Capability When enhanced decode capability is enabled, the decode capability for damaged, twisted barcode is enhanced.
The supplement can be either 2 or 5 digits. Enable 2-digit Supplement Disable 2-digit Supplement* Enable 5-digit Supplement Disable 5-digit Supplement* 7.6.3 Supplement Required When supplement required is enabled, MT89M can only output EAN-13 with supplement. Enable Supplement Required Disable Supplement Required* 7.6.4 Check Digit Send Check Digit*...
The supplement can be either 2 or 5 digits. Enable 2-digit Supplement Disable 2-digit Supplement* Enable 5-digit Supplement Disable 5-digit Supplement* 7.7.3 Supplement Required When supplement required is enabled, MT89M can only output EAN-8 with supplement. Enable Supplement Required Disable Supplement Required* ___________________________________________________________________________________...
MT89M User’s Manual V1.0 7.7.4 Check Digit Send Check Digit* Not Send Check Digit 7.8 UPC-A 7.8.1 Enable/Disable UPC-A Enable UPC-A* Disable UPC-A 7.8.2 Supplement Supplement, also known as addenda or add-on, is the add-on barcode encoded with supplementary information next to the main barcode on periodicals and paperback books.
MT89M User’s Manual V1.0 7.8.3 Supplement Required When supplement required is enabled, MT89M can only output UPC-A with supplement. Enable Supplement Required Disable Supplement Required* 7.8.4 UPC-A to EAN-13 Scanning below configuration barcodes will allow/prohibit the conversion of UPC-A into EAN-13.
The supplement can be either 2 or 5 digits. Enable 2-digit Supplement Disable 2-digit Supplement* Enable 5-digit Supplement Disable 5-digit Supplement* 7.9.3 Supplement Required When supplement required is enabled, MT89M can only output UPC-E0 with supplement. Enable Supplement Required Disable Supplement Required* 7.9.4 Check Digit ___________________________________________________________________________________...
The supplement can be either 2 or 5 digits. Enable 2-digit Supplement Disable 2-digit Supplement* Enable 5-digit Supplement Disable 5-digit Supplement* 7.10.3 Supplement Required When supplement required is enabled, MT89M can only output UPC-E1 with ___________________________________________________________________________________...
MT89M User’s Manual V1.0 Max Length = 32* Max Length = 255 7.25 QR Code 7.25.1 Enable/Disable QR Code Enable QR Code* Disable QR Code 7.25.2 Model 1 QR Code Enable Model 1 QR Code Disable Model 1 QR Code* 7.25.3 QR Code Prefix (11)
MT89M User’s Manual V1.0 Enable Micro QR Code* Disable Micro QR Code 7.27 Data Matrix 7.27.1 Enable/Disable Data Matrix Enable Data Matrix* Disable Data Matrix 7.27.2 Multicode Scanning below configuration barcodes will allow/prohibit multiple Data Matrix barcodes to be scanned at the same time.
MT89M User’s Manual V1.0 8.2 Save & Abort If there is an error reading data barcode during configuration, you may cancel 1/all data by scanning below configuration barcodes. For example, barcode data ‘1’, ‘2’ ,’3’ have been scanned respectively during configuration.
MT89M User’s Manual V1.0 9. Batch Setup Configuring multiple devices by scanning barcode one by one can be toublesome. To solve such issue, MT89M supports batch setup where user can create a single QR Code containing multiple configurations acceptable by MT89M.
Page 78
MT89M User’s Manual V1.0 Good Read LED Data Format Preamble Disable Set Preamble None Postamble Disable Set Postamble None Code ID Disable Set Code ID None Terminator CR (0x0D) Data Output Send All Set Start Length Data Length Set Start Length...
Page 80
MT89M User’s Manual V1.0 Code93 Enable/Disable Enable Max Length Min Length Codabar Enable/Disable Enable Max Length Min Length Send Start & Stop Not Send Verification None Check Digit Not Send Interleaved 2/5 Enable/Disable Disable Max Length Min Length Verification None...
Page 81
MT89M User’s Manual V1.0 Max Length Min Length Verification Disable Check Digit Not Send Code11 Enable/Disable Disable Max Length Min Length Verification 1bit Check Digit Not Send MSI Plessey Enable/Disable Disable Max Length Min Length Verification Mod10 Check Digit Not Send...
Page 82
MT89M User’s Manual V1.0 Min Length QR Code Enable/Disable Enable Model 1 QR Code Disable QR Code Prefix (11) Disable Micro QR Code Enable/Disable Enable Data Matrix Enable/Disable Enable Multicode Disable PDF417 Enable/Disable Enable MicroPDF417 Enable/Disable Enable Aztec Enable/Disable Disable...
MT89M User’s Manual V1.0 Send Center Only Example: to send the middle “ABC” out of a “1234567890ABC1234567890” barcode 1. Convert ‘10’ to Hex equivalent as 0A 2. Scan Set End Length 3. Scan 0, A respectively from 8.1 Data 0~F 4.
MT89M User’s Manual V1.0 Appendix E – Batch Setup Parameter Function Parameter Remark Please make sure this Barcode Configurability 00000000 function is enabled during batch setup UART 01000000 UBS HID 01000001 USB VCP 01000002 HID & UART 01000003 HID KBW...
Page 91
MT89M User’s Manual V1.0 Enable HID Prefix 01080000 Disable HID Prefix 01080001 Trigger Mode 02000000 Trigger Condition – Level 02010000 Trigger Condition – Pulse 02010001 LED Timeout – 1000ms 0202000A LED Timeout – 3000ms 0202001E Change the last two LED Timeout – 5000ms...
Page 94
MT89M User’s Manual V1.0 Set Industrial 2/5 Code ID 0503000A Set Matrix 2/5 Code ID 0503000B Set Code11 Code ID 0503000C Set MSI Plessey Code ID 0503000D Set GS1 Databar Code ID 0503000E Set GS1 Databar Limited Code ID 05030010...
Page 97
MT89M User’s Manual V1.0 Code39 Min Length = 04 07071004 Code39 Max Length = 32 07071120 Code39 Max Length = 255 070711FF Send Code39 Start 07072000 Not Send Code39 Start 07072100 Send Code39 Stop 07073000 Not Send Code39 Stop 07073100...
Page 98
MT89M User’s Manual V1.0 Enable Interleaved 2/5 070A0000 Disable Interleaved 2/5 070A0100 Interleaved 2/5 Min Length = 00 070A1000 Interleaved 2/5 Min Length = 04 070A1004 Change the last two Interleaved 2/5 Max Length = 32 070A1120 digits for other options...
Page 99
MT89M User’s Manual V1.0 Disable Standard 2/5 Verification 07202100 Send Standard 2/5 Check Digit 07203000 Not Send Standard 2/5 Check Digit 07203100 Enable ChinaPost 2/5 07220000 Disable ChinaPost 2/5 07220100 ChinaPost 2/5 Min Length = 00 07221000 ChinaPost 2/5 Min Length = 04...
Page 100
MT89M User’s Manual V1.0 UK Plessey Min Length = 04 07211004 digits for other options UK Plessey Max Length = 32 07211120 UK Plessey Max Length = 255 072111FF Enable UK Plessey Verification 07212000 Disable UK Plessey Verification 07212100 Send UK Plessey Check Digit...
Page 101
MT89M User’s Manual V1.0 Enable QR Code Prefix (11) 07142000 Disable QR Code Prefix (11) 07142100 Enable Micro QR Code 07190000 Disable Micro QR Code 07190100 Enable Data Matrix 07150000 Disable Data Matrix 07150100 Enable Multicode 07151000 Disable Multicode 07151100...
Need help?
Do you have a question about the MT89M and is the answer not in the manual?
Questions and answers