CN110825676A - USB-HID data analysis converter - Google Patents
USB-HID data analysis converter Download PDFInfo
- Publication number
- CN110825676A CN110825676A CN201911318702.3A CN201911318702A CN110825676A CN 110825676 A CN110825676 A CN 110825676A CN 201911318702 A CN201911318702 A CN 201911318702A CN 110825676 A CN110825676 A CN 110825676A
- Authority
- CN
- China
- Prior art keywords
- usb
- hid
- interface
- microprocessor
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
- G06F13/4286—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a handshaking protocol, e.g. RS232C link
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0002—Serial port, e.g. RS232C
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Systems (AREA)
Abstract
The invention discloses a USB-HID data analysis converter, which comprises a USB interface, a microprocessor, a serial communication interface and a data format selection switch, wherein the USB interface is used for connecting USB-HID interactive equipment; the microprocessor is connected with the USB interface and used for receiving USB data input by the USB interface and analyzing and converting the data to form serial port data; the serial communication interface is connected with the microprocessor and used for sending the serial port data to the control equipment; the data format selection switch is connected with the microprocessor and used for being operated by a user to select the serial port data format output by the serial communication interface. According to the USB-HID data analysis converter, the USB-HID interaction equipment can be conveniently, quickly and low-cost accessed to the control equipment, the acquisition cost of the communication conversion module is reduced, and ultra-long distance remote transmission is realized. In addition, USB-HID machine interaction equipment with different brands, different performances and different functions, which is widely sold in the market, can be conveniently matched.
Description
Technical Field
The invention relates to the technical field of USB communication, in particular to a USB-HID data analysis converter.
Background
In an industrial control field, control devices such as a PLC (Programmable Logic Controller), a motion Controller, a servo Controller and the like need to be directly connected with input devices such as a scanning gun, a keyboard and the like, and only special input devices with RS-232 serial bus interfaces can be selected or customized.
With the popularization of a USB (Universal Serial bus), input devices such as scanning guns, keyboards and the like using a USB-HID human-computer interaction device protocol are gradually increased in the market, the input devices with RS-232 Serial bus interfaces are gradually stopped and quit the market, but the defects of short communication distance, poor anti-interference performance of long-distance transmission, poor stability and the like of the USB universal Serial bus are not suitable for being used in large quantities in an industrial control field, so that the input devices cannot be accessed into control devices with high performance and low cost in the fields of automatic control and industrial control at present; when the special input equipment with the RS-232 serial bus interface is directly selected or customized, the problems of high cost, incomplete function, poor data analysis capability and the like are faced, and after the input equipment such as a scanning gun, a keyboard and the like which indirectly use a USB-HID human-computer interaction equipment protocol is connected to a computer and input data is analyzed and processed through a USB-HID protocol driver preinstalled by a computer operating system, relevant industrial control software is uploaded to an industrial control bus and issued to control equipment, the situations of high application cost, low real-time performance and the like are faced.
In addition, when a control equipment manufacturer accesses input equipment with an RS-232 serial bus interface, because the message protocol formats of the equipment are not uniform, the equipment needs to be adapted by one brand, only input equipment of a single brand can be selected, and the input equipment is taken as a part of the whole control equipment unit and cannot be an independent input module with a standard interface and a standard protocol; the input equipment with different brands and different performances cannot be flexibly replaced, and the maintenance risk and the maintenance cost are greatly improved.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art. Therefore, the invention aims to provide a USB-HID data analysis converter.
To achieve the above object, a USB-HID data parser converter according to an embodiment of the present invention includes:
the USB interface is used for connecting the USB-HID interactive device;
the microprocessor is connected with the USB interface and used for receiving USB data input by the USB interface and analyzing and converting the data to form serial port data;
the serial communication interface is connected with the microprocessor and used for sending the serial port data to control equipment;
and the data format selection switch is connected with the microprocessor and is used for a user to operate to select the serial port data format output by the serial communication interface.
According to the USB-HID data analysis converter provided by the embodiment of the invention, the USB interface and the serial communication interface can be converted, so that the USB-HID interaction equipment (such as a code scanning gun, a keyboard and the like) can be conveniently, quickly and inexpensively accessed into control equipment such as a PLC (programmable logic controller), a motion controller, a servo controller and the like. In addition, the USB-HID data analysis converter is provided with a data format selection switch, and the data format selection switch can be operated by a user to select the serial port data format output by the serial communication interface, so that a control device manufacturer can use the USB-HID data analysis converter as an interface end of the USB-HID interaction device, the USB-HID interaction device with different brands, different performances and different functions, which is widely sold in the market, can be conveniently matched, the use convenience of the input device is improved, and the maintenance risk and the maintenance cost of the input device caused by faults, loss and the like are improved.
In addition, the USB-HID data parser converter according to the above embodiment of the present invention may have the following additional technical features:
according to an embodiment of the present invention, the data format selection switch includes at least a first switch and a second switch, and the microprocessor is configured to control the serial communication interface to selectively output one of the plurality of formats according to a combination of states of the first switch and the second switch.
According to an embodiment of the invention, the USB interface further comprises a status indication circuit, wherein the status indication circuit is connected to the microprocessor and is used for indicating the status of the USB interface or the status of receiving data.
According to one embodiment of the invention, the status indication circuit includes a relay connected to the microprocessor for opening or closing under control of the microprocessor.
According to one embodiment of the invention, the relay is a solid-state relay, the anode of the solid-state relay is connected to a direct current power supply through a resistor, the cathode of the solid-state relay is connected to the microprocessor, and two output controlled ends of the solid-state relay are suitable for being connected with the control device.
According to an embodiment of the present invention, the two output controlled terminals of the fixed relay are further grounded through a TVS diode respectively.
According to one embodiment of the invention, the serial communication interface includes an RS-232 interface and an RS-485 interface.
According to an embodiment of the invention, the device further comprises a logic gate, two input ends of the logic gate are respectively connected with the RS-232 interface and the RS-485 interface, and an output end of the logic gate is connected with the microprocessor.
According to one embodiment of the invention, the model of the microprocessor is VNC2, the model of the RS-232 interface is ST3222EB, the model of the RS-485 interface is ADM3485E, and the logic gate is M74VHC1GT 08.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a schematic block diagram of a USB-HID data parser converter according to an embodiment of the invention;
FIG. 2 is a circuit diagram of a USB-HID data parser converter according to an embodiment of the invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be illustrative of the present invention and should not be construed as limiting the present invention, and all other embodiments that can be obtained by one skilled in the art based on the embodiments of the present invention without inventive efforts shall fall within the scope of protection of the present invention.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "circumferential," "radial," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the present invention and to simplify the description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting of the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed 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 one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, "above" or "below" a first feature means that the first and second features are in direct contact, or that the first and second features are not in direct contact but are in contact with each other via another feature therebetween. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
The following describes a USB-HID data parser converter according to an embodiment of the present invention in detail with reference to the accompanying drawings.
Referring to fig. 1, the USB-HID data parser converter according to the embodiment of the present invention includes a USB interface 100, a microprocessor 200, a serial communication interface 300, and a data format selection switch 400.
Specifically, the USB interface 100 is used to connect a USB-HID interactive device, that is, the USB interface 100 provides a data connection interface as a USB-HID interactive device, and the USB interface 100 may also provide an operating power supply (for example +5.0V) for the USB-HID interactive device. Specifically, the USB-HID interactive device generally has a connection line with a USB connector, and the USB connector of the connection line is inserted into the USB interface 100 of the USB-HID data parser converter of the present invention, so as to connect the USB-HID interactive device to the USB-HID data parser converter, and the USB data of the USB-HID interactive device can be sent to the microprocessor 200 through the USB interface 100.
The microprocessor 200 is connected to the USB interface 100, and is configured to receive USB data input by the USB interface 100, and analyze and convert the USB data to form serial data. The microprocessor 200 integrates the functions of Universal Asynchronous Receiver/Transmitter (UART), USB HOST controller USB-HOST, and General Purpose Input/Output (GPIO), etc. when the USB interface 100 has access to a USB-HID interactive device, the USB HOST controller USB-HOST can provide HOST services for the USB-HID interactive device, receive and process USB data transmitted by the USB-HID interactive device, complete data parsing and conversion, so as to form serial data, and send the serial data to the serial communication interface through the internal UART.
The serial communication interface 300 is connected to the microprocessor 200 for transmitting the serial data to a control device. The serial communication interface 300 is one of data transceiving interfaces of a USB-HID data parser converter, and is capable of transmitting serial data transmitted by a UART (universal asynchronous receiver transmitter) inside a microprocessor according to an RS-232 electrical standard. And also receives information transmitted in the RS-232 electrical standard and transmits it to the UART internal to the microprocessor 200.
Optionally, the serial communication interface 300 includes an RS-232 interface 301 and an RS-485 interface 302, so that the two serial communication interfaces can provide more flexible options to meet the user's requirements.
The data format selection switch 400 is connected to the microprocessor 200 for a user to operate to select the serial data format output by the serial communication interface 300. Because the message protocol formats of the control equipment of different brands and manufacturers are not uniform with the USB-HID interactive equipment, the USB-HID interactive equipment of the corresponding brand needs to be configured for the control equipment of one brand, so that the limitation of selecting and using the control equipment and the USB-HID interactive equipment by a user is caused.
According to the USB-HID data analysis converter provided by the embodiment of the invention, the USB interface 100 and the serial communication interface 300 can be converted, so that the USB-HID interaction equipment (such as a code scanning gun, a keyboard and other equipment) can be conveniently, quickly and inexpensively accessed into control equipment such as a PLC (programmable logic controller), a motion controller, a servo controller and the like. The USB-HID data analysis converter is provided with the RS-485 interface, can realize networking of a plurality of USB-HID interactive devices on one bus, and reduces the acquisition cost of a communication conversion module compared with the selection of input devices with RS-232 interfaces; and the ultra-long distance remote transmission of the data information of the USB-HID interactive equipment is realized. The USB-HID data analysis converter is provided with the data format selection switch 400, and the data format selection switch 400 can be operated by a user to select the serial port data format output by the serial communication interface 300, so that a control device manufacturer can use the USB-HID data analysis converter as an interface end of USB-HID interaction equipment, the USB-HID interaction equipment with different brands, different performances and different functions, which is widely sold in the market, can be conveniently matched, the use convenience of the input equipment is improved, and the maintenance risk and the maintenance cost of the input equipment caused by faults, loss and the like are improved.
In addition, with the popularization of the USB-HID interactive device using the Bluetooth wireless technology, the USB-HID interactive device using the Bluetooth wireless technology and the USB-HID data analysis converter can be combined to more effectively solve the wireless application of the industrial control field input device. Taking the automotive interior trim assembly control device as an example: the assembly of the automotive interior needs to achieve accurate process control and record all-node data, and input equipment with an RS-232 serial bus interface is often inconvenient to use due to winding of a circuit and even interferes with the assembly process; the problem can be effectively improved by using the USB-HID data analysis converter and adapting the USB-HID interaction equipment with the Bluetooth wireless technology.
In one embodiment of the present invention, the data format selection switch 400 comprises at least a first switch M0 and a second switch M1, and the microprocessor 200 is used for controlling the serial communication interface 300 to selectively output one of a plurality of formats according to the state combination of the first switch M0 and the second switch M1.
That is, the user can switch different states of the first switch M0 and the second switch M1 to select the serial data format output by the serial communication interface 300, for example, the first switch M0 and the second switch M1 can be combined to form four combination states, and then set four data formats respectively, as shown in the following table:
in this way, by using the combined state of the first switch M0 and the second switch M1, the selection of four data formats can be realized, and the convenience of the user for the selection and use of the control device and the USB-HID interactive device can be satisfied.
In an embodiment of the present invention, the USB interface adapter further includes a status indication circuit 500, and the status indication circuit 500 is connected to the microprocessor 200 for indicating the status of the USB interface or receiving data, so that, in use, a user can know the status of the USB interface through the status indication circuit, that is, whether a USB-HID interactive device is connected to the USB interface 100, or whether the USB-HID data parser adapter receives data through the status indication circuit 500, so as to facilitate the user to correctly use the USB-HID data parser adapter.
Specifically, referring to fig. 2, the status indication circuit 500 may include a relay K1, the relay K1 is connected to the microprocessor 200 for being opened or closed under the control of the microprocessor 200, and in a specific use, the output terminal of the relay K1 may be connected to a control device (e.g., a PLC controller), so that when the relay K1 is opened or closed, a status signal may be output to the control device, and the control device may know the USB interface status or the data receiving status according to the status signal.
Preferably, the relay K1 is a solid-state relay, an anode of the solid-state relay is connected to +3.3V of the dc power supply through a resistor R1, a cathode of the solid-state relay is connected to the microprocessor 200, and two output controlled terminals PORT and P _ COM of the solid-state relay are adapted to be connected to the control device, that is, when in specific use, the two output controlled terminals PORT and P _ COM of the fixed relay are connected to the control device, and when the microprocessor 200 controls the fixed relay to be opened or closed, the output controlled terminals PORT and P _ COM of the solid-state relay can output a status signal to the control device.
In the embodiment, the fixed relay is adopted, and based on the characteristics of no contact, long service life, high reliability, safe use, small electromagnetic interference and the like of the fixed relay, the service performance of the USB-HID data analysis converter can be ensured to be reliable and stable, and the service life is longer.
Advantageously, the two output controlled terminals PORT, P _ COM of the fixed relay are grounded through a TVS diode, TVS (Transient voltage suppression diode), respectively, so that the status indication circuit can be protected from overvoltage by the TVS diode.
In an embodiment of the present invention, the present invention further comprises a logic gate 202, two input terminals of the logic gate 202 are respectively connected to the RS-232 interface 301 and the RS-485 interface 302, and an output terminal of the logic gate 202 is connected to the microprocessor 200. Since the RS-232 interface 301 and the RS-485 interface 302 share one receiving pin of the microprocessor 200 in this embodiment, a logic gate 202 is provided in this embodiment, which can solve the problems of competition and risk of two signals of the RS-232 interface 301 and the RS-485302 interface.
Referring to fig. 2, fig. 2 illustrates an exemplary circuit structure of a USB-HID data parser converter according to an embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown. The operation of the USB-HID data parser converter of the present invention is described with reference to fig. 2 as follows:
the crystal oscillator Y1 provides an operating clock for the microprocessor 200.
The pins USB1 DM and USB1 DP of the USB HOST controller USB-HOST of the microprocessor 200 are connected to the USB connector through series resistors R2 and R4, respectively, for data or command information input.
The pins IO BUS2 and IO BUS3 of the general input/output port GPIO of the microprocessor 200 are respectively connected with the first switch M0 and the second switch M1 for selecting signal input.
The pin IO BUS1 of the general purpose input/output port GPIO of the microprocessor 200 is connected with the cathode pin of the relay K1, when the pin IO BUS1 outputs low level, the relay K1 is closed, otherwise, the relay K1 is opened.
Pins IO BUS10 and IO BUS11 of general input/output port GPIO of microprocessor 200 and enable control pin of RS-232 conversion chip U2 respectivelyAnd turn off control signal pinAnd (4) connecting. When the IO BUS10 pin outputs a low level and the IO BUS11 pin outputs a high level, the RS-232 conversion chip U2 works normally; when the IO BUS10 pin outputs high level and the IO BUS11 pin outputs low level, the RS-232 conversion chip U2 enters a low power consumption mode.
The pins IO BUS8 and IO BUS9 of the general input/output port GPIO of the microprocessor 200 and the transmission permission pin DE and the reception permission pin DE of the RS-485 conversion chip U3 respectivelyAnd (4) connecting. When the pin of the IO BUS8 outputs a low level and the pin of the IO BUS9 outputs a low level, the RS-485 conversion chip U3 operates in a differential receiving mode; when the IO BUS8 pin outputs a high level and the IOBUS9 pin outputs a high level, the RS-485 conversion chip U3 operates in a differential transmission mode; when the IO BUS8 pin outputs a low level and the IO BUS9 pin outputs a high level, the RS-485 conversion chip U3 operates in a low power consumption mode.
A sending data pin TXD of a universal asynchronous receiver/transmitter UART of the microprocessor 200 is respectively connected to a data receiving pin T2 IN of an RS-232 conversion chip U2 and a data receiving pin DI of an RS-485 conversion chip U3, and a receiving data pin RXD of the universal asynchronous receiver/transmitter UART is connected to a logic gate chip U4; the input pin A, B of the logic gate chip U4 is respectively connected to the data output pin R2OUT of the RS-232 conversion chip U2 and the U3 data output pin RO of the RS-485 conversion chip.
The T2 OUT and T2 IN pins of the RS-232 conversion chip U2 are respectively connected with a receiving signal and a sending signal which are externally IN accordance with the electrical standard of the RS-232 bus.
A matching resistor R3 is connected in series between the A + pin and the B-pin of the RS-485 conversion chip U3, and is respectively connected with an A + differential signal and a B differential signal which are externally in accordance with the electrical standard of an RS-485 bus.
The microprocessor 200 provides host service for the USB-HID interactive device, receives and processes USB data transmitted by the USB-HID interactive device, automatically completes data analysis and conversion to form serial data, and sends the serial data to the RS-232 conversion chip U2 or the RS-485 conversion chip U3 through the UART (universal asynchronous receiver/transmitter). Microprocessor 200 also supports parsing data reads, function setup, and command execution functions by receiving AT commands or ModbusRTU instructions.
The specific working process takes the connection of a scanning gun in the USB-HID interactive device as an example: when the USB-HID data parser is in the automatic sending mode and the data format is set to format 1, the scan gun is connected to the USB interface 100 of the USB-HID data parser converter, and after the scan gun scans the barcode "0123456789", the microprocessor 200 will automatically complete parsing and converting the USB-HID data and send the parsed data through the serial communication interface 300 in the form of ASCII code "0123456789".
In the embodiment of the present invention, the model of the microprocessor 200 is VNC2, the model ST3222EB of the RS-232 conversion chip, the model ADM3485E of the RS-485 conversion chip, and the model M74VHC1GT08 of the logic gate chip.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (9)
1. A USB-HID data parser translator, comprising:
the USB interface is used for connecting the USB-HID interactive device;
the microprocessor is connected with the USB interface and used for receiving USB data input by the USB interface and analyzing and converting the data to form serial port data;
the serial communication interface is connected with the microprocessor and used for sending the serial port data to control equipment;
and the data format selection switch is connected with the microprocessor and is used for a user to operate to select the serial port data format output by the serial communication interface.
2. The USB-HID data parser converter according to claim 1, wherein the data format selector switch includes at least a first switch and a second switch, and the microprocessor is configured to control the serial communication interface to selectively output one of the plurality of formats according to a combination of states of the first switch and the second switch.
3. The USB-HID data parser converter according to claim 1 further comprising a status indication circuit connected to the microprocessor for indicating the status of the USB interface or the status of the received data.
4. A USB-HID data parser converter according to claim 3 in which the status indication circuit includes a relay connected to the microprocessor for opening or closing under the control of the microprocessor.
5. The USB-HID data resolution converter according to claim 4, wherein the relay is a solid state relay, the anode of the solid state relay is connected to a DC power supply through a resistor, the cathode of the solid state relay is connected to the microprocessor, and two output controlled ends of the solid state relay are suitable for being connected with the control device.
6. The USB-HID data parser converter according to claim 5, wherein the two output controlled terminals of the fixed relay are further grounded through a TVS diode respectively.
7. The USB-HID data parser converter according to claim 1 wherein the serial communication interface includes an RS-232 interface and an RS-485 interface.
8. The USB-HID data parser converter according to claim 1, further comprising a logic gate, wherein two input terminals of the logic gate are connected to the RS-232 interface and the RS-485 interface, respectively, and an output terminal of the logic gate is connected to the microprocessor.
9. The USB-HID data parsing converter of claim 7, wherein the model of the microprocessor is VNC2, the model of the RS-232 interface is ST3222EB, the model of the RS-485 interface is ADM3485E, and the logic gate is M74VHC1GT 08.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911318702.3A CN110825676A (en) | 2019-12-19 | 2019-12-19 | USB-HID data analysis converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911318702.3A CN110825676A (en) | 2019-12-19 | 2019-12-19 | USB-HID data analysis converter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110825676A true CN110825676A (en) | 2020-02-21 |
Family
ID=69545818
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911318702.3A Pending CN110825676A (en) | 2019-12-19 | 2019-12-19 | USB-HID data analysis converter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110825676A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111752659A (en) * | 2020-06-23 | 2020-10-09 | 杭州雾联科技有限公司 | Asynchronous sharing method of USB (universal serial bus) equipment based on network |
CN111787425A (en) * | 2020-07-10 | 2020-10-16 | 华立科技股份有限公司 | Interface wireless linker |
CN112131162A (en) * | 2020-09-16 | 2020-12-25 | 广州大学 | Data transmission method, system, device and medium based on USB equipment |
-
2019
- 2019-12-19 CN CN201911318702.3A patent/CN110825676A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111752659A (en) * | 2020-06-23 | 2020-10-09 | 杭州雾联科技有限公司 | Asynchronous sharing method of USB (universal serial bus) equipment based on network |
CN111787425A (en) * | 2020-07-10 | 2020-10-16 | 华立科技股份有限公司 | Interface wireless linker |
CN112131162A (en) * | 2020-09-16 | 2020-12-25 | 广州大学 | Data transmission method, system, device and medium based on USB equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110825676A (en) | USB-HID data analysis converter | |
US20070162666A1 (en) | Data input terminal device | |
CN216596246U (en) | Self-adaptive circuit compatible with multi-serial port protocol and communication equipment | |
CN113347273B (en) | Vehicle-mounted Ethernet data conversion method, device, equipment and medium | |
CN102393731A (en) | On-board monitoring and diagnosis device based on OBD-II (On-Board Diagnostics-II) | |
CN108345558A (en) | It is a kind of that the RS485 collection of multi-protocols is supported to match unit | |
CN109050444B (en) | CAN circuit structure and vehicle diagnosis equipment thereof | |
CN210639613U (en) | USB-HID data analysis converter | |
CN115378981B (en) | Terminal and method adaptive to different sensors of Internet of things | |
CN108023897B (en) | Communication port and electronic equipment with same | |
CN208739109U (en) | A kind of digital displaying meter signal receiving/transmission device | |
CN217060964U (en) | Switch control device and intelligent equipment | |
CN115481062A (en) | XR equipment adapter, display system and display method | |
CN209710109U (en) | A kind of measuring device that communications protocol switches online | |
CN211181050U (en) | Comprehensive state intelligent collector for electric control cabinet | |
CN114488871A (en) | Control method, frequency converter and computer readable storage medium | |
CN207732791U (en) | Communication port and electronic equipment with the communication port | |
CN209993014U (en) | Parking lot vehicle management device | |
CN208255712U (en) | Hand-held type automobile diagnostic equipment based on CAN-BUS bus communication protocol | |
CN217159764U (en) | Protocol conversion module and protocol conversion system | |
CN221485818U (en) | Programmable controller with network port cascade connection | |
CN212965809U (en) | Data transmission system based on 4G signal | |
CN219268856U (en) | Bluetooth wireless communication system and intelligent device | |
CN218497491U (en) | XR equipment adapter and display system | |
CN217643546U (en) | Multifunctional interface of projector and projector |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |