POS HARDWARE factory

news

In addition to USB, what other common communication methods (interface types) are available for barcode scanner?

Generally, barcode scanner can be divided into two categories: wired barcode scanner and wireless barcode scanner according to the type of transmission.

Wired barcode scanner usually use a wire to connect the barcode reader and the upper computer device for data communication. According to the different communication protocols, they can usually be divided into: USB interface, serial interface, keyboard port interface and other types of interfaces. The wireless barcode device can also be divided into the following categories according to the wireless transmission protocol: wireless 2.4G, Bluetooth,433Hz,zegbee, WiFi.Wired barcode scanner communication interface1. USB interfaceThe USB interface is the most widely used interface for barcode scanners, and can usually be applied to Windows systems, MAC OS, Linux, Unix, Android and other systems.

The USB interface can usually support the following three different protocol communication methods.USB-KBW: USB keyboard port, similar to the way of using USB keyboard, is the most commonly used communication method, plug and play, don’t need to install drivers, and does not support command trigger control. Usually use Notepad, WORD, notepad++ and other text output tools to test.USB-COM: USB virtual serial port (Virtual Serial Port). When using this communication interface, it’s usually necessary to install a virtual serial port driver. Although a physical USB interface is used, it is an analog serial port communication, which can support command trigger control, and usually needs to be used. Serial port tool testing, such as serial port debugging assistant etc.USB-HID: Also known as HID-POS, it is a high-speed USB transmission protocol. It doesn’t need to install drivers. It usually needs to develop matching receiving software for data interaction and can support command trigger control.

2.serial portThe serial port interface is also called serial communication or serial communication interface (usually referred to as COM interface). It is usually widely used in the industrial field. It has the characteristics of long transmission distance, stable and reliable communication, and does not depend on complex systems. Its interface methods are various Variety, such as DuPont line, 1.25 terminal line, 2.0 terminal line, 2.54 terminal line, etc. At present, the scanner usually uses TTL level signal and RS232 signal output, and the physical interface is usually a 9-pin serial port (DB9). When using the serial port, you need to pay attention to the communication protocol (port number, parity bit, data bit, stop bit, etc.). For example, the commonly used serial port protocol: 9600, N, 8, 1.TTL interface: TTL interface is a kind of serial port, and the output is a level signal. If it is directly connected to a computer, the output is garbled. TTL can become RS232 communication by adding a serial port chip (such as SP232, MAX3232). This type of interface is usually used to connect a single-chip microcomputer. Usually use DuPont line or terminal line to directly connect the corresponding VCC, GND, TX, RX four pins to communicate. Support command trigger.RS232 interface: RS232 interface, also known as COM port, is a standard serial port, which can usually be directly connected to computer equipment. When in use, serial port tools are required for normal output, such as serial port debugging assistant, hyper terminal and other tools. There isn’t need to install a driver. Support command trigger.

3.keyboard port interfaceThe keyboard port interface is also called PS/2 interface, KBW (Keyboard Wedge) interface, is a 6-pin circular interface, an interface method used in early keyboards, currently used less, the barcode keyboard keyboard port wire is usually three There are two connectors, one is connected to the barcode device, one is connected to the computer keyboard and the other is connected to the host computer. Usually use text output on the computer, plug and play.

4. other types of interfacesIn addition to the above several wired interfaces, the bar coder will also use some other types of communication methods, such as Wiegand communication, 485 communication, TCP/IP network port communication and so on. These communication methods are often not used much, usually based on the TTL communication method plus the corresponding conversion module can be realized, and I will not introduce them in detail here.Wireless Barcode Scanner Communication Interface1.

 

Wireless 2.4GHz2.4GHz refers to a working frequency band.

1.2.4GHz ISM (Industry Science Medicine) is a wireless frequency band that is publicly used in the world. Bluetooth technology works in this frequency band. Working in the 2.4GHz frequency band can get a larger range of use. And stronger anti-interference ability, currently widely used in household and commercial fields. Technology used for short-distance wireless transmission and conduction.The wireless 2.4G communication protocol has a wide range of applications, and has the advantages of fast transmission speed, low power consumption, simple pairing, etc. The wireless 2.4G barcode scanner usually has an outdoor transmission distance of 100-200 meters, and it is also the most commonly used barcode scanner. A wireless communication method. , But because the 2.4G wavelength is relatively short and the high frequency penetration capability is weak, the general indoor transmission distance can only reach 10-30 meters. Wireless 2.4G barcode readers usually need to be equipped with a 2.4G receiver plugged into the device host for data transmission.

2. wireless Bluetooth BluetoothThe band of Bluetooth is 2400-2483.5MHz (including guard band). This is the 2.4 GHz short-range radio frequency band for the industrial, scientific, and medical (ISM) band that does not require a license (but not unregulated) worldwide.Bluetooth uses frequency hopping technology to divide the transmitted data into data packets, which are respectively transmitted through 79 designated Bluetooth channels. The bandwidth of each channel is 1 MHz. Bluetooth 4.0 uses 2 MHz spacing and can accommodate 40 channels. The first channel starts at 2402 MHz, one channel per 1 MHz, and ends at 2480 MHz. With Adaptive Frequency-Hopping (AFH) function, it usually hops 1600 times per second.The wireless Bluetooth barcode reader has a very significant feature. It can be connected to a device with Bluetooth function through a variety of communication methods (such as HID, SPP, BLE), and it can also be connected to a computer without Bluetooth function through a Bluetooth receiver. It is more flexible to use. Wireless Bluetooth barcode readers usually use Class2 low-power Bluetooth mode, which has low power consumption, but the transmission distance is relatively short, and the general transmission distance is about 10 meters.There are other wireless communication methods such as 433MHz, Zeggbe, Wifi and other wireless communication methods. The characteristics of wireless 433MHz are long wavelength, low frequency, strong penetration ability, long communication distance, but weak anti-interference ability, large antenna, and power. High consumption; products using wireless Zeggbe communication technology have the ability of star networking; wireless Wifi is less used in the scanning gun application field, and more used in the collector, so I won’t introduce it in detail here.

Through the above information, we can clearly understand some communication methods of common barcoder scanner, and provide a reference for choosing a suitable barcode scanner product in the later stage. To learn more about barcode scanner, welcome to contact us!Email:admin@minj.cn


Post time: Nov-22-2022