| With the rapid development of computer communication technology, electronics and information technology and multimedia technology, internet increasingly becoming an essential tool for people's daily life. More and more non-PC equipment, such as intelligent instruments and information appliance, need to connect to the Internet.Judging from the present situation, about 50% of the non-PC equipment is the 8-bit microprocessor. If we wish to achieve these communications between equipment and the internet, we must expand the network functions of 8-bit microprocessor.This thesis point out a concrete realization program of the communication between the internet and the MCU. In view of the wide application of 8-bit MCU , by the in-depth study and understanding of high-performance 32-bit single-chip microprocessor and the communication to the Internet, choosing the best and most popular ethernet controller chip and the 8-bit MCU to make network communication system, successful transplant the tailored TCP/IP agreement to the system, and implement the embedded webserver applications on the basis of the design: through the browser, client could real-time manipulate the small LED lights based on the MCU application system.Due to the limited resource of 8-bit MCU, according to its own characteristics and application needs, we must tailor the TCP agreement properly. In the system design process, select the most representative protocol of each layer of TCP agreement and tailor it for need and transplant the agreement to the system, the experiment proves that the system operates well and achieves the desired results.Firstly, design the ethernet interface circuit and compile the ethernet driver program; tailor the TCP/IP agreement appropriately to meet the 8-bit MCU internal resources and transplant it to the system; achieve the web server application, realize the HTTP protocol based on the analysis of it and write the web page using HTML, save it to the internal ROM of the MCU. Then we can remote browse the homepage via Internet Explorer and realize the real-time monitoring and control. According to the specific needs of the achieve of web server application to microprocessor, abandon the Embedded operating system and direct realize the TCP/IP protocol what greatly shorten the development time; The greatest feature of this thesis is to achieve the web server application in 8-bit microcontroller. So the control and monitoring of the MCU system becomes simple and intuitive. Compile the web page using HTML language. store the source code in the form of array characters to the EEPROM, and can visit in the form of array cleverly circumvented the restrictions of reading the document of the retrieval system and enhance the operational efficiency of the system.Embedded microprocessor systems with the core of MCU will be widely applied in the field of education. At present, the University's Information Resources Construction is in full swing, and the sharing of software information resources enables great facilitation and rapidly improves the efficiency of investment in education. However, the sharing of hardware resources is difficult. With embedded technology, implant the small embedded chips to the precision instruments ,through the operate of the buttons on the website planted in the MCU and remote operate the equipment, then get data by the MCU and transport it to the local computer and show the information on the browser via many methods. Experimental data can be got conveniently. Share the hardware equipment can greatly reduce the human and material resources and has great economic benefit, has a positive role in promoting the information technology in the field of education. |