Programmable Bar Code Decode ICs Technical Data HBCR-2010 HBCR-2011 Features Description • Ideal for Hand Scanning and Many Automated Scanning Applications • Supports Code 39, UPC / EAN / JAN, Interleaved 2 of 5, Codabar and Code 128 Standard Bar Code Symbologies • Automatic Code Recognition • Serial Port Interface • Full Duplex ASCII Interface • Extensive Configuration Control • Low Current CMOS Technology • 40 Pin DIP and 44 Pin PLCC Packages • Audio and Visual Feedback Control • Single +5 Volt Supply Agilent’s Bar Code Decoder ICs offer flexible bar code decoding capability that is designed to give OEMs the ability to address a large 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 decoder ICs is easy since it requires only a few supporting chips and components and provides a standard I/O interface. Manufacturers of data collection terminals, point of sale terminals, keyboards, weighing scales, and other data collection and material handling equipment are finding a growing demand for bar code reading capability in their products. The HBCR-2010 series decoder ICs make it easy to add this capability without the need to invest in the development of bar code decoding software. The bar code decoder ICs are compatible with most hand held scanners. The HBCR-2010 series is compatible with fixed beam non-contact scanners, digital wands, digital slot readers and Symbol Technologies moving beam laser scanners. The HBCR-2010 decoder ICs are excellent decoding solutions for a number of the stationary scanning applications found in automated systems. The scan rates for moving beam applications should be similar to the scan rates for hand held laser scanners (35 to 45 scans per second), and the scan speeds for fixed beam applications should be similar to the scan speeds typical of wands and slot readers. For moving beam applications, it is also necessary for the scanner to utilize the three laser scanner control lines. 2 The decoder ICs decode the bar code symbologies now in use for most applications in the industrial, retail, government, and medical market. The ICs support Code 39 (Standard or Extended), Interleaved 2 of 5, the UPC/EAN/ JAN Codes, Codabar and Code 128. Whenever more than one symbology is enabled, the bar code being scanned will automatically be recognized and decoded, except for Standard and 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 decoder ICs is full duplex, 7 bit ASCII. A serial port is available. The serial interface can be converted to an RS232C interface or connected directly to another microprocessor for data processing. Feedback to the operator is accomplished by signals for an LED and a beeper. In addition, there are programmable functions covering items such as code selection and beeper tone. The ICs are CMOS, in either a 40 pin DIP package or a 44 pin PLCC package. All ICs require a dedicated external data memory, 2K or 8K x 8 bit static RAM (only 1K is needed) and address latch chip (a 74LS373 or equivalent). The crystal frequency is 11.059 MHz. Performance Features Bar Codes Supported The decoder IC is capable of reading popular bar code symbologies : Code 39 (Standard or Extended), Interleaved 2 of 5, UPC/EAN/JAN, Codabar (NW7 Code) and Code 128. Code 39 is an alphanumeric code, and 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. Note that enabling Extended Code 39 will disable Code 39 since they are mutually exclusive. 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 the 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 digit 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. Whenever supplemental encodations are enabled, the bar code symbols must be read in the direction that 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 start and stop characters are normally transmitted, but can be suppressed by a software command. Code 128, a full ASCII bar code, can also be scanned bidirectionally with message lengths of up to 32 characters. Scanner Input The decoder ICs are designed to accept data from hand held digital scanners or slot readers with the following logic state: black = high, white = low. They also accept data from hand held laser scanners with the opposite logic states: black = low, white = high. The scanner type pin (SCT) must be driven prior to power up or hard reset to identify the type of scanner attached to it. 3 The automatic laser shutoff feature delay time is adjustable by software commands. Applications which require extreme accuracy may need the redundancy check feature. If either motor failure sensing or calculation of the ratio of laser on time to off time is needed for an application, it must be supported with external circuitry. 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. There is also a single read mode which allows 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. Data Communications The serial port supports a wide range of baud rates, parities, stop bits, and terminator characters, as described in Summary of Features and Configuration Control table. Software control of data transmission is accomplished with an Xon/Xoff (DC1/DC3) handshake. There is also an RTS/CTS hardware handshake. Feedback Features Both audio and visual feedbacks are possible with the decoder ICs. In both cases, the outputs from the ICs must be buffered before driving the actual feedback mechanism. An LED or beeper connected to the decoder ICs can be controlled directly by the IC, with signals generated by successful decodes or can be controlled by the host system. Power Requirements The decoder IC operates from a +5 volt DC power supply. The maximum current draw is 19mA. The maximum power supply ripple voltage should be less than 100 mV, peak-to-peak. Configuration Control Configuration of the decoder IC is determined by hardwire connections and/or through software commands. Hardwire selection is limited to key operating parameters. A greater range of configuration control is available via software commands. A summary of the decoder IC features and configuration control is presented in Summary of Features and Configuration Control table. 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 opened except in a static free environment. Manuals 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. Ordering Information Part Number Description HBCR-2010 CMOS, 40 pin DIP, bulk ship, no manuals HBCR-2011 CMOS, 44 pin PLCC, bulk ship, no manuals Option A01 IC individually boxed with manuals HBCR-2997 Series 2010 manuals 4 Recommended Operating Conditions 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) 12.000 MHz 2 Element Time Interval (Moving Geam) ETIM 22 555 µs 2, 3, 4 Element time Interval (Fixed Beam) ETIF 150 70,000 µs 3, 4 Element Time Interval (Contact Scanner) ETIC 150 70 000 µs 3, 4 Notes: 3. At the specified crystal frequency. 4. Corresponds to a scan rate of 35 to 45 scans per second. 1. Maximum power supply ripple of 100 mV peak-to-peak. 2. The HBCR-2010 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). Absolute Maximum Ratings Parameter Symbol Minimum Maximum Units TS - 55 + 150 °C Supply Voltage VCC - 0.5 + 7.0 V 2 Pin Voltage VIN - 0.5 VCC + 0.5 V 1, 2 Storage Temperature Notes: Notes 1. Voltage on any pin with respect to ground. 2. TA = 25 °C. DC Characteristics (TA = - 40°C to +85°C, VCC = 4.5 V to 5.5 V, VSS = 0 V) Symbol VIL Parameter Input Low Voltage 2010 Pins All Test Conditions 2011 Pins Min. Max. Units All -0.5 0.2 VCC – 0.1 V VCC + 0.5 VCC + 0.5 0.45 V V V IOL = 1.6 mA 0.45 V IOL = 3.2 mA I OH = -60 µA I OH = -30 µA I OH = -10 µA IOH = -400 µA IOH = -150 µA I OH = -40 µA V IN = 0.45 V V IH V IH1 VOL Input High Voltage Input High Voltage Output Low Voltage except 9,18 9, 18 1-8, 10-17, 21-28 VOL1 Output Low Voltage 30,32-39 33, 36-43 VOH Output High Voltage 1-8, 10-17, 21-28 2-9, 11, 13-19, 24-31 2.4 0.75 VCC 0.9 V CC VOH Output High Voltage 30, 32-39 33, 36-43 2.4 0.75 VCC 0.9 V CC Input Low Current 1-8, 10-17, 21-28 2-9, 11, 13-19, 24-31 -10 -200 V V V V V V µA µA µA KΩ V IN = 0.45 V 0.45≤ VIN≤ VCC 20 -3.2 ± 10 125 I IL Except 10, 20 0.2V CC+0.9 10, 20 0.7 V CC 2-9, 11, 13-19, 24-31 IIL2 IIL1 RRST Input Low Current Input Leakage Current Pulldown Resistor 18 32-39 9 20 36-43 10 ICC Power Supply Current - - 18 mA All outputs disconnected ICC Idle Mode Power Supply Current - - 9 mA Note 1. Note: 1. Applies only in Wand Mode with no scanning or I/O operation in progress. 5 Summary of Features and Configuration Control Feature Function or Value Hardwire/ Software Control[1] Default Setting[2] Scanner Type Contact reader or moving beam laser scanner Hardwire Moving beam laser scanner Laser Shutoff Delay Defines laser on time prior to automatic shutoff from 0 to 10 seconds in 100 ms steps Software 3 seconds Laser Redundancy Check Enables requirement for two consecutive, identical decodes for a good read Software Disabled Scanner Input Enable Enables data acquisition from the scanner Software Enabled Single Read Mode Enables requirement for a “Next Read” command before processing the next scanner input signal Software Disabled Extended Code 39 Both Code 39 Interleaved 2 of 5 UPC/EAN/JAN Codes Codabar Code 128 Software Code 39 Interleaved 2 of 5 UPC/EAN/JAN Codabar Code 128 UPC/EAN/JAN Decoding UPC/EAN/JAN together, or UPC only Software UPC/EAN/JAN together Options Enable 2 or 5 digit supplements Software Supplements disabled Codabar Data Transmission Option Transmit or suppress Start/Stop characters Software Transmit Check Characters Code 39 check character verification Code Select Both Interleaved 2 of 5 check character verification Software No Verification Interleaved 2 of 5 Label Length Check User Defined from 4 to 32 characters (even only) or variable length Software Variable length Baud Rate 1200, 2400, 4800, 9600 Hardwire 1200 Baud Parity 0’s, 1’s, Odd, Even Hardwire 0’s Stop Bits 1 or 2 Hardwire 1 Terminator Character C R, C RL F, E TX, None Hardwire User defined (10 characters max.) Software CR Header Character User defined (10 characters max.) Software No header character Data Output Pacing RTS/CTS Hardwire No XON/XOFF Software Pacing Good Read Beep Select Enables good read beep (1 of 16 tones) Software Beep tone = 12 Sound Tone Command to sound tones (1 of 16) Software N/A LED Control Controls LED driver circuit Software LED to flash upon good read Status Request Gives status of decoder IC Configuration Software N/A Hard Reset Resets decoder IC to hardwire configuration and default software settings Software N/A Notes: 1. Hardwire control is accomplished by tying appropriate input pins high or low. Software commands are sent by means of escape sequences. 2. Default settings are those settings which result when the relevant pins have been tied to +5 V and no software commands have been sent to the decoder IC. 6 HBCR-2010 Series Pinout Mnemonic Description BR0 Baud Rate Select 0 BR1 Baud Rate Select 1 AD1 SB Stop Bits 37 AD2 PT0 Parity Select 0 36 AD3 PT1 Parity Select 1 6 35 AD4 SCT 7 34 AD5 TR0 Trailer Select 0 TRG 8 33 AD6 TR1 Trailer Select 1 RST 9 32 AD7 CTS Clear to Send RxD 10 31 EA RTS Request to Send TxD 11 30 ALE RxD Received Data SI 12 29 NC SSY 13 28 C39CSE TxD Transmitted Data LED 14 27 C39FLA TRG Trigger Input BPR 15 26 TR1 LSE Laser Scan Enable WR 16 25 TR0 SSY Laser Synchronization RD 17 24 PT1 XTAL 2 18 23 PT0 SCT Scanner Type XTAL 1 19 22 A9 LED LED Control VSS 20 21 A8 BPR Beeper Control RST Reset SI Scanner Input NC No Connect EA Connect to +5 V ALE Address Latch Enable BR0 1 40 VCC BR1 2 39 AD0 SB 3 38 CTS 4 RTS 5 LSE NC 2 1 44 43 42 AD3 BR0 3 AD2 BR1 4 AD1 SB 5 AD0 CTS 6 VCC RTS 2010 41 40 LSE 7 39 AD4 SCT 8 38 AD5 WR Memory Write TRG 9 37 AD6 RD Memory Read RST 10 36 AD7 XTAL 1 Crystal Input 1 RxD 11 35 EA NC 12 34 NC XTAL 2 Crystal Input 2 TxD 13 33 ALE C39FLA Code 39 Full ASCII Conversion SI 14 32 NC C39CSE Code 39 Check Character Enable SSY 15 31 C39CSE AD0-AD7 Address/Data Bits 0-7 LED 16 30 C39FLA BPR 17 29 TR1 A8 Memory Address Line 8 A9 Memory Address Line 9 Vss Ground Vcc +5 V Power 2011 TR0 PT1 PT0 A9 A8 NC VSS XTAL 1 XTAL 2 RD WR 18 19 20 21 22 23 24 25 26 27 28 7 Escape Sequence Summary Command Description Command <esc> - y<n>B Good Read Beep Select <esc> - y<n>0<text> Trailer Select <esc> - y<n>C Industrial Code Select <esc> - y<n>S Status Request <esc> - y<n>D Checksum Verification Select <esc> - y<n>T Sound Tone <esc> - y<n>E Decoding Options <esc> - y<n>J Single Read Mode <esc> - y<n>F Code Select <esc> - y<n>K Next Read <esc> - y<n>G Check Character Select <esc> - y<n>R Laser Redundancy Check <esc> - y<n>H Decoding Options <esc> - y<n>V Laser Shutoff Delay <esc> - y<n>L LED Control <esc> - y<n>U UPC/EAN/JAN Options <esc> - y<n>M Interleaved 2 of 5 Length Check <esc> - y<n>W Scanner Enable <esc> - y<n>N<text> Header Select <esc> - y<n>X DC1/ DC3 Pacing <esc> E Hard Reset Note: <esc> is the ASCII escape character, 27 decimal, 1B hex. IC Reset Circuits VCC 4.7 µF RESET 1N914 Figure 1. Description 8 Mechanical Dimensions 52.8 51.9 40 21 14.2 13.6 INDEX MARK AREA 1 15.7 14.9 20 0.3 5.1 MIN. MAX. 0.65 MAX. 2.54 ± 0.25 2.54 MAX. UNITS (mm) 0° ~ 15° 0.6 MAX. SEATING PLANE Figure 2. HBCR-2010. 17.7 17.4 16.7 16.5 39 29 40 17.7 17.4 16.7 16.5 28 0.81 0.66 6 18 7 17 4.57 4.20 0.51 MIN. 0.53 0.33 UNITS (mm) Figure 3. HBCR-2011. 16.0 15.0 INDEX MARK 1 1.32 1.22 9 PLCC Solder Pad Reference R 0.2 0.76 12.7 1.27 15.6 12.7 15.6 1.8 UNITS (mm) UNITS (mm) Figure 4. Pad Size. PLCC Drying Whenever Vapor Phase or Infrared Reflow technologies are used to mount the PLCC packages, there is a possibility that previously absorbed moisture, heated very rapidly to the reflow temperatures, may cause the package to crack from internal stress. There is a reliability concern that moisture may then enter the package over a period of time, and metal corrosion may take place, degrading the IC performance. To reduce the amount of absorbed moisture and prevent cracking, all of the PLCC ICs should undergo one of the following baking cycles. The parts MUST then be mounted within 48 hours. Figure 5. Pad Placement. If the parts are not mounted within 48 hours, they MUST be rebaked. The total number of baking cycles must not exceed two (2). If the ICs are baked more than twice. Agilent cannot guarantee the performance and reliability of the parts. Cycle Temperature Time A 125°C 24 Hours B 60°C 96 Hours Neither bake cycle can be performed in the standard shipping tubes. The ICs must be baked in an ESD safe, mechanically stable container, such as an aluminum tube or pan. Notes 1 Note: 1. Cycle B must be done in an atmosphere of < 5 % relative humidity air or nitrogen. 10 Contact Scanner Input Circuit VCC 1 SCANNER CONNECTOR 2 3 4 5 1 KΩ SCANNER INPUT ®TRANZORBS P6KE 7.5 C SHIELD Figure 6. Recommended Interface. Notes: 1. The shield MUST be connected to ground for proper scanner operation. 2. The ® TRANZORBS are optional. If the application requires the frequent changing of the scanners, they are highly recommended. ® TRANZORB is a registered trademark of General Semiconductor Industries, Tempe, AZ. Moving Beam Scanner Input Circuits +5 V 1 KΩ 9 PIN MALE D CONNECTOR +5 V +5 V 1 KΩ +5 V 1 KΩ 1 KΩ 1 SSY 1 SSY 2 3 4 SI 2 3 4 SI 5 TRG 6 7 8 5.1 KΩ 2N3906 9 LSE 9 PIN MALE D CONNECTOR 5 TRG 6 7 8 2N3906 9 820 Ω LSE 10 KΩ +5 V +12 V Figure 7. 5 Volt Laser Interface. Figure 8. 12 Volt Laser Interface. 11 External Clock Drivers NO CONNECT XTAL2 CMOS CLOCK XTAL1 GROUND Figure 9. Block Diagram DEDICATED MEMORY WITH ADDRESS LATCH CHIP CONTROL ADDRESS DEDICATED 8K x 8 OR 2K x 8 RAM DECODER IC CONTROL ADDRESS/DATA 7 4 3 7 3 ADDRESS DATA Figure 10. www.semiconductor.agilent.com Data subject to change. Copyright © 1999 Agilent Technologies Inc. Obsoletes 5954-2182 5968-1077E (11/99)