Hand-held terminal with multiple communication interfaces
By designing a handheld terminal with multiple communication interfaces, integrating various communication interfaces, and utilizing the STC8A8K series microcontroller and modular design, the problem of complex communication interface debugging environment was solved, achieving efficient and convenient communication interface debugging, and improving user experience and system compatibility.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CSSC SYST ENG RES INST
- Filing Date
- 2025-12-23
- Publication Date
- 2026-05-01
AI Technical Summary
In the existing technology, the setup of the communication interface debugging environment for control equipment is complex and the process is cumbersome. The integration of testing tools is low, which reduces the work efficiency of debugging personnel.
Design a multi-communication interface handheld terminal that integrates serial port, CAN port, RJ45 network port and other interfaces. It adopts STC8A8K series microcontroller and secondary chip, and realizes real-time data transmission and display of multiple communication interfaces through touch screen and modular design, simplifying the debugging environment.
It improves the convenience and efficiency of communication interface debugging, reduces the difficulty of operation, enhances the flexibility and compatibility of the system, and improves user experience and work efficiency.
Smart Images

Figure CN121958162A_ABST
Abstract
Description
A multi-communication interface handheld terminal Technical Field
[0001] This invention relates to the field of electronic information technology, and in particular to a multi-communication interface handheld terminal. Background Technology
[0002] Serial ports are commonly used for communication between control devices, such as TTL communication interface, RS485 communication interface, RS232 communication interface and RS422 communication interface, as well as CAN port and RJ45 network port for data transmission. In the development of control devices, it is often necessary to test the communication process of the devices to determine whether the communication function is normal.
[0003] The debugging process for these communication interfaces requires a computer with the corresponding debugging software installed, along with a USB adapter cable (such as a serial port converter cable) or a dedicated data detection and analysis test device (such as a CAN bus analyzer) to collect and monitor the data during the communication process. The debugging personnel then analyze the data collected and displayed by the computer to determine whether the communication function of the control device is normal. Because the types of debugging tools and software required for debugging communication interfaces are different, the debugging environment setup is complex and the process is cumbersome. The integration of testing tools is also low, which reduces the work efficiency of the debugging personnel. Summary of the Invention
[0004] The purpose of this invention is to provide a multi-communication interface handheld terminal to solve the problems mentioned in the background art.
[0005] To achieve the above objectives, the present invention provides the following technical solution: a multi-communication interface handheld terminal, comprising:
[0006] case;
[0007] A touch display screen, which is embedded in the exterior of the housing;
[0008] The main control module is located inside the housing;
[0009] A power supply interface, wherein the power supply connector is embedded in one side of the housing.
[0010] Preferably, the main control module includes:
[0011] The main control chip is an STC8A8K series microcontroller.
[0012] The secondary chip is connected to a communication interface module. The main control chip sends data to the sub-level communication device connected to the communication interface through the communication interface module of the secondary chip. The secondary chip is used to receive and process the data returned by the communication interface module and send the processed data to the main control chip.
[0013] Preferably, the communication interface module includes a serial port, a CAN port, and an RJ45 network port, wherein the serial port includes an RS485 communication interface, an RS422 communication interface, an RS232 communication interface, and a TTL communication interface.
[0014] Preferably, the CAN port communication uses a CAN2.0 module to connect to the serial port of an external microcontroller, and the RJ45 network port communication uses an RJ45 module to connect to the serial port of an external microcontroller.
[0015] Preferably, the RS485 communication interface uses a MAX485 chip to communicate with an external microcontroller's RS485 interface, and the RS422 communication interface uses two MAX485 chips to communicate with an external microcontroller's RS422 interface.
[0016] Preferably, the RS232 communication interface uses a MAX232 chip to communicate with an external microcontroller's RS232 interface, and the TTL communication interface is used to connect to the external microcontroller's serial port.
[0017] Preferably, the touch screen communicates with the STC8A8K series microcontroller via a TTL communication interface. When the touch screen clicks a specified location, it sends a command to the microcontroller. The STC8A8K series microcontroller determines the clicked location and generates a response. When the communication interface module receives the communication data, the STC8A8K series microcontroller converts the data from HEX format to ASCII format and transmits the location information to the touch screen and displays the corresponding information.
[0018] Preferably, when the touch screen sends information to the outside world, the touch screen sends the corresponding ASCII code to the serial port of the STC8A8K series microcontroller. When the STC8A8K series microcontroller receives the information, it decodes the ASCII code and transmits it to the corresponding communication interface according to the function selection.
[0019] Preferably, the RJ45 network port is connected via an RJ45 network port socket, and the RS485 communication interface, RS422 communication interface, RS232 communication interface, and TTL communication interface are all connected using through-wall terminal blocks.
[0020] Preferably, the power supply interface is a Type-C interface, which is connected to a 5V DC power supply with an input current of not less than 1A.
[0021] The technical effects and advantages of this invention are as follows:
[0022] (1) The physical interfaces of the serial port and CAN port of this invention adopt the basic terminal block method, which does not require special connectors and debugging lines. Compared with the traditional serial port and CAN port debugging methods, it is easier to build the usage environment, which is convenient and fast. Moreover, the terminal communication method can realize the communication functions of multiple interfaces without the use of computers, software, conversion modules, etc. It integrates multiple communication interfaces into one, with simple structure, high integration, powerful functions, small size, easy to carry and mobile use, and intuitive and efficient touch screen operation.
[0023] (2) This invention can realize the real-time transmission, monitoring and reception display of data from TTL communication interface, RS485 communication interface, RS232 communication interface, RS422 communication interface, CAN bus communication interface and RJ45 network communication interface. It greatly optimizes the environment conditions for debugging communication interface, reduces the difficulty of operation, improves the work efficiency of operators, has a high degree of intelligence and automation, and has a rich variety of communication interfaces. Attached Figure Description
[0024] Figure 1 is a schematic diagram of the overall structure of the present invention.
[0025] Figure 2 is a block diagram of the main control module of the present invention.
[0026] Figure 3 is a top view of the overall structure of the present invention.
[0027] Figure 4 is a block diagram of the overall architecture of the handheld terminal device system of the present invention.
[0028] Figure 5 is a schematic diagram of the communication interface mode selection interface of the present invention.
[0029] Figure 6 is a schematic diagram of the serial communication function debugging interface of the present invention.
[0030] Figure 7 is a schematic diagram of the CAN port communication function debugging interface of the present invention.
[0031] Figure 8 is a schematic diagram of the RJ45 network port communication function debugging interface of the present invention.
[0032] Figure 9 is a schematic diagram of the debugging interface for the lamp testing and communication function of the present invention.
[0033] Figure 10 is a schematic diagram of the debugging wiring relationship of the multi-communication interface of the present invention.
[0034] In the diagram: 1. Housing; 2. Touch screen; 3. Main control module; 31. Main control chip; 32. Secondary chip; 33. Communication interface module; 331. CAN port; 332. RJ45 network port; 333. RS485 communication interface; 334. RS422 communication interface; 335. RS232 communication interface; 336. TTL communication interface; 4. Power supply interface. Detailed Implementation
[0035] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0036] This invention provides a multi-communication interface handheld terminal as shown in Figures 1-10, including a housing 1, a touch screen 2, a main control module 3, and a power supply interface 4. The housing 1 is made of durable materials and has good protective performance to ensure the safety and stability of internal components in various environments. The touch screen 2 is embedded on the outside of the housing 1. The touch screen 2 has a high-definition resolution and a wide viewing angle design, allowing users to easily view and operate the interface, providing a good user experience. The main control module 3 is located inside the housing 1. The power supply connector is embedded on one side of the housing 1. The power supply interface 4 is a Type-C interface, which is connected to a 5V DC power supply with an input current of not less than 1A. It supports fast charging to meet the user's needs in different scenarios.
[0037] Specifically, the main control module 3 includes a main control chip 31, a secondary chip 32, and a communication interface module 33. The main control chip 31 uses an STC8A8K series microcontroller. The secondary chip 32 is connected to the communication interface module 33. The main control chip 31 sends data to the sub-level communication device connected to the communication interface through the communication interface module 33 of the secondary chip 32. The secondary chip 32 is used to receive and process the data returned by the communication interface module 33 and send the processed data back to the main control chip 31. The main control chip 31, using an STC8A8K series microcontroller, has strong processing capabilities and can efficiently perform data processing and control logic calculations. The secondary chip 32 is responsible for receiving and processing communication data. To reduce the burden on the main control chip 31 and improve the overall system response speed, the communication interface module 33 connected to the secondary chip 32 can support multiple communication protocols, enabling the system to flexibly connect with different sub-level communication devices, enhancing the system's compatibility and scalability. Data transmission through the communication interface module 33 of the secondary chip 32 can effectively isolate the direct connection between the main control chip 31 and external devices, reducing interference and improving the stability and reliability of data transmission. If it is necessary to add or replace communication interfaces or sub-level communication devices, only the secondary chip 32 and its connected communication interface module 33 need to be adjusted, without redesigning the entire main control module 3, greatly improving the system's flexibility and adaptability.
[0038] Furthermore, the communication interface module 33 includes a serial port, a CAN port 331, and an RJ45 network port 332. The serial port includes an RS485 communication interface 333, an RS422 communication interface 334, an RS232 communication interface 335, and a TTL communication interface 336. These interfaces provide the system with diverse communication options, support multiple communication protocols, and adapt to different application needs. The RS485 communication interface 333 and the RS422 communication interface 334 have excellent anti-interference capabilities and long-distance transmission characteristics, ensuring the reliability of data transmission. The RJ45 network port 332 allows the device to connect to a local area network, enabling fast data transmission and remote monitoring functions. The modular design facilitates expansion and upgrades, simplifies the system integration process, reduces the complexity of hardware design, and enhances data transmission capabilities and system fault tolerance. This makes the handheld terminal perform excellently in various application scenarios and meet the diverse needs of users.
[0039] Furthermore, the CAN port 331 communication uses a CAN 2.0 module to connect to an external microcontroller's serial port, offering efficient data transmission and real-time performance. It is suitable for complex control systems and industrial automation scenarios, enabling flexible communication between multiple masters and slaves, enhancing system reliability and anti-interference capabilities. The RJ45 network port 332 communication uses an RJ45 module to connect to an external microcontroller's serial port, supporting Ethernet communication and providing fast data transmission and remote monitoring functions. It is easy to integrate into a local area network, improving the system's network capabilities and scalability. This design makes the handheld terminal more adaptable and flexible in different application environments, meeting users' needs for efficient and stable communication.
[0040] Furthermore, the RS485 communication interface 333 uses a MAX485 chip to communicate with an external microcontroller via an RS485 interface. It has good anti-interference capabilities and long-distance transmission characteristics, making it suitable for reliable data transmission in noisy environments and ensuring system stability. The RS422 communication interface 334 uses two MAX485 chips to communicate with an external microcontroller via an RS422 interface, further enhancing the signal transmission quality and speed, and is suitable for application scenarios requiring high data rates and long distances.
[0041] Furthermore, the RS232 communication interface 335 uses the MAX232 chip to communicate with an external microcontroller via its RS232 interface, enabling standard serial data transmission. It boasts excellent compatibility, is suitable for connecting to various devices, and ensures stable and reliable data exchange. The TTL communication interface 336 connects to an external microcontroller's serial port, supports low-voltage logic signal transmission, and is suitable for short-distance communication. Its ease of use allows the handheld terminal to flexibly and effectively communicate with various types of devices, improving the overall system compatibility and application flexibility, and meeting the data transmission needs of different scenarios.
[0042] Furthermore, the touch display 2 communicates with the STC8A8K series microcontroller via the TTL communication interface 336, enabling users to interact with the system directly through touch operations. Instructions sent to the microcontroller reflect user actions in real time, enhancing the intuitiveness and responsiveness of the user experience. When the touch display 2 clicks on a specified location, it sends an instruction to the microcontroller. The STC8A8K series microcontroller determines the clicked location and generates a response. When the communication interface module 33 receives the communication data, the STC8A8K series microcontroller converts the data from HEX format to ASCII format for easier processing and display. This makes the transmission of location information clearer and ensures accurate display of the corresponding information on the touch display 2. This not only enhances the interactivity and flexibility of the system but also improves data processing efficiency, ensuring users can quickly obtain the information they need and optimizing the overall operating experience.
[0043] Furthermore, when the touch screen 2 sends information, it sends the corresponding ASCII code to the serial port of the STC8A8K series microcontroller. ASCII encoding is a universal character encoding format that can easily transmit and recognize text information, ensuring compatibility between different devices and the accuracy of data exchange. Secondly, after receiving the information, the STC8A8K series microcontroller can quickly decode the ASCII code and, according to the function selection, pass the data through to the corresponding communication interfaces, improving the system's flexibility. This allows the microcontroller to intelligently route data according to different instructions and requirements, simplifying the information processing flow, reducing system complexity, and ensuring the efficiency and reliability of information transmission. Through effective decoding and pass-through, the system can quickly respond to user operations and promptly deliver information to the required modules or devices, thereby improving the overall application response speed and user experience, making the system perform better in various application scenarios.
[0044] Furthermore, the RJ45 network port 332 is connected via an RJ45 network port 332 socket. The RS485 communication interface 333, RS422 communication interface 334, RS232 communication interface 335, and TTL communication interface 336 are all connected using through-wall terminal blocks. Through-wall terminal blocks provide a reliable physical connection, effectively reducing signal interference and poor contact problems, ensuring the stability and reliability of data transmission. Secondly, through-wall terminal blocks are easy to maintain and replace, simplifying the wiring and installation process, and facilitating flexible adjustments in complex environments. In addition, using standardized terminal blocks can improve system compatibility, facilitate quick connection with different devices, and reduce the complexity of system integration.
[0045] The wiring relationship of the communication interface of the present invention during the debugging process is shown in Figure 9.
[0046] The handheld debugging terminal is used for status display, data setting, and input during communication interface debugging. It connects to the device being debugged via a corresponding physical interface for data transmission. The touchscreen display serves as the human-machine interface, enabling functions such as communication parameter setting and data information display. The main functions of the handheld debugging terminal include:
[0047] (1) Communication interface mode selection function: It has CAN port 331 and RJ45 network port 332, serial port including RS485 communication interface 333, RS422 communication interface 334, RS232 communication interface 335 and TTL communication interface 336, as well as lighting test interface and other communication mode selection functions. The communication interface mode selection is in the form of touch screen, as shown in Figure 5.
[0048] (2) Serial communication function: After entering the serial port debugging interface, you can select RS485 communication interface 333, RS422 communication interface 334, RS232 communication interface 335 and TTL communication interface 336 through the "Mode Selection" window. Click the "Baud Rate" and "Stop Bits" windows respectively to set the baud rate and stop bits. The "Send Area" can be set to input the data parameters to be sent by the handheld debugging terminal device. After the parameters are set, click the "Connect" button to realize the serial communication connection between the handheld terminal and the device being debugged. The "Clear Screen" button can clear the data received and displayed on the screen. Use the "Return" button to return to the previous communication interface mode selection interface, as shown in Figure 6.
[0049] (3) CAN Port 331 Communication Function: In the CAN Port 331 communication function interface, clicking the "Baud Rate" and "Frame ID" windows respectively allows you to set the baud rate and frame ID. Clicking "Frame Type" allows you to select between standard and extended frame modes. The "Data Frame Sending Area" allows you to input the data parameters to be sent by the handheld debugging terminal via the touchscreen display. After setting the parameters, clicking the "Connect" button will establish a CAN port communication connection between the handheld terminal and the device being debugged. The "Clear Screen" button clears the received data displayed on the screen. The "Return" button returns you to the previous communication interface mode selection interface, as shown in Figure 7.
[0050] (4) RJ45 332 Communication Function: TCP client, TCP server, and UDP modes can be selected through the "Create Connection" window in the RJ45 332 debugging interface. Clicking the "Local IP," "Remote IP," "Local Port," "Remote Port," "CAN Baud Rate," and "Frame Type" windows respectively allows setting the local IP, remote IP, local port, CAN baud rate, and frame type. The "RJ45 Send" button sends data entered via the touchscreen display. "PING Connection Status" displays whether the RJ45 332 communication connection is normal. The "CAN Receive Area" receives real-time CAN signal data returned by the "Network Signal to CAN Signal Converter." The "Clear Screen" button clears the data displayed on the screen, as shown in Figure 8.
[0051] (5) Lighting Fixture Testing Function: This function enables the debugging of lighting fixtures based on the Modbus communication protocol, including turning them on, off, and dimming. By clicking the "Address" dialog box and entering the IP address of the lighting fixture to be tested, clicking the "Turn On" and "Turn Off" buttons in sequence will turn the lighting fixture on and off. Sliding the "Light Adjustment" brightness bar will adjust the light intensity of the lighting fixture, as shown in Figure 9.
[0052] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A handheld terminal with multiple communication interfaces, characterized in that, include: Housing (1); Touch screen (2), which is embedded in the outside of housing (1); Main control module (3), which is located inside housing (1); Power supply interface (4), which is embedded in one side of housing (1).
2. A multi-communication interface handheld terminal according to claim 1, characterized in that, The main control module (3) includes: a main control chip (31), which adopts an STC8A8K series microcontroller; a secondary chip (32), which is connected to a communication interface module (33). The main control chip (31) sends data to the sub-level communication device connected to the communication interface through the communication interface module (33) of the secondary chip (32). The secondary chip (32) is used to receive and process the data returned by the communication interface module (33) and send the processed data to the main control chip (31).
3. A multi-communication interface handheld terminal according to claim 2, characterized in that, The communication interface module (33) includes a serial port, a CAN port (331) and an RJ45 network port (332). The serial port includes an RS485 communication interface (333), an RS422 communication interface (334), an RS232 communication interface (335) and a TTL communication interface (336).
4. A multi-communication interface handheld terminal according to claim 3, characterized in that, The CAN port (331) uses a CAN2.0 module to connect to an external microcontroller serial port for communication, and the RJ45 network port (332) uses an RJ45 module to connect to an external microcontroller serial port for communication.
5. A multi-communication interface handheld terminal according to claim 3, characterized in that, The RS485 communication interface (333) uses a MAX485 chip to communicate with an external microcontroller's RS485 interface, and the RS422 communication interface (334) uses two MAX485 chips to communicate with an external microcontroller's RS422 interface.
6. A multi-communication interface handheld terminal according to claim 3, characterized in that, The RS232 communication interface (335) uses the MAX232 chip to communicate with the external microcontroller's RS232 interface, and the TTL communication interface (336) is used to connect to the external microcontroller's serial port.
7. A multi-communication interface handheld terminal according to claim 3, characterized in that, The touch screen (2) communicates with the STC8A8K series microcontroller through the TTL communication interface (336). When the touch screen (2) clicks a specified position, it sends an instruction to the microcontroller. The STC8A8K series microcontroller determines the clicked position on the screen and generates a response. When the communication interface module (33) receives the communication data, the STC8A8K series microcontroller converts the data from HEX format to ASCII format and transmits the position information to the touch screen (2) and displays the corresponding information.
8. A multi-communication interface handheld terminal according to claim 1, characterized in that, When the touch screen (2) sends information to the outside, the touch screen (2) sends the corresponding information ASCII code to the serial port of the STC8A8K series microcontroller. When the STC8A8K series microcontroller receives the information, it decodes the ASCII code and transmits it to the corresponding communication interface according to the function selection.
9. A multi-communication interface handheld terminal according to claim 3, characterized in that, The RJ45 network port (332) is connected via an RJ45 network port (332) socket, and the RS485 communication interface (333), RS422 communication interface (334), RS232 communication interface (335) and TTL communication interface (336) are all connected using through-wall terminals.
10. A multi-communication interface handheld terminal according to claim 1, characterized in that, The power supply interface (4) is a Type-C interface. The power supply interface (4) is connected to a 5V DC power supply with an input current of not less than 1A.