Wiznet makers

mark

Published March 29, 2024 ©

59 UCC

7 WCC

40 VAR

0 Contests

0 Followers

0 Following

Original Link

Build a simple web server based on W5500

Build a simple web server based on W5500

COMPONENTS
PROJECT DESCRIPTION

Abstract:

The W5500 chip is an embedded Ethernet controller that uses a full hardware TCP/IP protocol stack, providing a simpler Internet connection solution for embedded systems. Use IAP15W4K61S microcontroller and W5500 chip to implement a simple web server function. Type the IP address of W5500 in the browser address bar, and the simple web page embedded in the control microcontroller will be displayed on the browser.

Contents:

-  HW design: 

   > IAP15W4K61S connect with W5500

 

-  SW design: 

  > HTTP

1.Establish TCP connection
2.The Web browser sends a request command to the Web server.
3.The Web browser sends request header information.
4.Web server responds.
5.The Web server sends response header information.
6.The Web server sends data to the browser.
7.The Web server closes the TCP connection.
-Testing:

1. Set the basic information of W5500 in the program. Note here that the computer IP configuration must be in the same network segment as the IP address of W5500, otherwise communication will not be possible.

2. Compile the code, and then burn the program into the IAP15W4K61S microcontroller.

3. Connect the network cable and USB serial port cable, open the serial port debugging tool, and get the W5500 configuration information diagram from the output results

4. Open the browser, type in the IP address of W5500 192.168.1.67, and it will be displayed successfully in the browser

 

 

Conclusion:

 

Wiznet's W5500 chip provides great convenience for the development of the Internet of Things. This article uses IAP15W4K61S microcontroller combined with W5500 to implement a simple page server function, laying the foundation for more in-depth network control in the future.

 

Documents
Comments Write