[Introduction]:NS4 is an Ethernet serial server module that realizes serial data ⇌ Ethernet data conversion; it has a variety of Modbus gateway modes and TCP/DUP/MQTT/HTTP IoT gateway modes, which can meet the networking functions of various serial devices/PLCs. The module adopts LCC package, which is convenient for user equipment to be integrated on the PCB board.
| No. | Pin Functional | Description |
| 1 | GND | Common ground terminal, power supply negative terminal input; |
| 2 | NC | default floating; |
| 3 | NC | default floating; |
| 4 | NC | default floating; |
| 5 | NC | default floating; |
| 6 | NC | default floating; |
| 7 | GND | Common ground terminal, power supply negative terminal input; |
| 8 | GND | Common ground terminal, power supply negative terminal input; |
| 9 | GND | Common ground terminal, power supply negative terminal input; |
| 10 | GND | Common ground terminal, power supply negative terminal input; |
| 11 | NC | default floating; |
| 12 | NC | default floating; |
| 13 | NC | default floating; |
| 14 | NC | default floating; |
| 15 | TXD2 | The serial port sends data, only supports 3.3V TTL, if it is connected to 5V, level conversion is required; |
| 16 | RXD2 | The serial port receives data, only supports 3.3V TTL, if it is connected to 5V, level conversion is required; |
| 17 | NC | default floating; |
| 18 | NC | default floating; |
| 19 | GND | Common ground terminal, power supply negative terminal input; |
| 20 | GND | Common ground terminal, power supply negative terminal input; |
| 21 | VCC | Positive power input, supports 3-5.5V input, can be used with pin 22 at the same time; |
| 22 | VCC | Positive power input, support 3-5.5V input; can be used with pin 21 at the same time; |
| 23 | NC | default floating; |
| 24 | NC | default floating; |
| 25 | NC | default floating; |
| 26 | NC | default floating; |
| 27 | NC | default floating; |
| 28 | NC | default floating; |
| 29 | NC | default floating; |
| 30 | NC | default floating; |
| 31 | NC | default floating; |
| 32 | NC | default floating; |
| 33 | 485EN-2 | Serial port 2 RS485 enable pin, normally low, pulled high when sending data |
| 34 | NC | default floating; |
| 35 | NC | default floating; |
| 36 | 485EN-1 | Serial port 1RS485 enable pin, normally low, pulled high when sending data |
| 37 | NC | default floating; |
| 38 | NC | default floating; |
| 39 | NC | default floating; |
| 40 | NC | default floating; |
| 41 | SPDLED | Network port data indicator |
| 42 | LINKLED | Network port connection indicator |
| 43 | RX+ | Ethernet receives RX+ signal; |
| 44 | RX- | Ethernet receives RX-signal; |
| 45 | TX+ | Ethernet sends TX+ signal; |
| 46 | TX- | Ethernet sends TX-signal; |
| 47 | RESTORE | Reset pin, pull down for more than 5 seconds to take effect |
| 48 | TXD1 | The serial port sends data, only supports 3.3V TTL, if it is connected to 5V, level conversion is required; |
| 49 | RXD1 | The serial port receives data, only supports 3.3V TTL, if it is connected to 5V, level conversion is required; |
| 50 | NC | default floating; |
| 51 | NC | default floating; |
| 52 | NC | default floating; |
| 53 | 3.3V | Can output voltage 3.3V; |
| 54 | GND | Common ground terminal, power supply negative terminal input; |
| 55 | NC | default floating; |
| 56 | NC | default floating; |
| 57 | NC | default floating; |
| 58 | NC | default floating; |
| 59 | NRST | Module reset, pull down for more than 1ms to take effect |
| 60 | NET | Network connection indicator, output 2S square wave if the connection is successful |
| If the connection is unsuccessful, output a 1S rectangular wave, pull it high for 0.9S, and pull it low for 0.1S | ||
| 61 | NC | default floating; |
| 62 | NC | default floating |
| 63 | NC | default floating; |
| 64 | NC | default floating; |
| 65 | LINK1 | Serial port 1 data link indicator, UDP mode output low level; |
| In other modes, if the connection is successful, the output will be low level, and if there is no connection, the output will be high level; | ||
| 66 | DATA1 | Serial port 1 data indicator pin, output 50ms square wave when there is data interaction; |
| 67 | LINK2 | Serial port 2 data link indicator, UDP mode output low level; |
| In other modes, if the connection is successful, the output will be low level, and if there is no connection, the output will be high level; | ||
| 68 | DATA2 | Serial port 2 data indicator pin, output 50ms square wave when there is data interaction; |
| 69 | NC | default floating; |
| 70 | NC | default floating; |
| 71 | NC | default floating; |
| 72 | NC | default floating; |