Device for converting USB interface into GPIO port
By designing a USB interface conversion GPIO port device and using signal conversion chips and power conversion modules to convert USB ports into GPIO ports, the problem of the lack of GPIO ports on industrial motherboards is solved and cost savings and convenience are achieved.
Patent Information
- Application Number
- CN202420024120.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-04
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2034-01-04
AI Technical Summary
Existing industrial motherboards usually have USB ports but lack GPIO ports, which results in the need to customize or choose other motherboards with loss of functionality when using GPIO ports, which increases cost and inconvenience.
Design a USB interface conversion GPIO port device, including a signal input module, a signal conversion module and a signal output module. It uses the CH347T signal conversion chip and the 0108 dual voltage level conversion chip to convert the USB transmission signal into a GPIO signal and convert it through the power supply. The module provides stable power supply and realizes conversion from USB port to GPIO port.
Converting the GPIO port through the USB port on the motherboard saves costs, improves convenience and practicality, and provides more interface choices and expansion capabilities.
Smart Images

Figure CN221650926U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of converters, in particular to a USB interface conversion GPIO port device. Background Art
[0002] Currently, industrial motherboards on the market are usually designed with USB ports, but generally do not have GPIO ports. When you need to use the GPIO port, you have to spend more money to customize or choose other motherboards with lost interface functions.
[0003] The above contents are only used to assist in understanding the technical solution of the present utility model and do not constitute an admission that the above contents are prior art. Utility Model Content
[0004] The main purpose of the utility model is to provide a USB interface conversion GPIO port device, aiming to solve the technical problem in the prior art that the industrial motherboard design interface currently on the market generally does not have a GPIO port, and when the GPIO port is needed, it costs more to customize or select other motherboards with lost interface functions.
[0005] To achieve the above object, the utility model proposes a USB interface conversion GPIO port device, which is applied to a motherboard with a USB port, and comprises: a signal input module, a signal conversion module and a signal output module;
[0006] The signal input module is connected to the USB port of the mainboard and the signal conversion module respectively, the signal conversion module is connected to the signal output module, and the signal output module is connected to the load;
[0007] The signal input module is used to receive the USB transmission signal output by the mainboard, and output the USB transmission signal to the signal conversion module;
[0008] The signal conversion module is used to convert the USB transmission signal into a GPIO signal, and transmit the GPIO signal to the signal output module;
[0009] The signal output module is used to output the GPIO signal to the load.
[0010] Optionally, the signal conversion module is further used to convert the USB transmission signal into a serial communication signal, and transmit the serial communication signal to the signal output module;
[0011] Correspondingly, the signal output module is also used to output the serial communication signal to the load.
[0012] Optionally, the signal conversion module includes: a signal conversion chip of model CH347T;
[0013] The UD+ pin and UD- pin of the signal conversion chip are connected to the signal input module, and the GPIO0 pin, GPIO1 pin, GPIO2 pin, GPIO3 pin, GPIO4 pin, GPIO5 pin, GPIO6 pin, GPIO7 pin, TXD1 pin, RXD1 pin, TXD0 pin and RXD0 pin of the signal conversion chip are connected to the signal output module.
[0014] Optionally, the signal output module includes: a GPIO output pin and a dual voltage level conversion chip of model 0108;
[0015] Among them, the A1 to A8 pins of the dual voltage level conversion chip are connected to the signal conversion module, the B1 to B8 pins of the dual voltage level conversion chip are connected to the GPIO output pin, and the GPIO output pin is connected to the load.
[0016] Optionally, the signal output module further includes: a signal adjustment unit;
[0017] The signal conditioning unit is arranged in series between the A1 to A8 pins and the B1 to B8 pins of the dual voltage level conversion chip;
[0018] The signal adjustment unit is used to adjust the voltage of the GPIO signal.
[0019] Optionally, the signal adjustment unit includes: an adjustment resistor;
[0020] The regulating resistor is correspondingly arranged between the A1 to A8 pins and the B1 to B8 pins of the dual voltage level conversion chip.
[0021] Optionally, the signal output module further includes: 2 4-pin serial output pins;
[0022] Wherein, the serial output pins are connected to the signal conversion module and the load respectively.
[0023] Optionally, the signal input module includes: a MINI PCIE interface, a Micro-USB interface and a 5-pin 1.25mm pin.
[0024] Optionally, the USB interface to GPIO port conversion device further comprises: a power conversion module;
[0025] The power conversion module is connected to the input power supply;
[0026] The power conversion module is used to convert the voltage of the input power supply into the power supply voltage of the USB interface conversion GPIO port device.
[0027] Optionally, the power conversion module includes: a power conversion chip of model AZC1117;
[0028] The power conversion chip is connected to the input power supply.
[0029] The utility model proposes a device for converting a USB interface into a GPIO port. The device is applied to a mainboard with a USB port, and comprises a signal input module, a signal conversion module and a signal output module; wherein the signal input module is respectively connected to the USB port of the mainboard and the signal conversion module, the signal conversion module is connected to the signal output module, and the signal output module is connected to a load; the signal input module is used to receive a USB transmission signal output by the mainboard, and output the USB transmission signal to the signal conversion module; the signal conversion module is used to convert the USB transmission signal into a GPIO signal, and transmit the GPIO signal to the signal output module; the signal output module is used to output the GPIO signal to the load, so as to convert a GPIO port through the USB port contained in the mainboard, thereby saving costs, being more convenient and more practical. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0031] Figure 1 A schematic diagram of the structure of a first embodiment of a device for converting a USB interface to a GPIO port according to an embodiment of the utility model;
[0032] Figure 2 A circuit schematic diagram of a signal conversion chip model CH347T proposed in an embodiment of the utility model;
[0033] Figure 3 A circuit schematic diagram of a dual voltage level conversion chip of model 0108 proposed in an embodiment of the utility model;
[0034] Figure 4This is a circuit schematic diagram of a power conversion chip of model AZC1117 proposed in an embodiment of the utility model.
[0035] The realization of the purpose, functional features and advantages of the utility model will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0036] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0037] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0038] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back...) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0039] In addition, the descriptions of "first", "second", etc. in the present utility model are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present utility model.
[0040] Reference Figure 1 , Figure 1 A schematic diagram of the structure of a first embodiment of a device for converting a USB interface to a GPIO port according to an embodiment of the utility model;
[0041] based on Figure 1 , a first embodiment of a USB interface conversion GPIO port device of the utility model is proposed.
[0042] In this embodiment, the USB interface conversion GPIO port device is applied to a motherboard with a USB port, and the USB interface conversion GPIO port device includes: a signal input module, a signal conversion module and a signal output module;
[0043] The signal input module is connected to the USB port of the mainboard and the signal conversion module respectively, the signal conversion module is connected to the signal output module, and the signal output module is connected to the load;
[0044] The signal input module is used to receive the USB transmission signal output by the mainboard, and output the USB transmission signal to the signal conversion module;
[0045] The signal conversion module is used to convert the USB transmission signal into a GPIO signal, and transmit the GPIO signal to the signal output module;
[0046] The signal output module is used to output the GPIO signal to the load.
[0047] It should be noted that the signal input module is used to receive the USB transmission signal output by the mainboard, and output the USB transmission signal to the signal conversion module, and the signal input module can be a USB receiver. The signal conversion module is used to convert the USB transmission signal into a GPIO signal, and transmit the GPIO signal to the signal output module, and the signal conversion module can be a USB to GPIO adapter or a USB to GPIO chip. The signal output module is used to output the GPIO signal to the load, and the signal output module can be a digital output interface module, such as a digital output expansion module or a digital output chip. These interface modules can receive digital signals from a control system or processor, and convert them into a signal type suitable for controlling the load. Through this design, users can use this USB interface conversion GPIO port device on a mainboard with a USB port to achieve connection with the load, thereby providing more interface options and expansion capabilities.
[0048] It should be understood that the above-mentioned USB transmission signal can be a digital signal or control signal transmitted through the USB interface, and the GPIO signal refers to a general input and output signal, which is usually used to connect and control digital devices. The load can be various electronic devices or components that need to be controlled or connected, such as LED lights, sensors, actuators, etc. The design of this conversion module allows users to control and connect various external devices through the USB interface on the motherboard, providing more flexibility and expansion capabilities for embedded systems and automated control. It is understandable that the load can be an external device or component that needs to be controlled using a GPIO signal, such as an LED light, a motor, a sensor, etc.
[0049] Furthermore, the signal conversion module is further used to convert the USB transmission signal into a serial communication signal, and transmit the serial communication signal to the signal output module;
[0050] Correspondingly, the signal output module is also used to output the serial communication signal to the load.
[0051] It should be noted that the signal conversion module is also used to convert the USB transmission signal into a serial communication signal, and transmit the serial communication signal to the signal output module. Therefore, the signal conversion module may also include a USB serial converter or a USB to serial port chip, which can receive a digital signal from a USB interface and convert it into a signal type required by a serial communication protocol (such as UART). The signal conversion module can be used to perform serial communication with other devices through the USB interface, such as communication with a microcontroller or other peripheral devices.
[0052] Accordingly, the signal output module is used to output the serial communication signal to the load. In this case, for example, if the serial communication signal is used to control a certain device, such as driving a stepper motor or communicating with other microcontrollers, the signal output module will be responsible for converting the serial communication signal into a control signal acceptable to the load. In this way, the serial communication signal can be correctly transmitted to the load and the load can be controlled accordingly.
[0053] The present embodiment proposes a device for converting a USB interface into a GPIO port, which is applied to a motherboard with a USB port, and comprises: a signal input module, a signal conversion module and a signal output module; wherein the signal input module is respectively connected to the USB port of the motherboard and the signal conversion module, the signal conversion module is connected to the signal output module, and the signal output module is connected to a load; the signal input module is used to receive a USB transmission signal output by the motherboard, and output the USB transmission signal to the signal conversion module; the signal conversion module is used to convert the USB transmission signal into a GPIO signal, and transmit the GPIO signal to the signal output module; the signal output module is used to output the GPIO signal to the load, thereby converting a GPIO port through the USB port contained in the motherboard, saving costs, and being more convenient and more practical.
[0054] Reference Figure 2 , Figure 2 A circuit schematic diagram of a signal conversion chip model CH347T proposed in an embodiment of the utility model;
[0055] like Figure 2 As shown, the signal conversion module includes: a signal conversion chip of model CH347T;
[0056] The UD+ pin and UD- pin of the signal conversion chip are connected to the signal input module, and the GPIO0 pin, GPIO1 pin, GPIO2 pin, GPIO3 pin, GPIO4 pin, GPIO5 pin, GPIO6 pin, GPIO7 pin, TXD1 pin, RXD1 pin, TXD0 pin and RXD0 pin of the signal conversion chip are connected to the signal output module.
[0057] It should be noted that the signal conversion chip model CH347T can convert USB signals into GPIO signals or serial communication signals, realizing the data transmission and communication functions between USB devices and GPIO devices or serial communication devices. The chip has a large number of built-in GPIO and serial communication pins, making it very suitable for connecting and controlling various peripheral devices.
[0058] It should be understood that the UD+ and UD- pins are used for the input of USB differential signals to complete the reception of USB signals; GPIO0, GPIO1, GPIO2, GPIO3, GPIO4, GPIO5, GPIO6, and GPIO7 are used for GPIO signal output, and TXD1, RXD1, TXD0, and RXD0 are used for the output of serial communication signals and communication connections with other devices.
[0059] It is understandable that the signal conversion chip model CH347T can play the role of signal conversion and data communication between USB devices, GPIO devices and serial communication devices. The connection settings of UD+, UD-, GPIO and serial communication pins enable the chip to be flexibly connected to external signal input modules and output modules to achieve data transmission and control functions in various application scenarios.
[0060] Further, the signal output module includes: a GPIO output pin and a dual voltage level conversion chip of model 0108;
[0061] Among them, the A1 to A8 pins of the dual voltage level conversion chip are connected to the signal conversion module, the B1 to B8 pins of the dual voltage level conversion chip are connected to the GPIO output pin, and the GPIO output pin is connected to the load.
[0062] It should be noted that, refer to Figure 3The function of the dual voltage level conversion chip is to convert the level of the input pin into a level that meets the output requirements. For example, in this embodiment, the dual voltage level conversion chip plays the role of converting the level signal output by the signal conversion module into a level signal suitable for connecting to the GPIO output pin. Specifically, the A1 to A8 pins of the dual voltage level conversion chip are connected to the signal conversion module and are responsible for receiving the level signal output by the signal conversion module; while the B1 to B8 pins are connected to the GPIO output pins to transmit the converted level signal to the GPIO output pins. Through the GPIO output pins, the converted signal can be connected to the corresponding load to realize functions such as load control or data transmission.
[0063] Furthermore, since different GPIO devices require different voltage levels, in order to adjust the voltage level of the GPIO signal, the signal output module further includes: a signal adjustment unit;
[0064] The signal conditioning unit is arranged in series between the A1 to A8 pins and the B1 to B8 pins of the dual voltage level conversion chip;
[0065] The signal adjustment unit is used to adjust the voltage of the GPIO signal.
[0066] It should be noted that the signal adjustment unit can adjust the voltage of the GPIO signal to 3.3 V or 5 V. For example, a voltage regulator or a level converter can be selected to adjust the voltage of the GPIO signal.
[0067] Further, the signal adjustment unit includes: an adjustment resistor;
[0068] The regulating resistor is correspondingly arranged between the A1 to A8 pins and the B1 to B8 pins of the dual voltage level conversion chip.
[0069] It should be noted that adjusting the resistor will affect the input and output of the dual voltage level conversion chip. By adjusting the value of the resistor, you can adjust the voltage division ratio in the circuit, thereby affecting the output voltage of the signal. Specifically, for the adjustment of 3.3V and 5V voltage levels, you can select the appropriate value of the adjustment resistor according to the specific requirements so that it can achieve the desired voltage division ratio. By adjusting the value of the adjustment resistor, you can control the voltage level of the output signal, thereby achieving the adjustment of the GPIO signal voltage.
[0070] Furthermore, the signal output module further includes: 2 4-pin serial output pins;
[0071] Wherein, the serial output pins are connected to the signal conversion module and the load respectively.
[0072] It should be noted that the serial output pin is an electrical connector that can be used to transmit serial data and signals. Each pin consists of multiple pins for providing power, ground, and data input and output. In this case, each serial output pin has 4 pins for connecting the signal conversion module and the load. A pin can be connected to the signal conversion module, which is the module responsible for converting the input signal to the required voltage or level. By connecting the pin and the signal conversion module, the output module is able to obtain the converted signal and transmit it to the next level.
[0073] Furthermore, the signal input module includes: a MINI PCIE interface, a Micro-USB interface and a 5-pin 1.25mm pin.
[0074] It should be noted that the MINIPCIE interface is an interface for expanding and connecting external devices, usually used to connect wireless modules, solid-state drives, etc. Through the MINIPCIE interface, the signal input module can receive signals or data from external devices. The Micro_USB interface is a small USB interface, commonly used to connect and transmit data devices, such as smartphones, tablets, etc. Through the Micro_USB interface, the signal input module can receive signals or data from devices that support the Micro USB interface.
[0075] In addition, the signal input module also includes a 5-pin 1.25mm pin. This type of pin can be used to connect and transmit signals or data. Specifically, the 5Pin 1.25mm pin can be connected to other circuits, sensors or devices to achieve signal input and data transmission.
[0076] It should be understood that the MINIPCIE interface, Micro_USB interface and 5-pin 1.25mm pin provide a variety of interface options, enabling the signal input module to receive signals or data from different types of external devices.
[0077] Furthermore, the USB interface to GPIO port conversion device further comprises: a power conversion module;
[0078] The power conversion module is connected to the input power supply;
[0079] The power conversion module is used to convert the voltage of the input power supply into the power supply voltage of the USB interface conversion GPIO port device.
[0080] It should be noted that the power conversion module can be an electronic device used to convert the voltage of one power supply into another voltage to meet the power supply requirements of the device. In this embodiment, the power conversion module is used to convert the voltage of the input power supply into the voltage required to supply the USB interface to the GPIO port device.
[0081] It should be understood that the input power source can be from different types of batteries, adapters or other external power sources. By connecting to the power conversion module, the voltage of the input power source can be converted into a power supply voltage suitable for the USB interface conversion GPIO port device.
[0082] Furthermore, the power conversion module includes: a power conversion chip of model AZC1117;
[0083] The power conversion chip is connected to the input power supply.
[0084] It should be noted that, refer to Figure 4 AZ1117 is a linear voltage regulator chip that can stabilize a higher input voltage into a lower output voltage. It has good performance and stability and is often used to convert unstable input voltage into a stable output voltage required to power analog or digital circuits.
[0085] In this embodiment, the AZC1117 chip is connected to the input power supply, and it stabilizes and converts the voltage of the input power supply to adapt to the stable power supply voltage required by the USB interface conversion GPIO port device, for example, converting the input 5V voltage to 3V voltage. This ensures that the USB interface conversion GPIO port device can obtain a stable and reliable power supply, thereby ensuring its normal function and performance.
[0086] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A USB interface conversion GPIO port device, characterized in that: The USB interface conversion GPIO port device is applied to a mainboard with a USB port, and the USB interface conversion GPIO port device comprises: a signal input module, a signal conversion module and a signal output module; The signal input module is connected to the USB port of the mainboard and the signal conversion module respectively, the signal conversion module is connected to the signal output module, and the signal output module is connected to the load; The signal input module is used to receive the USB transmission signal output by the mainboard, and output the USB transmission signal to the signal conversion module; The signal conversion module is used to convert the USB transmission signal into a GPIO signal, and transmit the GPIO signal to the signal output module; The signal output module is used to output the GPIO signal to the load.
2. The USB interface conversion GPIO port device as claimed in claim 1, characterized in that: The signal conversion module is further used to convert the USB transmission signal into a serial communication signal, and transmit the serial communication signal to the signal output module; Correspondingly, the signal output module is also used to output the serial communication signal to the load.
3. The USB interface conversion GPIO port device as claimed in claim 2, characterized in that: The signal conversion module includes: a signal conversion chip of model CH347T; The UD+ pin and UD- pin of the signal conversion chip are connected to the signal input module, and the GPIO0 pin, GPIO1 pin, GPIO2 pin, GPIO3 pin, GPIO4 pin, GPIO5 pin, GPIO6 pin, GPIO7 pin, TXD1 pin, RXD1 pin, TXD0 pin and RXD0 pin of the signal conversion chip are connected to the signal output module.
4. The USB interface to GPIO port conversion device as claimed in claim 1, characterized in that: The signal output module includes: a GPIO output pin and a dual voltage level conversion chip of model 0108; Among them, the A1 to A8 pins of the dual voltage level conversion chip are connected to the signal conversion module, the B1 to B8 pins of the dual voltage level conversion chip are connected to the GPIO output pin, and the GPIO output pin is connected to the load.
5. The USB interface conversion GPIO port device as claimed in claim 4, characterized in that: The signal output module further includes: a signal adjustment unit; The signal conditioning unit is arranged in series between the A1 to A8 pins and the B1 to B8 pins of the dual voltage level conversion chip; The signal adjustment unit is used to adjust the voltage of the GPIO signal.
6. The USB interface conversion GPIO port device as claimed in claim 5, characterized in that: The signal adjustment unit includes: an adjustment resistor; The regulating resistor is correspondingly arranged between the A1 to A8 pins and the B1 to B8 pins of the dual voltage level conversion chip.
7. The USB interface to GPIO port conversion device as claimed in claim 2, characterized in that: The signal output module also includes: 2 4-pin serial output pins; Wherein, the serial output pins are connected to the signal conversion module and the load respectively.
8. The USB interface to GPIO port conversion device as claimed in claim 1, characterized in that: The signal input module includes: a MINI PCIE interface, a Micro_USB interface and a 5-pin 1.25mm pin.
9. The USB interface conversion GPIO port device as claimed in claim 1, characterized in that: The USB interface conversion GPIO port device also includes: a power conversion module; The power conversion module is connected to the input power supply; The power conversion module is used to convert the voltage of the input power supply into the power supply voltage of the USB interface conversion GPIO port device.
10. The USB interface to GPIO port conversion device as claimed in claim 9, characterized in that: The power conversion module includes: a power conversion chip of model AZC1117; The power conversion chip is connected to the input power supply.
