Professional Documents
Culture Documents
R (EPAHEIT011)
JESITHA C (EPAHEIT024)
NEETHU.K.PUSHKARAN
(EPAHEIT033)
WYSH.K.S (EPAHEIT062)
GIMISH.P.G (EPAHEIT067)
Mr. SHOWKATHALI
A web server was designed using PIC based micro
controller.
Software must
create and decode
these headers
TCP/IP is reliable, connection oriented and data
transfer protocol that transmits data using packets
of information.
TCP is the protocol that a web browser uses to
send and receive data with a web server.
The IP protocol provides the Network-addressing
scheme and allows end-to-end connectivity.
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
Hypertext Transport Protocol(HTTP) 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(HTML) is the
type of document used, uses tags to format
data.
Description
An embedded web server based on PIC Serves
small web pages with information collected
from on-board peripherals.
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.
MikroC, mikroElektronika C compiler for
Microchip PIC microcontrollers is used.
The firmware is written in higher-level
language Embedded C.
Since they are supported to perform only
specific task, these programs are stored in Read
Only Memories (ROMs).
PIC18F452 – Microcontroller
This microcontroller is exceptionally powerful
and ideal for C programming.
The pic18F452 has 32KB of program memory,
1536 Bytes of RAM and 34 i/o ports.
It is packaged in a 40 pin DIP.
Analog features include10-bit Analog-to-
Digital Converter(ADC).
Source code is PIC16 compatible
The PIC 18F452 is pin compatible with 40-pin
PIC16C7X device
PIC18 family offers a highly flexible solution
for complex embedded applications
Most PIC18 devices will operating from 2.0 to
5.5 volts
ENC28J60
An Ethernet Controller (ENC28J60) provides
the interface from the microcontroller Ethernet
network.
IEEE 802.3 compatible, 28-pin Ethernet
controller
Stand-alone Ethernet controller with on board
MAC & PHY, 8 Kbytes of buffer RAM and
SPI interface.
Supports Full and Half-Duplex modes
low-pin count, cost-effective, easy-to-use
solution for remote communication with
embedded applications.
Operating voltage range of 3.14V to 3.45V
Communication with the host controller is
implemented via two interrupt pins and the
SPI, with data rates of up to 10 Mb/s
SPI(Serial Peripheral Interface ) interface that
serves as a communication channel between
the host controller and the ENC28J60
dual port RAM buffer for received and
transmitted data packets.
The PHY (Physical Layer) module that
encodes and decodes the analog data that is
present on the twisted pair interface.
Implemented software using high level
language
Wrote software to receive packet and
determine what type it is.
Wrote software to process TCP packets.
Wrote web server software to process HTTP
packets and construct HTML pages.
Constructed and tested hardware.
In the development of the
embedded web server we dealt with
the following issues:
1. Definition of user requirement
specification,
2. Selection of software environment.
3. Selection of supporting hardware
platform and availability of
associated cores.
4. Programming of target application.
Embedded web server is a good media to
attach device to Internet
Used in the field of remote monitoring and
controlling.
We can build this system with low cost and
easy to install.