H
Programmable
Bar Code Decode ICs
Technical Data
•Ideal for Hand Scanning and Non-contact Laser Scanning Applications
•Supports 7 Industry Standard Bar Code Symbologies
•Automatic Code Recognition
•Choice of Parallel or Serial Interface
•Full Duplex ASCII Interface
•Extensive Configuration Control
•Optical and Escape Sequence Configuration
•Input and Output Buffering
•Low Current (18 mA) CMOS Technology
•40 Pin DIP and 44 Pin PLCC Packages
•Audio and Visual Feedback Control
•EEPROM Support for Nonvolatile Configuration
•Single +5 Volt Supply
Hewlett-Packard’s Bar Code Decoder ICs offer flexible bar code decoding capability that is designed to give OEMs the ability to address a growing number of industry segments and applications. Flexibility is made possible through sophisticated firmware which allows the ICs to accept data from a wide variety of scanners and to automatically recognize and decode the most popular bar code symbologies. User implementation of the decoder ICs is easy since it requires only a few supporting components and provides a standard I/O interface.
Manufacturers of data collection terminals, point of sale terminals, keyboards, weighing scales, medical equipment, test instrumentation, material handling equipment, and other systems having data collection needs are finding a growing demand for bar code reading capability in their products. The HBCR-2210 series decode ICs make it easy to add this capability without the need to
HBCR-2210
HBCR-2211
invest in the development of bar code decoding software.
The bar code decoder ICs are compatible with most hand held scanners and some medium speed machine mounted laser heads. The HBCR-2210 series is compatible with fixed beam noncontact scanners, digital wands, and slot readers. In addition, the decoder is optimized for use with the Symbol Technologies moving beam laser scanners, but is also compatible with many other moving beam non-contact laser scanners with a similar interface protocol.
The HBCR-2210 series decoder ICs are excellent decoding solu
5965-5937E |
4-47 |
tions for a number of stationary scanning applications found in automated systems. The scan rate for moving beam applications should be similar to the scan rates for hand held laser scanners (35 to 45 scans per second). The scan speed for fixed beam applications should be similar to the scan speeds typical of wands and slot readers. For moving beam applications, it is necessary for the scanner to utilize the three laser control lines.
The HBCR-2210 series decodes the most popular bar code symbologies now in use in applications in the industrial, retail, government and medical markets:
•Code 39 (Standard or Extended)
•Interleaved 2 of 5
•UPC A, E
•EAN/JAN 8, 13
•Codabar
•Code 128
•Code 11
•MSI Code
When more than one symbology is enabled, the bar code being scanned will automatically be recognized and decoded, except for Standard versus Extended Code 39, which are mutually exclusive. Bi-directional scanning is allowed for all bar codes except UPC/EAN/JAN with supplemental digits, which must be scanned with the supplemental digits last.
The I/O for the decode IC is full duplex, 7 bit ASCII. Both serial and parallel interfacing are available. The serial interface can be converted to an RS232C interface or connected directly to another microprocessor for data
processing. The parallel interface can be connected to a 74HC646 octal bus transceiver chip (or an equivalent part). Feedback to the operator is accomplished by signals for an LED and a beeper. In addition, there are many programmable functions that cover such items as code selection, good read beep tone, Header and Trailer buffers, laser scanning control, beeper tone, etc. See Table 2 for a complete list.
Code 39 is an alphanumeric code, while Extended Code 39 encodes the full 128 ASCII character set by pairing Code 39 characters. Both can be read bi-directionally with message lengths of up to 32 characters. An optional checksum character can be used with these codes, and the ICs can be configured to verify this character prior to data transmission.
Interleaved 2 of 5 code, a compact numeric only bar code, can also be read bi-directionally with message lengths from 4 to 32 characters. To enhance data accuracy, optional checksum character verification and/or message length checking can be enabled.
The following versions of UPC, EAN and JAN bar codes can be read bi-directionally: UPC-A, UPC-E, EAN-8, EAN-13, JAN-8, and JAN-13. All versions can be enabled simultaneously or decoding can be restricted to only the UPC codes. UPC, EAN, and JAN codes printed with complementary two or five digit supplemental encodations can be read in two different ways. If the
codes are enabled without the supplemental encodations, then only the main part of symbols printed with supplemental encodations will be read. If the reading of supplemental encodations is enabled, then only symbols with these supplements will be read. When supplemental encodations are enabled, the bar code symbols must be read in a direction which results in the supplements being scanned last.
Codabar, a numeric only bar code with special characters, can be read bi-directionally for message lengths up to 32 characters. The decode IC can be configured to transmit or suppress the Codabar start/stop characters.
Code 128, a full ASCII symbology, can be scanned bidirectionally with message lengths of up to 32 characters.
Code 11 is a numeric, high density code with one special character, the hyphen (-). Verification of one or two check characters must be enabled, and the check character(s) are always transmitted. This code can be scanned bi-directionally.
MSI Code is a numeric, continuous code, with message lengths up to 32 characters. The check digit, a modulo 10 checksum, is always verified and transmitted. This code can be scanned bidirectionally.
The HBCR-2210 decode IC is designed to accept data from hand held digital scanners or slot readers with the following logic state: black = high, white = low. The same decode IC also accepts
4-48
data from hand held laser scanners with the opposite logic states: black = low, white = high. The scanner type pin (SCT) on the HBCR-2210 series must be driven prior to power up or hard reset to identify the type of scanner connected.
In the HBCR-2210 series ICs, the automatic laser shutoff feature delay time is adjustable as a configuration option. Applications which require increased accuracy may need the redundancy check feature.
Scanner input can be disabled by software command. This allows an application program to control when an operator can enter data, preventing inadvertent data entry. It also allows the program to verify each scan before enabling subsequent scans. The HBCR2210 series also offers two Single Read Modes which allow the application program to stop bar code data entry until a “Next Read” command is received, allowing the host computer to process data transmissions before enabling subsequent reads.
Configuration Control and
Non-volatile Storage
Configuration of the decoder IC is done by any of three methods. A minimal subset of key options can be “hardwired” – controlled by electrically strapping specified pins on the decoder IC itself. Which pins affect configuration depends on the selection of serial or parallel interface. Alternatively, ASCII characters in the form of HP Escape Sequences (a format common to HP decoder ICs) can be sent to the serial or parallel I/O port; these commands can be used to control all configurable
options. A third method is optical configuration, which makes use of special bar code menus supplied by HP. Menu labels can be created to modify any configurable options. A summary of the decoder IC features and applicable configuration methods for each is presented in Tables 2 and 3.
Once configuration has been set, it can be stored in an optional non-volatile memory, if included in the decoder circuit. When the EEP pin is tied high, the decoder IC drives I/O lines compatible with the widely available 9346/ 93C46 family of serial EEPROMS. The configuration is thereby saved during power down of the system and automatically reloaded at power up. Escape sequence commands allow explicit storage and recall of configuration settings. When using optical configuration, storage is automatic. If the EEP pin is tied low, the EEPROM is not used, so only hardwired configuration options are saved through powerdown; all others are set to default values at powerup. Table 2 shows default values of all features.
The serial port supports a wide range of baud rates, parities, and stop bits as described in Table 2. Software control of data transmission can be accomplished with a standard Xon/Xoff (DC1/ DC3) handshake. The decode IC also supports an RTS/CTS hardware handshake.
The parallel port data has configurable parity. When the SMD pin is tied low, several pins pertaining to the serial port change
function to control a parallel port instead. Pins 1 through 5 on DIP packages assume the function of handshake lines for the parallel port. The port itself is an external '646 family octal bus transceiver. Processor pins 10 and 11 (TXD and RXD in serial mode) now control the transceiver chip along with pins 16 and 17, RD and WR. Alternative circuits using SSI latch chips can be substituted for the '646 implementation to customize the function of the parallel port to a particular bus configuration.
Both audio and visual feedback are possible with the HBCR-2210 series. In both cases, the outputs from the ICs should be buffered before driving the actual feedback transducer. An LED or beeper connected to the decoder IC can be controlled directly by the IC, with signals generated by successful decodes, or can be controlled by the host system. In addition, the tone of the beeper can be configured to be one of 16 different frequencies, or can be silenced.
The decoder IC operates from a +5 volt DC power supply. The maximum current draw is 18 mA. The maximum power supply ripple voltage should be less than 100 mV, peak-to-peak.
Handling
Precautions
The decoder ICs are extremely sensitive to electrostatic discharge (ESD). It is important that proper anti-static procedures be observed when handling the ICs. The package should not be
4-49
opened except in a static free environment.
The decode IC Users Manual covers the following topics:
•Data output formats
•I/O interfaces
•Laser input timing diagrams
•Escape sequence syntax and functionality
•Example schematics
•All configurable options
•Bar code menus
•Scanner positioning and tilt
•Sample bar code symbols
•Appendices describing bar code symbologies
Table 1. Ordering Information
Part Number |
Description |
HBCR-2210 |
CMOS, 40 pin DIP, bulk ship, no manual |
HBCR-2211 |
CMOS, 44 pin PLCC, bulk ship, no manual |
OPT A01 |
IC individually boxed with manual and data sheet |
HBCR-2297 |
HBCR-2210 Series Users Manual |
|
|
Parameter |
Symbol |
Minimum |
Maximum |
Units |
Notes |
Supply Voltage |
VCC |
4.0 |
6.0 |
V |
1 |
Ambient Temperature |
TA |
-40 |
+85 |
°C |
|
Crystal Frequency |
XTAL |
0 (DC) |
11.059 |
MHz |
2 |
|
|
|
|
|
|
Element Time Interval |
ETIM |
13 |
555 |
μs |
2, 3, 4 |
(Moving Beam) |
|
|
|
|
|
|
|
|
|
|
|
Element Time Interval |
ETIC |
50 |
71000 |
μs |
3, 4 |
(Contact Scanner) |
|
|
|
|
|
|
|
|
|
|
|
Notes:
1.Maximum power supply ripple of 100 mV peak to peak.
2.The HBCR-2210 series uses a 11.059 MHz crystal. For different crystal frequencies. multiply the specified baud rate and beeper frequencies by (crystal frequency/11.059 MHz) and multiply the element time interval ranges by (11.059 MHz/crystal frequency).
3.At the specified crystal frequency.
4.Corresponds to a scan rate of 35 to 45 scans per second.
Parameter |
Symbol |
Minimum |
Maximum |
Units |
Notes |
Storage Temperature |
TS |
-55 |
+150 |
°C |
|
Supply Voltage |
VCC |
-0.5 |
+7.0 |
V |
5 |
Pin Voltage |
VIN |
-0.5 |
VCC + 0.5 |
V |
5, 6 |
Notes:
5.TA = 25°C.
6.Voltage on any pin with respect to ground.
4-50
HBCR-2210, 2211 |
(TA = 40°C to +85°C, VCC = 4.5 V to 5.5 V, VSS = 0 V) |
||||||
Symbol |
Parameter |
HBCR-2210 Pins |
HBCR-2211 Pins |
Min. |
Max. |
Units |
Test Conditions |
|
|
|
|
|
|
|
|
VIL |
Input Low Voltage |
all |
all |
-0.5 |
0.2 VCC |
V |
|
|
|
|
|
|
- 0.1 |
|
|
|
|
|
|
|
|
|
|
VIH |
Input High Voltage |
except 9, 18 |
except 10, 20 |
0.2 VCC |
VCC + 0.5 |
V |
|
|
|
|
|
+ 0.9 |
|
|
|
|
|
|
|
|
|
|
|
VIH1 |
Input High Voltage |
9, 18 |
10, 20 |
0.7 VCC |
VCC + 0.5 |
V |
|
VOL |
Output Low Voltage |
1-8, 10-17, 21-28 |
2-9, 11, 13-19, 24-31 |
|
0.45 |
V |
IOL = 1.6 mA |
VOL1 |
Output Low Voltage |
30, 32-39 |
33, 36-43 |
|
0.45 |
V |
IOL = 3.2 mA |
VOH |
Output High Voltage |
1-8, 10-17, 21-28 |
2-9, 11, 13-19, 24-31 |
2.4 |
|
V |
IOH = -60 μA |
|
|
|
|
0.75 VCC |
|
V |
IOH = -30 μA |
|
|
|
|
0.9 VCC |
|
V |
IOH = -10 μA |
|
|
|
|
|
|||
VOH |
Output High Voltage |
30, 32-39 |
33, 36-43 |
2.4 |
|
V |
IOH = -400 μA |
|
|
|
|
|
|
|
|
|
|
|
|
0.75 VCC |
|
V |
IOH = -150 μA |
|
|
|
|
0.9 VCC |
|
V |
IOH = -40 μA |
|
|
|
|
|
|||
IIL |
Input Low Current |
1-8, 10-17, 21-28 |
2-9, 11, 13-19, 24-31 |
-10 |
-200 |
μA |
VIN = 0.45 V |
IIL2 |
Input Low Current |
18 |
20 |
|
-3.2 |
mA |
VIN = 0.45 V |
ILI |
Input Leakage Current |
32-39 |
36-43 |
|
± 10 |
μA |
0.45 ≤ VIN ≤ VCC |
RRST |
Pulldown Resistor |
9 |
10 |
20 |
125 |
KΩ |
|
ICC |
Power Supply |
– |
– |
|
18 |
mA |
All Outputs |
|
Current |
|
|
|
|
|
disconnected |
|
|
|
|
|
|
|
|
ICC |
Idle Mode Power |
– |
– |
|
9 |
mA |
Note 7. |
|
Supply Current |
|
|
|
|
|
|
Note:
7.Applies only to HBCR-2210 and -2211 in Wand Mode or Laser Mode with Laser Idling enabled with no scanning or I/O operation in progress.
Table 2. Summary of Features and Configurations - HBCR-2210 Series
In the table below, the column entitled Selection is either:
Software |
Escape Sequence and Optical Menu Programmability |
|
|
||
Hardwire |
Control of a feature by electrically strapping specified pins on the decoder IC itself |
||||
Both |
Both Software and Hardwire |
|
|
||
|
|
|
|
|
|
Feature |
Function or Value |
|
Selection |
Default Setting |
|
|
|
|
|
|
|
Code Selection |
When a symbology is enabled, |
|
Both |
Decoding of all |
|
|
|
bar codes of that type can be |
|
|
codes is enabled |
|
|
read, assuming that other de- |
|
|
|
|
|
coding options are satisfied. |
|
|
|
|
|
|
|
|
|
Minimum/Maximum |
Code 39, Codabar, Code 128, |
|
Software |
Min. = 1 |
|
Label Length |
Code 11, and MSI Code |
|
|
Max. = 32 |
|
Selection |
|
|
|
|
|
|
|
Interleaved 2 of 5 |
|
Software |
Min. = 4 |
|
|
|
|
|
Max. = 32 |
|
|
|
|
|
|
Interleaved 2 of 5 |
Length variable from 4 to 32, |
|
Software |
4 to 32 |
|
Specific Label |
or a specific even length be- |
|
|
|
|
Length Selection |
tween 2 and 32, or lengths 6 |
|
|
|
|
|
|
and 14 only |
|
|
|
|
|
|
|
|
(continued) |
4-51