How Bar code Scanners Work(BCR - Bar-code Reader)
How do Bar code Scanners work?
To understand how a barcode scanner works, we have to explore the different parts of the device. Basically, there are 3 functional parts to the bar code scanner itself, the illumination system, the sensor / converter, and the decoder.

The simple explanation...

Barcode scanners begin by illuminating the code with red light. The sensor of the barcode scanner detects the reflected light from the illumination system and generates an analog signal with varying voltage that represent the intensity (or lack of intensity) of the reflection. Theconverter changes the analog signal to a digital signal which is fed to the decoder. Thedecoder interprets the digital signal, does that math required to confirm and validate that the barcode is decipherable, converts it into ASCII text, formats the text and sends it to the computer the scanner is attached to.

Let's look at each functional part of a barcode scanner in more detail:

Illumination Systems - The illumination system is the method by which the bars and spaces on the barcode are illuminated. There are a variety of illumination systems commonly used in barcode scanners:

Single Point LED - This technology is exclusive to the barcode wand reader and the barcode slot reader. The illumination of the barcode comes from either a single or pair of LED's and is focused through a single ball-type opening.  This technology requires the ball to physically touch the barcode being scanned.

Single Point Illumination in a Barcode Wand               

Since the illumination is on a single point, the operator has to provide motion to the barcode past the light source. In the case of a barcode wand, the operator drags the illumination ball across the barcode. For swipe or slot readers, the barcode is typically printed on a credit-card like media. The operator pulls the card through a fixed slot, past the illuminating head. 

Slot and wand readers are inexpensive, and can accommodate any length of barcode. There are several disadvantages of the single point illumination method. Slot and wand readers require the operator to control the speed at which the barcode passes in front of the illumination head. Because barcodes must be in contact with the illumination head to read, the barcode can easily be damaged by abrasion of the head on the media that hosts the printed barcode. Although the illumination head is hardened, it will wear out and must be replaced regularly.

CCD Barcode Scanner Illumination
Linear Multiple LED - Expanding on the single-point illumination system, placing multiple LED's in a line give the ability to light the entire width of the barcode. This type of illumination is used in CCD scanners and Linear Imagers.
When used in CCD scanners, the LED's are paired with a line of photocells to detect the reflected light from the barcode  Since the LED's are relatively low in power, and the photocells are low in sensitivity, the range of CCD barcode scanners is generally limited from being in contact with the barcode to 1" away.

Laser - This type of illumination method uses a single point red laser diode similar to a laser pointer. The point of light is expanded into a line by oscillating the laser into a stationary mirror, or projecting the point into an oscillating mirror.  This illumination method is very popular because of the working distances typically achieved are superior to the point illumination or linear LED illumination methods. Typical working distances are from 1" to 18". By increasing the power of the laser and decreasing the angle of oscillation, ranges of over 20 feet can be obtained.

LED Imager - The linear and full imager is very similar to the CCD device, with some important changes. In linear imagers, the amount of illumination is increased by using high light LED's, and the sensing photocells are more sensitive. Linear imaging technology mimics both the range and focus of laser scanners.

LED Imager Scan Head Pictures - Illuminated and Scan ZoneFull Imager Sensing Array
In full imagers, high-intensity LED's illuminate a square scanning "target". The light sensors in full imagers are very similar to the light sensors in monochrome cameras. The sensors search the scanning square target for a valid barcode. By pairing the target square with sensors that search the target square for a valid barcode, LED full imagers are omni directional - you don't have to line up the barcode in any way in order for it to be decoded. The target / snapshot method give LED imagers the ability to read 2-dimensional barcodes as well.

Regardless of the method used to illuminate the barcode, the illumination method is causes reflected light to return to the scanner head and be seen by the sensor.

Pen Type Readers and Laser Scanners

Pen type readers consist of a light source and a photo diode that are placed next to each other in the tip of a pen or wand. To read a bar code, you drag the tip of the pen across all the bars in a steady even motion. The photo diode measures the intensity of the light reflected back from the light source and generates a waveform that is used to measure the widths of the bars and spaces in the bar code. Dark bars in the bar code absorb light and white spaces reflect light so that the voltage waveform generated by the photo diode is an exact duplicate of the bar and space pattern in the bar code. This waveform is decoded by the scanner in a manner similar to the way Morse code dots and dashes are decoded.


Laser scanners work the same way as pen type readers except that they use a laser beam as the light source and typically employ either a reciprocating mirror or a rotating prism to scan the laser beam back and forth across the bar code. Just the same as with the pen type reader, a photo diode is used to measure the intensity of the light reflected back from the bar code. In both pen readers and laser scanners, the light emitted by the reader is tuned to a specific frequency and the photo diode is designed to detect only this same frequency light.
Pen type readers and laser scanners can be purchased with different resolutions to enable them to read bar codes of different sizes. The scanner resolution is measured by the size of the dot of light emitted by the reader. The dot of light should be equal to or slightly smaller than the narrowest element width ("X" dimension). If the dot is wider than the width of the narrowest bar or space, then the dot will overlap two or more bars at a time thereby causing the scanner to not be able to distinguish clear transitions between bars and spaces. If the dot is too small, then any spots or voids in the bars can be misinterpreted as light areas also making a bar code unreadable. The most commonly used X dimension is 13 mils (roughly 4 printer dots on a 300 DPI printer). Because this X dimension is so small, it is extremely important that the bar code is created with a program that creates high resolution graphics (like B-Coder).  


Pranav Mistriy`s SixthSense



  integrating information with the real world

          

         



'SixthSense' is a wearable gestural interface that augments the physical world around us with digital information and lets us use natural hand gestures to interact with that information.


We've evolved over millions of years to sense the world around us. When we encounter something, someone or some place, we use our five natural senses to perceive information about it; that information helps us make decisions and chose the right actions to take. But arguably the most useful information that can help us make the right decision is not naturally perceivable with our five senses, namely the data, information and knowledge that mankind has accumulated about everything and which is increasingly all available online. Although the miniaturization of computing devices allows us to carry computers in our pockets, keeping us continually connected to the digital world, there is no link between our digital devices and our interactions with the physical world. Information is confined traditionally on paper or digitally on a screen. SixthSense bridges this gap, bringing intangible, digital information out into the tangible world, and allowing us to interact with this information via natural hand gestures. ‘SixthSense’ frees information from its confines by seamlessly integrating it with reality, and thus making the entire world your computer.


 

    
      






The SixthSense prototype is comprised of a pocket projector, a mirror and a camera. The hardware components are coupled in a pendant like mobile wearable device. Both the projector and the camera are connected to the mobile computing device in the user’s pocket. The projector projects visual information enabling surfaces, walls and physical objects around us to be used as interfaces; while the camera recognizes and tracks user's hand gestures and physical objects using computer-vision based techniques. The software program processes the video stream data captured by the camera and tracks the locations of the colored markers (visual tracking fiducials) at the tip of the user’s fingers using simple computer-vision techniques. The movements and arrangements of these fiducials are interpreted into gestures that act as interaction instructions for the projected application interfaces. The maximum number of tracked fingers is only constrained by the number of unique fiducials, thus SixthSense also supports multi-touch and multi-user interaction




.         


The SixthSense prototype implements several applications that demonstrate the usefulness, viability and flexibility of the system. The map application lets the user navigate a map displayed on a nearby surface using hand gestures, similar to gestures supported by Multi-Touch based systems, letting the user zoom in, zoom out or pan using intuitive hand movements. The drawing application lets the user draw on any surface by tracking the fingertip movements of the user’s index finger. SixthSense also recognizes user’s freehand gestures (postures). For example, the SixthSense system implements a gestural camera that takes photos of the scene the user is looking at by detecting the ‘framing’ gesture. The user can stop by any surface or wall and flick through the photos he/she has taken. SixthSense also lets the user draw icons or symbols in the air using the movement of the index finger and recognizes those symbols as interaction instructions. For example, drawing a magnifying glass symbol takes the user to the map application or drawing an ‘@’ symbol lets the user check his mail. The SixthSense system also augments physical objects the user is interacting with by projecting more information about these objects projected on them. For example, a newspaper can show live video news or dynamic information can be provided on a regular piece of paper. The gesture of drawing a circle on the user’s wrist projects an analog watch.





Part -1                                                                                                               Part-2