The Design and Implementation of Embedded WEB Server Based on MCU

Author
LiuZhongChao
Advisor
HeDongJian
School
Northwest University of Science and Technology
Major
Agricultural Electrification and Automation
Classification
TP393.05 Network equipment
Degree
Master's thesis
Year
2007
Downloads
277
Citations
1

Request the full text

Abstract

With the swift development and wide application of the internet and the embedded system, it is the necessary trend of the embedded system’s application that the embedded system connects to the web. At present mostly embedded equipments based on the network application usually use 32 bit microprocessor as the hardware to constitute the embedded Web server, for example PC machine or ARM. This kind of development has the cost high, the volume big, the power loss big and so on shortcomings. Presently, MCU has achieved the unprecedented degree of each domain in the industry and the family application, but they majority still are at the alone application stage. In view of the current universal application low microcontroller, this article takes 8-bit MCU as WEB server connecting to the Internet as the object , studying the method of the WEB server based on 8 bit MCU and Ethernet. The main research contents and the results as follows:(1) A design scheme by an ordinary 8 bit MCU to drive an Ethernet controller chip is described, designing the structure of embedded web server, explaining the design of the embedded system hardware、components、functions and feasibility of the hardware, fabricating hardware circuit, mainly hardware circuit realization between 8-bit microprocessor and the Ethernet controller chip. The purpose is connecting the top networking of information.(2) Seriously research on the MCU and Ethernet controller chip used in the hardware system. Programs are written which based on AT89C55WD MCU and RTL8019AS, detailed discussing the realization of the control module of Ethernet interface and Ethernet controller chip driver.(3) In order to TCP/IP protocols are applied to embedded system ,TCP/IP protocols are tailored as an embedded system application in view of the limited resource of MCU system, discussing the realization ofμIP and the flow of the program, loading TCP/IP protocols to the system.(4) The system programs designed by C51 language are used the selected developing tool of Keil C51 uVision2 to compile、debug and run. The result indicates that the designed embedded web server based on 8 bit microprocessor can realize the basic functions of the embedded web server.(5) The paper provides a method to realize embedded web server based on MCU system, providing the theory basis and the technical support for the embedded system connecting to the Internet and verifying the feasibility of the entire system realization.The studied methods are significant and have great practical value for seeking and solving 8-bit MCU connecting to the internet by the most superior performance-to-price ratio.

Table of contents

Chinese Abstract 4-5 Abstract 5-9 Chapter 1 Introduction 9-15 the a 1.1 research purposes and significance 9-10 1.2 research status 10-11 1.3 Research objectives and research contents 11-12 1.3.1 Research goals 11-12 1.3.2 research 1.4 technology roadmap 12-15 Chapter 2 system hardware design 15-25 2.1 overall system design ideas 15 2.2 hardware selection 15-19 2.2.1 AT89C55WD microcontroller 16-17 2.2.2 RTL8019AS network interface chip 17-19 2.2.3 62256 external data memory and 8D latch 74HC373 19 2.2.4 20F-01 LAN isolators 19 2.3 hardware system build 19-24 2.3.1 microcontroller hardware connection 20-21 2.3.2 NIC hardware connection 21-23 2.3.3 hardwired address allocation 23-24 2.4 This chapter Summary 24-25 3 RTL8019AS driver's design 25-32 3.1 microcontroller compiler KEIL 25 3.2 network card driver 25-26 3.3 Ethernet data frame format 26-28 3.4 RTL8019AS NIC initialization 28-29 3.5 frame reception process 29-30 3.6 frame transmission process 30-31 3.7 This chapter Summary 31-32 of Chapter 4 ΜIP protocol stack to achieve 32-47 4.1 TCP / IP protocol 32-36 4.1.1 TCP / IP layered structure 32-33 4.1.2 TCP / IP model parsing 33-35 4.1.3 data package 35-36 4.1.4 data frame sub 36 4.2 ΜIP protocol stack implementation 36-42 4.2.1 TCP / IP protocol to streamline 36-37 4.2.2 μIP protocol stack network model 37-38 the the 4.2.3 μIP protocol stack analysis 38-40 the the 4.2.4 μIP protocol stack transplantation 40-42 4.3 system, the main program to achieve 42-46 4.4 This chapter Summary 46-47 Chapter 5 embedded WEB server test 47-51 the 5.1 debug hardware and software environment 47-48 5.2 embedded the WEB server systems test 48-49 5.2.1 Web server basic functionality test 48-49 the 5.2.2 application layer protocol test 49 5.3 This chapter Summary 49-51 Chapter 6 Conclusion and Outlook 51-53 6.1 Conclusion 51 6.2 Looking 51-53 the References 53-57 Acknowledgements 57-58 Author 58

Related dissertations

  1. Research on Micro-grid Web Monitoring System Based on Ethernet and μC/OS-Ⅱ
    ZhuXiaoFeng ·Hefei University of Technology ·2013 ·Master's thesis
  2. The Research of Controller between Ethernet and CAN Bus Connection Interface Based on ARM
    HuangXiuLi ·Guangdong University of Technology ·2008 ·Master's thesis
  3. Ethernet-based embedded Web Server Research and Implementation
  4. The Research of Household Remote Monitoring Based on Embedded Web Server
  5. The Foam Insulation Greenhouse Monitoring System Design
    ZhangZuo ·Northeast Forestry University ·2013 ·Master's thesis
  6. Design of Remote Control System Based on Ethernet
    YaoGaoHua ·South China University of Technology ·2013 ·Master's thesis
  7. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  8. Design and Implementation of Multi-channel Data Acquisition System
  9. Network-based Wind Power Monitoring Data Acquisition System
  10. Research on Real-time Mornitoring System of High-voltage Switchgear
    DengLongJun ·Jimei University ·2013 ·Master's thesis
  11. Research of a System Integrated Rotational Speed and Temperature Measurement Based on MCU
    ZhangRen ·Dalian Jiaotong University ·2013 ·Master's thesis
  12. The Wireless Temperature and Humidity Monitoring System Design
    ZuoRui ·Jilin University ·2013 ·Master's thesis
  13. Embedded Network Monitoring System Based on ZIGBEE
  14. The Design for Wireless Multiple Measuring System of Small Area Crop Growth Environment
    GaoHongHong ·Ningxia University ·2014 ·Master's thesis
  15. Design of Industrial Ethernet Motion Controller Based on ARM
  16. Development of Intelligent Control System for Precise Wheat Seeder with Suction and Stepless Speed Regulation
    ZhuPengFei ·Shandong Agricultural University ·2013 ·Master's thesis
  17. The Design of PCR Temperature Control System in STC
    CaoYu ·Shandong University ·2013 ·Master's thesis
  18. Embedded Web-based Online Greenhouse Environmental Monitoring and Control System
    ZhouChao ·Xiamen University ·2014 ·Master's thesis
  19. Design and Development of Electrical Automation Experiment Platform
    LiuYin ·University of North ·2014 ·Master's thesis
  20. Design of Temperature and Humidity Control System Based on Micro-controller
    JiZuoLiang ·Shandong Normal University ·2014 ·Master's thesis