+

WT32-ETH01 Embedded Serial Port Networking Ethernet BT WIFI Combo Gateway MCU ESP32 Wireless Module Board WT32 ETH01

USD 12.16USD 17.37

WT32-ETH01 Embedded Serial Port Networking Ethernet BT WIFI Combo Gateway MCU ESP32 Wireless Module Board WT32 ETH01

Description

WT32-ETH01 Embedded Serial Port Networking Ethernet BT WIFI Combo Gateway MCU ESP32 Wireless Module Board WT32 ETH01

 

 

Main features of WT32-ETH01 gateway:

1. Adopt dual-core Xtensa®32-bit LX6 MCU. Integrated SPI flash 3.32Mbit\ SRAM 520KB

2. Support TCP Server, TCP Client, UDP Server, UDP Client working mode.

3. Support the four data ports of serial port, wif. Ethernet and Bluetooth-compatible-compatible to be combined in pairs, and the data is transparently transmitted.

4. Support to connect to the network through wired network or wifi to upgrade the firmware.

5. Support wifi to connect to the Internet or LAN through a router, establish a TCP/UDP connection, and access the user's designated server.

6. Support wired network access.

7. Support user secondary development.

8. Industrial grade operating temperature range: -40-+85.

9. Serial port baud rate: 80-5000000.

10. Network protocol: IPv4, TCP/UDP.

11. Software encryption: AES/RSA/ECC/SHA

3.3 Pin description

Table-1 Debugging and programming interface

Pin Name Description

1- EN1 reserved debugging and programming interface; enabled, high level is effective

2- GND Reserved debugging and programming interface; GND

3- 3V3 reserved debugging and programming interface; 3V3

4- TXD reserved debugging programming interface; IO1, TXD0

5- RXD reserved debugging programming interface; IO3, RXD0

6- IO0 is reserved for debugging and programming interface; IO0

Module IO description

1- EN1 enable, active high

2- CFG IO32, CFG

3- 485_EN IO33, RS485 enable pin

4- RXD IO35, RXD2

5- TXD IO17, TXD2

6- GND GND

7- 3V32 3V3 power supply

8- GND GND

9- 5V2 5V power supply

10- LINK network connection indicator pin

11- GND GND

12- IO393 IO39, only supports input

13- IO363 IO36, only supports input

14- IO15 IO15

15- I014 IO14

16- IO12 IO12

17- IO5 IO5

18- IO4 IO4

19- IO2 IO2

20- GND GND

Note 1: The module enables high level by default.

Note 2: You can only choose one of 3V3 power supply and 5V power supply! ! !

Note 3: IO39 and IO36 only support input.

3.4 Power supply characteristics

3.4.1 Supply voltage

The power supply voltage of the module can be 5V or 3V3, and only one of the two can be selected.

3.4.2 Power supply mode

Users can freely choose according to their needs:

1) Through hole (welding header):

 Use DuPont line connection for power supply;

 Use breadboard connection for power supply;

2) Half pad (directly soldered to the board): the user board provides power.

4. Instructions for use

4.1 Power-on instructions

If the DuPont line is used: find the 3V3 or 5V power input port, connect the corresponding voltage, the indicator light (LED1) lights up, indicating that the

Electric success.

4.2 Indicator light description

 LED1: power indicator, power on normally, the light is on;

 LED3: serial port indicator light, when RXD2 (IO35) has data flow, the light is on;

 LED4: serial port indicator light, when TXD2 (IO17) has data stream, the light is on;

4.3 Instructions for use

There are three ways to use, users can choose according to their needs:

1) Through hole (welding pin header): use DuPont wire to connect;

2) Through hole (welding header): put it on the breadboard for use;

3) Half pad: Users can directly solder the module on their own board.

4.4 Description of network port working indicator

Green light: Connection status indicator When connected to the network correctly, the green light is on

Yellow light: data indicator flashes when the module receives or sends data, including the module receives a network broadcast packet

Set IP/Subnet Mask/Gateway

1. The IP address is the identity of the module in the local area network. It is unique in the local area network, so it cannot be duplicated with other devices in the same local area network.

There are two ways to obtain the IP address of the module: static IP and DHCP/dynamic IP.

a. Static IP

The static IP needs to be manually set by the user. Pay attention to write the IP, subnet mask and gateway at the same time during the setting process. The static IP is suitable for

IP and device statistics and one-to-one corresponding scenes. Pay attention to the correspondence between IP address, subnet mask, and gateway when setting. Use static

IP needs to be set for each module and ensure that the IP address is not duplicated with other network devices in the local area network.

b. DHCP/Dynamic IP

The main function of DHCP/Dynamic IP is to dynamically obtain the IP address, Gateway address, DNS server address and other information from the gateway host, thus

Eliminate the cumbersome steps of setting an IP address. It is suitable for scenarios where there is no requirement for IP and no one-to-one correspondence between IP and module.

Note: When the module is directly connected to a computer, it cannot be set to DHCP. Generally, the computer does not have the ability to assign IP addresses. If the module is set to DHCP direct

Connecting to a computer will cause the module to be in a state of waiting for the IP address to be assigned, which will cause the module to fail to perform normal transparent transmission. Module default

It is a static IP: 192.168.0.7.

2. The subnet mask is mainly used to determine the network number and host number of the IP address, indicate the number of subnets, and determine whether the module is in the subnet. child

The net mask must be set. Our commonly used C type subnet mask: 255.255.255.0, the network number is the first 24 digits, the host number is the last 8 digits, and the subnet mask is 255.255.255.0.

If the number of networks is 255, and the module IP is in the range of 255, it is considered that the module IP is in this subnet.

3. Gateway refers to the network number of the network where the current IP address of the module is located. If you connect to a device such as a router when connecting to the external network, the gateway is the router

If the IP address is set incorrectly, it will not be able to access the external network correctly. If you do not connect to a router such as a router, you do not need to set it, just the default.

6.2.2 Restore factory settings

AT command to restore factory settings: restore factory settings through AT+ RESTORE.

6.2.3 Firmware upgrade

The way to upgrade the firmware of the module is OTA remote upgrade. By upgrading the firmware, more application functions can be obtained.

a. The firmware upgrade can be connected to the network via wired network or wifi.

b. Operate GPIO2 to ground, restart the module, and enter the OTA upgrade mode.

c. After the upgrade is complete, disconnect GPIO2 from the ground, restart the module, and the module enters the normal working mode.

6.2.4 AT command function setting

The user can set the function of the module by inputting AT commands through the serial port.

For details, please refer to the AT command set of esp32 wired module.

6.2.5 Data transparent transmission function

The module has four data transmission ports: serial port, wifi, Ethernet and Bluetooth.

Users can use AT commands to combine the four data ports in pairs for data transparent transmission.

Set/query the transparent transmission channel of the module through AT+PASSCHANNEL command. After the setting is completed, the module needs to be restarted to take effect.

6.3 socket function

The Socket working mode of the module is divided into four types: TCP Client, TCP Server, UDP Client, and UDP Server. The AT command can be used

Make settings.

For AT command operation, please refer to esp32 wired module AT command routine v1.0.

6.3.1 TCP Client

1. TCP Client provides client connections for TCP network services. Actively initiate a connection request to the server and establish a connection, which is used to implement serial port data

Interaction with server data. According to the relevant regulations of the TCP protocol, there is a difference between connection and disconnection of TCP Client, so as to ensure the availability of data.

By exchange. It is usually used for data interaction between the device and the server, and is the most commonly used method of networking communication.

2. When the module is used as a TCP Client to connect to a TCP Server, it needs to pay attention to parameters such as target IP/domain name and target port number. The target IP can be local

Devices in the same local area can also be IP addresses of different LANs or IP addresses across public networks. If you connect to servers across public networks, you must

The server has a public IP.

6.3.2 TCP Server

It is usually used for communication with TCP clients in a local area network. Suitable for no server in the local area network and there are multiple computers or mobile phones to serve

The scenario where the device requests data. Like TCP Client, there is a difference between connection and disconnection to ensure reliable data exchange.

6.3.3 UDP Client

UDP Client is a connectionless transmission protocol that provides transaction-oriented simple and unreliable information transmission services without connection establishment and disconnection.

Open, you only need to specify the IP and port to send data to the other party. Usually used to have no requirement on the packet loss rate, the data packets are small and the sending frequency is relatively fast,

And the data should be transmitted to the data transmission scene of the designated IP.

6.3.4 UDP Server

UDP Server means that the source IP address is not verified on the basis of ordinary UDP, and the target IP is changed after receiving a UDP packet.

It is the data source IP and port number. When sending data, it is sent to the IP and port number of the most recent communication.

This mode is usually used in data transmission scenarios where multiple network devices need to communicate with the module and do not want to use TCP due to the high speed and frequency.

6.4 Serial port function

6.4.1 AT command settings

The user can set the function of the module by inputting AT commands through the serial port.

6.4.2 Transparent transmission of serial port data

The user makes the module enter the data transparent transmission mode through the AT command, and the module can directly transmit the serial port data through the transparent transmission channel that has been set.

Pass it to the corresponding data transmission terminal (wifi, Ethernet and Bluetooth).

6.5 Bluetooth function

6.5.1 Transparent transmission of Bluetooth data

Through the existing Bluetooth function of the module, the module can obtain Bluetooth data, and directly transmit the Bluetooth data through the transparent transmission channel that has been set.

Pass it to the corresponding data transmission terminal (wifi, Ethernet and serial port).

6.6 Wifi function

6.6.1 Internet access

The module wifi is connected to the Internet or LAN through a router, and the user configures the socket function through AT commands, and the module can be set up

TCP/UDP connection can access the user's designated server.

6.7 Wired network port access function

A stable network connection can be obtained through a wired network to ensure stable network data.

6.7.1 Internet access

The module is connected to the Internet or LAN through the wired network, and the user configures the socket function through AT commands, and the module can establish TCP/UDP

Connect, you can access the user's designated server.

Specification

Condition : New

Origin : Mainland China

Model Number : WT32-ETH01

Type : Voltage Regulator

+