Presentation is loading. Please wait.

Presentation is loading. Please wait.

An 8051 Based Web Server Project by Mason Kidd Advised by Dr. Schertz.

Similar presentations

Presentation on theme: "An 8051 Based Web Server Project by Mason Kidd Advised by Dr. Schertz."— Presentation transcript:

1 An 8051 Based Web Server Project by Mason Kidd Advised by Dr. Schertz

2 Outline Abstract Overview of TCP/IP and HTTP Functional Description Block Diagram and Software Flow Chart Datasheet Hardware Description Completed Lab Work Problems Encountered Future Work/Applications

3 Abstract A web server was designed using an 8051 based micro controller. The micro controller was interfaced to an Ethernet network using an Ethernet transceiver chip. This allows the user to connect to the micro controller using a standard web browser and receive data in the form of a web page.

4 Overview of TCP/IP and HTTP TCP/IP is the protocol used over the Internet to allow communication between computers It is a layered protocol based on Open Systems Interconnection

5 Overview of TCP/IP and HTTP Each layer adds a header to the data Process is called encapsulation My software must create and decode these headers

6 Overview of TCP/IP and HTTP Ethernet - network type, determines cable type, connector type, hardware (MAC) address IP - Internet Protocol, defines network addressing

7 Overview of TCP/IP and HTTP ICMP - Internet Control Message Protocol, allows for testing of connectivity ARP - Address Resolution Protocol, used to retrieve Ethernet address for a certain IP address UDP - User Datagram Protocol, connectionless data transfer protocol TCP - Transmission Control Protocol, connection- based reliable data transfer protocol

8 Overview of TCP/IP and HTTP Hypertext Transport Protocol is the protocol used by web browsers to communicate with web servers Web browser asks the web server for a document, and the web server sends the document back Hypertext Markup Language is the type of document used, uses tags to format data

9 Functional Description I/O are packets to the Ethernet network and information/control signals to microcontroller interfaces Operates in two modes: Listening and Responding Packet types supported: Internet Control Message Protocol, Address Resolution Protocol, Transmission Control Protocol, and User Datagram Protocol

10 Block Diagram

11 SubsystemInputsOutputs Microcontroller Interfaces Control signalsAcquired data EMAC Microcontroller Acquired data, Packets Control signals, Packets Ethernet InterfacePackets

12 Software Flow Chart

13 Datasheet Description A micro webserver based on an 8051 development board. Serves small web pages with information collected from on-board peripherals. Quantitative Specifications Maximum Packet Size: 1500 bytes Number of Simultaneous Connections: 1 Protocols Supported: IP, ARP, ICMP, TCP, UDP, HTTP/1.0, HTML/2.0 Network Interface Type: 10BaseT Ethernet User Interface Users connect to the system using a standard web browser. System Testing System can be tested for network connectivity by 'pinging' the system. Also, Link and Activity LEDs are available on the system to provide network link and activity status.

14 Hardware Description Uses a Crystal CS8900A Ethernet Transceiver Designed for use with ISA bus systems Has internal memory for storage of packets Application note describes using in 8-bit mode Connected to an EMAC board using the bus expansion header Very little glue logic needed Constructed using wire-wrap

15 Completed Lab Work Wrote low level interface software Wrote software to receive packet and determine what type it is Wrote software to process ICMP, ARP, UDP, and TCP packets Wrote UNIX sockets client program for testing of UDP functionality Wrote web server software to process HTTP packets and construct HTML pages Constructed and tested hardware

16 Problems Encountered Cannot read received packet from Ethernet Transceiver chip Used packet sniffer program to place packet into buffer Software processed packets correctly

17 Future Work/Applications Need to resolve packet reception problem Expand code to be usable with other micro controllers Make TCP/IP stack more robust, support more of the options defined in standards Expand HTTP server to allow POST methods and CGI processing Industrial applications - monitor machinery, remote control Robotics applications - replace laptops used for remote control

Download ppt "An 8051 Based Web Server Project by Mason Kidd Advised by Dr. Schertz."

Similar presentations

Ads by Google