Programmable Bar Code Decode ICs Technical Data HBCR-1810 HBCR-1811 Features Description * Ideal for Hand Scanning and Many Automated Scanning Applications * Supports Code 39, UPC / EAN / JAN and Interleaved 2 of 5 Standard Bar Code Symbologies * Automatic Code Recognition * Choice of Parallel or Serial 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 the 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-1810 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-1810 series is compatible with fixed beam non-contact scanners, digital wands, and digital slot readers. 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, and the UPC/ EAN/JAN Codes. 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. 2 The I/O for the decoder ICs is full duplex, 7 bit ASCII. Both serial and parallel interfaces 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 tri-level bus through a 74LS245 or equivalent. 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 12.000 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, and UPC/EAN/JAN. 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. 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. 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. 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 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. 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. 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. The parallel port data has odd parity. The default terminator character is a CR, but it can be changed by software commands. An Xon/Xoff (DC1/DC3) software handshake is available to control data transmission. 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. 3 In addition, the tone of the beeper can be varied by software commands to be one of 16 different frequencies, or can be silenced. 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-1810 CMOS, 40 pin DIP, bulk ship, no manuals HBCR-1811 CMOS, 44 pin PLCC, bulk ship, no manuals Option A01 IC individually boxed with manuals HBCR-1997 Series 1810 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 XTAL 0 (DC) 12.000 MHz 2 ETI 150 70 000 s 3 Crystal Frequency Element Time Interval Notes: 1. Maximum power supply ripple of 100 mV peak-to-peak. 2. The HBCR-1810 series uses a 12.000 MHz crystal. For different crystal frequencies, multiply the specified baud rate and beeper frequencies by (crystal frequency/12.000 MHz) and multiply the element time interval ranges by (12.000 MHz/crystal frequency). 3. At the specified crystal frequency. Absolute Maximum Ratings Parameter Symbol Minimum Maximum Units TS - 55 + 150 C Supply Voltage VCC - 0.5 + 7.0 V 1 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 = - 40C to +85C, V CC = 4.5 V to 5.5 V, VSS = 0 V) Symbol Parameter 1810 Pins 1811 Pins Min. Max. Units Test Conditions VIL Input Low Voltage All All -0.5 0.2 VCC - 0.1 V V IH Input High Voltage except 9,18 except 10, 20 0.2 VCC +0.9 VCC + 0.5 V V IH1 Input High Voltage 9, 18 10, 20 0.7 V CC 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 0.75 VCC 0.9 V CC V V V I OH = -60 A I OH = -30 A I OH = -10 A VOH Output High Voltage 30, 32-39 33, 36-43 2.4 0.75 VCC 0.9 V CC V V V IOH = -400 A IOH = -150 A I OH = -40 A I IL Input Low Current 1-8, 10-17, 21-28 2-9, 11, 13-19, 24-31 -10 -200 A V IN = 0.45 V IIL2 Input Low Current 18 20 -3.2 mA V IN = 0.45 V IIL1 Input Leakage Current 32-39 36-43 10 A 0.45 VIN VCC RRST Pulldown Resistor 9 10 125 K Power Supply Current - - 18 mA ICC 20 All outputs disconnected 5 Summary of Features and Configuration Control Feature Function or Value Hardwire/ Software Control[1] Default Setting[2] Mode[3] Mode of Operation Parallel or Serial Mode Hardwire Parallel N/A Baud Rate 300, 1200, 2400, 9600 Hardwire 300 Baud Serial Parity 0s, 1s, Odd, Even Hardwire 0s Serial Stop Bits 1 or 2 Hardwire 2 Serial Terminator CR , CR LF, HT, None Hardwire CR Serial Character User defined (10 characters max.) Software CR Both Header Character User defined (10 characters max.) Software No header character Both Data Output Character XON/XOFF (DC1/DC3) Software No pacing Both Code 39 Interleaved 2 of 5 Extended Code 39 Software Industrial Code Select Both Code 39 Interleaved 2 of 5 code Software UPC/EAN/JAN codes UPC/EAN/JAN Code Select UPC/EAN/JAN together; Or UPC only Enable 2 or 5 Digit supplements Software Supplements not enabled Suppress Zeros UPC-E Software Zeros included Checksum Verification Enable Code 39 checksum Interleaved 2 of 5 checksum Both Software No Checksum Verification Both Interleaved 2 of 5 Label Length Check User defined up to 32 characters or variable length Software Variable Length Both Scanner Disable Disables scanner input Software Input Enabled Both Good Read Beep Select Enables good read beep in one of 16 tones Software Beep signal enabled; tone = 15 Both Sound Tone Command to sound tones Defines one of 16 tones Software N/A Both LED Control Controls LED driver circuit Software LED to flash upon good read Both Status Request Gives status of decoder IC configuration Software N/A Both Hard Reset Resets decoder IC to hardwire configuration and default software settings Software N/A Both Notes 4 5 Both Notes: 1. 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. 3. Some functions apply only when the decoder IC is operating in the serial mode. Others apply in both the parallel and serial modes. 4. In parallel mode, the parity is always odd. 5. In the parallel mode, the terminator character is CR unless changed through software commands. 6 HBCR-1810 Series -- Serial Pinout BR0 1 40 VCC Mnemonic BR1 2 39 AD0 BRO Baud Rate Select 0 SB 3 38 AD1 BR1 Baud Rate Select 1 PT0 4 37 AD2 PT1 5 36 AD3 SB Stop Bits TR0 6 35 AD4 PT0 Parity Select 0 TR1 7 34 AD5 PT1 Parity Select 1 SZ 8 33 AD6 TR0 Trailer Select 0 RST 9 32 AD7 RxD 10 31 EA TR1 Trailer Select 1 TxD 11 30 ALE RxD Received Data SI 12 29 NC TxD Transmitted Data NC 13 28 MDE - 0 V LED LED Control LED 14 27 C39FLA BPR Beeper Control BPR 15 26 C39CSE WR 16 25 NC RST Reset 1810 Description No Connect 20 21 A8 EA Connect to +5 V ALE Address Latch Enable MDE Mode WR Memory Write RD Memory Read XTAL 1 Crystal Input 1 XTAL 2 Crystal Input 2 C39FLA Code 39 Full ASCII Conversion C39CSE Code 39 Check Character Enable AD0-AD7 Address/Data Bits 0-7 A8 Memory Address Line 8 A9 Memory Address Line 9 VSS Ground VCC +5 V Power 6 5 4 3 2 1 AD3 NC VSS AD2 A9 AD1 22 AD0 Suppress Zeroes, UPC-E 19 VCC SZ XTAL 1 NC Scanner Input BR0 SI NC BR1 NC 23 SB 24 18 PT0 17 PT1 RD XTAL 2 44 43 42 41 40 TR0 7 39 AD4 TR1 8 38 AD5 SZ 9 37 AD6 RST 10 36 AD7 RxD 11 35 EA NC 12 34 NC TxD 13 33 ALE SI 14 32 NC NC 15 31 MDE - 0 V LED 16 30 C39FLA BPR 17 29 C39CSE 1811 NC NC A9 NC A8 NC VSS XTAL 1 RD XTAL 2 WR 18 19 20 21 22 23 24 25 26 27 28 7 HBCR-1810 Series -- Parallel Pinout PP0 1 40 VCC Mnemonic PP1 2 39 AD0 PP0-PP7 Parallel Port Bits 0-7 PP2 3 38 AD1 PP3 4 37 AD2 CMDRDY Command Ready PP4 5 36 AD3 CMDRD Command Read PP5 6 35 AD4 DATARDY Data Ready PP6 7 34 AD5 DATAWR Data Write PP7 8 33 AD6 LED Control RST 9 32 AD7 NC 10 31 EA BPR Beeper Control 1810 Description SZ 11 30 ALE RST Reset 15 26 C39CSE NC No Connect WR 16 25 DATARDY EA Connect to +5 V RD 17 24 CMDRD ALE Address Latch Enable XTAL 2 18 23 DATAWR MDE Mode XTAL 1 19 22 A9 WR Memory Write VSS 20 21 A8 RD Memory Read XTAL 1 Crystal Input 1 XTAL 2 Crystal Input 2 C39FLA Code 39 Full ASCII Conversion C39CSE Code 39 Check Character Enable 6 5 4 3 2 1 AD3 BPR AD2 C39FLA AD1 27 AD0 Suppress Zeroes, UPC-E 14 VCC SZ LED NC Scanner Input PP0 SI MDE - 5 V PP1 NC 28 PP2 29 13 PP3 12 PP4 SI CMDRDY 44 43 42 41 40 PP5 7 39 AD4 PP6 8 38 AD5 PP7 9 37 AD6 AD0-AD7 Address/Data Bits 0-7 RST 10 36 AD7 A8 Memory Address Line 8 NC 11 35 EA A9 Memory Address Line 9 NC 12 34 NC SZ 13 33 ALE VSS Ground SI 14 32 NC VCC +5 V Power CMDRDY 15 31 MDE - 5 V LED 16 30 C39FLA BPR 17 29 C39CSE 1811 DATARDY CMDRD A9 DATAWR A8 NC VSS XTAL 1 RD XTAL 2 WR 18 19 20 21 22 23 24 25 26 27 28 8 Parallel Mode Handshake Timing Host Commands Received by Decoder IC INPUT FROM HOST CMDRDY tCR OUTPUT TO HOST HOST COMMAND TO BUS tCS tCA tCC CMDRD PORT 1 PINS 0-7 tCR = FALLING EDGE OF CMDRDY TO FALLING EDGE OF CMDRD. MAXIMUM = 22 s. tCS = COMMAND SETUP TO RISING EDGE OF CMDRDY. MINIMUM = 0 s. tCA = RISING EDGE OF CMDRDY TO RISING EDGE OF CMDRD. TYPICAL = 6 s. tCC = RISING EDGE OF CMDRD TO FALLING EDGE OF CMDRDY. MINIMUM = 0 s. NOTE: THESE TIMING SPECIFICATIONS GIVEN ARE BASED ON THE ASSUMPTION THAT THE SCANNER IS NOT ACTIVE AT THE TIME. SINCE SCANNER INPUT TO THE IC IS INTERRUPT DRIVEN, THE TIMING MIGHT BE STRETCHED IF THE SCANNER IS ACTIVE DURING THAT TIME. ALL THE TIMINGS ASSUME THE IC RUNS AT 12 MHz. Parallel Mode Handshake Timing Decoder IC Data Sent to Host DECODER IC DATA SENT TO HOST INPUT FROM HOST DATARDY tDO DATA TO BUS tDF tDW tDD PORT 1 PINS 0-7 tDH OUTPUT TO HOST DATAWR tDO = FALLING EDGE OF DATARDY TO DATA OUTPUT TO BUS. MAXIMUM = 140 s. tDF = DATA OUTPUT TO BUS TO FALLING EDGE OF DATAWR. MAXIMUM = 2 s. tDW = RISING EDGE OF DATARDY TO RISING EDGE OF DATAWR. MAXIMUM = 5 s. tDH = DATA HOLD AFTER RISING EDGE OF DATAWR. MAXIMUM = 2 s. tDD = RISING EDGE OF DATAWR TO FALLING EDGE OF DATARDY. MINIMUM = 0 s. NOTE: THESE TIMING SPECIFICATIONS GIVEN ARE BASED ON THE ASSUMPTION THAT THERE IS NO DECODING IN PROGRESS, NO STATUS, TERMINAL ID, HEADER OR TERMINATOR CHANGE COMMAND IS BEING EXECUTED AT THE TIME. ALL THE TIMINGS ASSUME THE IC RUNS AT 12 MHz. 9 Escape Sequence Summary Command Description Command Description - yB Good Read Beep Select - y0 Trailer Select - yC Industrial Code Select - yS Status Request - yD Checksum Verification Select - yT Sound Tone - yL LED Control - yU UPC/EAN/JAN Options - yM Interleaved 2 of 5 Length Check - yW Scanner Enable - yN Header Select - yX DC1/ DC3 Pacing E Hard Reset Note: is the ASCII escape character, 27 decimal, 18 hex. IC Reset Circuits VCC 4.7 F RESET 1N914 Figure 1. Mechanical Dimensions - Units (mm) 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. UNITS (mm) Figure 2. HBCR-1810. 2.54 0.25 2.54 MAX. SEATING PLANE 0 ~ 15 0.6 MAX. 10 Mechanical Dimensions - Units (mm) 17.7 17.4 16.7 16.5 39 29 40 17.7 17.4 16.7 16.5 28 16.0 15.0 INDEX MARK 1 0.81 0.66 6 1.32 1.22 18 7 17 4.57 4.20 0.51 MIN. 0.53 0.33 UNITS (mm) Figure 3. HBCR-1811. PLCC Solder Pad Reference R 0.2 0.76 12.7 1.27 12.7 15.6 1.8 UNITS (mm) UNITS (mm) Figure 4. Pad Size. Figure 5. Pad Placement. 15.6 11 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. 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 125C 24 Hours B 60C 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. Contact Scanner Input Circuit VCC 1 SCANNER CONNECTOR 2 3 4 5 1 K SCANNER INPUT (R)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 (R) TRANZORBS are optional. If the application requires the frequent changing of the scanners, they are highly recommended. (R) TRANZORB is a registered trademark of General Semiconductor Industries, Tempe, AZ. External Clock Drivers No Connect XTAL2 CMOS Clock XTAL1 Ground Figure 7. 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 8. www.semiconductor.agilent.com Data subject to change. Copyright (c) 1999 Agilent Technologies Inc. Obsoletes 5954-2182 5968-1076E (11/99)