Iot module write and performance test integrated connection device
Patent Information
- Application Number
- CN202522588597.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-05
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2035-12-05
AI Technical Summary
[0003]本实用新型所解决的技术问题:提供一种IOT模组写程与性能测试一体化连接装置,解决现有的IOT模组写程和性能测试不能进行切换的问题,从使得生产中需要多次手动切换连接关系,进行写程和性能测试的切换
[0008]本实用新型的有益效果:本实用新型提供一种IOT模组写程与性能测试一体化连接装置,包括第二串口、IOT模组、第一串口、第一继电器、第二继电器、第三继电器和第四继电器,通过第一串口改变四个继电器的连通关系,从而改变第二串口与IOT模组的连接关系,实现写程和性能测试的切换,解决了现有的IOT模组写程和性能测试不能进行切换的问题。
Smart Images

Figure CN224908527U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to IoT module programming and performance testing, and particularly to an integrated connection device for IoT module programming and performance testing. Background Technology
[0002] An IoT module (IoT module) is the core hardware component for IoT devices to achieve network communication, essentially acting as the "network nerve center" of the device. It integrates and packages key components such as radio frequency (RF) chips, baseband chips, memory (RAM / ROM), antennas, and power management, enabling terminals that originally lacked network capabilities (such as sensors, smart home appliances, and industrial equipment) to quickly connect to the internet or local area network, achieving core IoT functions such as data transmission and remote control. With the rapid development of the IoT industry, IoT modules are finding increasingly wider application in the market. Currently, in production, IoT module programming and performance testing cannot be switched within the same connection device; they require two separate processes, resulting in relatively numerous steps and a low level of automation. Utility Model Content
[0003] The technical problem solved by this utility model is to provide an integrated connection device for IoT module programming and performance testing, which solves the problem that existing IoT module programming and performance testing cannot be switched, thus eliminating the need for multiple manual switching of the connection relationship during production to switch between programming and performance testing.
[0004] The technical solution adopted by this utility model to solve the above-mentioned technical problems is as follows: an integrated connection device for programming and performance testing of an IoT module, including a second serial port and an IoT module. The second serial port is used for programming or performance testing of the IoT module. The connection device also includes a first serial port, a first relay, a second relay, a third relay, and a fourth relay. The first serial port is used to control the connection relationship of the first relay, the second relay, the third relay, and the fourth relay. The VCC pin of the second serial port is connected to the VCC pin of the IoT module through the first relay or left floating. The RX pin of the second serial port is connected to the TX1 pin or TX0 pin of the IoT module through the second relay. The TX pin of the second serial port is connected to the RX1 pin or RX0 pin of the IoT module through the third relay. The SEL1 pin of the IoT module is connected to or not connected to the OUT pin of the IoT module through the fourth relay. The GND pin of the second serial port is connected to the GND pin of the IoT module. The d0 pin, d1 pin, d2 pin, and d3 pin of the first serial port are connected one-to-one with the control terminals of the first relay, the second relay, the third relay, and the fourth relay.
[0005] Furthermore, the VCC pin of the second serial port is connected to the common terminal of the first relay, and one of the normally closed and normally open contacts of the first relay is connected to the VCC pin of the IOT module, while the other is left floating; the RX pin of the second serial port is connected to the common terminal of the second relay, and one of the normally closed and normally open contacts of the second relay is connected to the TX1 pin of the IOT module, while the other is connected to the TX0 pin of the IOT module; the TX pin of the second serial port is connected to the common terminal of the third relay, and one of the normally closed and normally open contacts of the third relay is connected to the RX1 pin of the IOT module, while the other is connected to the RX0 pin of the IOT module; one of the SEL1 pin and the OUT pin of the IOT module is connected to the common terminal of the fourth relay, while the other is connected to either the normally open or normally closed contact of the fourth relay.
[0006] Furthermore, the VCC pin of the second serial port is connected to the normally closed contact of the first relay, the normally open contact of the first relay is left floating, and the common terminal of the first relay is connected to the VCC pin of the IOT module; the RX pin of the second serial port is connected to the common terminal of the second relay, the normally open contact of the second relay is connected to the TX0 pin of the IOT module, and the normally closed contact of the second relay is connected to the TX1 pin of the IOT module; the TX pin of the second serial port is connected to the common terminal of the third relay, the normally open contact of the third relay is connected to the RX0 pin of the IOT module, and the normally closed contact of the third relay is connected to the RX1 pin of the IOT module; the OUT pin of the IOT module is connected to the common terminal of the fourth relay, the SEL1 pin of the IOT module is connected to the normally closed contact of the fourth relay, and the normally open contact of the fourth relay is left floating.
[0007] Furthermore, the first, second, third, and fourth relays are located in the 5V 4-channel optocoupler relay. The DC+ pin of the 5V 4-channel optocoupler relay is connected to the VCC pin of the first serial port, and the DC- pin of the 5V 4-channel optocoupler relay is connected to the GND pin of the first serial port.
[0008] The beneficial effects of this utility model are as follows: This utility model provides an integrated connection device for IoT module programming and performance testing, including a second serial port, an IoT module, a first serial port, a first relay, a second relay, a third relay, and a fourth relay. By changing the connection relationship of the four relays through the first serial port, the connection relationship between the second serial port and the IoT module is changed, realizing the switching between programming and performance testing, and solving the problem that existing IoT module programming and performance testing cannot be switched. Attached Figure Description
[0009] Figure 1 This is a schematic diagram of the connection relationship of an integrated connection device for writing and testing IoT modules provided by this utility model. Detailed Implementation
[0010] To address the issue of existing IoT module programming and performance testing not being able to switch between the two processes—namely, in the production process, serial port programming and performance testing of IoT modules are two independent procedures that cannot be switched—this invention provides an integrated connection device for IoT module programming and performance testing. The device includes a second serial port, an IoT module, a first serial port, a first relay, a second relay, a third relay, and a fourth relay. The first serial port controls the connection relationship between the first, second, third, and fourth relays. The VCC pin of the second serial port is connected to the IoT module through the first relay. The VCC pin of the group can be left floating; the RX pin of the second serial port is connected to the TX1 or TX0 pin of the IOT module through the second relay; the TX pin of the second serial port is connected to the RX1 or RX0 pin of the IOT module through the third relay; the SEL1 pin of the IOT module is connected to or not connected to the OUT pin of the IOT module through the fourth relay; the GND pin of the second serial port is connected to the GND pin of the IOT module; the d0, d1, d2, and d3 pins of the first serial port are connected to the control terminals of the first, second, third, and fourth relays respectively.
[0011] Furthermore, the VCC pin of the second serial port is connected to the common terminal of the first relay, and one of the normally closed and normally open contacts of the first relay is connected to the VCC pin of the IOT module, while the other is left floating; the RX pin of the second serial port is connected to the common terminal of the second relay, and one of the normally closed and normally open contacts of the second relay is connected to the TX1 pin of the IOT module, while the other is connected to the TX0 pin of the IOT module; the TX pin of the second serial port is connected to the common terminal of the third relay, and one of the normally closed and normally open contacts of the third relay is connected to the RX1 pin of the IOT module, while the other is connected to the RX0 pin of the IOT module; one of the SEL1 pin and the OUT pin of the IOT module is connected to the common terminal of the fourth relay, while the other is connected to either the normally open or normally closed contact of the fourth relay.
[0012] Furthermore, the VCC pin of the second serial port is connected to the normally closed contact of the first relay, the normally open contact of the first relay is left floating, and the common terminal of the first relay is connected to the VCC pin of the IOT module; the RX pin of the second serial port is connected to the common terminal of the second relay, the normally open contact of the second relay is connected to the TX0 pin of the IOT module, and the normally closed contact of the second relay is connected to the TX1 pin of the IOT module; the TX pin of the second serial port is connected to the common terminal of the third relay, the normally open contact of the third relay is connected to the RX0 pin of the IOT module, and the normally closed contact of the third relay is connected to the RX1 pin of the IOT module; the OUT pin of the IOT module is connected to the common terminal of the fourth relay, the SEL1 pin of the IOT module is connected to the normally closed contact of the fourth relay, and the normally open contact of the fourth relay is left floating.
[0013] Furthermore, the first, second, third, and fourth relays are located in the 5V 4-channel optocoupler relay. The DC+ pin of the 5V 4-channel optocoupler relay is connected to the VCC pin of the first serial port, and the DC- pin of the 5V 4-channel optocoupler relay is connected to the GND pin of the first serial port.
[0014] Example: Using 5V 4-channel optocoupler relays as the four relays, this utility model provides an integrated connection device for programming and performance testing of an IoT module. Figure 1 As shown, the device includes a first serial port, a second serial port, and a 5V 4-channel optocoupler relay, wherein the first serial port is CH341-IIC and the second serial port is CH341-UART.
[0015] In a 5V 4-channel optocoupler relay, the control terminal of the first relay is IN4, the common terminal of the first relay is COM4, the normally closed contact of the first relay is NC4, and the normally open contact of the first relay is NO4; the control terminal of the second relay is IN3, the common terminal of the second relay is COM3, the normally closed contact of the second relay is NC3, and the normally open contact of the second relay is NO3; the control terminal of the third relay is IN2, the common terminal of the third relay is COM2, the normally closed contact of the third relay is NC2, and the normally open contact of the third relay is NO2; the control terminal of the fourth relay is IN1, the common terminal of the fourth relay is COM1, the normally closed contact of the fourth relay is NC1, and the normally open contact of the fourth relay is NO1.
[0016] Connection relationships: The VCC pin of the second serial port is connected to NC4, NO4 is left floating, and COM4 is connected to the VCC pin of the IOT module; the RX pin of the second serial port is connected to COM3, NO3 is connected to the TX0 pin of the IOT module, and NC3 is connected to the TX1 pin of the IOT module; the TX pin of the second serial port is connected to COM2, NO2 is connected to the RX0 pin of the IOT module, and NC2 is connected to the RX1 pin of the IOT module; the OUT pin of the IOT module is connected to COM1, the SEL1 pin of the IOT module is connected to NC1, and NO1 is left floating; the d0 pin of the first serial port is connected to IN1, the d1 pin of the first serial port is connected to IN2, the d2 pin of the first serial port is connected to IN3, and the d3 pin of the first serial port is connected to IN4.
[0017] Based on the above connection relationship, the connection relationship between the second serial port and the IoT module can be changed by configuring pins d0, d1, d2, and d3 in the first serial port. For example, if pins d0, d1, and d2 are all low and pin d3 is high, then the program is entered but the IoT module is not powered on; if pins d0, d1, d2, and d3 are all low, then the program is entered and the IoT module is powered on; if pins d0, d1, d2, and d3 are all high, then the performance test is entered but the IoT module is not powered on; if pins d0, d1, and d2 are all high and pin d3 is low, then the performance test is entered and the IoT module is powered on.
[0018] In particular, due to different connection relationships, the voltage levels of pins d0, d1, d2, and d3 corresponding to the programming and performance testing are different. It is necessary to determine the connection relationship of each relay based on the actual programming or performance testing, and thus determine the voltage levels of pins d0, d1, d2, and d3.
Claims
1. An integrated connection device for IoT module programming and performance testing, comprising a second serial port and an IoT module, wherein the second serial port is used for programming or performance testing of the IoT module, characterized in that, The connection device further includes a first serial port, a first relay, a second relay, a third relay, and a fourth relay. The first serial port is used to control the connection relationship between the first relay, the second relay, the third relay, and the fourth relay. The VCC pin of the second serial port is connected to the VCC pin of the IOT module through the first relay or left floating. The RX pin of the second serial port is connected to the TX1 pin or TX0 pin of the IOT module through the second relay. The TX pin of the second serial port is connected to the RX1 pin or RX0 pin of the IOT module through the third relay. The SEL1 pin of the IOT module is connected to or not connected to the OUT pin of the IOT module through the fourth relay. The GND pin in the second serial port is connected to the GND pin of the IoT module; the d0, d1, d2, and d3 pins in the first serial port are connected to the control terminals of the first, second, third, and fourth relays respectively.
2. The integrated connection device for IoT module programming and performance testing according to claim 1, characterized in that, The VCC pin of the second serial port is connected to the common terminal of the first relay. One of the normally closed and normally open contacts of the first relay is connected to the VCC pin of the IOT module, and the other is left floating. The RX pin of the second serial port is connected to the common terminal of the second relay. One of the normally closed and normally open contacts of the second relay is connected to the TX1 pin of the IOT module, and the other is connected to the TX0 pin of the IOT module. The TX pin of the second serial port is connected to the common terminal of the third relay. One of the normally closed and normally open contacts of the third relay is connected to the RX1 pin of the IOT module, and the other is connected to the RX0 pin of the IOT module. One of the SEL1 pin and the OUT pin of the IOT module is connected to the common terminal of the fourth relay, and the other is connected to the normally open or normally closed contact of the fourth relay.
3. The integrated connection device for IoT module programming and performance testing according to claim 1, characterized in that, The VCC pin of the second serial port is connected to the normally closed contact of the first relay, the normally open contact of the first relay is left floating, and the common terminal of the first relay is connected to the VCC pin of the IOT module; the RX pin of the second serial port is connected to the common terminal of the second relay, the normally open contact of the second relay is connected to the TX0 pin of the IOT module, and the normally closed contact of the second relay is connected to the TX1 pin of the IOT module; the TX pin of the second serial port is connected to the common terminal of the third relay, the normally open contact of the third relay is connected to the RX0 pin of the IOT module, and the normally closed contact of the third relay is connected to the RX1 pin of the IOT module; the OUT pin of the IOT module is connected to the common terminal of the fourth relay, the SEL1 pin of the IOT module is connected to the normally closed contact of the fourth relay, and the normally open contact of the fourth relay is left floating.
4. The integrated connection device for IoT module programming and performance testing according to claim 1, characterized in that, The first, second, third, and fourth relays are located in the 5V 4-channel optocoupler relay. The DC+ pin of the 5V 4-channel optocoupler relay is connected to the VCC pin of the first serial port, and the DC- pin of the 5V 4-channel optocoupler relay is connected to the GND pin of the first serial port.