CN204733169U - A kind of portable serial port communication test instrument - Google Patents
A kind of portable serial port communication test instrument Download PDFInfo
- Publication number
- CN204733169U CN204733169U CN201520474204.9U CN201520474204U CN204733169U CN 204733169 U CN204733169 U CN 204733169U CN 201520474204 U CN201520474204 U CN 201520474204U CN 204733169 U CN204733169 U CN 204733169U
- Authority
- CN
- China
- Prior art keywords
- serial port
- chip
- ttl level
- wifi module
- chip microcomputer
- 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.)
- Expired - Fee Related
Links
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
本实用新型公开了一种便携式串口通信测试仪,MAX3232芯片将接收到的RS232串口信号转化为TTL电平,TTL电平通过MX3232芯片的13、14引脚输出至STC12C5A60S2单片机的RXD与TXD引脚,TC12C5A60S2单片机在P0与P2口输出asdii码至1602显示屏,同时TC12C5A60S2单片机在P1口的RXD2与TXD2引脚输出TTL电平至wifi模块,wifi模块将TTL电平转化为TCP/IP协议传输至手机APP端。本实用新型集数据收发、液晶显示、环回测试等常用功能于一体,具有使用方便、测试可靠、操作灵活的特点。
The utility model discloses a portable serial port communication tester. The MAX3232 chip converts the received RS232 serial port signal into a TTL level, and the TTL level is output to the RXD and TXD pins of the STC12C5A60S2 single-chip microcomputer through pins 13 and 14 of the MX3232 chip. , TC12C5A60S2 MCU outputs asdii codes to 1602 display at P0 and P2 ports, and at the same time, TC12C5A60S2 MCU outputs TTL level to wifi module at RXD2 and TXD2 pins of P1 port, and wifi module converts TTL level into TCP/IP protocol and transmits it to Mobile APP. The utility model integrates commonly used functions such as data sending and receiving, liquid crystal display, and loopback testing, and has the characteristics of convenient use, reliable testing, and flexible operation.
Description
技术领域 technical field
本实用新型涉及一种串口测试仪器。 The utility model relates to a serial port testing instrument.
背景技术 Background technique
当串口通讯出现问题时,排除其他原因,运维人员需携带装有专用测试软件的笔记本电脑赶赴现场进行传输测试,以完成观察通道内报文上送等工作,而笔记本电脑运行与使用对现场状况要求相对较高,不方便进行快速故障定位。因此目前需一款对运行状况要求较低,集成度较高且体积小巧便于携带的设备实现运维人员对串口的日常运维需要。 When there is a problem with the serial port communication, and other reasons are excluded, the operation and maintenance personnel need to carry a notebook computer equipped with special test software to the site for transmission testing, in order to complete the work of sending messages in the observation channel, and the operation and use of the notebook computer is very important to the site. The condition requirements are relatively high, and it is inconvenient to quickly locate faults. Therefore, there is a need for a device with low requirements on the operating status, high integration, small size and easy to carry to meet the daily operation and maintenance needs of the serial port by the operation and maintenance personnel.
发明内容 Contents of the invention
为实现上述目的,本实用新型提供了一种便携式串口通信测试仪,其所采取的技术方案为:包括手机APP端、设在壳体上的1602显示屏、以及分别设在壳体内PCB电路板上的RS232串口、MAX3232芯片、STC12C5A60S2单片机和wifi模块,其特征在于:RS232串口、MAX3232芯片、STC12C5A60S2单片机和wifi模块依次连接,STC12C5A60S2单片机连接1602显示屏,wifi模块无线连接手机APP端;MAX3232芯片将接收到的RS232串口信号转化为TTL电平,TTL电平通过MX3232芯片的13、14引脚输出至STC12C5A60S2单片机的RXD与TXD引脚,TC12C5A60S2单片机在P0与P2口输出asdii码至1602显示屏,同时TC12C5A60S2单片机在P1口的RXD2与TXD2引脚输出TTL电平至wifi模块,wifi模块将TTL电平转化为TCP/IP协议传输至手机APP端。 In order to achieve the above purpose, the utility model provides a portable serial communication tester, the technical solution adopted by it is: including the APP end of the mobile phone, the 1602 display screen arranged on the casing, and the PCB circuit board respectively arranged in the casing The RS232 serial port, MAX3232 chip, STC12C5A60S2 single-chip microcomputer and wifi module on the board are characterized in that: RS232 serial port, MAX3232 chip, STC12C5A60S2 single-chip microcomputer and wifi module are connected in turn, the STC12C5A60S2 single-chip microcomputer is connected to the 1602 display screen, and the wifi module is wirelessly connected to the mobile APP terminal; the MAX3232 chip will The received RS232 serial port signal is converted into TTL level, and the TTL level is output to the RXD and TXD pins of the STC12C5A60S2 microcontroller through the 13 and 14 pins of the MX3232 chip, and the TC12C5A60S2 microcontroller outputs the asdii code to the 1602 display at the P0 and P2 ports, At the same time, the TC12C5A60S2 single-chip microcomputer outputs TTL level to the wifi module on the RXD2 and TXD2 pins of the P1 port, and the wifi module converts the TTL level into TCP/IP protocol and transmits it to the APP terminal of the mobile phone.
本实用新型集数据收发、液晶显示、环回测试等常用功能于一体,采用单片机加MAX3232串口通信芯片和wifi芯片、以及1602液晶屏来实现串口数据的接收、发送、存储以及双向环回操作,通过手机APP端的遥控下完成对TTL电平的控制,并通过翻译芯片MAX3232转化为RS232信号,从而实现对RS232串口的日常维护操作。本实用新型具有使用方便、测试可靠、操作灵活的特点。 The utility model integrates common functions such as data sending and receiving, liquid crystal display, and loopback test, and adopts a single-chip microcomputer plus a MAX3232 serial port communication chip, a wifi chip, and a 1602 LCD screen to realize serial port data receiving, sending, storing, and two-way loopback operations. The control of TTL level is completed through the remote control of the mobile phone APP, and converted into RS232 signal through the translation chip MAX3232, so as to realize the daily maintenance operation of the RS232 serial port. The utility model has the characteristics of convenient use, reliable test and flexible operation.
附图说明 Description of drawings
图1为本实用新型的电路框图; Fig. 1 is the circuit diagram of the utility model;
图2为本实用新型中STC12C5A60S2单片机的电路图; Fig. 2 is the circuit diagram of STC12C5A60S2 single-chip microcomputer in the utility model;
图3本实用新型中MAX3232芯片的电路图。 The circuit diagram of MAX3232 chip in Fig. 3 utility model.
具体实施方式 Detailed ways
下面结合附图对本实用新型做进一步说明。 Below in conjunction with accompanying drawing, the utility model is further described.
如图1、图2和图3所示, 1602显示屏设在壳体上、依次连接的RS232串口、MAX3232芯片、STC12C5A60S2单片机和wifi模块分别设在壳体内PCB电路板上,STC12C5A60S2单片机连接1602显示屏,wifi模块无线连接手机APP端。MAX3232芯片将接收到的RS232串口信号转化为TTL电平,TTL电平通过MX3232芯片的13、14引脚输出至STC12C5A60S2单片机的RXD与TXD引脚,TC12C5A60S2单片机在P0与P2口输出asdii码至1602显示屏,同时TC12C5A60S2单片机在P1口的RXD2与TXD2引脚输出TTL电平至wifi模块,wifi模块将TTL电平转化为TCP/IP协议传输至手机APP端。STC12C5A60S2单片机与1602屏通过4节18650电池经过dc-dc升压后提供5V电压电源供应该测试仪工作,通过VCC接口接入。 As shown in Figure 1, Figure 2 and Figure 3, the 1602 display screen is set on the shell, and the RS232 serial port, MAX3232 chip, STC12C5A60S2 single-chip microcomputer and wifi module connected in sequence are respectively set on the PCB circuit board in the shell, and the STC12C5A60S2 single-chip microcomputer is connected to the 1602 display screen, and the wifi module connects to the APP terminal of the mobile phone wirelessly. The MAX3232 chip converts the received RS232 serial port signal into a TTL level, and the TTL level is output to the RXD and TXD pins of the STC12C5A60S2 microcontroller through the 13 and 14 pins of the MX3232 chip, and the TC12C5A60S2 microcontroller outputs the asdii code to 1602 at the P0 and P2 ports At the same time, the TC12C5A60S2 single-chip microcomputer outputs the TTL level to the wifi module on the RXD2 and TXD2 pins of the P1 port, and the wifi module converts the TTL level into a TCP/IP protocol and transmits it to the mobile phone APP. STC12C5A60S2 single-chip microcomputer and 1602 screen provide 5V voltage power supply to the tester after 4 18650 batteries are boosted by dc-dc, and are connected through the VCC interface.
通过手机APP端遥控STC12C5A60S2单片机收发特定格式的数,并通过手机屏幕与1602屏幕分别显示。并在APP中加入波特率、停止位、校验位可调,可完成双向回环操作、数据保存回放等一系列串口常用操作。 Remotely control the STC12C5A60S2 microcontroller to send and receive numbers in a specific format through the mobile phone APP, and display them on the mobile phone screen and 1602 screen respectively. In addition, the baud rate, stop bit, and parity bit can be adjusted in the APP, which can complete a series of common serial port operations such as two-way loopback operation, data storage and playback.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201520474204.9U CN204733169U (en) | 2015-06-30 | 2015-06-30 | A kind of portable serial port communication test instrument |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201520474204.9U CN204733169U (en) | 2015-06-30 | 2015-06-30 | A kind of portable serial port communication test instrument |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN204733169U true CN204733169U (en) | 2015-10-28 |
Family
ID=54391493
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201520474204.9U Expired - Fee Related CN204733169U (en) | 2015-06-30 | 2015-06-30 | A kind of portable serial port communication test instrument |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN204733169U (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105334777A (en) * | 2015-11-26 | 2016-02-17 | 国网辽宁省电力有限公司大连供电公司 | Serial port code message signal testing terminal strip |
| CN106200814A (en) * | 2016-08-31 | 2016-12-07 | 安徽康海时代科技股份有限公司 | RJ45 type eight serial server |
| CN106200830A (en) * | 2016-08-31 | 2016-12-07 | 安徽康海时代科技股份有限公司 | RJ45 type serial server |
| CN106339048A (en) * | 2016-08-31 | 2017-01-18 | 安徽康海时代科技股份有限公司 | Serial port server with terminal-type interface |
| CN106708213A (en) * | 2016-12-23 | 2017-05-24 | 安徽康海时代科技股份有限公司 | RJ45 type serial server with constant-voltage protection effect |
| CN107168470A (en) * | 2017-06-22 | 2017-09-15 | 安徽康海时代科技股份有限公司 | The double serial servers of net 16 of RJ45 types |
| CN113985750A (en) * | 2021-09-30 | 2022-01-28 | 中国兵器工业集团第二一四研究所苏州研发中心 | Interface circuit board level integrated circuit board |
-
2015
- 2015-06-30 CN CN201520474204.9U patent/CN204733169U/en not_active Expired - Fee Related
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105334777A (en) * | 2015-11-26 | 2016-02-17 | 国网辽宁省电力有限公司大连供电公司 | Serial port code message signal testing terminal strip |
| CN106200814A (en) * | 2016-08-31 | 2016-12-07 | 安徽康海时代科技股份有限公司 | RJ45 type eight serial server |
| CN106200830A (en) * | 2016-08-31 | 2016-12-07 | 安徽康海时代科技股份有限公司 | RJ45 type serial server |
| CN106339048A (en) * | 2016-08-31 | 2017-01-18 | 安徽康海时代科技股份有限公司 | Serial port server with terminal-type interface |
| CN106708213A (en) * | 2016-12-23 | 2017-05-24 | 安徽康海时代科技股份有限公司 | RJ45 type serial server with constant-voltage protection effect |
| CN107168470A (en) * | 2017-06-22 | 2017-09-15 | 安徽康海时代科技股份有限公司 | The double serial servers of net 16 of RJ45 types |
| CN113985750A (en) * | 2021-09-30 | 2022-01-28 | 中国兵器工业集团第二一四研究所苏州研发中心 | Interface circuit board level integrated circuit board |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN204733169U (en) | A kind of portable serial port communication test instrument | |
| CN205104233U (en) | USB removes magnetic disc with bluetooth transmit system | |
| CN201878332U (en) | Automatic sensing device of wireless router | |
| CN104407537A (en) | Multifunctional intelligent socket system | |
| CN206594814U (en) | A kind of infrared copy meter collector | |
| CN202210651U (en) | Intelligent inspection equipment | |
| CN205541377U (en) | Portable hand -held type mobile data acquisition ware | |
| CN207832941U (en) | Cable sorter | |
| CN110351429A (en) | A kind of method and device using mobile phone based on wireless mode configuration serial equipment | |
| CN205375789U (en) | Two -way wireless control system is used to low voltage apparatus | |
| CN205230560U (en) | Light -emitting diode (LED) display screen | |
| CN204833685U (en) | Copy accuse ware based on on --spot fortune dimension of PAD | |
| CN204359447U (en) | Based on the Portable temperature detection system of smart mobile phone | |
| CN202904298U (en) | Remote measurement and control apparatus for oil pumping unit | |
| CN204360143U (en) | A kind of handheld instrument debugger based on bluetooth | |
| CN107514205A (en) | A kind of door machine control system based on wireless communication technology | |
| CN201966957U (en) | Monitor terminal for 485 telecommunication image acquisition and transmission | |
| CN201893610U (en) | Power distribution terminal | |
| CN207348675U (en) | A kind of door machine control system based on wireless communication technique | |
| CN205486064U (en) | Serial port communication debug system | |
| CN204331716U (en) | A kind of signal pickup assembly for electronic countermeasure | |
| CN201927015U (en) | Industrial-grade portable serial port debugger | |
| CN204131511U (en) | The wireless transmitter of Portable alarm instrument | |
| CN204556741U (en) | Frequency converter debugging acid | |
| CN212966516U (en) | Debugging device based on infrared photoelectric interface of calorimeter |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20151028 Termination date: 20190630 |