Barcode Technology

Barcode History

Barcode Label Paper

Barcode Printer

Barcode Application

Inventory Management

AI Barcode QRCode

Barcode Scanner

Barcode Software

Barcode Software B

Barcode Software C

Barcode Software D

Barcode Software E

New Technology A

New Technology B

Robot Technology

Barcode Types

Barcode Types B

Barcode Types C

Barcode Types D

Barcode Types E

Barcode Types F

Electronic Technology

Psychology at Work

Barcode Technology and Barcode Software Related   <<< Back to Directory <<<

From Photons to Bits: The Circuit Principles and Design Reality of Barcode Scanners (P16)

Recommended: Free barcode software - Bulk barcode generator and label printing, Free for life. Download

Summary of This Chapter

This chapter examines the fixed-threshold comparator at the heart of the wand scanner, the simplest and oldest form of barcode reading device. Unlike modern laser scanners or camera-based imagers that employ sophisticated automatic gain control and dynamic threshold tracking, the wand scanner relies on a single, unvarying reference voltage to decide whether the sensor is looking at a black bar or a white space. This design works because the wand must physically touch the label. The optical path is short, the illumination is steady, and the contrast between ink and paper is predictable. The fixed threshold is not a limitation born of cost-cutting alone; it is a deliberate engineering choice that matches the physics of contact scanning. Through examples drawn from retail, logistics, library systems, manufacturing, and healthcare, this chapter shows how a circuit principle that seems almost too simple to be useful has, for decades, delivered reliable data capture in environments where complexity would be a liability rather than an asset.

1. The Comparator as a Decision Maker

Every barcode reader, no matter how advanced, must eventually answer a binary question: is the spot under the sensor dark or lightThe comparator is the circuit that makes this decision. It takes two inputs: the analog signal from the photodetector, which rises and falls as the wand moves across bars and spaces, and a reference voltage that represents the boundary between 'dark enough' and 'light enough.' When the signal crosses that boundary, the comparator's output flips, producing a clean digital edge that downstream logic can count and time.

In a wand scanner, that reference voltage is fixed. It is set once, during manufacture or by a simple adjustment, using a potentiometer or a pair of resistors that divide the supply voltage down to a predetermined level. There is no microprocessor monitoring the signal and adjusting the threshold on the fly. There is no peak detector tracking the darkest bar and the lightest space to compute a midpoint. The threshold sits where it sits, and the wand either produces a signal that crosses it cleanly or it does not.

This arrangement sounds fragile. In a laser scanner used at a supermarket checkout, where the label might be anywhere from a few centimeters to half a meter away and the ambient light can range from dim to blinding, a fixed threshold would fail almost immediately. But the wand scanner is not used at a distance. It is dragged across the label. The photodetector and the light source are housed together in a pen-shaped body, and the tip of that pen rests directly on the paper. The distance from the light source to the barcode and back to the detector is perhaps a centimeter at most. Under those conditions, the amount of light returning from a white space and the amount returning from a black bar are remarkably consistent from one scan to the next, and from one label to the next.

The fixed threshold, then, is not a compromise. It is the correct answer to a very specific set of physical constraints.

2. Why Contact Changes Everything

To understand why the fixed threshold works, it helps to think about what makes barcode reading difficult in the first place. Three factors dominate: distance, ambient light, and surface variation.

Distance matters because light falls off with the square of the distance traveled. In a scanner that reads labels at varying ranges, the signal amplitude can change by orders of magnitude depending on whether the label is close or far. A fixed threshold would either miss the weak signal from a distant label or saturate on the strong signal from a close one. But a wand scanner does not vary its distance. The user presses the tip against the label and drags. The distance is fixed by the physical geometry of the pen.

Ambient light matters because the photodetector cannot distinguish between light from the scanner's own LED and light from the room. Fluorescent overheads, sunlight through a window, and the glow of a computer monitor all add to the signal. A fixed threshold calibrated under one lighting condition would shift under another. But the wand's contact with the label means that the tip of the pen acts as a light shield. The label is pressed against the aperture, and very little ambient light reaches the detector through the small opening at the tip. The dominant light source is the LED inside the wand itself.

Surface variation matters because different papers, inks, and printing processes produce different contrast ratios. A thermally printed shipping label on corrugated cardboard has less contrast than a glossy retail label printed with carbon black ink. A fixed threshold optimized for one will not be optimal for the other. But in the era when wand scanners dominated, barcode printing was remarkably standardized. Retail labels used black ink on white paper. Library labels used black ink on white paper. The contrast was predictable because the printing was predictable.

The wand scanner and the fixed comparator evolved together. The circuit assumes a certain signal range, and the printing and usage patterns of the 1980s and 1990s delivered that range reliably.

3. Retail: The Point-of-Sale Ancestor

The first mass deployment of wand scanners was in retail. In the late 1970s and early 1980s, supermarkets began installing barcode scanning at checkout, and the wand was the first form factor that made economic sense. A laser scanner with spinning mirrors and moving parts cost thousands of dollars. A wand scanner cost a few hundred. For a small grocery store or a pharmacy, the wand was the only affordable entry into automated checkout.

The retail environment suited the wand perfectly. Labels were printed by the store or by the product manufacturer on white paper with black ink. The contrast ratio was high. The checkout clerk held the wand in one hand and the product in the other, dragging the tip across the barcode in a smooth motion. The fixed threshold, set at the factory to a level somewhere between the white signal and the black signal, worked scan after scan.

The circuit was simple enough that it could be built with a handful of components: a phototransistor or photodiode, a transimpedance amplifier, a comparator, and a resistor divider to set the threshold. The output of the comparator fed directly into a decoder chip or, in some early designs, into a shift register that captured the timing of the edges for a microprocessor to analyze. There was no firmware running on the analog side. The analog decision was made entirely in hardware.

What made this work in retail was not just the printing quality but the workflow. The clerk had both hands occupied: one with the wand, one with the product. The wand was dragged, not aimed. The contact was continuous. The fixed threshold never saw a signal that fell outside its expected range because the physical act of scanning kept the signal within bounds.

Retail eventually moved away from wands. Laser scanners at the checkout counter became faster and allowed the clerk to use both hands for bagging. But the wand persisted for years in convenience stores, liquor stores, and small shops where the volume did not justify the cost of a laser. And in every one of those installations, the fixed-threshold comparator did its job without adjustment or maintenance.

4. Libraries: The Quiet Workhorse

If retail was the wand's first home, the library was its most enduring one. For more than two decades, from the 1980s through the early 2000s, the wand scanner was the standard tool for checking out books. The librarian sat or stood at a desk, picked up the wand, and drew it across the barcode on the book's inside cover. The system beeped. The transaction was recorded.

The library environment was even more forgiving than retail. Library barcodes were printed on paper labels with black ink, often by the library itself using a dedicated label printer. The labels were applied to the inside front cover or the first page, a flat and predictable surface. The librarian's motion was practiced and consistent. The fixed threshold, calibrated for the specific contrast of those labels, never had reason to fail.

What is instructive about the library case is the longevity of the circuit. A wand scanner installed in a small public library in 1985 might still have been in service in 2000. It had no moving parts, no firmware to update, no calibration procedure that required periodic attention. The comparator's threshold drifted slightly with temperature, but the drift was slow and the margin between the black signal and the white signal was wide enough that the drift never mattered. The resistor divider that set the threshold was made of two ordinary resistors with tolerances of five percent. Even with that variation, the threshold landed comfortably in the gap between black and white.

The library also illustrates a subtle advantage of the fixed threshold: predictability. When a scanner has an automatic threshold that adjusts to the label, the behavior of the scanner changes from label to label. A librarian who scans a hundred books a day develops an intuitive sense of how fast to drag the wand and how much pressure to apply. That intuition depends on the scanner responding the same way every time. A fixed threshold, by virtue of its inflexibility, is also consistent. The librarian learns the tool, and the tool does not surprise the librarian.

5. Logistics and Warehousing: Durability Over Sophistication

Warehouses and distribution centers adopted barcode scanning later than retail and libraries, but when they did, the wand found a niche that suited its strengths. In a warehouse, labels are often printed on demand using thermal transfer printers. The paper may be plain, or it may be a synthetic material that survives moisture and abrasion. The contrast is not always ideal. Thermal printing can produce grayish blacks rather than deep blacks, and the labels may be scuffed or dirty by the time they are scanned.

A fixed-threshold wand would seem like a poor choice for this environment. Yet wands were used in warehousing for years, particularly for low-volume tasks like inventory counts and receiving. The reason is that the warehouse did not demand the same speed as retail checkout. A worker scanning a shelf label or a pallet label could afford to drag the wand slowly and deliberately. The slow drag produced a longer signal, with wider bars and spaces in the time domain, which gave the comparator more time to settle. Even with a less-than-ideal contrast ratio, the signal had enough amplitude to cross the fixed threshold because the wand was in direct contact and the LED was close to the label.

The logistics industry also valued the wand's durability. A wand scanner has no lens to focus, no mirror to align, and no motor to wear out. The tip might become scratched or worn, but the optical path was simple enough that minor damage did not affect performance. In a warehouse where scanners are dropped, banged against shelving, and exposed to dust, that robustness mattered more than the ability to read a poorly printed label from a distance.

6. Manufacturing and Assembly Lines: Fixed Geometry, Fixed Threshold

On a manufacturing line, barcodes are often printed on components, subassemblies, or work-in-progress travelers. The surfaces can be curved, the labels can be small, and the contrast can be marginal. At first glance, this seems like another environment where a fixed-threshold wand would struggle. But manufacturing lines have a characteristic that changes the calculus: the geometry is fixed.

In a workstation where a wand is used, the component is usually held in a fixture or placed in a known position. The operator brings the wand to the label, and the contact is consistent. The distance from the wand tip to the label is the same every time. The angle of the wand is the same every time. Under those conditions, the signal amplitude from a given label is predictable, and a fixed threshold set for that label works reliably.

Manufacturing also brought a different kind of barcode into play. While retail and libraries used standard symbologies like UPC and Code 39, manufacturing often used specialized codes or even custom mark formats. A fixed-threshold wand could be calibrated for the specific contrast of a particular marking method, such as a laser-etched code on a metal part or a dot-peened code on a plastic housing. The potentiometer that set the threshold could be adjusted once for that application and then left alone. The wand became a dedicated tool for a dedicated task.

This is a pattern that repeats across industries: the fixed threshold works best when the scanning conditions are constrained. The wand imposes constraints by its physical design. The user imposes constraints by adopting a consistent workflow. The combination produces a signal that stays within the expected range, and the comparator does its simple job without complaint.

7. Healthcare and Laboratory Settings: Clean, Controlled, and Predictable

Hospitals and laboratories adopted barcode scanning for patient identification, specimen tracking, and medication administration. The stakes are high, and the tolerance for read errors is low. One might expect that such an environment would demand the most sophisticated scanning technology available. And in many modern hospitals, that is exactly what is used: camera-based imagers that can read two-dimensional codes and handle poor contrast.

But in the early years of healthcare barcode adoption, and in many small clinics and labs even today, the wand scanner found a place. The reasons are similar to those in libraries: the labels are printed on demand, the surfaces are flat and clean, and the workflow is deliberate. A nurse scanning a patient wristband or a phlebotomist scanning a specimen tube is not moving at checkout speed. The scan is a discrete, intentional act. The wand is pressed against the label and dragged slowly.

In a laboratory, the wand's fixed threshold is aided by the controlled environment. Lighting is consistent. Temperature is stable. The labels are printed on standardized materials. The contrast ratio is known and does not vary. The comparator's reference voltage, set once, remains appropriate for every label in the facility because every label is produced by the same printer on the same stock.

The healthcare example also highlights a non-technical advantage of the fixed-threshold wand: it is easy to validate. In regulated environments, every device that affects patient safety must be verified to perform as intended. A wand scanner with a fixed threshold has a single, measurable characteristic: the threshold voltage. A technician can measure it with a voltmeter and confirm that it falls within the specified range. There are no adaptive algorithms to test, no firmware behaviors to characterize, no edge cases where the automatic threshold might make an unexpected decision. The simplicity of the circuit translates into simplicity of validation.

8. The Limits of the Fixed Threshold, and Why They Rarely Mattered

It would be dishonest to suggest that the fixed-threshold comparator never failed. It did, in predictable ways. If a label was printed with low contrast, the white signal might not rise far enough above the threshold, or the black signal might not fall far enough below it. If the wand tip became dirty or scratched, the signal amplitude dropped. If the LED aged and its output diminished, the entire signal range shrank. If the label was curved or wrinkled, the contact between the wand and the paper became uneven, and the signal fluctuated.

These failure modes were well known, and they shaped user behavior. Operators learned to keep the wand tip clean. They learned to press firmly enough to flatten the label against the surface. They learned to recognize when a label was poorly printed and to reprint it rather than struggle with the scan. The fixed threshold, by failing in predictable ways, taught its users how to use it.

The industries that adopted wands were, by and large, industries where these lessons could be learned and applied. A supermarket clerk could reprint a damaged label. A librarian could replace a worn barcode sticker. A warehouse worker could slow down and scan more carefully. The fixed threshold was not suitable for every application, but the applications where it was suitable were numerous and economically significant.

9. The Transition Away from Wands

By the mid-2000s, the wand scanner was in decline. Laser scanners had become cheaper and more capable. Camera-based imagers, initially expensive, followed the same cost curve and eventually became the dominant technology. The wand's limitations became more visible as the alternatives improved. A laser scanner could read a label at a distance without contact, which was faster and less tiring for the operator. An imager could read a two-dimensional code, which carried more data and enabled new applications.

But the decline of the wand does not diminish the lesson of its circuit. The fixed-threshold comparator is a case study in matching a design to its constraints. The wand's constraints were physical: contact, short optical path, controlled lighting. Those constraints made a simple circuit sufficient. When the constraints changed, the circuit changed. The laser scanner introduced automatic gain control and dynamic thresholding because it had to read at varying distances and under varying ambient light. The imager introduced digital signal processing because it had to handle two-dimensional patterns and poor contrast.

Each generation of technology solves the problems that the previous generation could not. But each generation also embodies a set of assumptions about how the device will be used. The wand assumed contact. The laser assumed distance. The imager assumes nothing about distance but requires computation to handle the variability that distance introduces. The fixed-threshold comparator is the purest expression of the contact assumption. It is simple because the problem it solves is simple.

10. Detailed Summary

The comparator in a wand scanner operates with a fixed threshold set by a potentiometer or a resistor divider. This design is viable because the wand is a contact device: the optical path between the light source, the barcode, and the photodetector is short and stable. Under these conditions, the contrast between black bars and white spaces is predictable, and a single reference voltage suffices to distinguish between them.

The fixed-threshold approach was deployed across a remarkable range of industries. In retail, it enabled the first affordable point-of-sale barcode scanning systems, allowing small stores to participate in the barcode revolution without the cost of laser scanners. In libraries, it provided decades of reliable service for book checkout, with a simplicity that made maintenance and training trivial. In warehousing and logistics, it offered durability and predictability for inventory and receiving tasks where speed was less critical than reliability. In manufacturing, it served as a dedicated tool for fixed-geometry scanning tasks, calibrated once for a specific marking method. In healthcare and laboratories, its simplicity made validation straightforward in regulated environments.

The fixed threshold has known limits. Low-contrast labels, dirty optics, aging LEDs, and curved surfaces can all push the signal outside the range where the comparator makes correct decisions. But these limits were understood and managed through user behavior: cleaning the wand, pressing firmly, reprinting damaged labels, and accepting a slower scanning motion. The wand taught its users how to use it, and the industries that adopted it were those where those lessons could be applied.

The wand scanner's decline in the face of laser and imaging technologies does not invalidate the fixed-threshold principle. It simply marks the point at which the constraints changed. When scanners moved away from contact, the signal range expanded and the fixed threshold became inadequate. Automatic gain control, dynamic thresholding, and digital signal processing became necessary. The fixed-threshold comparator remains a model of design economy: a circuit that does exactly as much as it needs to do, no more, and succeeds because the physical world in which it operates is constrained enough to make simplicity sufficient.

 

EasierSoft Barcode Label Design & Bulk Printing Software

---- Use Excel Data to Batch Print Barcodes on Label Sheets or Roll Labels  

---- How to use this barcode software

Download:  Free Barcode Software + Barcode Label Designer

Download Free Barcode Software at Softonic

     Download at CNET

Once you obtain a GS1/UPC/EAN barcode, or other barcode type and QR code, you can use our free software to batch print barcode labels onto Roll label paper using a professional label printer, or to batch print barcodes onto Avery 5160 label sheets using a regular laser or inkjet printer. Our software has free and paid versions.

The free version fully meets your needs for batch printing GS1/UPC/EAN barcodes. The paid version can import data from Excel and databases to batch print barcode labels with different values.

How to Start

Input Data

Import Excel Data

Print Barcode

Barcode Format

Label Designer

All Screen Shot

Export Barcode Image

Save Template

Output Word Excel

How to Use & FAQ:

Manually copy data from Excel files

Filter some data for printing

Edit imported barcode data

Input data (Pro)

Label Designer

Edit data in Label designer

Label Designer - Add new label

Label Designer - Printing

Set the barcode label format to be printed

Other Barcode Label Format Settings

Barcode types supported by this program

Barcode Label Font Settings

Configuring the Barcode Print Rotation

Text Alignment for Barcode Labels

Automatically Adjusting Barcode Width

Text Beneath the Barcode

Configuring Barcode Size

Auto Calculate the Barcode Size

Export Barcode images

Export Barcode Image Format

File Names for Exported Barcode

Resolution of Exported Barcode Images

Fixed Folder for Exporting Barcode

Default Barcode Image Export Format

Print bulk barcodes quickly

Print barcodes to Avery 5160 label

How to bulk Barcode Printing

Sample - Avery 5162 (2x7) Label Sheet

Example: Print barcodes to 5*3cm roll

Example: Print barcodes to 5161 label

Example: Print barcodes to 5162 label

Example: Print barcodes to 5163 label

Example: Print barcodes to 5164 label

Example: Print portrait orientation 5164

Example: Print barcodes to 5167 label

Example: Print barcodes to 5168 label

Example: Print portrait orientation 5168

Example: Print barcodes to 5169 label

Example: Print barcodes to 5660 label

Example: Print barcodes to 5661 label

Example: Print barcodes to 5662 label

Example: Print barcodes to 5663 label

Example: Print barcodes to 5664 label

Example: Print portrait orientation 5664

Example: Print barcodes to 5873 label

Example: Print barcodes to 5874 label

Two ways to import Excel data

Import Excel Data - Pro Edition

Import Excel Data - Std Edition

Import Data from Excel - Detail

Highlights

Excel integration: Import data directly from Excel to generate and print barcodes in bulk.

Label designer: Create complex labels with multiple barcodes, text, logos, and shapes.

Batch printing: Print thousands of barcodes at once using standard inkjet/laser printers or professional barcode printers.


Flexible editions:

Standard Edition: Simple batch printing with Excel data.

Professional Edition: Adds command-line automation for workflow integration.

Label Designer Edition: Advanced design features for complex labels.


Why Choose Our Barcode Solutions?

Cost-effective: Free online generator and permanent free desktop version available.

Easy to use: No technical expertise required—just input data and print.

Versatile: Supports nearly all 1D and 2D barcode types, including QR codes.

Trusted: Recommended by CNET and widely downloaded by users worldwide.


Suitable Use Cases

Small businesses and startups needing quick barcode labels for products.

Retailers and online sellers managing inventory with batch barcode printing.

Manufacturers requiring sequential or custom barcode labels for packaging.

Educational and testing environments where barcodes are used for tracking.

 

 

CONTACT

cs@easiersoft.com

If you have any question, please feel free to email us.

 

https://free-barcode.com

 

<<< Back to Directory <<<     Barcode Generator     Barcode Freeware     Privacy Policy