Virtual serial port screen module
Through the virtual serial port screen module and resolution switching circuit, an emulator that simulates a physical serial port screen in the client software is realized, solving the problem of low debugging efficiency of serial port screen, simplifying the debugging process and improving efficiency.
Patent Information
- Application Number
- CN202420254895.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-01
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2034-02-01
AI Technical Summary
The existing serial port screen has a large number of resolutions, which leads to cumbersome debugging of each resolution and low debugging efficiency.
Design a virtual serial port screen module, including serial port unit and simulation unit, through resolution switching circuit and virtual serial port screen, the emulator that simulates the physical serial port screen in the client software is realized, supports hardware interface, keys and resolution switching, and simplifies Debugging process.
Directly download the software on the virtual serial port screen for debugging, which improves debugging efficiency and simplifies operation through resolution switching circuits, making it easier to debug each resolution separately.
Smart Images

Figure CN221977584U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of display screens, in particular to a virtual serial port screen module. Background Art
[0002] The serial port screen is a programmable LCD display that can communicate with a microcontroller or computer through a serial port.
[0003] In the related art, the debugging of the serial port screen needs to be done by downloading the debugging software on the computer, burning it to the serial port screen, and then checking the reliability of the operation. However, since the serial port screen has many resolutions, it is cumbersome to use the above method for debugging each resolution, and the debugging efficiency is extremely low. Utility Model Content
[0004] The purpose of the utility model is to overcome the deficiencies in the prior art and provide a virtual serial port screen module that can simplify the debugging method and improve the debugging efficiency.
[0005] The purpose of this utility model is achieved through the following technical solutions:
[0006] The first aspect of the present application provides a virtual serial port screen module, comprising: a serial port unit, the serial port unit comprising a serial port screen, a main chip and a resolution switching circuit, the serial port screen is electrically connected to the main chip, and the resolution switching circuit is electrically connected to the main chip; and a simulation unit, the simulation unit comprising a virtual serial port screen, and the virtual serial port screen is electrically connected to the main chip.
[0007] The resolution switching circuit includes a first interface, a second interface and a third interface, and the first interface, the second interface and the third interface are respectively connected to the main chip.
[0008] The resolution switching circuit further includes a resistor R3 , a first end of the resistor R3 is electrically connected to the first interface, and a second end of the resistor R3 is grounded.
[0009] The resolution switching circuit further includes a resistor R43, a first end of the resistor R43 is electrically connected to the second interface, and a second end of the resistor R43 is grounded.
[0010] The resolution switching circuit further includes a resistor R42 , a first end of the resistor R42 is electrically connected to the third interface, and a second end of the resistor R42 is grounded.
[0011] The resolution switching circuit further includes an input interface, and the input interface is electrically connected to the second end of the resistor R3, the second end of the resistor R43, and the second end of the resistor R42 respectively.
[0012] The simulation unit also includes a button subunit, and the button subunit is arranged on the virtual serial port screen.
[0013] The simulation unit also includes a client, and the virtual serial port screen is arranged on the client.
[0014] It also includes a wiring harness unit, which is connected to the serial port screen and the virtual serial port screen respectively.
[0015] The serial port unit also includes a power supply circuit, and the power supply circuit is electrically connected to the main chip.
[0016] Compared with the prior art, the utility model has at least the following advantages:
[0017] This application sets up a virtual serial port screen, which is an emulator that simulates a physical serial port screen through software on the client or terminal. It has a hardware interface, buttons, main chip configuration and a screen display interface with a corresponding display screen resolution corresponding to the physical serial port screen. During the debugging process, the software can be directly downloaded to the virtual serial port screen for operation and debugging, thereby improving the debugging efficiency. By setting a resolution switching circuit, the resolution of the virtual serial port screen can be switched for separate debugging, which is simple and convenient to operate. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present utility model, the drawings required for use in the embodiments are briefly introduced below.
[0019] Figure 1 This is a functional module diagram of a virtual serial port screen module in one embodiment of the utility model;
[0020] Figure 2 FIG. 4 is a circuit diagram of a resolution switching circuit in an embodiment of the present invention. DETAILED DESCRIPTION
[0021] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.
[0022] It should be understood that although the terms "first", "second", "third", etc. may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0023] Unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, or a detachable connection or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0024] In the related art, the debugging of the serial port screen needs to be done by downloading the debugging software on the computer, burning it to the serial port screen, and then checking the reliability of the operation. However, since the serial port screen has many resolutions, it is cumbersome to use the above method for debugging each resolution, and the debugging efficiency is extremely low.
[0025] In view of the above problems, an embodiment of the present application provides a virtual serial port screen module, which can simplify the debugging method and improve the debugging efficiency.
[0026] The technical solution of the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0027] See also Figure 1 A virtual serial port screen module includes: a serial port unit 100 and a simulation unit 200, the serial port unit includes a serial port screen, a main chip and a resolution switching circuit, the serial port screen is electrically connected to the main chip, and the resolution switching circuit is electrically connected to the main chip; the simulation unit 200 includes a virtual serial port screen, and the virtual serial port screen is electrically connected to the main chip.
[0028] It should be noted that the model of the main chip can be LT7689. Furthermore, the simulation unit 200 also includes a client, and the virtual serial port screen is set on the client, wherein the virtual serial port screen is an emulator on the client, and the serial port screen is a physical serial port screen. Further, by setting the virtual serial port screen, the virtual serial port screen is an emulator that simulates the physical serial port screen through software on the client or terminal, and it has a hardware interface, button, main chip configuration and corresponding display screen resolution corresponding to the physical serial port screen. Display interface. During the debugging process, the software can be directly downloaded to the virtual serial port screen for running debugging to improve the debugging efficiency. By setting a resolution switching circuit, the resolution of the virtual serial port screen can be switched for separate debugging, which is simple and convenient to operate.
[0029] See also Figure 2 In one embodiment, the resolution switching circuit includes a first interface, a second interface and a third interface, and the first interface, the second interface and the third interface are respectively connected to the main chip. Specifically, the resolution switching circuit also includes a resistor R3, the first end of the resistor R3 is electrically connected to the first interface, and the second end of the resistor R3 is grounded. Specifically, the resolution switching circuit also includes a resistor R43, the first end of the resistor R43 is electrically connected to the second interface, and the second end of the resistor R43 is grounded. Specifically, the resolution switching circuit also includes a resistor R42, the first end of the resistor R42 is electrically connected to the third interface, and the second end of the resistor R42 is grounded. Specifically, the resolution switching circuit also includes an input interface, and the input interface is electrically connected to the second end of the resistor R3, the second end of the resistor R43 and the second end of the resistor R42, respectively.
[0030] It should be noted that the main chip is a built-in chip of the physical serial port screen, which is used to judge the level, and the input interface is a level input port, the first interface is RC0, the second interface is RC1, and the third interface is RC2. Furthermore, the main chip controls the resolution of the virtual serial port screen by detecting the high and low levels of the level input port. For example, 0 is a low level, 1 is a high level, and when the first interface, the second interface, and the third interface output 000, the resolution is 320*240, when the output is 001, the resolution is 480*272, when the output is 010, the resolution is 640*480, when the output is 011, the resolution is 800*480, when the output is 100, the resolution is 1024*600, when the output is 101, the resolution is 1024*768, when the output is 110, the resolution is 1280*800, and when the output is 111, the resolution is 1280*1024.
[0031] See also Figure 1 In one embodiment, the simulation unit 200 further includes a button sub-unit, which is disposed on the virtual serial port screen.
[0032] It should be noted that the button subunit is a button on the virtual serial port screen, which is used to control the interface of the virtual serial port screen.
[0033] See also Figure 1 In one embodiment, it also includes a wiring harness unit 300, and the wiring harness unit 300 is connected to the serial port screen and the virtual serial port screen respectively.
[0034] It should be noted that the harness unit 300 may be a USB cable or a serial port cable. The virtual serial port screen is connected to the serial port screen via the USB cable or the serial port cable.
[0035] See also Figure 1 In one implementation, the serial port unit 100 further includes a power circuit, which is electrically connected to the main chip.
[0036] It should be noted that the power supply circuit is used to supply power to the main chip and is a power supply circuit that matches the main chip.
[0037] The scheme of the present application has been described in detail above with reference to the accompanying drawings. In the above embodiments, the descriptions of the various embodiments have their own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments. Those skilled in the art should also be aware that the actions and modules involved in the specification are not necessarily required for the present application. In addition, it can be understood that the steps in the method of the embodiment of the present application can be adjusted in order, merged and deleted according to actual needs, and the modules in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.
[0038] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A virtual serial port screen module, characterized in that: include: A serial port unit, the serial port unit comprising a serial port screen, a main chip and a resolution switching circuit, the serial port screen is electrically connected to the main chip, and the resolution switching circuit is electrically connected to the main chip; and A simulation unit, wherein the simulation unit comprises a virtual serial port screen, and the virtual serial port screen is electrically connected to the main chip.
2. The virtual serial port screen module according to claim 1, characterized in that: The resolution switching circuit includes a first interface, a second interface and a third interface, and the first interface, the second interface and the third interface are respectively connected to the main chip.
3. The virtual serial port screen module according to claim 2, characterized in that: The resolution switching circuit further includes a resistor R3 , a first end of the resistor R3 is electrically connected to the first interface, and a second end of the resistor R3 is grounded.
4. The virtual serial port screen module according to claim 3, characterized in that: The resolution switching circuit further includes a resistor R43, a first end of the resistor R43 is electrically connected to the second interface, and a second end of the resistor R43 is grounded.
5. The virtual serial port screen module according to claim 4, characterized in that: The resolution switching circuit further includes a resistor R42 , a first end of the resistor R42 is electrically connected to the third interface, and a second end of the resistor R42 is grounded.
6. The virtual serial port screen module according to claim 5, characterized in that: The resolution switching circuit further includes an input interface, and the input interface is electrically connected to the second end of the resistor R3, the second end of the resistor R43, and the second end of the resistor R42 respectively.
7. The virtual serial port screen module according to claim 1, characterized in that: The simulation unit also includes a button subunit, and the button subunit is arranged on the virtual serial port screen.
8. The virtual serial port screen module according to claim 1, characterized in that: The simulation unit also includes a client, and the virtual serial port screen is arranged on the client.
9. The virtual serial port screen module according to claim 1, characterized in that: It also includes a wiring harness unit, which is connected to the serial port screen and the virtual serial port screen respectively.
10. The virtual serial port screen module according to claim 1, characterized in that: The serial port unit also includes a power supply circuit, and the power supply circuit is electrically connected to the main chip.
