The software described in this manual may only be used in accordance with the terms of its license agreement.
No part of this publication may be reproduced in any form or by any means without written permission from Code Corporation. This includes electronic or
mechanical means such as photocopying or recording in information storage and retrieval systems.
NO WARRANTY. This technical documentation is provided AS-IS. Further, the documentation does not represent a commitment on the part of Code
Corporation. Code Corporation does not warrant that it is accurate, complete or error free. Any use of the technical documentation is at the risk of the
user. Code Corporation reserves the right to make changes in specifications and other information contained in this document without prior notice, and
the reader should in all cases consult Code Corporation to determine whether any such changes have been made. Code Corporation shall not be liable for
technical or editorial errors or omissions contained herein; nor for incidental or consequential damages resulting from the furnishing, performance, or
use of this material. Code Corporation does not assume any product liability arising out of or in connection with the application or use of any product
or application described herein.
NO LICENSE. No license is granted, either by implication, estoppel, or otherwise under any intellectual property rights of Code Corporation. Any use of
hardware, software and/or technology of Code Corporation is governed by its own agreement.
The following are trademarks or registered trademarks of Code Corporation:
All other product names mentioned in this manual may be trademarks of their respective companies and are hereby acknowledged.
The software and/or products of Code Corporation include inventions that are patented or that are the subject of patents pending. U.S. Patents:
6997387, 6957769, 7428981, 6619547, 6736320, 7392933, 7014113, 7240831, 7353999, 7519239, 7204417, 6942152, 7070091,
7097099, 7621453.
The Code reader software is based in part on the work of the Independent JPEG Group.
Code Corporation, 12393 S. Gateway Park Place, Suite 600, Draper UT 84020
www.codecorp.com
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
9.6 – Development Board Jumpers ..................................... 32
5 – General Specifications ......................................................... 20
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
3
Page 4
1 – CR822x Introduction
1.1 – Product Overview
The Code Reader™ 822x (CR822x) is a patented, high performance,
miniature barcode imaging engine. The CR822x is the smallest
fully-decoded engine on the market, powered by Code’s proprietary
microprocessing platform, which delivers high-speed barcode reading at
a low power point. The CR822x supports RS232 and USB interfaces for
flexible integration into a variety of devices.
1.2 – SKU Descriptions
The following table describes the options available for the CR822x
engine. Any SKU (Part Number) can be built using the following table:
CR822#S####MT#D##C###
Communications
Interface
1 = Single Board USB
(Ribbon Cable)
2 = Single Board
RS232 (Ribbon Cable)
SKU: CR822# - S#### - MT# - D## - C###
EXAMPLE: CR822x USB with Standard Focus, Tabs,
No Flex, 2.0” Ribbon Cable.
SKU = CR8221-S0100-MT1-DX-C800
Note: Additional Ribbon Cables, Flex Cables, and Focus options may
be available for your application. Please contact your Code representative
to discuss.
Wide Field/High
Density Field Focus
0100 = Single Field Optics,
Standard Focus
Mounting OptionsFlex CableRibbon Cable
X = No TabsX = No Flex CableX = No Ribbon Cable
1= With Tabs800 = 2.0” Ribbon Cable
Applications for the CR822x include Medical Devices, ATMs, PriceLookup, Lottery, Age Verification, Direct Part Marking, Point of Sale,
Self-Service Kiosks and more.
801 = 6.0” Ribbon Cable
802 = 12.0” Ribbon Cable
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
4
Page 5
2 - Mechanical Specifications
[.81]
20.50
MOLEX 501745-0301
PIN 1 (TO SCAN ENGINE)
[.47]
11.90
FRONT VIEW
The CR822x can be ordered with or without scan engine mounting tabs.
2.1 – Decoded Scan Engine Components
1. Imager
2. Spacers
3. Decode Board
4. Screws
1
2
3
4
2.2 – Imager without Mounting Tab Components
3
1. Blue LED Targeting Lens
2. Red LED Illumination Lens
3. Lens
4. Self-Tapping Screw Holes
5. a) Illumination Board; b)Imager Board
6. Connector, Receptacle, 30 pin,
0.4 mm pitch
5a
2
4
2.3 – Imager with Mounting Tab Components
3
1. Blue LED Targeting Lens
2. Red LED Illumination Lens
3. Lens
4. Self-Tapping Screw Holes
5. a) Illumination Board; b)Imager Board
6. Connector, Receptacle, 30 pin,
0.4 mm pitch
7. Mounting Tabs
5a
7
2
4
1
2
1
7
2
4
6
5b
4
7
6
5b
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
5
Page 6
2.4 – Imager without Mounting Tab Mechanical Specifications
1. The Imager without mounting tabs has
four blind holes (two on top and two on
bottom) available for mounting with selftapping screws.
2. Please use #1-32 Trilobular® thread
forming screw or M1.8 Delta PT®
thread forming screw, with the following
dimensions:
M1.8 SCREW
MOUNTING
SUBSTRATE
(3.00)
(Ø2.00)#1-32 OR
A
2.50 MAX
2.00 MIN
MinimumMaximum
Thread Engagement 2.00 mm [.079”]2.50 mm [.098”]
Length (B)
TorqueN/A1.5 Ibf-in
B
[.807]
20.50
Mounting Substrate
Thickness (A) + 2.00 mm
Ø1.65 [.065] 3.00 [.118]
4 BLIND HOLES PROVIDED
FOR MOUNTING WITH
SELF-TAPPING SCREWS
[.536]
13.63
*
MOLEX CONNECTOR
P/N: 51338-0374
Mounting Substrate
Thickness (A) + 2.50 mm
A
TOP VIEW
PIN 1
[.469]
11.90
[.512]
13.00
[.138]
3.50
C8200
HOUSING
*Dimension will channge based on focus.
Decrease for far focus; increase for near focus.
(Ø1.65)
FRONT VIEW
SIDE VIEW
*Dimension will change based on focus.
Decrease for far focus; increase for near focus.
BACK VIEW
UNITS = MM [INCHES]
UNITS = MM[INCHES]
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
6
Page 7
2.5 – Imager with Mounting Tab Mechanical Specifications
1. In addition to the four blind holes (two
on top and two on bottom) available
for mounting with self-tapping screws,
the Imager with mounting tabs has two
2.50mm [.098”] clearance holes.
2. Please use #1-32 Trilobular® thread forming
screw or M1.8 Delta PT® thread forming
screw, with the following dimensions:
Thread Engagement 2.00 mm [.079”]2.50 mm [.098”]
Length (B)
TorqueN/A1.5 Ibf-in
MinimumMaximum
Mounting Substrate
Thickness (A) + 2.00 mm
Mounting Substrate
Thickness (A) + 2.50 mm
M1.8 SCREW
MOUNTING
SUBSTRATE
(3.00)
C8200
HOUSING
[1.244]
31.60
(Ø2.00)#1-32 OR
A
2.50 MAX
2.00 MIN
(Ø1.65)
B
2X Ø2.50 [.098]
[.536]
*
13.63
A
[.196]
4.99
[.138]
3.50
PIN 1
[.469]
11.90
MOLEX CONNECTOR
P/N: 51338-0374
[1.024]
26.00
[.512]
13.00
TOP VIEW
[.039]
1.00
4X Ø1.65
[.065]
3.00
[.118]
FRONT VIEWSIDE VIEW
*Dimension will change based on focus.
Decrease for far focus; increase for near focus.
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
BACK VIEW
UNITS = MM [INCHES]
7
Page 8
2.6 – Decode PCB Mechanical Specifications
KEEP OUT (2.20 [.087] HIGH)
2X 3.00
[.118]
2X 1.70
[.067]
2X 0.95
[.037]
2X 2.25
[.089]
1.20
[.047]
2.25
[.089]
2.00
[.079]
TOPBOTTOM
2.00
[.079]
.80
[.031]
KEEP OUT (1.50 [.059] HIGH)
DC822x
The DC822x mounts to the back of the CR8200 imager.
PIN 1 (TO SCAN ENGINE)
MOLEX 501745-0301
HIROSE FH33-12S-0.5SH(10)
1.25
[.049]
1.25
[.049]
11.90
[.469]
20.50
[.807]
1.70
[.067]
FRONT VIEWSIDE VIEW
2X 1.20 [.047]
GND
PIN 1
ISP
TX
RX
NON-PLATED THROUGH HOLES
9.40
[.370]
18.00
[.709]
BACK VIEW
0.80
[.031]
3.73
[.147]
TOP VIEWBOTTOM VIEW
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
The CR822x has 4 blind mounting holes for use with self-tapping screws.
Overall Dimensions
TOP VIEW
FRONT VIEW
11.90
[.469]
SIDE VIEWTOP VIEW
FRONT VIEW
2.8 – Enclosure Specifications
1. The enclosure for the CR822x should be large enough to
accommodate the engine and designed to maintain the ambient air
in contact with the CR822x within its operating limits (Note: special
care should be taken to ensure the temperature at the image sensor
does not exceed 70 ºC and the temperature at the processor does
not exceed 100 ºC). The enclosure should minimize infiltration by
airborne contaminants and foreign materials.
20.50
[.807]
SIDE VIEW
4X 1.65 [.065]
3.00 [.118]
*Dimension will change based on focus:
decrease for far focus, increase for near focus
UNITS = MM[INCHES]
2. The CR822x must not come in contact with water.
3. The CR822x is sensitive to Electrostatic Discharge (ESD) and must
be handled appropriately. Any individual who handles the CR822x
should be grounded using a wrist strap and ESD protected work area
and work surface.
4. The warranty of the CR822x is void if the recommendations above
are not followed when handling or integrating the device.
12.83
[.505]
16.46*
[.648]
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
9
Page 10
3 - Optical Considerations
3.1 – Window Requirements
When integrating the CR822x into your device or application, it may
be necessary to install a window in front of the optics of the Imager.
Although many different types of materials can be considered, Code
makes the following recommendations.
Placement: Contact to 0.5 mm away from the face of the Imager,
parallel to engine face
Material: Optically clear acrylic
Thickness: 1 mm or less
CR822x Field of Illumination Diagram
D
WINDOW SIZE MUST
EXCEED WIDTH
AND HEIGHT OF
ILLUMINATION ANGLE
A
C
FOV
H
W
LED
LED
FOV
L
C
L
[.165]
C
L
[.669]
C
17.00
L
30.00˚
4.20
30.00˚
30.00˚
If your design constraints prevent the window from being mounted within
0.5 mm of the face of the engine, Code recommends an anti-reflective
(AR) coating be applied to both window surfaces (front and back). The AR
coating must have less than 3% reflectance from 400nm to 1000nm.
The window must be wide and tall enough so the surrounding enclosure
does not block any of the illumination from the LEDs. The following
diagram illustrates the field of illumination that must be unobstructed
by the edges of the window aperture.
Distance to
Window (D)
5 mm22.04 mm13.44 mm
6 mm23.20 mm14.60 mm
7 mm24.36 mm15.76 mm
8 mm25.52 mm16.92 mm
9 mm26.68 mm18.08 mm
*Window must exceed this width/height
H=1.16D+7.64
W=1.16D+16.24
Illumination
Width (W)*
Illumination
Height (H)*
C
LED
L
A
D
UNITS =
MM[INCHES]
30.00˚
60˚ LED CONES
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
10
Page 11
3.2 – Imager Field of View
The Field of View for the CR822x for Horizontal and Vertical positioning
of the imager is shown below:
CR822x Field of View Diagram
39.40˚
(FOCAL DISTANCE)
Y
[5.118]
130.00
UNITS =
MM[INCHES]
51.00˚
X
Field of View (FOV) Size
X=0.954Z-0.98
Y=0.716Z-0.74
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
11
Page 12
4 - Electrical Specifications
4.1 – System Requirements
Power Supply: The CR822x is powered from the host via the Vin and
Gnd pins. Vin must be within the range specified in section 4.13 when
measured at the decode board. Vin must be maintained with varying
loads, such as when the illumination is turned ON and OFF.
Host Ribbon Cable (FFC): The impedance of the cable for the USB data
lines should be 90 ohm differential. For 3.3V operation, a ribbon cable of
no more than 6.0” in length can be used with a 0.28 mm [.011”] trace
width and 0.3 mm trace thickness. Longer cables can be used at higher
voltages.
4.2 – Electrical System Block Diagram
The CR822x is a complete barcode scanning system that can be easily
integrated into any device.
The block diagram below shows the main components of the system.
RIBBON CABLE (RS232/USB)
RS232 Polarit/NU
V
IN
Power Sequencing: There is no special power sequence needed for the
CR822x as long as the max and min voltage and current specifications
are met. However, if the voltage on a pin is greater than Vin, such as when
powering on, then current will flow from the pin to Vin through
the pull up resistors.
Thermal Requirements: The operating temperature range for the CR822x
is -20 ºC to 55 ºC (-4º F to 131 ºF) unenclosed. Special care should be
taken to ensure the temperature at the image sensor does not exceed 70
ºC and the temperature at the processor does not exceed 100 ºC.
FLEX CABLE
GND
RXD/USB D-
TXD/nGoodRead
CTS/USB D+
RTS/NU
PwrDwn
nBeeper
nGoodRead/NU
nWakeUp
nTrigger
NU = Not Used on USB Model
DECODE
PCBA
Power
Illum. Control
12C Bus
Image Control
Image Data
OPTICAL
ENGINE
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
12
Page 13
4.3 – Host Interface Pinouts (CR8222 RS232)
PinNameTypeDescriptionNote
1RS232 PolarityInputRS232 polarity control. When high, all RS232 signals have their normal polarity. When
2VinPowerPower supply voltage input
3GndPowerPower supply and signal ground
4RxDInputRS232 receive data, TTL level1
5TxDOutputRS232 transmit data, TTL level1
6CTSInputRS232 Clear to Send, TTL level1
7RTSOutputRS232 Request to Send, TTL level1
8PwrDwnOutputPower down indicator1
9nBeeperOutputFeedback indicator (success, error, etc.); active low1
10nGoodReadOutputIndicates a successful decode; active low1
11nWakeUpInputBring the unit out of sleep state; active low1,2
12nTriggerInputActivate image acquisition, decode; active low1
Notes: 1. Pin has a weak pull up to Vin.
2. If not actively controlling sleep mode, leave unconnected. Do not tie low.
low, all RS232 signals have inverted polarity. For inverted polarity on all RS232 signals,
tie this pin to Gnd. This pin is GPIO dual function; high impedance (2k Ohm protection
impedance that can be swapped out in final design).
4.4 – Host Interface Pinouts (CR8221 USB)
PinNameTypeDescriptionNote
1NUN/ANot used
2USB_VBUSPowerPower supply voltage input
3GndPowerPower supply and signal ground
4D-BidirectionalUSB D- signal
5NUN/ANot used
6D+BidirectionalUSB D+ signal
7NUN/ANot used
8PwrDwnOutputPower down indicator1
9nBeeperOutputFeedback indicator (success, error, etc.); active low1
10nGoodReadOutputIndicates a successful decode; active low1
11nWakeUpInputBring the unit out of sleep state; active low1,2
12nTriggerInputActivate image acquisition, decode; active low1
Notes: 1. Pin has a weak pull up to Vin.
2. If not actively controlling sleep mode, leave unconnected. Do not tie low.
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
13
Page 14
4.5 – Electrical Control Signals
The CR822x is equipped with inputs and outputs that allow the user to
control the reader and get certain status information via hardware signals.
A brief description of each signal is given in this section. For additional
details on the interaction and timing of these signals, refer to the Timing
Diagrams and Tables in the sections that follow.
Pin 8 - Power Down (output): The status of PwrDwn is unknown until the
system has booted and is ready for commands. At that point, the PwrDwn
signal will transition LOW to indicate the CR822x is ready to receive
commands. Thereafter, the PwrDwn signal will indicate that the CR822x
is either consuming power in an idle or active mode (when asserted LOW)
or is in a low power state like sleep mode (when assserted HIGH). The
different power modes are described in more detail in Section 4.6.
Pin 9 – Beeper (output): The nBeeper line is used to indicate a
successful decode, completion of the boot process, errors, and certain
other conditions or events. nBeeper can be configured to transition to a
LOW state for a specified length of time or to output a series of pulses of
a specified duration on a successful decode or on certain error conditions.
Default behavior for this signal is two “beeps” on startup, one “beep” for
a good decode, two “beeps” for a successful configuration barcode read,
and four beeps if a configuration was not applied successfully.
Pin 10 - Good Read (output): The nGoodRead line is used to indicate
a successful decode. Upon the completion of a successful scan and
decode, the nGoodRead line will be asserted LOW.
4.6 – Power Modes
Pin 11 – Wakeup (input): The nWakeUp line is used to change the state
of the reader from Sleep to Idle. Once the CR822x has entered the sleep
state, it may be awakened by asserting nWakeUp with a LOW pulse. Note
that nWakeUp must be HIGH when the CR822x enters the sleep state in
order for nWakeUp to awaken the CR822x on assertion. Also note that
when the sleep state is not being used, this pin should be left open, not
tied low. Please note that the Sleep state is only valid for CR8222.
Pin 12 – Trigger (input): The nTrigger line is used to activate the reader.
To activate the CR822x, pull the nTrigger line LOW. This is normally used
to cause the reader to scan for a barcode. The Trigger line can also be
used to wake a CR822x from sleep.
Note: When Vin is initially supplied, PwrDwn will stay LOW until the
processor begins booting and will return low when the booting is complete.
If the unit is put to sleep, the PwrDwn signal will then return high. The other
outputs will be LOW for a few milliseconds until the main processor has
completed part of its boot process. These signals should be ignored until
the processor has completed its boot sequence, which will take a maximum
of two (2) seconds, or before the PwrDwn signal has transitioned low after
waking from sleep. See startup timing diagram below for details.
Active Mode: In Active Mode the unit is capturing images and initiating
the decode process and/or storing images. The unit transitions to Active
Mode from Idle Mode when a trigger event is received.
Idle Mode: In Idle Mode the unit is not actively capturing images.
The processor is fully functioning and communication can take place,
upgrades can be performed, and scripts can be run. Idle Mode is entered
from Boot Mode after power on, from Active Mode after a register defined
timeout in which there are no trigger events, and from Sleep Mode on
receipt of a wake up.
Sleep Mode (CR8222 only): The imager, illumination, and most of the
processor is powered down. The CPU wake up circuitry, the memory, and
the input/output buffers are powered. The unit enters the sleep state after
a register defined timeout of inactivity. On receipt of a wake up on the
nWakeUp pin, the processor restores the run environment and enters Idle
Mode.
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
14
Page 15
4.7 – Power On (Boot) Timing Diagram
The PwrDwn signal will transition to HIGH
shortly after Vin is applied and will remain
HIGH until the reader is ready.
VIN
nBeeper
nGoodRead
ParameterSymbolMinTypicalMaxUnit
Time from Power On to
firmware ready to receive
commands
TPU35015003000msec
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
15
Page 16
4.8 – Power Down Timing Diagram
TIMEOUT
Power (Vin) can be removed at any time except
when the unit is performing an upgrade.
Removing power during an upgrade may
cause the unit to become unusable.
Outputs
ParameterSymbolMinTypicalMaxUnitNote
Time from Power Off to
all outputs low
5V
VIN
0V
5V
0V
TPU1
Outputs: PwrDwn, nGoodRead, nBeeper
TPD10.62msec
4.9 – Sleep to Wakeup Timing Diagram
nWakeUp
TWUPW
PwrDwn
TWU
nTrigger
nGoodRead
TSU
Data
Wake-Up Barcode Read Timing Diagram
SignalDescriptionMinTypicalMaxUnit
TwUpwnWakeUp pulse width1010msec
TwUTime between nWakeUp asserted and
CR822x ready
TreadyTime between CR822x ready and when
nTrigger can be asserted
TdecodeTime between nTrigger asserted and
nGoodRead asserted (decode time)
TgrpwnGoodRead pulse widthProgrammable
TTimeoUTTime between data transfer and sleep stateProgrammablemsec
TCMDDELAY
TDECODE
TGRPW
DATA
101112msec
000msec
99msec
T
Notes: Trigger can also be used to wake unit.
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
16
Page 17
4.10 – Image Capture Timing Diagram
Image acquisition and decoding can be started from either the nTrigger
line or via a communications channel command. The time required to
capture an image can vary depending on the size of image selected, the
confirmation time configuration, and where the imager is in the capture
cycle. The time to decode an image can depend on the image quality,
nTrigger
TRIGGER ACCEPTED
IMAGE CAPTURE COMPLETE
TTMIN
TTCT
Image Capture and Decode Timing
ParameterSymbolMinTypMaxUnitNote
Time from Trigger Accepted to
Image Capture Complete
Minimum Trigger durationTTmin1020N/A2
Trigger Confirmation TimeTTcT00see notemsec3
Notes: 1. Tic is dependent on image size.
2. Trigger must be asserted for Trigger Confirmation Time.
3. Trigger Confirmation Time defaults to zero and is adjustable.
Tic532100msec1
complexity of the barcode, etc. The maximum time spent trying to decode
an image defaults to 320ms and can be controlled by a configuration
command.
IC
T
4.11 – Ribbon Cable Diagram (Decode Board to Host Interface)
Our ribbon cables have the following characteristics:
1: Bottom contact on mating end
2: 12 pin
3: 0.5 mm pitch
4: 0.3 mm thickness with stiffener
Our ribbon cables have contacts on the same side of each end. Please
take this into account with respect to the control signals when designing
the mating connector pinout on the host interface.
The Development Kits, CR822x-DKX, use a ribbon cable with opposite
side contacts.
3.3V operation is only possible with 152.4 mm [6.0”] or shorter ribbon
cable.
3.556
[.14]
CABLE LENGTH
Three ribbon cables are available with the following SKUs and lengths:
SKULength
C80050.8 mm [2.0”]
C801152.4 mm [6.0”]
C802304.8 mm [12.0”]
6.00
[.236]
.28
[.011]
.50
[.020]
5.50
[.217]
.356
[.014]
6.50
[.256]
.305
[.012]
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
Code 128, IATA 2 of 5, Interleaved 2 of 5, GS1 DataBar,
Hong Kong 2 of 5, Matrix 2 of 5, MSI Plessey, NEC 2
of 5, Pharmacode, Plessey, Straight 2 of 5, Telepen,
Trioptic, UPC/EAN/JAN
(CC-A/CC-B/CC-C), MicroPDF, PDF417
Code, QR Code, Grid Matrix
Post, KIX Code, Korea Post, Planet, Postnet, UK Royal
Mail, UPU ID-tags
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
20
Page 21
6 – Reading Range Specifications
The following table summarizes the reading distances for the specified barcodes.
Test BarcodeMin mm (inches)Max mm (inches)
7.5 Mil Code 392.0" (50)9.6" (245)
10.5 Mil GS1 Databar1.4" (35)8.9" (225)
13 Mil UPC1.6" (40)14.6" (370)
5.8 Mil PDF4173.3" (85)6.1" (155)
6.7 Mil PDF4172.6" (65)6.9" (175)
5 Mil Data Matrix3.0" (75)3.5" (90)
6.3 Mil Data Matrix2.8" (70)5.3" (135)
10 Mil Data Matrix2.0" (50)8.1" (205)
20.8 Mil Data Matrix1.2" (30)15.7" (400)
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
21
Page 22
7 - Warranty
The CR822x carries a one year limited warranty as described herein.
Limited Warranty. Code warrants each Code product against defects in
materials and workmanship under normal use for the Warranty Coverage
Term applicable to the product as described at www.codecorp.com/legal/
warranty/term.php. If a hardware defect arises and a valid warranty claim
is received by Code during the Warranty Coverage Term, Code will:
i) repair a hardware defect at no charge, using new parts or parts
equivalent to new in performance and reliability; ii) replace the Code
product with a product that is new or refurbished product with equivalent
functionality and performance, which may include replacing a product
that is no longer available with a newer model product; or ii) in the case
of failure with any software, including embedded software included in any
Code product, provide a patch, update, or other work around. All replaced
products become the property of Code. All warranty claims must be made
using Code’s RMA process.
Exclusions. This warranty does not apply to: i) cosmetic damage,
including but not limited to scratches, dents, and broken plastic; ii)
damage resulting from use with non-Code products or peripherals,
including batteries, power supplies, cables, and docking station/cradles;
iii) damage resulting from accident, abuse, misuse, flood, fire or other
external causes, including damage caused by unusual physical or
electrical stress, immersion in fluids or exposure to cleaning products not
approved by Code, puncture, crushing, and incorrect voltage or polarity;
iv) damage resulting from services performed by anyone other than a
Code authorized repair facility; v) any product that has been modified
or altered; vi) any product on which the Code serial number has been
removed or defaced. If a Code Product is returned under a warranty
claim and Code determines, in Code’s sole discretion, that the warranty
remedies do not apply, Code will contact Customer to arrange either: i)
repair or replace the Product; or ii) return the Product to Customer, in
each case at Customer’s expense.
Non Warranty Repairs. Code warrants its repair/replacement services
for ninety (90) days from the date of shipment of the repaired/
replacement product to the Customer. This warranty applies to repairs and
replacements for: i) damage excluded from the limited warranty described
above; and ii) Code Products on which the limited warranty described
above has expired (or will expire within such ninety (90) day warranty
period). For repaired product this warranty covers only the parts that were
replaced during the repair and the labor associated with such parts.
No Extension of Term of Coverage. Product that is repaired or replaced,
or for which a software patch, update, or other work around is provided,
assumes the remaining warranty of the original Code Product and does
not extend the duration of the original warranty period.
Software and Data. Code is not responsible for backing up or restoring
any of software, data, or configuration settings, or reinstalling any of the
foregoing on products repaired or replaced under this limited warranty.
Shipping and Turn Around Time. The estimated RMA turn-around time
from receipt at Code’s facility to shipment of the repaired or replaced
product to Customer is ten (10) business days. An expedited turn-around
time may apply to products covered under certain CodeOne Service Plans.
Customer is responsible for shipping and insurance charges for shipping
Code Product to Code’s designated RMA facility and repaired or replaced
product is returned with shipping and insurance paid by Code. Customer
is responsible for all applicable taxes, duties, and similar charges.
Transfer. If a customer sells a covered Code Product during the Warranty
Coverage Term, then that coverage may be transferred to the new owner
by written notification from the original owner to Code Corporation at:
CodeOne Service Center
12393 South Gateway Park Place, Suite 600
Draper, UT 84020 USA
Limitation on Liability. Code’s performance as described herein shall be
Code’s entire liability, and the Customer’s sole remedy, resulting from
any defective Code product. Any claim that Code has failed to perform
its warranty obligations as described herein must be made within six (6)
months of the alleged failure. Code’s maximum liability related to its
performance, or failure to perform, as described herein shall be limited
to the amount paid by Customer for the Code product that is subject to
the claim. In no event will either party be liable for any lost profits, lost
savings, incidental damage, or other economic consequential damages.
This is true even if the other party is advised of the possibility of such
damages.
EXCEPT AS MAY BE OTHERWISE PROVIDED BY APPLICABLE LAW,
THE LIMITED WARRANTIES DESCRIBE HEREIN REPRESENT THE
ONLY WARRANTIES CODE MAKES WITH RESPECT TO ANY PRODUCT.
CODE DISCLAIMS ALL OTHER WARRANTIES, WHETHER EXPRESSED
OR IMPLIED, ORAL OR WRITTEN, INCLUDING WITHOUT LIMITATION
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NON-INFRINGEMENT.
THE REMEDIES DESCRIBED HEREIN REPRESENT CUSTOMER’S
EXCLUSIVE REMEDY, AND CODE’S ENTIRE RESPONSIBILITY,
RESULTING FROM ANY DEFECTIVE CODE PRODUCT.
CODE SHALL NOT BE LIABLE TO CUSTOMER (OR TO ANY PERSON
OR ENTITY CLAIMING THROUGH CUSTOMER) FOR LOST PROFITS,
LOSS OF DATA, DAMAGE TO ANY EQUIPMENT WITH WHICH THE
CODE PRODUCT INTERFACES (INCLUDING ANY MOBILE TELEPHONE,
PDA, OR OTHER COMPUTING DEVICES), OR FOR ANY SPECIAL,
INCIDENTAL, INDIRECT, CONSEQUENTIAL OR EXEMPLARY DAMAGES
ARISING OUT OF OR IN ANY MANNER CONNECTED WITH THE
PRODUCT, REGARDLESS OF THE FORM OF ACTION AND WHETHER OR
NOT CODE HAS BEEN INFORMED OF, OR OTHERWISE MIGHT HAVE
ANTICIPATED, THE POSSIBILITY OF SUCH DAMAGES.
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
22
Page 23
8 – APPENDIX A: CR8000 Development Kit User Guide
SPK1
J1C1
U1
C2
U2
C3
J2
J3
POLARITY
BOOT
SELECT
D1
RX
J4
TX
TX
RX
LED0
LED1
TRIGGER
8.1 – CR8000 Development Kit User Guide
Development Kit Overview
The development kit includes everything needed to integrate the
Scan Engine into a target design. We provide a complete Scan Engine,
development breakout board and all documentation required to quickly
evaluate and integrate the Scan Engine.
NOTE: The CR8000 Development kit can be used with the CR8221 and
CR8222. If evaluating the CR8222 with a CR8000 development kit, then
extra caution must be taken to ensure supply voltages do not drop below the
specified 2.97 V. Going below the specified minimum voltage will cause a
reset on the CR8222.
J23
J20
SW1
WAKE UP
SW2
TRIGGER
J22
EXPANDED
ILLUMINATION
J21
J25
VPI Engineering
J24
RX
D–
D+
RTS
TX
CTS
J7
J8
J5
J6
3 21
J9
POLARITY
J10
RX
J 11
TX
J12
CTS
J13
RTS
J14
LED0
J15
BEEPER
J16
LED1
J17
WAKE UP
J18
TRIGGER
F1
J19
Trigger/Wake Up Switches
SW1 and SW2 allow the user to wake the unit from Sleep Mode and
trigger a barcode read, respectively. If the unit is in a sleep state when
the trigger is pushed, the Scan Engine will automatically wake up before
performing a barcode read.
Scan Interface
J1 interfaces to an RJ-50 connector that carries both USB and RS232
signals to an external interface. The connector also provides a trigger
signal to activate the CR822x remotely.
C005425_02.pcb
20 May 2010
Scan Engine
The development kit comes with a complete Decoded Scan Engine that
includes the imager and decoder board integrated into a single assembly.
Please see the Mechanical Specifications section for details on this
assembly.
Development Board
The development board is the main user interface to the kit. It provides
access to all features of the Scan Engine including the debug and
development resources available.
Interface
The CR822x connects to the development board via J23.
Indicators
The development board includes a speaker (SPK1) for audible indication
as well as a bi-color LED (D1) for visual indication.
Configuration Jumpers
A group of jumpers allow the development board to re-configure and
access different features of the CR822x. J7 and J8 configure auxiliary
serial port features that appear on J2 and J3. J5 configures serial port
polarity. Finally, the CR822x host port configuration can be changed via
the jumper block J9-J18.
Auxiliary Headers
J2 and J3 provide auxiliary and debug serial communications to the
CR822x.
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
23
Page 24
8.2 – Development Board Connections
SPK1
SPK1
SPK1
Connections
The CR822x connects to the development
board via J23.
RJ-50 System Header
The majority of system communication goes
through the RJ-50 System Header. The RJ-50
cable provides power to the development kit
and is available in RS232 or USB version.
There is also the ability to trigger through
this connection.
U1
J1C1
J1C1
U1
J3
POLARITY
BOOT
SELECT
D1
J3
POLARITY
BOOT
SELECT
RX
J4
TXTXRX
RX
J4
TXTXRX
LED0
LED1
TRIGGER
LED0
LED1
RTS
TRIGGER
CTS
RTS
CTS
RX
D–
D+
TX
J7
J8
RX
D–
D+
TX
J5
J6
J7
J8
J5
J6
321
321
J9
J10
J11
J12
J13
J14
J15
J16
J17
J18
J9
J10
J11
J12
J13
J14
J15
J16
J17
J18
POLARITY
RX
TX
CTS
RTS
LED0
BEEPER
LED1
WAKE UP
TRIGGER
F1
POLARITY
RX
TX
CTS
RTS
LED0
BEEPER
LED1
WAKE UP
TRIGGER
F1
C2
U2
C3
J2
C2
U2
C3
J2
D1
J23
J21
J25
SW1WAKE UP
SW2TRIGGER
J22
J20
J19
J23
SW1WAKE UP
SW2TRIGGER
J22
J20
J19
VPI Engineering
C005425_02.pcb
EXPANDEDILLUMINATION
J24
J21
J25
VPI Engineering
EXPANDEDILLUMINATION
J24
20 May 2010
C005425_02.pcb
20 May 2010
Auxiliary and Debug Serial Headers
J2 and J3 provide auxiliary communications to
the CR822x for development and test purposes.
J2 is a serial console interface to the engine,
and J3 is attached to RS232 Port 4.
J1C1
U1
J3
POLARITY
SELECT
D1
RX
J4
TXTXRX
BOOT
RX
LED0
D+
LED1
RTS
TX
TRIGGER
CTS
D–
J7
J8
J5
J6
321
J9
POLARITY
J10
RX
J11
TX
J12
CTS
J13
RTS
J14
LED0
J15
BEEPER
J16
LED1
J17
WAKE UP
J18
TRIGGER
F1
C2
U2
C3
J2
J23
J21
J25
SW1WAKE UP
SW2TRIGGER
J22
J20
J19
VPI Engineering
C005425_02.pcb
EXPANDEDILLUMINATION
J24
20 May 2010
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
24
Page 25
8.3 – Development Board Jumpers
SPK1
SPK1
Interface Header
The jumper block of J9-J18 configures the
signals between the CR822x and RJ-50
connector. This is done by shorting pins 1-2 or
2-3 on each jumper. Refer to the table below for
configuring these pins for each interface:
JumperRS232 KitUSB Kit
J91-21-2
J101-22-3
J111-21-2
J121-22-3
J131-21-2
J141-21-2
J151-21-2
J161-21-2
J171-21-2
J181-21-2
Serial Polarity and Boot Select Jumpers
J5 selects whether or not the primary RS232
data are inverted, and the combination of J6
and SW2 will select the boot mode the kit
comes up in. The RS232 data will be inverted
if J5 has pins 2-3 bridged. For non-inverted,
do not populate. Placing a jumper between 1-2
may damage the CR8200.
J1C1
J1C1
J3
POLARITY
BOOT
SELECT
D1
POLARITY
SELECT
D1
RX
J4
TXTXRX
RX
J4
TXTXRX
J3
BOOT
LED0
LED1
RTS
TRIGGER
CTS
LED0
LED1
TRIGGER
RX
D–
D+
TX
RX
D+
RTS
TX
CTS
J7
J8
J5
J6
J7
J8
D–
J5
J6
3 2 1
321
J9
POLARITY
J10
RX
J 11
TX
J12
CTS
J13
RTS
J14
LED0
J15
BEEPER
J16
LED1
J17
WAKE UP
J18
TRIGGER
J9
J10
J11
J12
J13
J14
J15
J16
J17
J18
F1
POLARITY
RX
TX
CTS
RTS
LED0
BEEPER
LED1
WAKE UP
TRIGGER
F1
C2
U1
U1
U2
C3
J2
C2
U2
C3
J2
J23
J21
J25
SW1WAKE UP
SW2TRIGGER
J22
J20
J19
J23
SW1WAKE UP
SW2TRIGGER
J22
J20
J19
VPI Engineering
C005425_02.pcb
EXPANDEDILLUMINATION
J24
J21
J25
VPI Engineering
C005425_02.pcb
EXPANDEDILLUMINATION
J24
20 May 2010
20 May 2010
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
25
Page 26
8.3 – Development Board Jumpers (continued)
SPK1
C4R1
D5
D6
R2
D3
D2
D4
C5
D7
Q1
Q2
D8
Q3
D10
F2
C7
C6
C10
R4
R6
R12
R14
R17
C14
R5
R8
R11
C11
C13
R16
R3R7C8
R9
R13
C12
R15
C9
R10
D9
Serial Debug Jumpers
The serial debug jumper block of J4, J7 and
J8 determine whether or not RS232 Port 4 is
routed to J3, and allows a user to tap off of the
debug port on J2. J7 and J8 are shorted to
connect CR822x RS232 Port 4 to J3.
8.4 – Development Board Fuses
There are two fuses on the development
board. Both are used to protect the input
voltage line, VIN, but for different connection
options.
The standard cables provide VIN through the
RJ-50 connector, J1. The fuse that protects
the circuit when using the J1 connection
is F2. F2 is located on the back side of the
board, under the RJ-50 connector, J1.
If power is supplied through the Expanded
Illumination header (J19), the appropriate
fuse is F1. F1 is located on the front side of
the board next to J19.
Both fuses have the same part number:
• Code P/N: V005953
• Description: Fuse, 0.75 Amp 0603
• Manufacturer: Littelfuse
• Manufacturer P/N: 0467.750NR
J1C1
U1
J1C1
U1
SPK1
C2
U2
C3
J2
POLARITY
D1
C2
U2
C3
J2
J4
J3
BOOT
SELECT
J3
POLARITY
SELECT
D1
RX
TXTXRX
TRIGGER
RX
J4
TXTXRX
BOOT
J7
J8
RX
D–
LED0
D+
LED1
RTS
TX
CTS
J5
J6
RX
LED0
LED1
RTS
TRIGGER
CTS
321
J7
J8
D–
D+
TX
J5
J6
321
J9
POLARITY
J10
RX
J11
TX
J12
CTS
J13
RTS
J14
LED0
J15
BEEPER
J16
LED1
J17
WAKE UP
J18
TRIGGER
J9
J10
J11
J12
J13
J14
J15
J16
J17
J18
J19
F1
POLARITY
RX
TX
CTS
RTS
LED0
BEEPER
LED1
WAKE UP
TRIGGER
F1
J23
J21
J25
SW1WAKE UP
SW2TRIGGER
J22
J20
J23
SW1WAKE UP
SW2TRIGGER
J22
J20
J19
VPI Engineering
C005425_02.pcb
EXPANDEDILLUMINATION
J24
J21
J25
VPI Engineering
C005425_02.pcb
EXPANDEDILLUMINATION
J24
20 May 2010
16 Nov 2010
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
26
Page 27
9 – APPENDIX B: CR8200 Development Board
Development Kit Overview
The development kit includes everything needed to integrate the CR82XX
Scan Engine into a target design. We provide a complete Scan Engine,
development breakout board and all documentation required to quickly
evaluate and integrate the CR82XX Scan Engine.
Scan Engine
The development kit comes with a complete Decoded Scan Engine which
includes the imager and decoder board integrated into a single assembly.
Please see the Mechanical Specifications section for details on this
assembly.
Development Board
The development board is the main user interface to the kit. It provides
access to all features of the Scan Engine including the debug and
development resources available.
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
27
Page 28
9.1 – Interface
J3 is the standard Code RJ50 interface which supports RS232 using the
CRA-C501 cable and USB using the CRA-C500 cable. The connector also
provides a trigger signal to activate the engine remotely.
J1 provides a micro-USB interface for the CR8221 and CR8211. If both
the RJ50 and micro-USB cables are attached, micro-USB will be used for
communication. However, if power is connected to the RJ50 cable, the
development board will select it as the power source over micro-USB.
P12 provides a header to connect an FTDI cable for RS232
communication on the CR8222 and CR8212. When using this
communication method, a jumper must be placed on the “RS232
Disable” header in order to turn off the MAX3223 transceiver. The
system can be powered from either J3 or J1.
J2 is a 12 pin 0.5mm pitch ribbon connector that is used to connect the
engine. A reversed cable must be used such as 687712100002 made by
Wurth Electronics.
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
28
Page 29
9.2 – Power System
The S1 switch selects which voltage to run the engine and development
board on, 3.3V or 5V. The development board provides both 3.3V and 5V
regulators to provide a consistent power source to the engine.
For the CR8221, the switch must be set at 5V.
For the CR8222, the switch must be set at 3.3V.
The S3 switch turns the system on.
The S2 switch is used to select which current measurement path to use.
For normal operation, the switch must be set in either the left position
closest to the engine or the center position. See the next section for
performing power measurements on the engine.
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
29
Page 30
9.3 – Power Measurements
The development board provides current shunt amplifiers for two different
ranges to perform power measurements on the engine. Switch S2 will
select which path the current to the engine is routed.
The center position of S2 has no shunt, and directly connects VDEV (the
voltage selected by S1, 3.3V or 5V) to VOUT (the voltage to the engine
provided through J2).
Using an oscilloscope capable of math functions, such as the Keysight
InfiniiVision MSOX3104T, and two voltage probes, the engine’s power can
be easily measured in the operating and sleep states. Measure VOUT and
multiply with the calculated current to get power.
Operating Current
The left position of S2, closest to the engine, has a 2mΩ shunt between
VDEV and VOUT. The shunt has an integrated current shunt amplifier
that provides a factory calibrated gain of 2.0V/A. The voltage output of
this amplifier can be read from VHI on TP14 or TP15. To convert from
the voltage output to a current, divide the output by 2. This amplifier is
capable of measuring up to 500mA with a max VHI of 5V.
Sleep Current
To measure the current when the engine is asleep, first the offset of
the system needs to be measured. Disconnect the engine from the
development board by disconnecting the ribbon cable from J2. Turn on
the development board, set the desired voltage on S1, then set S2 in the
rightmost position closest to the RJ50 connector. Use a multimeter or
oscilloscope to measure the VLOW voltage on TP16 or TP17. This voltage
is the offset of the measurement.
To perform a sleep current measurement, start with S2 in either the left
or center position. Wait until the engine sleeps or put it to sleep. LED0
will be off if the engine is asleep and on if it is awake. When the engine
is asleep, move S2 to the right position closest to the RJ50 and USB
connectors. This will route the current to the engine through a 10Ω shunt
attached to a current shunt amplifier with a gain of 100V/V. The output
of the amplifier can be read from VLOW on TP16 or TP17. To convert
from voltage to current, subtract the offset you measured earlier from
VLOW and divide by 1000. The silkscreen on Rev 01 PCB’s does not
show the correct formula or range. The max range for the low current path
measurement is 5mA with a max VLOW of 5V.
Note: The silkscreen on Rev 01 PCB’s does not show the correct formula
or range.
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
30
Page 31
9.4 – Trigger/Wake Up Switches
SW1 and SW2 allow the user to wake the unit from Sleep Mode and
trigger a barcode read, respectively. If the unit is in a sleep state when
9.5 – Indicators
the trigger is pushed, the Scan Engine will automatically wake up before
performing a barcode read.
The development board includes a speaker (BZ1) for audible indication as
well as two LED’s for visual indication. LED0 connects to PWRDWN and
is on when the engine is awake, off when it is asleep. LED1 connects to
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
GOODREADn and will flash when a barcode is successfully decoded. The
power LED indicates that the development board is powered. It will be on
if power is connected and S3 is in the ON position.
31
Page 32
9.6 – Development Board Jumpers
Interface Header
The jumper block located just to the right of the engine configures the
signals between the CR82xx and RJ-50, FTDI, and USB connector. This
is done by shorting pins 1-2 or 2-3 on each jumper. Refer to figures below
for setting up each configuration.
CR82X1 USB
CR82X2 RS-232
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
32
Page 33
9.6 – Development Board Jumpers (continued)
Serial Polarity Jumper
P15 selects whether or not the primary RS-232 data are inverted. The
RS-232 data will be inverted if P15 has pins 1-2 bridged (GND and the
center pin). The CR82XX engines have an internal pullup on the polarity
input and default to non-inverted signaling.
D026227_08 CR822x Single Board Decoded Scan Engine Integration Guide
33
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.