Multi-mode code scanning module

By designing a multi-mode barcode scanning module that supports multiple output methods and built-in battery power, the applicability issues of existing barcode scanning modules in the face of diverse interfaces and lack of external power supply are solved, achieving high adaptability and reliability of the device and simplifying the operation process.

CN223539199UActive Publication Date: 2025-11-11FUJIAN FUXIN ELECTRONICS TECH CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202423220034.X
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-11-11
Estimated Expiration
2034-12-25

AI Technical Summary

Technical Problem

Existing barcode scanning modules are not suitable for the diverse interface requirements in industrial environments, have poor reliability without external power supply, have cumbersome switching methods, and low functional integration, which increases the user's operating burden and equipment cost.

Method used

A multi-mode barcode scanning module was designed, which includes a power module, a charging and discharging module, a power step-down module, a working mode selection module, a barcode scanning engine module, a serial port module, and a wireless module. It supports four output modes: USB, RS485, Bluetooth, and StarFlash, and is equipped with a built-in battery for power supply. The function selection module enables simple switching.

Benefits of technology

The scanning module has improved its adaptability and application flexibility, enabling seamless integration with different devices and scenarios. The built-in battery power supply enhances the reliability of the device in special scenarios, simplifies the operation process, and reduces the risk of failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223539199U_ABST
    Figure CN223539199U_ABST
Patent Text Reader

Abstract

The utility model discloses a multimode code scanning module, which comprises a power supply module, a charging and discharging module, a power supply voltage reduction module, a working mode selection module, a code scanning engine module, a serial port module and a wireless module, the charging and discharging module is used for battery charging and discharging management and providing stable working voltage for other modules, the working mode selection module is used for switching output modes of the code scanning engine module, and the code scanning engine module decodes two-dimensional code data and outputs decoding information. The serial port module is used for outputting the decoding information generated by the code scanning engine module through serial port communication, and the wireless module is used for outputting the decoding information generated by the code scanning engine module through wireless communication. The system provided by the utility model has strong adaptability and application flexibility, and has high applicability and reliability in special scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model belongs to the field of barcode scanning equipment technology, and specifically relates to a multi-mode barcode scanning module. Background Technology

[0002] A QR code is a matrix barcode technology that records data through the spatial distribution of black and white modules. These QR code symbols are read by photoelectric scanning devices, enabling automatic machine recognition and rapid, accurate data entry into a computer for processing. As an efficient and reliable method of information storage and transmission, it has been widely used in recent years in mobile payment, logistics tracking, industrial production, warehouse management, and identity authentication. Correspondingly, the scanning module, as the core device for QR code decoding, is also undergoing continuous technological advancement.

[0003] A QR code recognition system consists of a QR code scanner, an amplification and shaping circuit, a decoding interface circuit, and a computer system. Most existing scanning modules use a single USB interface for data output. Chinese utility model patent CN212084175U discloses a QR code scanning module and system. This QR code scanning module includes an MH1903 processor and a transmission module. The MH1903 processor includes a first receive data pin and a first transmit data pin. The transmission module includes a second receive data pin and a second transmit data pin. The first transmit data pin and the second transmit data pin are electrically connected. The QR code scanning module also includes a connection control module, which controls whether the first receive data pin and the second receive data pin are electrically connected.

[0004] While the above solutions can meet the connectivity needs of some devices, traditional barcode scanning modules are insufficient for the diverse interface requirements of industrial environments, such as RS485, Bluetooth, and the emerging StarScan communication protocol. Furthermore, in certain scenarios where the devices lack a power supply, the reliance on an external power source further limits the application scope of existing barcode scanning modules.

[0005] To address these issues, existing technologies have proposed barcode scanning modules that support multiple output modes. However, these modules have cumbersome switching methods, low functional integration, and some modules exhibit poor reliability when requiring independent power supply, failing to simultaneously balance ease of use and device compatibility. For example, switching output interfaces in multi-mode barcode scanning modules requires manual adjustment of connecting cables or the use of independent external device modules. This not only increases the user's operational burden but also raises equipment costs and the risk of failure. Utility Model Content

[0006] This invention provides a multi-mode barcode scanning module, which aims to solve the problems of insufficient adaptability and application flexibility of existing barcode scanning modules.

[0007] To solve the above-mentioned technical problems, the barcode scanning module proposed in this utility model includes a power module, a charging and discharging module, a power step-down module, a working mode selection module, a barcode scanning engine module, a serial port module, and a wireless module;

[0008] The power module includes a power supply interface and several resistors and capacitors, used to introduce working power to the charging and discharging module and the power step-down module;

[0009] The charging and discharging module is connected to the rechargeable battery and includes a charging and discharging management chip, a first switch and an anti-backflow diode. It is used to charge the rechargeable battery through the power module in the charging state and to supply power to the power step-down module by the rechargeable battery in the discharging state. The first switch is used to switch between charging and discharging states, and the anti-backflow diode is used to prevent current from directly flowing into the rechargeable battery when the power supply interface is connected.

[0010] The power supply step-down module includes a synchronous step-down chip, an inductor, a voltage divider resistor, and an output filter capacitor, which are used to convert the voltage input to the power supply module into a predetermined low voltage value to provide a stable operating voltage for other modules.

[0011] The working mode selection module includes at least two function selection switches for switching the output mode of the barcode scanning engine module;

[0012] The scanning engine module includes a lens module and a scanning engine. The lens module is used to collect QR code image data, and the scanning engine decodes the QR code data and outputs the decoded information through an image processing algorithm.

[0013] The serial port module includes a serial communication transceiver chip and several resistors, which are used to output the decoded information generated by the barcode scanning engine module through serial communication.

[0014] The wireless module is used to output the decoded information generated by the barcode scanning engine module via wireless communication.

[0015] Preferably, the power supply interface is a USB interface, which is used for power supply, charging and output of decoding information. The VBUS1 and VBUS2 pins of the USB interface are used to receive 5V power input, and the differential signal pins DP1, DN1, DP2 and DN2 are used to output the decoding information generated by the barcode scanning engine module through the USB connection cable.

[0016] Preferably, the CC1 and CC2 pins of the USB interface are both connected to pull-up resistors for negotiating the power supply protocol.

[0017] Preferably, the differential signal pin is connected to a filter circuit for high-frequency filtering and electrostatic discharge protection.

[0018] Preferably, the charge / discharge management chip is TP4056.

[0019] Preferably, the synchronous buck chip is SM8081AAC.

[0020] Preferably, the working mode selection module includes a second switch and a third switch;

[0021] When both the second and third switches are off, the barcode scanning engine module outputs decoding information via Bluetooth;

[0022] When the second switch is turned on and the third switch is turned off, the barcode scanning engine module outputs decoding information via a star flash.

[0023] When the second switch is off and the third switch is on, the barcode scanning engine module outputs decoded information through the serial port;

[0024] When both the second and third switches are turned on, the barcode scanning engine module outputs decoded information via wired connection.

[0025] Preferably, the scanning engine obtains RGB data from the lens module via the DVP interface.

[0026] Preferably, the serial port module is an RS485 transceiver circuit module, which includes a main control chip MAX485, peripheral circuits, and an RS485 interface.

[0027] Preferably, the wireless module includes a Bluetooth module and a StarScan module. The Bluetooth module is used to pair with external devices and output decoding information using the Bluetooth transmission protocol. The StarScan module is used to pair with external devices and output decoding information using the StarScan transmission protocol.

[0028] Compared with the prior art, the present invention has the following technical effects:

[0029] 1. The barcode scanning module proposed in this utility model supports four output modes—USB, RS485, Bluetooth, and StarFlash—through a function selection module design, which can meet the barcode scanning needs of different devices and scenarios. Users can easily switch between multiple output modes by using a simple switch, depending on the differences in device interfaces, significantly improving the module's adaptability and application flexibility.

[0030] 2. The barcode scanning module proposed in this utility model is equipped with a built-in battery power supply module, supporting both external power supply and battery power supply modes. Even when external power supply is unavailable, the module can still operate normally via the built-in battery, enhancing the applicability and reliability of the device in special scenarios (such as mobile payment terminals and logistics site operations). Attached Figure Description

[0031] Figure 1 This is a schematic diagram of the structure of the scanning module described in this utility model;

[0032] Figure 2 This is a circuit diagram of the power module described in an embodiment of the present invention;

[0033] Figure 3 This is a circuit diagram of the charging and discharging module described in an embodiment of this utility model;

[0034] Figure 4 This is a circuit diagram of the power supply step-down module according to an embodiment of this utility model;

[0035] Figure 5 This is a circuit diagram of the working mode selection module described in this embodiment of the utility model;

[0036] Figure 6 This is a circuit diagram of the RS485 transceiver circuit module described in this embodiment of the present invention; Detailed Implementation

[0037] To make the objectives, technical solutions, and advantages of this utility model clearer, the technical solutions of this utility model will be clearly and completely described below with reference to specific embodiments of this application and the accompanying drawings.

[0038] like Figure 1 As shown, a multi-mode barcode scanning module includes a power module, a charging and discharging module, a power step-down module, a working mode selection module, a barcode scanning engine module, a serial port module, and a wireless module.

[0039] The power module includes a power supply interface and several resistors and capacitors, used to introduce working power to the charging and discharging module and the power step-down module.

[0040] In this embodiment, the power supply interface is a USB interface, such as... Figure 2 The diagram shows the circuit schematic of the power module when a USB interface is used for power supply. The USB interface includes pins GND1, VBUS1, SBU2, CC1, DN2, DP1, DN1, DP2, SBU1, CC2, VBUS2, GND2, SHELL2, and SHELL1. Pins GND1, GND2, SHELL2, and SHELL1 are grounded. This USB interface is used for power supply, charging, and outputting decoded information. Pins VBUS1 and VBUS2 of the USB interface are used to receive 5V power input.

[0041] When using the USB interface as the power supply interface, the two pairs of differential signal pins DP1, DN1, DP2, and DN2 of the USB interface are used to output the decoded information generated by the barcode scanning engine module through the USB connection cable. These differential signal pins are connected to filtering circuits; for example, each of the DP2 and DN1 pins is connected to a set of filtering circuits. Figure 2 As shown, a filter circuit consisting of capacitors C23 and C24 and resistor R27 is connected to the DP2 pin, and a filter circuit consisting of capacitors C25 and C26 and resistor R28 is connected to the DN1 pin. Additionally, another filter circuit consisting of capacitor C29 and resistor R30 is connected to the VBUS1 pin. These filter circuits are used for high-frequency filtering and electrostatic discharge (ESD) protection.

[0042] The CC1 and CC2 pins of the USB interface are both connected to pull-up resistors for negotiating the power supply protocol. Figure 2 The 5.1K resistors R26 and R29 shown indicate that this device is a charging device.

[0043] In other embodiments of this utility model, the power supply interface may also be configured as a DC power interface (DC) or an Ethernet power supply interface, wherein the DC specification may be a common standard / non-standard specification on the market, including but not limited to DC3.5*1.35, DC5.5*2.1, DC5.5*2.5 and other specifications.

[0044] The charging / discharging module connects to the rechargeable battery and manages the charging and discharging process of the connected battery. It includes a charging / discharging management chip, a first switch, and an anti-backflow diode. In the charging state, the power module charges the rechargeable battery, and in the discharging state, the rechargeable battery supplies power to the power step-down module. The first switch switches between charging and discharging states, and the anti-backflow diode prevents current from directly flowing into the rechargeable battery when the power supply interface is connected.

[0045] like Figure 3 As shown, the charge / discharge management chip in this embodiment is a TP4056. The TP4056 pins, in sequence, are: battery temperature detection input pin TEMP, current setting and monitoring pin PROG, ground pin GND, positive input voltage pin VCC, battery positive terminal connection pin BAT, battery charging complete indicator STDBY, open-drain output charging status indicator pin CHRG, and chip enable input CE. The current setting and monitoring pin PROG sets the charging current through an external resistor R25 of varying values. Figure 3 As shown, when the resistance of R25 is 1.2KΩ, the corresponding current flowing into the rechargeable battery BT2 from the BAT pin is 1A.

[0046] Different colored LEDs are connected between the CE pin and the CHRG pin, and between the CE pin and the STDBY pin, such as... Figure 3 As shown, when the rechargeable battery is charging, the CHRG pin is low. A high-level enable signal flows through LED D7 into the CHRG pin, illuminating LED D7 and indicating the charging status. In some embodiments, the charging status indicator is set to red. When the rechargeable battery is fully charged, the STDBY pin is low. A high-level enable signal flows through LED D8 into the CHRG pin, illuminating LED D8 and indicating the fully charged status. In some embodiments, the fully charged status indicator is set to green.

[0047] Additionally, the first switch SW1 connected to the VCC pin is used to switch between charging and discharging states. One end of SW1 is connected to the output terminal of the power module, and the other end has two switching contacts. One contact is connected to the VCC pin of the TP4056, and the other contact is connected to the positive terminal of the rechargeable battery through an anti-backflow diode D9. The current direction of the anti-backflow diode D9 is from the positive terminal of the rechargeable battery to the first switch SW1. In this embodiment, the anti-backflow diode D9 is model 1N5819, which is used to prevent the power supply from directly sinking current to the rechargeable battery BT2 when the power module is turned on. When the first switch SW1 is switched to the VCC pin, the charging and discharging module charges the rechargeable battery by introducing the voltage from the power module, and the operating power required by other modules is provided by the power module. When the first switch SW1 is switched to the contact corresponding to D9, the charging and discharging module supplies power to other modules through the rechargeable battery BT2.

[0048] like Figure 4 As shown, the power supply step-down module includes a synchronous step-down chip U8, an inductor L2, voltage divider resistors R31 and R32, and output filter capacitors C27 and C28. It is used to convert the voltage input to the power supply module into a predetermined low voltage value, providing a stable operating voltage for other modules.

[0049] The synchronous buck chip U8 is an SM8081AAC. The SM8081AAC and the 2.2μH inductor L2 form a high-efficiency DC / DC synchronous buck circuit with an operating frequency of 1.5MHz. Capacitors C27 and C28 form the output filter circuit. Resistors R31 and R32 form a voltage divider circuit. The output voltage, after being divided by resistors R31 and R32, is fed back to pin 5 of the synchronous buck chip U8, forming the feedback circuit of the synchronous buck circuit. The relationship between the output voltage and the feedback voltage of the synchronous buck circuit is: Vout = 0.6V × (1 + R31 / R32).

[0050] like Figure 5 As shown, the working mode selection module includes at least two function selection switches for switching the output mode of the barcode scanning engine module.

[0051] The working mode selection module in this embodiment includes a second switch SW2 and a third switch SW3. The switch states and mode matching settings are as follows:

[0052] When both the second switch SW2 and the third switch SW3 are off, the barcode scanning engine module outputs decoding information via Bluetooth;

[0053] When the second switch SW2 is turned on and the third switch SW3 is turned off, the barcode scanning engine module outputs decoding information via a star flash.

[0054] When the second switch SW2 is open and the third switch SW3 is closed, the barcode scanning engine module outputs decoding information through the serial port.

[0055] When both the second switch SW2 and the third switch SW3 are turned on, the barcode scanning engine module outputs decoded information via wired connection.

[0056] With a configuration function switch, users can select different output methods according to their needs, including Bluetooth, Flash, RS485, and USB. This flexibility allows the module to seamlessly connect to various devices and meet a wide range of barcode scanning requirements.

[0057] The scanning engine module includes a lens module and a scanning engine. The lens module is used to acquire QR code image data, and the scanning engine decodes the QR code data using image processing algorithms and outputs decoded information. The scanning engine obtains RGB data from the lens module through a DVP interface. The RGB data undergoes processes such as image grayscale conversion, noise reduction filtering, binarization, image positioning, image cropping, image rotation, geometric correction, grid establishment, and codeword extraction to finally obtain decoded information.

[0058] The barcode scanning engine module connects to the DP2 and DN1 terminals of the USB interface via USB-DP and USB-DM interfaces, respectively, and sends the decoded information to external devices through the differential signal pins of the USB interface.

[0059] The serial port module includes a serial communication transceiver chip and several resistors, which are used to output the decoded information generated by the barcode scanning engine module through serial communication.

[0060] like Figure 6As shown, in this embodiment, the serial port module is an RS485 transceiver circuit module, which includes a main control chip U9, peripheral circuits, and an RS485 interface J6. The main control chip U9 is a MAX485, and includes a receive output pin RO, a receive enable pin RE, a drive enable pin DE, a data input pin DI, a ground pin GND, a positive data transmission pin A, a negative data transmission pin B, and a 3.3V input pin VCC. The main control chip U9 operates in half-duplex mode; when the RE and DE pins of U9 are high, the transceiver circuit module is in transmit mode; when the RE and DE pins of U9 are low, the transceiver circuit module is in receive mode.

[0061] The peripheral circuit includes resistors R33, R34, and R35. An external 3.3V voltage is connected to pin A through resistor R35, and pin B is grounded through resistor R33. Resistor R34 is also connected between pins B and A. Both pins B and A communicate with external devices through RS485 interface J6.

[0062] The scanning engine is connected to the DI and RO pins of the RS485 transceiver circuit module via interfaces RS485-RX and RS485-TX, respectively. RS485-DE is connected to the two enable pins RE and DE of the RS485 transceiver circuit module, and the decoded information is sent to the external device through the RS485 interface J6.

[0063] In other embodiments of this invention, the serial port module may also be configured as an RS232 transceiver circuit module for transmitting decoded information via an RS232 interface. Alternatively, the serial port module may employ the UART communication protocol for transmitting decoded information via a universal asynchronous transceiver.

[0064] The wireless module is used to output the decoded information generated by the barcode scanning engine module via wireless communication.

[0065] The wireless module includes a Bluetooth module and a StarScan module. The Bluetooth module is used to pair with external devices and output decoding information using the Bluetooth transmission protocol. The StarScan module is used to pair with external devices and output decoding information using the StarScan transmission protocol.

[0066] The above description is only a preferred embodiment of the present utility model. It should be noted that for those skilled in the art, several modifications and improvements can be made without departing from the inventive concept of the present utility model, and these all fall within the protection scope of the present utility model.

Claims

1. A multi-mode barcode scanning module, comprising a power supply module, a charging / discharging module, a power supply step-down module, a working mode selection module, a barcode scanning engine module, a serial port module, and a wireless module, characterized in that, The power module includes a power supply interface and several resistors and capacitors, used to introduce working power to the charging and discharging module and the power step-down module; The charging and discharging module is connected to the rechargeable battery and includes a charging and discharging management chip, a first switch and an anti-backflow diode. It is used to charge the rechargeable battery through the power module in the charging state and to supply power to the power step-down module by the rechargeable battery in the discharging state. The first switch is used to switch between charging and discharging states, and the anti-backflow diode is used to prevent current from directly flowing into the rechargeable battery when the power supply interface is connected. The power supply step-down module includes a synchronous step-down chip, an inductor, a voltage divider resistor, and an output filter capacitor, which are used to convert the voltage input to the power supply module into a predetermined low voltage value to provide a stable operating voltage for other modules. The working mode selection module includes at least two function selection switches for switching the output mode of the barcode scanning engine module; The scanning engine module includes a lens module and a scanning engine. The lens module is used to collect QR code image data, and the scanning engine decodes the QR code data and outputs the decoded information through an image processing algorithm. The serial port module includes a serial communication transceiver chip and several resistors, which are used to output the decoded information generated by the barcode scanning engine module through serial communication. The wireless module is used to output the decoded information generated by the barcode scanning engine module via wireless communication.

2. The multi-mode barcode scanning module according to claim 1, characterized in that, The power supply interface is a USB interface, which is used for power supply, charging and output of decoding information. The VBUS1 and VBUS2 pins of the USB interface are used to receive 5V power input, and the differential signal pins DP1, DN1, DP2 and DN2 are used to output the decoding information generated by the barcode scanning engine module through the USB connection cable.

3. The multi-mode barcode scanning module according to claim 2, characterized in that, The CC1 and CC2 pins of the USB interface are both connected to pull-up resistors for negotiating the power supply protocol.

4. A multi-mode barcode scanning module according to claim 2 or 3, characterized in that, The differential signal pin is connected to a filter circuit for high-frequency filtering and electrostatic discharge protection.

5. A multi-mode barcode scanning module according to claim 1, characterized in that, The charge / discharge management chip is TP4056.

6. A multi-mode barcode scanning module according to claim 1, characterized in that, The synchronous buck chip is SM8081AAC.

7. A multi-mode barcode scanning module according to claim 1, characterized in that, The working mode selection module includes a second switch and a third switch; When both the second and third switches are off, the barcode scanning engine module outputs decoding information via Bluetooth; When the second switch is turned on and the third switch is turned off, the barcode scanning engine module outputs decoding information via a star flash. When the second switch is off and the third switch is on, the barcode scanning engine module outputs decoded information through the serial port; When both the second and third switches are turned on, the barcode scanning engine module outputs decoded information via wired connection.

8. A multi-mode barcode scanning module according to claim 1, characterized in that, The scanning engine obtains RGB data from the lens module via the DVP interface.

9. A multi-mode barcode scanning module according to claim 1, characterized in that, The serial port module is an RS485 transceiver circuit module, which includes a main control chip MAX485, peripheral circuits, and an RS485 interface.

10. A multi-mode barcode scanning module according to claim 1, characterized in that, The wireless module includes a Bluetooth module and a StarScan module. The Bluetooth module is used to pair with external devices and output decoding information using the Bluetooth transmission protocol. The StarScan module is used to pair with external devices and output decoding information using the StarScan transmission protocol.

Citation Information

Patent Citations

  • Two-dimensional code scanning module and two-dimensional code scanning system

    CN212084175U