CN216412145U - One-line universal serial bus-to-serial port system - Google Patents

One-line universal serial bus-to-serial port system Download PDF

Info

Publication number
CN216412145U
CN216412145U CN202023344130.7U CN202023344130U CN216412145U CN 216412145 U CN216412145 U CN 216412145U CN 202023344130 U CN202023344130 U CN 202023344130U CN 216412145 U CN216412145 U CN 216412145U
Authority
CN
China
Prior art keywords
usb
serial port
digital level
control mcu
level signal
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.)
Active
Application number
CN202023344130.7U
Other languages
Chinese (zh)
Inventor
李振威
贤健军
李振文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Smart Li Ion Energy Technology Co ltd
Original Assignee
Shenzhen Smart Li Ion Energy Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Smart Li Ion Energy Technology Co ltd filed Critical Shenzhen Smart Li Ion Energy Technology Co ltd
Priority to CN202023344130.7U priority Critical patent/CN216412145U/en
Application granted granted Critical
Publication of CN216412145U publication Critical patent/CN216412145U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The utility model discloses a one-line communication to serial port system, which comprises a one-line communication transceiver module, a master control MCU, a serial port and USB (universal serial bus) mutual conversion module and a power supply module respectively connected with the master control MCU and a USB port device. The utility model relates to a universal conversion system for converting one-line-pass data into serial port signals, which can transmit the one-line-pass data to a main control MCU (microprogrammed control unit), then read and process the one-line-pass data through the main control MCU and transmit the read data to a serial port and USB (universal serial bus) conversion module through a serial port, and then the one-line-pass data can be read by connecting an external USB port device through a USB data line.

Description

One-line universal serial bus-to-serial port system
Technical Field
The utility model relates to the technical field of a one-line communication, in particular to a one-line communication to serial port system.
Background
Under the condition that the MCU peripheral hardware interface is not enough, even some single-chip microcomputers do not have interfaces such as USART, IIC, SPI and the like, and when simple communication with other equipment or devices is needed, a one-wire communication (SIF) protocol can be used. The connection mode is single-phase single-wire transmission, that is, only one transmission line is needed, one transmission line is a sender, and the other transmission line is a receiver, which is called a one-wire line. When the existing device supporting the one-wire communication is debugged, professional equipment such as an oscilloscope or a logic analyzer is basically adopted for debugging, related test data can be determined only according to a seen oscillogram, the professional requirement is high, and the debugging process is complicated and unintuitive.
SUMMERY OF THE UTILITY MODEL
The utility model aims to provide a one-line-to-one-line conversion serial port system, which is a universal conversion system for converting one-line-to-one-line data into serial port signals, can transmit one-line-to-one-line data to a master control MCU (microprogrammed control unit), then read and process the data by the master control MCU and transmit the read data to a serial port and USB conversion module through a serial port, and then use a USB data line to connect external USB port equipment to read the one-line-to-one-line data.
In order to realize the purpose, the following technical scheme is adopted:
a one-line to serial port conversion system comprises
A wire harness transceiver module: the digital level signal is converted into the one-wire communication data and transmitted to the main control MCU;
the main control MCU: the digital level signal processing module is electrically connected with the one-wire communication transceiver module and used for processing the received digital level signal and transmitting the processed digital level signal to the serial port and USB conversion module or processing the digital level signal transmitted by the serial port and USB conversion module and transmitting the processed digital level signal to the one-wire communication transceiver module;
the serial port and USB conversion module: the USB interface device is electrically connected between the main control MCU and external USB interface equipment and is used for converting the digital level signal transmitted by the main control MCU into a data signal and transmitting the data signal to the USB interface equipment or converting the data signal sent by the USB interface equipment into a digital level signal and transmitting the digital level signal to the main control MCU;
a power supply module: and the USB interface device is respectively connected with the master control MCU and the USB interface device and is used for supplying power to the whole system.
Furthermore, the wired communication transceiver module comprises a wired communication receiving unit and a wired communication transmitting unit; the front-end connector transmitting unit is electrically connected with the master control MCU through a TXD2 pin, and the front-end connector receiving unit is electrically connected with the master control MCU through an RXD2 pin.
Furthermore, the serial port and USB mutual conversion module includes a USB switching chip, and a serial port-to-USB unit and a USB-to-serial port unit electrically connected to the USB switching chip, respectively.
Further, the model of the USB adapter chip is CH 340T.
Further, the chip model of the master control MCU is BAT32G 137.
By adopting the scheme, the utility model has the beneficial effects that:
the system is a general type conversion system for converting one-line-pass data into serial port signals, can transmit one-line-pass data to a main control MCU, then reads the data through the main control MCU, processes the read data and transmits the processed data to a serial port and USB conversion module through a serial port, and then uses a USB data line to connect an external USB port device so as to read one-line-pass data.
Drawings
FIG. 1 is a schematic block diagram of the present invention;
FIG. 2 is a circuit diagram of a master MCU of the present invention;
FIG. 3 is a circuit diagram of a wire-line transceiver module according to the present invention;
FIG. 4 is a circuit diagram of a serial port and USB inter-conversion module according to the present invention;
FIG. 5 is a circuit diagram of a power supply module of the present invention;
wherein the figures identify the description:
1-a wire-line transceiver module; 2, a master control MCU;
3-a serial port and USB conversion module; 4, a power supply module;
11-a wire-line receiving unit; 12-a wire-line transmitting unit;
31-serial port to USB unit; 32-USB to serial unit.
Detailed Description
The utility model is described in detail below with reference to the figures and the specific embodiments.
Referring to fig. 1 to 5, the present invention provides a system for converting a digital to serial interface, including
A wired transceiver module 1: the main control MCU2 is used for receiving one-wire line data sent by one-wire line equipment and converting the one-wire line data into digital level signals to be transmitted to the main control MCU2, or converting the digital level signals transmitted by the main control MCU2 into one-wire line data to be transmitted to the one-wire line equipment;
master MCU 2: the digital level signal processing module is electrically connected with the XN transceiver module 1 and is used for processing the received digital level signal and transmitting the processed digital level signal to the serial port and USB conversion module 3, or processing the digital level signal transmitted by the serial port and USB conversion module 3 and transmitting the processed digital level signal to the XN transceiver module 1;
the serial port and USB conversion module 3: the electronic device is electrically connected between the main control MCU2 and an external USB port device, and is configured to convert a digital level signal transmitted by the main control MCU2 into a data signal and transmit the data signal to the USB port device, or convert a data signal sent by the USB port device into a digital level signal and transmit the digital level signal to the main control MCU 2;
the power supply module 4: and the master control MCU2 and the USB port device are respectively connected for supplying power to the whole system.
The wired communication transceiver module 1 includes a wired communication receiving unit 11 and a wired communication transmitting unit 12; the front-end cable transmitting unit 12 is electrically connected with the master control MCU2 through a TXD2 pin, and the front-end cable receiving unit 11 is electrically connected with the master control MCU2 through an RXD2 pin; the serial port and USB inter-conversion module 3 comprises a USB switching chip, and a serial port-to-USB unit 31 and a USB-to-serial port unit 32 which are electrically connected with the USB switching chip respectively; the model of the USB switching chip is CH 340T; the chip model of the master control MCU2 is BAT32G 137.
The working principle of the utility model is as follows:
with reference to fig. 1 to 5, in this embodiment, the USB port device may be a display device such as a computer, and data that arbitrarily conforms to a line-to-line (SIF) device may be converted into a serial port signal (abstract waveform data is directly translated into 16-system specific data) by the system, and then data content of the line-to-line is read by the computer and the like, so that the system is fast and intuitive, and greatly improves debugging efficiency of the line-to-line device, and has strong practicability; specifically, the method comprises the following steps:
a receiving mode: the all-wire-through device transmits data signals to the all-wire-through transceiver module 1, the all-wire-through transceiver module 1 converts the data signals into digital level signals and transmits the digital level signals to the main control MCU2, the main control MCU2 converts the digital level signals into data and converts specific data into the digital level signals again through a serial port so as to transmit the digital level signals to the serial port and USB inter-conversion module 3, and the serial port and USB inter-conversion module 3 can transmit the specific data to the USB port device through a USB transmission line.
A sending mode: the USB port device sends data to the serial port and USB inter-conversion module 3, then the serial port and USB inter-conversion module 3 converts the data into digital level signals and sends the digital level signals to the main control MCU2, the main control MCU2 transmits the digital level signals to the front-end transceiver module 1, and the front-end transceiver module 1 converts the digital level signals into data and transmits the data to the front-end transceiver device.
The present invention is not limited to the above preferred embodiments, and any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (5)

1. A one-line to serial port conversion system is characterized by comprising
A wire harness transceiver module: the digital level signal is converted into the one-wire communication data and transmitted to the main control MCU;
the main control MCU: the digital level signal processing module is electrically connected with the one-wire communication transceiver module and used for processing the received digital level signal and transmitting the processed digital level signal to the serial port and USB conversion module or processing the digital level signal transmitted by the serial port and USB conversion module and transmitting the processed digital level signal to the one-wire communication transceiver module;
the serial port and USB conversion module: the USB interface device is electrically connected between the main control MCU and external USB interface equipment and is used for converting the digital level signal transmitted by the main control MCU into a data signal and transmitting the data signal to the USB interface equipment or converting the data signal sent by the USB interface equipment into a digital level signal and transmitting the digital level signal to the main control MCU;
a power supply module: and the USB interface device is respectively connected with the master control MCU and the USB interface device and is used for supplying power to the whole system.
2. The system according to claim 1, wherein the transceiver module comprises a cable receiving unit and a cable transmitting unit; the front-end connector transmitting unit is electrically connected with the master control MCU through a TXD2 pin, and the front-end connector receiving unit is electrically connected with the master control MCU through an RXD2 pin.
3. The system according to claim 1, wherein the serial port and USB interface module comprises a USB interface chip, and a serial port-to-USB unit and a USB interface unit electrically connected to the USB interface chip respectively.
4. The system according to claim 3, wherein the USB adapter chip has a model number of CH 340T.
5. The system according to claim 1, wherein the master MCU has a chip type of BAT32G 137.
CN202023344130.7U 2020-12-31 2020-12-31 One-line universal serial bus-to-serial port system Active CN216412145U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202023344130.7U CN216412145U (en) 2020-12-31 2020-12-31 One-line universal serial bus-to-serial port system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202023344130.7U CN216412145U (en) 2020-12-31 2020-12-31 One-line universal serial bus-to-serial port system

Publications (1)

Publication Number Publication Date
CN216412145U true CN216412145U (en) 2022-04-29

Family

ID=81282003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202023344130.7U Active CN216412145U (en) 2020-12-31 2020-12-31 One-line universal serial bus-to-serial port system

Country Status (1)

Country Link
CN (1) CN216412145U (en)

Similar Documents

Publication Publication Date Title
WO2009046617A1 (en) Data transmission system used in computer
CN110851388B (en) Debugging system and debugging signal transmission method for RISC-V processor
TWI440571B (en) Communication interface conversion device
WO2009031737A1 (en) Universal high-speed real-time monitoring device for embedded systems
CN216412145U (en) One-line universal serial bus-to-serial port system
CN211906271U (en) Electronic equipment and connecting wire
CN211831017U (en) Function expansion device of display equipment and intelligent display system
CN205068361U (en) Computer extender
CN208782954U (en) A kind of terminal device
CN105867871B (en) Display adapter
CN103532686A (en) Serial data transceiver circuit with line sequence self-adaptive function and control method thereof
CN202433896U (en) Serial port converter
CN101290607B (en) Chip debugging interface device
KR101187269B1 (en) Electronic apparatus for transmitting/receiving data using mhl interface and data transmitting/receiving method thereof
CN102435797A (en) Wireless probe for oscilloscope
CN211826347U (en) Signal detection system and electronic equipment
CN108132902B (en) UART-to-USB system and method capable of self-adapting to voltage
CN216673046U (en) Data transmission device
CN217932555U (en) Circuit for docking station and docking station
CN218734980U (en) A produce and survey device for audio equipment
JP2015097062A (en) Cable with connector
CN221507061U (en) Mainboard detection circuit
CN214125414U (en) Signal switching device and virtual reality display equipment comprising same
CN210273852U (en) Network power adapter and electronic equipment and network power system based on same
CN213582142U (en) LED integrated system card and display device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant