Decode nearly any kind of 1D (striped) barcode in your project using this adorable compact barcode scanner. We've looked all over for a small, light, low-power module that can be easily integrated. This OEM scanner has a little camera inside that takes 100 photos per second, instead of using a 'scanning mirror' assembly. This means its less likely to get damaged or out of alignment.
Please note: this is a camera-based not laser-based scanner - you'll have to hold it farther away than you usually do for laser-mirror scanners! Try 10cm/4" or more distance with the button held down.
This all in one module is the most microcontroller-friendly we could find. It is powered over 5V and instead of a USB port, it has a PS/2 interface and acts like a 'keyboard'. In fact, its designed to be a 'pass through keyboard wedge' device for point-of-sale terminals. What's nice about PS/2 is that it uses a single connector for power and data, and uses two data pins. When a barcode is scanned, the raw data is decoded, parity-checked and spit out as if they were typed on a keyboard.
Nearly all microcontrollers have existing PS/2 keyboard examples that would work fine with this barcode scanner For Arduino users, we tried out PJRC's PS2_Keyboard library with great success - just check the 'simple text' example for which pins you can connect to on your 'duino (on an Uno we used digital pins 2 and 3). We suggest our PS/2 adapter cable to make the wiring easy. Point the scanner's red image line at the barcode for automatic detection, data will be emitted automagically
This reader will read a wide variety of barcode standards. The most common ones such as CODE39 and UPC are supported out of the box.
Performance parameters -
Light source: Visual red, wavelength 632 nm
Scan depth of field: 230mm@20mil/0.5mm, PCS90%
Ambient light immunity: 5000 Lux Max
Voltage: DC + 5V ± 5%
Operating power consumption: 80 mAh
Read the display state: The buzzer sounded
Scan speed: 100 scans / sec ± 10%
Operating temperature: 0 oC to 50 oC (32 oF to 122 oF)
Storage temperature: -20 oC to 70 oC (-4 oF to 158 oF)
Relative temperature: 20% to 95% (non-condensing)
Shockproof design: 2000 g, 0.7 ms, 3 axes
Interface: Keyboard / serial / USB
Wire: Straight line 150 cm
Interface: MOLEX 11P Pitch 1.25
Weight: About 17 grams (without wire)
Physical dimension: 44 mm (width) x 30 mm (length) x 19.2 mm (high)