background image

Serial

Ethernet

SMD module

NE2-S1/NE2-S1-TB

Summary of Contents for NE2-S1

Page 1: ...Serial Ethernet SMD module NE2 S1 NE2 S1 TB...

Page 2: ...nection 14 3 5 31 8V serial port circuit reference connection 3 3V 14 1 5 4 5V serial port circuit reference connection 15 3 5 5Network port built in transformer reference connection 15 3 5 6Network p...

Page 3: ...7Registration package function 30 4 5Network AT command 31 4 6Modbus gateway 32 4 6 1Simple protocol conversion mode 32 4 6 2Multi host mode 35 4 6 3Storage gateway 37 4 6 4Configurable gateway 39 4...

Page 4: ...t also provides reset and restart pins for external buttons for easy operation and also connects the operation status indicator pins to external LEDs for users to observe the status If problems arise...

Page 5: ...nism which can quickly detect network abnormalities and quickly reconnect Supports short connection function and can customize short connection interval All modes support heartbeat package and registr...

Page 6: ...first time it is recommended to use the test base plate NE2 S1 TB This chapter uses NE2 S1 TB as an explanation 2 1 Preparation for use Before using the serial port server hereinafter referred to as t...

Page 7: ...ttings of the computer 1 Turn off your computer s firewall and anti virus software 2 Configure the network card connected to the device 3 This case is for the direct connection test of the device to t...

Page 8: ...t 888 6 subnet mask 255 255 255 0 Default gateway 192 168 3 1 Default working mode TCP Server Serial port baud rate 115200 Serial port parameters 8 None 1 2 3 3Data transmission test After going throu...

Page 9: ...the remote host port corresponds to the device s factory local port 888 6 and click Connect 3 Wait for the computer to connect to the serial port server After the connection is completed the LINK lig...

Page 10: ...nic Technology Co Ltd 7 network debugging assistant network side receives the test data The network debugging assistant network side sends test data and the serial port assistant serial port side rece...

Page 11: ...1Series products Product number product type Socket Number of connections Operating mode Working voltage V Product Size mm NE2 S1 SMD module 2 5 way TCP Ser ver TCP Client UDP Ser ver UDP Client M QTT...

Page 12: ...180mA 5V VCC1 170mA 3 3V VCC2 Standby 50mA 5V VCC1 40mA 3 3V VCC2 encapsulation 1 27mm stamp hole Operating mode TCP Server default TCP Client UDP Server UDP Client H TTP Client M QTT Client Socket c...

Page 13: ...Ebyte Electronic Technology Co Ltd 10 data bits 5 6 7 8 default Stop bit 1 default 1 5 2 Check Digit None default Odd Even Product Size 19 17 mm L W H product weight 2g 1g _ Working temperature and hu...

Page 14: ...eft floating 7 T XD When sending data through the serial port the T TL level communication voltage only supports 3 3V If it is connected to 5 V level conversion is required 8 NC Default is left floati...

Page 15: ..._LED The serial port data sending LED indicator light outputs high level by default and outputs a 10Hz square wave when sending data 23 GND Common ground terminal negative terminal input of power supp...

Page 16: ...er supply is 3 3V it is recommended to use the VCC2 pin it is not recommended to connect the VCC 1 pin and the 3 3V power supply load capacity is recommended to be above 300mA Only one of the two powe...

Page 17: ...nic Technology Co Ltd NE2 S1 NE2 S1 TB User Manual Copyright 2012 2024 Chengdu Ebyte Electronic Technology Co Ltd 14 3 5 2Power circuit reference hardware connection 3 5 31 8V serial port circuit refe...

Page 18: ...S1 TB User Manual Copyright 2012 2024 Chengdu Ebyte Electronic Technology Co Ltd 15 1 5 4 5V serial port circuit reference connection 3 5 5Network port built in transformer reference connection 3 5 6N...

Page 19: ...Chengdu Ebyte Electronic Technology Co Ltd 16 3 5 7Reset circuit reference connections 3 5 8Reference package In order to facilitate customers hardware layout Ebyte has made corresponding PCB packagin...

Page 20: ...IP requires manual setting by the user During the setting process pay attention to writing the IP subnet mask and gateway at the same time Static IP is suitable for scenarios where IP and device stat...

Page 21: ...on function In this way no matter how the server IP address changes as long as the corresponding domain name remains unchanged the setting parameters of NE2 S1 do not need to be changed The domain nam...

Page 22: ...ver and establish a connection to realize the interaction between serial port data and server data Using the client requires configuring the target IP address domain name and target port accurately No...

Page 23: ...port remote UDP device In this mode the target address is set to 255 255 255 255 and the sent data will be broadcast on the entire network segment but the sending and receiving devices need to ensure...

Page 24: ...Chengdu Ebyte Electronic Technology Co Ltd NE2 S1 NE2 S1 TB User Manual Copyright 2012 2024 Chengdu Ebyte Electronic Technology Co Ltd 21 2 Return data configuration without header Data return test...

Page 25: ...User Manual Copyright 2012 2024 Chengdu Ebyte Electronic Technology Co Ltd 22 2 POST Use the HTTP mode of One NET multi protocol access to test the device HTTP POST request as shown in the figure bel...

Page 26: ...Chengdu Ebyte Electronic Technology Co Ltd NE2 S1 NE2 S1 TB User Manual Copyright 2012 2024 Chengdu Ebyte Electronic Technology Co Ltd 23 2 Return data configuration without header Data return test...

Page 27: ...4 2 6MQTT client mode 4 2 6 1Standard MQTT3 1 1 connection The standard M QTT3 1 1 connection here takes Tencent s standard M QTT 3 1 1 server as an example The three elements of the standard descript...

Page 28: ...e baud rate data bits parity bits and stop bits Baud rate serial port communication rate configurable 600 1 200 2 400 4 800 9 600 1 4400 1 9200 3 8400 5 7600 1 15200 2 30400 460800 bps Data bits The l...

Page 29: ...lso be distinguished by adding headers and tails PC software configuration steps After turning on the multi link protocol distribution mode the following possibilities will occur Here link 1 is connec...

Page 30: ...e serial port sends data if the data header is 55 FE AA 01 which means it meets the requirements that is 55 FE AA 01 data then the data will only be transmitted to Socket 2 and the received content on...

Page 31: ...the server at a specified time after the network is disconnected Disconnection and reconnection time The time interval between each time the device attempts to reconnect to the network 0 means fast r...

Page 32: ...by the serial port will be placed in the buffer area The serial port receiving buffer is 1024 packets or 10k If it is larger than the buffer space the earliest received data will be overwritten After...

Page 33: ...ently on the two links and do not affect each other SN MAC and customized content can be selected and can be set from 0 to 65535 seconds The network heartbeat packet adopts the mandatory heartbeat pac...

Page 34: ...ckage you can check the hexadecimal option When customizing the registration package content the registration package can be configured with a maximum length of 128 bytes 4 5Network AT command The dev...

Page 35: ...device supports two links After the MOdBus gateway is set it is effective for both links 4 6 1Simple protocol conversion mode After turning on simple protocol conversion TCP to RTU conversion is enabl...

Page 36: ...B User Manual Copyright 2012 2024 Chengdu Ebyte Electronic Technology Co Ltd 33 Modbus Poll and Modbus Slave software debugging Software connection settings Software register reading and simulation co...

Page 37: ...Chengdu Ebyte Electronic Technology Co Ltd NE2 S1 NE2 S1 TB User Manual Copyright 2012 2024 Chengdu Ebyte Electronic Technology Co Ltd 34 S lave menu select Se tup Slave Definition Communication demo...

Page 38: ...ts When multiple Modbus hosts access at the same time the Modbus gateway will schedule the bus occupancy to solve the bus conflict problem currently only supports 6 host connections It only supports w...

Page 39: ...Technology Co Ltd 36 Configuration tool setting Modbus Poll and Modbus Slave software debugging For software configuration and register configuration refer to Simple Protocol Conversion and open mult...

Page 40: ...erent hosts request the same data the gateway does not need to query the RTU device register status multiple times but directly returns the data cached in the storage area which is very convenient It...

Page 41: ...es out or the last reply time exceeds the instruction storage time the device automatically clears the cache to ensure the real time and authenticity of the data 3 The polling interval can be customiz...

Page 42: ...the above characteristics the serial port side of the configurable gateway can only be connected to Modbus slave stations Configuration tool setting Instruction storage instructions added instruction...

Page 43: ...ge configuration The device has a built in web server which facilitates users to set and query parameters through the web page Operation method Microsoft Edge version 94 0 992 50 is taken as an exampl...

Page 44: ...Click to log in the default account is admin the default password is admin already entered you can click to log in directly The main interface pops up on the web page and you can query and set relevan...

Page 45: ...es the device cannot be found etc The configuration tool blocks the wireless network card so the network cable must be connected to use the configuration tool The wireless network card can be configur...

Page 46: ...ion on the official website to download the configuration tool and product firmware Step 2 Open the configuration tool click Menu and select Device Upgrade Assistant Step 3 In the pop up Device Networ...

Page 47: ...Firmware select the corresponding firmware and then click Open Step 5 Select the device to be upgraded click Upgrade the progress bar will start to change and wait for the upgrade to be completed The...

Page 48: ...grade firmware via web page Step 1 Go to the corresponding location on the official website to download the configuration tool and product firmware Step 2 Open the configuration tool search for the cu...

Page 49: ...esponding firmware then click Open and then click to start the upgrade Step 5 Click Start Upgrade the progress bar will start to change and wait for the upgrade to be completed Note If the upgrade fai...

Page 50: ...d Revision history Version Revision date Revision Notes Maintenance man 1 0 2024 12 18 Initial version YL _ About us Technical support support cdebyte com Documents and RF Setting download link www cd...

Reviews: