Wiznet makers

WIZnet

Published May 17, 2023 ©

758 UCC

232 VAR

0 Contests

0 Followers

0 Following

Original Link

Development of TELNET server based on W5500 and ATMEGA8

Recently, Arduino software and hardware complex, which is designed to develop various interesting electronic designs, has become very popula

COMPONENTS Hardware components

WIZnet - W5500

x 1


PROJECT DESCRIPTION

Chip W5500 has 8 independent sockets, each of which has memory for the use and transmission of information on 2 KB.
Total, the total memory is 16 KB per time and 16 KB for information transmission. These options are used by default, but if necessary at the initialization phase of the chip, the memory of the sockets can be redistributed. The app described here will use the default memory settings, and all 8 sockets will be used. Each socket at the stage of its initialization is assigned a variety of parameters, the main of which – its mode of operation and TCP port. The mode of operation of all eight sockets that we need is the TCP mode of the server. Each socket must be assigned to different ports. I took eight consecutive running ports, starting, for example, from 4000. During the initialization phase of the W5500 module, it is assigned network parameters: IP address, subnet mask, gateway IP address, and even a physical MAC address. The network settings of the W5500 module must be consistent with the settings of the home network to which it connects. When you remotely connect to our device, the location (IP address or domain name) and port are specified in the terminal settings. The node address refers to the W5500 device and the port to the socket in the device. One socket can only work with one connection. Therefore, it is possible to carry out eight independent simultaneous connections. Figure 5 shows the connectivity options in the standard HyperTerminal to W5500 program with an IP address of 192.168.0.111 to socket 0 (port 4000). To connect on the global Internet (from the outside) you need to set up a home router accordingly.

Documents
Comments Write