Code scanner and money exchange machine
By integrating the scanning code shooting module and radar sensor in the code scanner and using the interface multiplexing module for signal transmission, the problem of lack of interfaces and complex installation and transformation of shared equipment when expanding human body detection functions is solved, and low-cost upgrade and transformation and function expansion are achieved.
Patent Information
- Application Number
- CN202311522635.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-15
- Publication Date
- 2025-05-16
AI Technical Summary
When expanding the human body detection function of shared equipment, the existing technology faces the problems of lack of interfaces and complicated installation and transformation operations, resulting in high upgrade costs.
A code scanner is designed, and its shell is equipped with a code scan shooting module and a radar sensor. The single interface transmission of signal data is realized through the interface multiplexing module, simplifying the installation and transformation process and reducing changes to the original hardware.
The integration of scanning codes and human body detection functions is realized, the upgrade and transformation operations are simplified, the upgrade and transformation costs are reduced, and the communication connection stability is achieved through interface multiplexing.
Smart Images

Figure CN120012793A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of code scanning devices, and in particular to a code scanner and a coin exchange machine. Background Art
[0002] Common shared devices, such as coin exchange machines and vending machines, are generally equipped with barcode scanners to facilitate users to make payments by displaying payment codes. During the operation of shared devices, there are cases where shared devices are upgraded to expand functions to meet demand.
[0003] When upgrading and expanding the human body detection function based on the original shared equipment, it is generally achieved through image recognition, infrared sensing, ultrasonic and other methods. However, the image recognition method requires the addition of high-definition cameras and high-computing processing chips, which has the problem of high implementation costs; infrared sensing and ultrasonic methods generally require drilling installation, and multiple sensor heads need to be installed to meet the coverage range. If installed on the surface of the device, it is easy to be damaged by collision. If installed inside the device, it is necessary to drill holes in the metal casing of the device. The installation and modification operation is troublesome and the cost of installation and modification is high.
[0004] In addition, the newly added hardware such as high-definition cameras, infrared sensors, radar sensors, etc. for expanding the human body detection function require the interface connection of the corresponding processing device, but the original interfaces of the device are limited, and there will be a lack of interfaces to connect the new hardware, which makes it difficult to expand the function. In the prior art, for the problem of lack of interfaces, the original hardware of the associated interfaces is generally replaced with new hardware with sufficient interfaces during the upgrade and reconstruction. However, this method will result in a large change to the original hardware of the device, making the upgrade and reconstruction cost higher.
[0005] In summary, for shared devices, how to simplify the installation and modification operations when expanding the human body detection function and reduce the changes to the original hardware, and overcome the lack of interfaces at low cost are issues that need to be solved urgently. Summary of the invention
[0006] The present invention provides a barcode scanner and a coin exchange machine, which are used to solve the defects of the prior art in expanding the human body detection function, such as lack of interface and complicated installation and modification operations.
[0007] The present invention provides a barcode scanner, comprising:
[0008] A shell body is provided with a cavity and a code scanning opening connected to the cavity; a light-transmitting plate is connected to the shell body to cover the code scanning opening, and the light-transmitting plate is a plastic part or a glass part; a code scanning and shooting module is arranged in the cavity, the code scanning and shooting module includes a camera facing the code scanning opening, and the minimum distance between the camera and the light-transmitting plate is less than 5mm; a radar sensor is arranged in the cavity, and the antenna of the radar sensor faces the code scanning opening; an interface multiplexing module is arranged in the cavity, the interface multiplexing module is connected to the code scanning and shooting module and the radar sensor respectively, and the interface multiplexing module is used to connect to an external device through a single interface so that the code scanning and shooting module and the radar sensor are communicated with the external device.
[0009] According to a barcode scanner provided by the present invention,
[0010] The interface multiplexing module includes a communication processing unit and a serial communication interface both of which are arranged in the cavity. The communication processing unit is respectively connected to the code scanning and shooting module, the radar sensor and the serial communication interface, and the serial communication interface is used to connect to external devices.
[0011] According to a barcode scanner provided by the present invention, the barcode scanning and shooting module also includes an image processing unit arranged in the cavity, and the image processing unit is respectively connected to the camera and the communication processing unit.
[0012] According to a barcode scanner provided by the present invention, the barcode scanning and shooting module also includes a cable socket arranged in the cavity, the cable socket is connected to the image processing unit, and the camera is detachably connected to the cable socket.
[0013] According to a barcode scanner provided by the present invention, the interface multiplexing module also includes a reverse connection protection unit, the communication processing unit is connected to the serial communication interface through the reverse connection protection unit, and the reverse connection protection unit is used to turn on or off the serial communication interface and the communication processing unit according to the voltage of the serial communication interface.
[0014] According to a barcode scanner provided by the present invention, the reverse connection protection unit includes a first switch tube, a first resistor, a second resistor, a third resistor and a capacitor, the serial communication interface includes a power supply pin and a grounding pin, one end of the first resistor and the power supply end of the communication processing unit are both connected to the power supply pin, the other end of the first resistor is respectively connected to the second resistor and the controlled end of the first switch tube, the input end of the first switch tube is respectively connected to one end of the capacitor and the grounding end of the communication processing unit, the other end of the capacitor is connected to one end of the third resistor, and the other end of the second resistor, the output end of the first switch tube and the other end of the third resistor are all connected to the grounding pin.
[0015] According to a barcode scanner provided by the present invention, the interface multiplexing module also includes an anti-current backflow unit arranged in the cavity, the communication processing unit is connected to the serial communication interface through the anti-current backflow unit, and the anti-current backflow unit is used to prevent external devices from inputting communication current when the communication processing unit is not in a working state.
[0016] According to a barcode scanner provided by the present invention, the anti-current backflow unit includes a second switch tube, a fourth resistor and a diode, the serial communication interface includes a transmitting end pin and a receiving end pin, the transmitting end pin is connected to the input end of the second switch tube, the controlled end of the second switch tube is connected to the power supply end through the fourth resistor, the output end of the second switch tube is connected to the transmitting end of the communication processing unit, the receiving end pin is connected to the cathode of the diode, and the anode of the diode is connected to the receiving end of the communication processing unit.
[0017] The present invention also provides a coin exchange machine, including a machine body, on which the above-mentioned barcode scanner is arranged, and a main control module and a display module are also arranged on the machine body, and the main control module is respectively connected to the interface multiplexing module and the display module.
[0018] The present invention also provides a coin exchange machine, comprising a housing, a non-metallic cover plate main control module and a barcode scanner, wherein the main control module is arranged in the housing, the housing is made of metal, the housing is provided with at least one opening, and the non-metallic cover plate is connected to the housing to cover the opening;
[0019] The barcode scanner includes: a shell, which is provided with a cavity and a barcode scanning opening connected to the cavity, and the shell is connected to the casing; a light-transmitting plate, which is connected to the shell to cover the barcode scanning opening; a barcode scanning and shooting module, which includes a camera, and the camera faces the barcode scanning opening; a radar sensor, which is connected to the casing or the shell and is located outside the cavity, the radar sensor is located on the back of the non-metallic cover, and the antenna of the radar sensor is installed toward the non-metallic cover; an interface multiplexing module, which is respectively connected to the barcode scanning and shooting module and the radar sensor, and the interface multiplexing module is used to connect to the main control module through a single interface so that the barcode scanning and shooting module and the radar sensor are communicated with the main control module.
[0020] A barcode scanner provided by the present invention has at least the following beneficial effects: a barcode scanning and shooting module and a radar sensor are simultaneously arranged in the housing cavity, the camera of the barcode scanning and shooting module shoots the external barcode image through the barcode scanning opening of the housing to realize the barcode scanning function, and the radar sensor detects external objects in the direction of the camera shooting to realize the human body detection function. The interface multiplexing module collects the signal data of the barcode scanning and shooting module and the radar sensor, and transmits the signal data to the external device through a single interface to realize the communication connection between the barcode scanning and shooting module and the radar sensor and the external device. In this way, the structure in which the barcode scanning and shooting module and the radar sensor are located in the same housing only needs to replace the original barcode scanner of the upgraded device during the upgrade and modification, without drilling holes, which is conducive to simplifying the operation of the upgrade and modification. At the same time, the interface multiplexing module enables the barcode scanning and shooting module and the radar sensor to realize the communication connection with the external device through a single interface, so as to achieve the effect of interface multiplexing, without the need for additional new interfaces, and further, without the need to modify the original hardware of the interface associated with the upgraded device, which is conducive to reducing the cost of the upgrade and modification. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 It is a structural block diagram of one embodiment of a barcode scanner provided by the present invention;
[0023] Figure 2 is a cross-sectional view of one embodiment of a barcode scanner provided by the present invention;
[0024] Figure 3It is a circuit diagram of a communication processing unit in one embodiment of a barcode scanner provided by the present invention;
[0025] Figure 4 It is a circuit diagram of an image processing unit in one embodiment of a barcode scanner provided by the present invention;
[0026] Figure 5 It is a circuit diagram of a reverse connection protection unit in one embodiment of a barcode scanner provided by the present invention;
[0027] Figure 6 It is a circuit diagram of a current backflow prevention unit in one embodiment of a barcode scanner provided by the present invention;
[0028] Figure 7 It is a structural schematic diagram of one embodiment of a coin exchange machine provided by the present invention.
[0029] Reference numerals:
[0030] Shell 100; cavity 110; code scanning opening 120; code scanning shooting module 200; image processing unit 220; non-metallic cover 230; light-transmitting plate 240; radar sensor 300; interface multiplexing module 400; communication processing unit 410; serial communication interface 420; reverse connection protection unit 430; first switch tube 431; first resistor 432; second resistor 433; third resistor 434; capacitor 435; current backflow prevention unit 440; second switch tube 441; fourth resistor 442; diode 443; circuit board 500. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0032] Combine the following Figure 1-Figure 6 A code scanner of the present invention is described, comprising:
[0033] The housing 100 is provided with a cavity 110 and a code scanning opening 120 communicating with the cavity 110;
[0034] A light-transmitting plate 240 , which is connected to the housing 100 to cover the code scanning opening 120 , and is a plastic or glass member;
[0035] The code scanning and shooting module 200 is disposed in the cavity 110 , and includes a camera 210 facing the code scanning opening 120 , and the minimum distance between the camera 210 and the light-transmitting plate 240 is less than 5 mm;
[0036] A radar sensor 300 is disposed in the cavity 110 , the antenna of the radar sensor 300 faces the code scanning opening 120 , and the radar sensor 300 uses millimeter waves or centimeter waves as radar waves;
[0037] The interface multiplexing module 400 is arranged in the cavity 110. The interface multiplexing module 400 is connected to the code scanning and shooting module 200 and the radar sensor 300 respectively. The interface multiplexing module 400 is used to connect to an external device through a single interface so that the code scanning and shooting module 200 and the radar sensor 300 are communicated with the external device.
[0038] The housing 100 has a barcode scanning and shooting module 200 and a radar sensor 300 disposed in the cavity 110. The camera 210 of the barcode scanning and shooting module 200 shoots an external barcode image through the barcode scanning opening 120 of the housing 100 to realize the barcode scanning function. The radar sensor 300 detects external objects in the direction of the camera 210 to realize the human body detection function. The interface multiplexing module 400 collects signal data of the barcode scanning and shooting module 200 and the radar sensor 300, and transmits the signal data to an external device through a single interface to realize the communication connection between the barcode scanning and shooting module 200 and the radar sensor 300 and the external device. In this way, the structure in which the code scanning and shooting module 200 and the radar sensor 300 are located in the same housing 100, when upgrading and modifying, only the original code scanning device of the upgraded device needs to be replaced without drilling holes, which is conducive to simplifying the upgrading and modification operations. At the same time, the interface multiplexing module 400 enables the code scanning and shooting module 200 and the radar sensor 300 to communicate with external devices through a single interface, achieving the effect of interface multiplexing, without the need for additional new interfaces, and further without the need to change the original hardware of the interface associated with the upgraded device, which is conducive to reducing the upgrading and modification costs.
[0039] The light-transmitting plate 240 blocks the code scanning opening 120 of the housing 100, which can prevent external impurities from entering the cavity 110 of the housing 100, protect the components in the cavity 110, and improve reliability. In some embodiments of the present invention, the light-transmitting plate 240 can be detachably connected to the housing 100 through a common snap-on structure, etc., to achieve blocking the code scanning opening 120; in other embodiments of the present invention, the light-transmitting plate 240 can also be fixedly connected to the housing 100 by glue bonding, to achieve blocking the code scanning opening 120.
[0040] The radar sensor 300 transmits electromagnetic waves through the antenna and receives reflected electromagnetic waves to sense objects, thereby achieving the effect of human body detection. Metal has a shielding effect on electromagnetic waves. The light-transmitting plate 240 is made of non-metallic materials such as plastic or glass. Even if the light-transmitting plate 240 is located in front of the radar sensor 300, it does not affect the radar sensor 300 to achieve human body detection. With this structure, the radar sensor 300 is integrated with the code scanning and shooting module 200. The radar sensor 300 does not affect the structure of the code scanning and shooting module 200, and there is no need to make structural changes to the light-transmitting plate 240. The light-transmitting plate 240 also does not affect the radar sensor 300 to achieve the human body detection function, which is conducive to saving space and making the upgrade and transformation operation more convenient.
[0041] In some embodiments of the present invention, a circuit board 500 is further included, and the code scanning and shooting module 200 , the radar sensor 300 and the interface multiplexing module 400 can be arranged on the circuit board 500 .
[0042] refer to Figure 2 The minimum distance between the camera 210 and the light-transmitting plate 240 is less than 5 mm. The camera 210 is close to the light-transmitting plate 240. This is conducive to making the structure more compact, reducing the overall occupied space, and being applicable to various self-service equipment, while allowing the camera 210 to capture external images more clearly.
[0043] refer to Figure 2 , Figure 3 , Figure 5 and Figure 6 In some embodiments of a barcode scanner of the present invention, the interface multiplexing module 400 includes a communication processing unit 410 and a serial communication interface 420, the communication processing unit 410 is respectively connected to the barcode scanning and shooting module 200, the radar sensor 300 and the serial communication interface 420, and the serial communication interface 420 is used to connect to external devices.
[0044] The communication processing unit 410 obtains signal data from the code scanning and shooting module 200 and the radar sensor 300, and transmits the obtained signal data to the external device through the serial communication interface 420, thereby realizing the communication connection between the code scanning and shooting module 200 and the radar sensor 300 and the external device. The serial communication interface 420 has the advantages of stable transmission and high reliability.
[0045] The communication processing unit 410 may be implemented as a single chip microcomputer, an embedded chip, etc. In some embodiments of the present invention, the communication processing unit 410 includes a MCUGD32 chip. The serial communication interface 420 may be implemented as a commonly used serial interface such as RS232, USB, etc.
[0046] refer to Figure 1 , Figure 2 and Figure 4 In some embodiments of a barcode scanner of the present invention, the barcode scanning and shooting module 200 also includes an image processing unit 220 disposed in the cavity 110. The image processing unit 220 is respectively connected to the camera 210 and the communication processing unit 410.
[0047] The camera 210 captures an external barcode image and transmits it to the image processing unit 220 . The image processing unit 220 converts the barcode image into data information, and then forwards it to an external device through the communication processing unit 410 to realize the barcode scanning function.
[0048] The image processing unit 220 may be implemented as a device including an image processing chip.
[0049] In some embodiments of a barcode scanner of the present invention, the barcode scanning and shooting module 200 also includes a cable interface arranged in the cavity 110, the camera 210 is detachably connected to the cable interface, and the cable interface is connected to the image processing unit 220.
[0050] By providing a flat cable interface on the circuit board 500, the camera 210 is detachably connected to the flat cable interface, thereby realizing the connection between the camera 210 and the image processing unit 220. With this structure, when upgrading the device, the camera 210 in the original barcode scanner can be plugged into the flat cable interface and used as the camera 210 in the barcode scanning and shooting module 200, that is, the camera 210 can be retained for continued use during the upgrade, which is conducive to further reducing the cost of the upgrade.
[0051] In some embodiments of the present invention, the camera 210 may also be welded to the circuit board 500 in the form of a camera module.
[0052] refer to Figure 5 In some embodiments of a barcode scanner of the present invention, the interface multiplexing module 400 also includes a reverse connection protection unit 430 arranged in the cavity 110, and the communication processing unit 410 is connected to the serial communication interface 420 through the reverse connection protection unit 430, and the reverse connection protection unit 430 is used to make the serial communication interface 420 and the communication processing unit 410 conductive or cut off according to the voltage of the serial communication interface 420.
[0053] Since the reverse connection of the serial communication interface 420 may result in the input of the opposite voltage, thereby forming a reverse current to damage the device, in order to avoid the reverse connection of the serial communication interface 420 to damage the device, a reverse connection protection unit 430 is connected between the serial communication interface 420 and the communication processing unit 410, and the reverse connection protection unit 430 is switched to a conducting state or a cut-off state according to the voltage of the serial communication interface 420, specifically: when the serial communication interface 420 inputs a forward voltage, the reverse connection protection unit 430 makes the serial communication interface 420 and the communication processing unit 410 connected, and the communication processing unit 410 works normally; when the serial communication interface 420 inputs a reverse voltage, it means that the serial communication interface 420 is reversely connected, and the reverse connection protection unit 430 makes the serial communication interface 420 and the communication processing unit 410 cut off, avoiding the formation of a reverse current to damage the communication processing unit 410. In this way, the reverse connection of the serial communication interface 420 is prevented from damaging the device by the reverse connection of the serial communication interface 420, which is conducive to improving safety and reliability.
[0054] refer to Figure 5 In some embodiments of a barcode scanner of the present invention, the reverse connection protection unit 430 includes a first switch tube 431, a first resistor 432, a second resistor 433, a third resistor 434 and a capacitor 435, the serial communication interface 420 includes a power supply pin and a grounding pin, one end of the first resistor 432 and the power supply end of the communication processing unit 410 are both connected to the power supply pin, the other end of the first resistor 432 is respectively connected to the second resistor 433 and the controlled end of the first switch tube 431, the input end of the first switch tube 431 is respectively connected to one end of the capacitor 435 and the grounding end of the communication processing unit 410, the other end of the capacitor 435 is connected to one end of the third resistor 434, the other end of the second resistor 433, the output end of the first switch tube 431 and the other end of the third resistor 434 are all connected to the grounding pin.
[0055] The first resistor 432 and the second resistor 433 form a voltage divider circuit. When the power supply pin and the ground pin are correctly connected, a forward voltage is input. The voltage divider circuit steps down the input voltage and inputs it to the controlled end of the first switch tube 431. The first switch tube 431 is turned on, and then the power supply pin, the communication processing unit 410 and the ground pin can form a loop to generate current. When the serial communication interface is reversed, the power supply pin and the ground pin are reversely connected and input with a reverse voltage. The input voltage is stepped down and input to the controlled end of the first switch tube 431. Since it is a reverse voltage, the first switch tube 431 cannot be driven to turn on, that is, the first switch tube 431 is turned off, so that the second pin and the communication processing unit 410 are cut off, and a loop cannot be formed to generate current, thereby achieving the effect of avoiding reverse current from damaging the communication processing unit 410 when reversely connected.
[0056] The third resistor 434 and the capacitor 435 form a damping absorption circuit, which can absorb the voltage spike generated when the first switch tube 431 is turned on and off, which is beneficial to further protect the communication processing unit 410. The first switch tube 431 can be implemented as a triode, a field effect tube or other devices.
[0057] refer to Figure 6 In some embodiments of a barcode scanner of the present invention, the interface multiplexing module 400 also includes an anti-current backflow unit 440 disposed in the cavity 110, and the communication processing unit 410 is connected to the serial communication interface 420 through the anti-current backflow unit 440, and the anti-current backflow unit 440 is used to prevent external devices from inputting communication current when the communication processing unit 410 is not in a working state.
[0058] Since the communication processing unit 410 obtains power through the power supply terminal and the ground terminal of the serial communication interface 420, it means that the external device connected through the serial communication interface 420 has its power-on timing before the communication processing unit 410. It may happen that the external device is powered on first and then communicates with the communication processing unit 410 through the communication transmission terminal of the serial communication interface 420. The current generated by the communication is transmitted to the communication processing unit 410. At this time, the communication processing unit 410 is not powered on, that is, current backflow occurs, which may cause the communication processing unit 410 to fail to work normally.
[0059] In this regard, an anti-current backflow unit 440 is connected between the serial communication interface 420 and the communication processing unit 410 to avoid current backflow when the communication processing unit 410 is not powered on, which is beneficial to protecting the communication processing unit 410 and improving the reliability of the circuit.
[0060] refer to Figure 6 In some embodiments of a barcode scanner of the present invention, the anti-current backflow unit 440 includes a second switch tube 441, a fourth resistor 442 and a diode 443, the serial communication interface 420 includes a transmitting end pin and a receiving end pin, the transmitting end pin is connected to the input end of the second switch tube 441, the controlled end of the second switch tube 441 is connected to the power supply end through the fourth resistor 442, the output end of the second switch tube 441 is connected to the transmitting end of the communication processing unit 410, the receiving end pin is connected to the cathode of the diode 443, and the anode of the diode 443 is connected to the receiving end of the communication processing unit 410.
[0061] The controlled end of the second switch tube 441 is connected to the power supply end through the fourth resistor 442, which can be specifically connected to the power supply end of the communication processing unit 410 or to the voltage stabilizing circuit, voltage stabilizing chip, etc. of the power supply source of the communication processing unit 410, so as to ensure that there is voltage input at the power supply end of the communication processing unit 410, that is, after the communication processing unit 410 is powered on, the second switch tube 441 can be turned on, thereby making the transmitting end of the communication processing unit 410 and the transmitting end pin conductive. When the communication processing unit 410 is not powered on, the second switch tube 441 remains cut off to prevent the current from flowing back at the transmitting end of the communication processing unit 410. The receiving end of the communication processing unit 410 is connected to the receiving end pin through the diode 443, and the unidirectional conduction characteristic of the diode 443 can prevent the current from flowing back at the receiving end of the communication processing unit 410. The effect of preventing current backflow is achieved with this circuit structure, which is conducive to improving the reliability of the circuit.
[0062] During the serial communication process, the high level is maintained when there is no data transmission, and the high and low levels are continuously switched during the data transmission process. When the communication processing unit 410 sends data, it actively changes the high and low levels. When the sending end of the communication processing unit 410 is at a low level, current will flow into it. Therefore, the on and off states of the second switch tube 441 are used to prevent current backflow. When the communication processing unit 410 receives data, the receiving end of the communication processing unit 410 passively changes the level, and only current will flow to the external device. Therefore, the diode 443 can easily prevent current backflow.
[0063] The second switch tube 441 may be implemented as a transistor, a field effect tube or other devices.
[0064] refer to Figure 6 In some embodiments of the present invention, a fifth resistor R5 is further included, one end of the fifth resistor R5 is respectively connected to the input end of the second switch tube 441 and the transmitting end pin, and the other end of the fifth resistor R5 is connected to the conversion voltage end.
[0065] Since there is a situation where the communication level of the external device is greater than the communication level of the communication processing unit 410, for example, the high level output during the communication process of the external device is 5V, and the high level output during the communication process of the communication processing unit 410 is 3V. In the case of inconsistent communication levels, the fifth resistor R5 is used as a pull-up resistor to connect to the conversion voltage end, and the conversion voltage end can be a power supply end pin, so that when the sending end of the communication processing unit 410 is at a high level, the output voltage of the second switch tube 441 is pulled up, and the second switch tube 441 does not meet the conduction condition and is cut off. At this time, the conversion voltage end outputs a voltage to the external device through the fifth resistor R5, for example, 5V. In this way, the fifth resistor R5 cooperates with the second switch tube 441 to realize the function of voltage conversion and meet the communication level requirements of the external device.
[0066] The present invention also provides a coin exchange machine, including a machine body, on which the above-mentioned barcode scanner is arranged, and a main control module and a display module are also arranged on the machine body, and the main control module is respectively connected to the interface multiplexing module 400 and the display module.
[0067] The code scanning and shooting module 200 and the radar sensor 300 are arranged in the same housing 100 cavity 110, that is, an integrated structure, which is conducive to saving the space occupied by the body, facilitating installation operations, and improving efficiency. At the same time, the code scanning and shooting module 200 and the radar sensor 300 are connected to the main control module through the interface multiplexing module 400. The interface multiplexing module 400 only needs to occupy a single interface of the main control module, reducing the interface resource occupation of the main control module.
[0068] The main control module may be implemented as a device including a processor, a control mainboard, etc. The display module may be implemented as a device including a touch screen, a liquid crystal display, etc.
[0069] In some embodiments of the coin exchange machine of the present invention, a speaker connected to the main control module is further provided on the machine body.
[0070] refer to Figure 7 The present invention further provides a coin exchange machine, comprising a housing, a non-metallic cover plate 230, a main control module and a barcode scanner, wherein the main control module is arranged in the housing, the housing is made of metal, the housing is provided with at least one opening, and the non-metallic cover plate 230 is connected to the housing to cover the opening;
[0071] The barcode scanner comprises:
[0072] The housing 100 is provided with a cavity 110 and a code scanning opening 120 communicating with the cavity 110, and the housing 100 is connected to the casing;
[0073] A light-transmitting plate 240 , the light-transmitting plate 240 is connected to the housing 100 to cover the code scanning opening 120 ;
[0074] A code scanning and shooting module 200 , wherein the code scanning and shooting module 200 includes a camera 210 , and the camera 210 faces the code scanning opening 120 ;
[0075] A radar sensor 300, wherein the radar sensor 300 is connected to the housing or the shell 100 and is located outside the cavity 110, the radar sensor 300 is located at the back of the non-metallic cover plate 230, and the antenna of the radar sensor 300 is installed toward the non-metallic cover plate 230;
[0076] The interface multiplexing module 400 is connected to the code scanning and shooting module 200 and the radar sensor 300 respectively. The interface multiplexing module 400 is used to connect to the main control module through a single interface so that the code scanning and shooting module 200 and the radar sensor 300 are communicated with the main control module.
[0077] The barcode scanning and shooting module 200 and the radar sensor 300 are connected to the main control module through the interface multiplexing module 400, so there is no need to occupy additional interfaces of the main control module when upgrading the coin exchange machine. This is conducive to reducing the cost of upgrading and transformation. In addition, refer to Figure 7 (The housing is not shown), the radar sensor 300 is not inside the housing 100, and the installation position can be selected according to the actual situation of the housing of the currency exchange machine, that is, the installation positions of the code scanning and shooting module 200 and the radar sensor 300 are independent, but the two are connected to the main control module through the interface multiplexing module 400, the code scanning and shooting module 200 shoots the external image through the light-transmitting plate 240, and the electromagnetic waves generated by the radar sensor 300 are transmitted to the outside through the non-metallic cover plate 230 and receive the reflected electromagnetic waves to realize the human body detection function. In this way, the installation positions of the code scanning and shooting module 200 and the radar sensor 300 are more flexible, which is conducive to adapting to different application situations, and the radar sensor 300 is separated from the code scanning and shooting module 200, which is conducive to avoiding mutual interference between the two and improving the stability of work.
[0078] In some embodiments of the present invention, the non-metallic cover plate 230 may be implemented as a plastic plate or a glass plate.
[0079] In the description of the present invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0080] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0081] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A barcode scanner, characterized in that: include: A housing (100) is provided with a cavity (110) and a code scanning opening (120) communicated with the cavity (110); a light-transmitting plate (240), the light-transmitting plate (240) being connected to the housing (100) to cover the code scanning opening (120), the light-transmitting plate (240) being a plastic part or a glass part; A code scanning and shooting module (200) is arranged in the cavity (110), the code scanning and shooting module (200) comprising a camera (210) facing the code scanning opening (120), and the minimum distance between the camera (210) and the light-transmitting plate (240) is less than 5 mm; A radar sensor (300) is disposed in the cavity (110), the antenna of the radar sensor (300) facing the code scanning opening (120); An interface multiplexing module (400) is arranged in the cavity (110), and the interface multiplexing module (400) is respectively connected to the code scanning and shooting module (200) and the radar sensor (300), and the interface multiplexing module (400) is used to connect to an external device through a single interface so that the code scanning and shooting module (200) and the radar sensor (300) are communicatively connected with the external device.
2. A barcode scanner according to claim 1, characterized in that: The interface multiplexing module (400) comprises a communication processing unit (410) and a serial communication interface (420) both of which are arranged in the cavity (110); the communication processing unit (410) is respectively connected to the code scanning and shooting module (200), the radar sensor (300) and the serial communication interface (420); and the serial communication interface (420) is used to connect to an external device.
3. A barcode scanner according to claim 2, characterized in that: The code scanning and shooting module (200) further comprises an image processing unit (220) arranged in the cavity (110), and the image processing unit (220) is respectively connected to the camera (210) and the communication processing unit (410).
4. A barcode scanner according to claim 3, characterized in that: The code scanning and shooting module (200) further comprises a cable socket arranged in the cavity (110), wherein the cable socket is connected to the image processing unit (220); the camera (210) is detachably connected to the cable socket.
5. A barcode scanner according to claim 2, characterized in that: The interface multiplexing module (400) further comprises a reverse connection protection unit (430), the communication processing unit (410) is connected to the serial communication interface (420) via the reverse connection protection unit (430), and the reverse connection protection unit (430) is used to connect or disconnect the serial communication interface (420) and the communication processing unit (410) according to the voltage of the serial communication interface (420).
6. A barcode scanner according to claim 5, characterized in that: The reverse connection protection unit (430) comprises a first switch tube (431), a first resistor (432), a second resistor (433), a third resistor (434) and a capacitor (435); the serial communication interface (420) comprises a power supply pin and a grounding pin; one end of the first resistor (432) and the power supply end of the communication processing unit (410) are both connected to the power supply pin; the other end of the first resistor (432) is respectively connected to the second resistor (433) and the controlled end of the first switch tube (431); the input end of the first switch tube (431) is respectively connected to one end of the capacitor (435) and the grounding end of the communication processing unit (410); the other end of the capacitor (435) is connected to one end of the third resistor (434); the other end of the second resistor (433), the output end of the first switch tube (431) and the other end of the third resistor (434) are all connected to the grounding pin.
7. A barcode scanner according to claim 2, characterized in that: The interface multiplexing module (400) further comprises an anti-current backflow unit (440) arranged in the cavity (110), the communication processing unit (410) being connected to the serial communication interface (420) via the anti-current backflow unit (440), and the anti-current backflow unit (440) being used to prevent an external device from inputting a communication current when the communication processing unit (410) is not in a working state.
8. A barcode scanner according to claim 7, characterized in that: The anti-current backflow unit (440) comprises a second switch tube (441), a fourth resistor (442) and a diode (443); the serial communication interface (420) comprises a sending end pin and a receiving end pin; the sending end pin is connected to the input end of the second switch tube (441); the controlled end of the second switch tube (441) is connected to the power supply end through the fourth resistor (442); the output end of the second switch tube (441) is connected to the sending end of the communication processing unit (410); the receiving end pin is connected to the cathode of the diode (443); and the anode of the diode (443) is connected to the receiving end of the communication processing unit (410).
9. A coin exchange machine, characterized in that: It comprises a body, on which is arranged a barcode scanner as claimed in any one of claims 1 to 8, and on which is also arranged a main control module and a display module, wherein the main control module is respectively connected to the interface multiplexing module (400) and the display module.
10. A coin exchange machine, characterized in that: It comprises a housing, a non-metallic cover plate (230), a main control module and a barcode scanner, wherein the main control module is arranged in the housing, the housing is made of metal, the housing is provided with at least one opening, and the non-metallic cover plate (230) is connected to the housing to cover the opening; The barcode scanner comprises: A housing (100) is provided with a cavity (110) and a code scanning opening (120) communicating with the cavity (110), and the housing (100) is connected to the casing; a light-transmitting plate (240), the light-transmitting plate (240) being connected to the housing (100) so as to cover the code scanning opening (120); A code scanning and shooting module (200) is arranged in the cavity (110), the code scanning and shooting module (200) comprises a camera (210), and the camera (210) faces the code scanning opening (120); A radar sensor (300), the radar sensor (300) being connected to the housing or the shell (100) and being located outside the cavity (110), the radar sensor (300) being located on the back of the non-metallic cover plate (230), and the antenna of the radar sensor (300) being installed toward the non-metallic cover plate (230); An interface multiplexing module (400), the interface multiplexing module (400) being connected to the code scanning and shooting module (200) and the radar sensor (300) respectively, and the interface multiplexing module (400) being used to connect to the main control module through a single interface so that the code scanning and shooting module (200) and the radar sensor (300) are in communication connection with the main control module.