Ebyte NE2-S1 Manual

Ebyte NE2-S1 Manual

Serial-ethernet smd module
Table of Contents

Advertisement

Quick Links

Serial ⇌ Ethernet
SMD module
NE2-S1/NE2-S1-TB

Advertisement

Table of Contents
loading

Summary of Contents for Ebyte NE2-S1

  • Page 1 Serial ⇌ Ethernet SMD module NE2-S1/NE2-S1-TB...
  • Page 2: Table Of Contents

    4.2.6.1Standard MQTT3.1.1 connection ................24 4.3Serial port parameters ......................25 4.4Advanced parameters ......................26 4.4.1Link protocol distribution .................... 26 4.4.2Disconnection and reconnection function ..............28 4.4.3Timeout restart function ....................28 4.4.4Short connection function ....................29 Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 3 4.7.2 Restore factory setting ....................41 4.7.3AT command configuration ..................42 4.7.4Configuration tool software settings ................42 4.7.5Random local port ......................42 4.7.6Remote upgrade ......................42 Revision history ........................... 47 About Us ......................错误!未定义书签。 Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 4: Chapter 1 Product Introduction

    NE2-S1/NE2-S1-TB User Manual Chapter 1 Product introduction NE2-S1 single serial port server module is used to realize bidirectional transparent transmission of data from the serial port to the Ethernet port. Users do not need to care about the specific details, and the protocol conversion is completed inside the device .
  • Page 5  All modes support heartbeat package and registration package functions;  Support access to external network and local area network;  Supports one-click restore to factory settings;  Support online upgrade function. Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 6: Chapter 2 Quick Start

    USB to serial port converters and other related auxiliary materials. details as follows: NE2- S1-TB cable computer 2.2Equipment wiring 2.2.1Serial connection Connect the USB end of NE2-S1-TB to the computer. Also check whether the jumper cap is connected properly. Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 7: 2Network Cable Connection

    Chengdu Ebyte Electronic Technology Co., Ltd. NE2-S1/NE2-S1-TB User Manual 2.2.2Network cable connection Use a standard RJ45 network cable, connect one end to the RJ45 interface of NE2-S1-TB, and the other end to the computer or switch/router interface. 2.3Software settings 2.3.1Network test environment This prevents customers from experiencing server search failures, inability to open web pages and other related problems during actual applications.
  • Page 8: 2Default Parameters

    After going through the above steps, use the device's factory default parameters and perform the following operations to achieve a transparent transmission test of data. The steps are as follows: (1) Open the test TCP/IP debugging assistant software. Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 9 (4) Open the serial port assistant, set the serial port baud rate to 115200, and set the serial port parameters to 1/8/None. Click to open the serial port. (5) Data transmission test, the serial port assistant (serial port side) sends test data, and the Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 10 (network side) sends test data, and the serial port assistant (serial port side) receives the test data. Realize duplex communication (that is, two-way data sending and receiving from local to network). Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 11: Chapter 3 Product Overview

    DC 3. 1~6 35×22× 25 N E2-T1B module UDP Client M QTT Client NE2-D11 DC 8 ~ 28 2×5 way 80×28×27 H TTP Client _ NE2-D1 2 DC 8 ~ 28 Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 12: Technical Parameters

    192.168.3.1 (customizable) Serial buffer 10k Byte or 1024 packets Packaging Maximum 1024 Byte , 1~80 bytes idle time mechanism Serial port baud 6 00 ~4608 00 bps (default 115200) rate Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 13 2g ± 1g _ Working temperature and -40 ~ +85℃, 5% ~ 95%RH (no condensation) humidity Storage temperature and -40 ~ +105℃, 5% ~ 95%RH (no condensation) humidity Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 14: Mechanical Dimensions

    485 chip is connected, the pin is connected to 485_EN a 1k pull-down resistor. The pin function becomes the RS485 enable control pin. When the serial port sends Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 15 100M PHY indicator, pulls low after PHY negotiation is S PDLED successful, and flashes when there is data being sent and received; Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 16: Hardware Reference Design

    Only one of the two power supply methods can be selected. Remember not to supply power with VCC1 at the same time Common ground terminal, negative terminal input of power supply; 3.5Hardware reference design 3.5.1Typical application reference connections Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 17: 2Power Circuit Reference Hardware Connection

    Chengdu Ebyte Electronic Technology Co., Ltd. NE2-S1/NE2-S1-TB User Manual 3.5.2Power circuit reference hardware connection 3.5.31.8V serial port circuit reference connection 3.3V Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 18: Serial Port Circuit Reference Connection

    Chengdu Ebyte Electronic Technology Co., Ltd. NE2-S1/NE2-S1-TB User Manual 1.5.4 5V serial port circuit reference connection 3.5.5Network port built-in transformer reference connection 3.5.6Network port external transformer reference connection Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 19: 7Reset Circuit Reference Connections

    NE2-S1/NE2-S1-TB User Manual 3.5.7Reset circuit reference connections 3.5.8Reference package In order to facilitate customers' hardware layout, Ebyte has made corresponding PCB packaging libraries. Please download specific documents from the official website https://www.ebyte.com Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 20: Chapter 4 Product Features

    IP address gateway and subnet mask. Disadvantages: When connected to a network without DHCP Server, such as directly connected to a computer, the module will not work properly. Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 21: 3Domain Name Resolution ( Dns )

    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 name resolution (DNS) server address of the serial port server supports user customization. Domain name resolution can be implemented through a custom domain name resolution server when the router's domain name server is abnormal.
  • Page 22: 2Tcp Client Mode

    [Note] In U DP mode, the data sent by the network to the device should be less than 1024 bytes per packet, and the excess data will be lost . Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 23: 4Udp Client Mode

    1. G ET Use the HTTP mode of OneNET multi-protocol access to test the device HTTP-GET request, as shown in the figure below. (1) Return data configuration with header: Data return test: Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 24 Chengdu Ebyte Electronic Technology Co., Ltd. NE2-S1/NE2-S1-TB User Manual (2) Return data configuration without header: Data return test: Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 25 Use the HTTP mode of One NET multi-protocol access to test the device HTTP-POST request, as shown in the figure below. (1) Return data configuration with header: Data return test: Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 26 Chengdu Ebyte Electronic Technology Co., Ltd. NE2-S1/NE2-S1-TB User Manual (2) Return data configuration without header: Data return test: Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 27: 6Mqtt Client Mode

    The "three elements" of the standard description can be obtained from the Tencent server as shown in the figure below: Parameter configuration description is shown in the figure below: Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 28: Serial Port Parameters

    Stop bit: settable range 1, 1.5, 2. By setting the serial port parameters and keeping them consistent with the serial port parameters of the serial port connection device, you can ensure normal communication. Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 29: Advanced Parameters

    1. The serial port sends data if the data header is 55 FE AA 00, which means it meets the requirements, that is, 55 FE AA 00+data, then the data will only be transmitted to Socket 1 , and the received content only contains data, without the data header; Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 30 3. The data sent by the serial port is arbitrary data, and the data will be transmitted to two Sockets. Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 31: 2Disconnection And Reconnection Function

    , the device will restart to avoid abnormal situations affecting communication. cause impact . When the timeout restart function is turned on, the timeout restart time setting parameter range Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 32: 4Short Connection Function

    The serial port heartbeat packet adopts the idle heartbeat packet, that is, it starts timing when the serial port is idle, and when the serial port heartbeat packet time arrives, the configured Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 33: 2Network Heartbeat Packet

    Registration packets run independently in the two links and do not affect each other. When using it, you need to select the registration package mode. You can choose the following modes: 1. Connect to send SN ; 2. Connect to send MAC ; Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 34: Network At Command

    If the current AT command header is NETAT, you can send commands through the network to query and configure parameters after the link is successfully connected. If you send NETAT+SN, you will receive a data reply of +OK=20241214test. After the network AT is Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 35: Modbus Gateway

    Simple protocol conversion can work in any mode ( TCP client, TCP server, U DP client, U DP server, M QTT client, HTTP client). No matter what mode it works in, there can only be one Modbus master station. . Configuration tool configuration : Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 36 Chengdu Ebyte Electronic Technology Co., Ltd. NE2-S1/NE2-S1-TB User Manual Modbus Poll and Modbus Slave software debugging : Software connection settings: Software register reading and simulation configuration: P oll menu select Set up Read/Write Definition Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 37 Chengdu Ebyte Electronic Technology Co., Ltd. NE2-S1/NE2-S1-TB User Manual S lave menu select Se tup Slave Definition Communication demo: Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 38: 2Multi-Host Mode

    It is recommended to configure "simple protocol conversion" when there are no multiple hosts. Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 39 For software configuration and register configuration, refer to "Simple Protocol Conversion", and open multiple Modbus Poll software at the same time (3 channels are taken as an example, and up to 5 channels can be supported). Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 40: 3Storage Gateway

    It greatly improves the gateway's multi-host request processing capabilities and also shortens the time consumed by the entire request process. Users can customize the storage area instruction polling interval and instruction storage time according to their needs. Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 41 RTU device ; (6) Only supports 0 1 , 0 2 , 0 3 , 0 4M od bus function code query result storage; Storage gateway configuration tool configuration: Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 42: 4Configurable Gateway

    (Modbus RTU format or Modbus TCP format) and command polling interval (0 -65535 ms). For command pre-storage, refer to "Configurable Gateway - Command Storage Instructions" Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 43: Introduction To Basic Functions

     Open the browser and enter the IP address of the device in the address bar. The default is 192.168.3.7 (the IP address and the computer must be in the same network segment). If you Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 44: Restore Factory Setting

     Click "Save Parameters" in device management to save the configuration parameters; 4.7.2 Restore factory setting R e load button of the module for 5-10 seconds until all LED indicators light up and then release the button. Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 45: 3At Command Configuration

    Through the upgraded firmware provided by our company, users can upgrade or replace the current firmware through the configuration tool. Steps to upgrade firmware over the network: Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 46 Step 3: In the pop-up "Device Network Upgrade Assistant" dialog box, click "Search for Device" (the computer and the device should be in the same network segment), and click "Stop Search" after searching for the device; Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 47 (The device will not respond for about 7 seconds from clicking "Upgrade" to starting to transfer the firmware. This is normal. Please wait patiently for the upgrade) Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 48 Step 2: Open the configuration tool, search for the current IP of the device, the default is 192.168.3.7, enter the current IP in the web page, and enter the web configuration ; Step 3: Click Device Management ; Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 49 [Note] If the upgrade fails, just upgrade again . [Note] The device will not respond for about 7 seconds from clicking "Upgrade" to starting to transfer the firmware. This is normal. Please wait patiently for the upgrade. Copyright © 2012–2024 , Chengdu Ebyte Electronic Technology Co., Ltd.
  • Page 50: Revision History

    Initial version YL _ About us Technical support: support@cdebyte.com Documents and RF Setting download link: www.cdebyte.com Thank you for using Ebyte products! Please contact us with any questions or suggestions: info@cdebyte.com ------------------------------------------------------------------------------------------------- Phone: +86 028-61399028 Web: www.cdebyte.com Address: B5 Mould Park, 199# Xiqu Ave, High-tech District, Sichuan, China...

This manual is also suitable for:

Ne2-s1-tbNe2-t1Ne2-t1b

Table of Contents