25-07-2012, 12:18 PM
Web page analyser for protocols on ENC28J60 based AVR microcontroller
analyser for protocols.doc (Size: 1.28 MB / Downloads: 54)
Abstract
Because the Internet is becoming more widespread, there was the possibility of communication with automation systems for configuration, reprogramming or control in real time. For this, the automation system needs a physical communication port with the network. This paper presents the design and implementation of such Ethernet interface for automation system with microcontroller, mainly analysing web page by making use of Protocols on AVR microcontroller and it focuses on the adoption of Agent Technology to analyse and evaluate the Web Content Traditional Web traffic analysis metrics such as page views, unique browser, visitor loyalty, etc have been used to analyse the Web traffic behaviour for a long time since the birth of World Wide Web, but the emersion of software robots and Web crawlers trigger a huge impact on the integrity and correctness of these traditional Web statistics. The connection between the automation system and the interface is made via an SPI (Serial Peripheral Interface) port. The main element of the interface is a chip named ENC28J60 manufactured by Microchip. It is designed to serve as an Ethernet network interface for any controller equipped with SPI. ENC28J60 meets all specifications of IEEE 802.3 having incorporated MAC and PHY modules.
. Introduction
The paper aims to show how to make Ethernet interface with microcontroller automation systems. Are given at all stages of design, implementation and programming interface. The only requirement is that the microcontroller to have SPI interface (Serial Peripheral Interface). SPI is a standard synchronous high speed interface that operates in full duplex and can operate with one master device and one or more slave devices A big disadvantage of this port is that transmission can only be a short distance till to 50-100 centimetres.
The Design of Interface
The network controller
The main element is the controller interface ENC28J60 made by Microchip company. It is designed to serve as an Ethernet network interface for any controller equipped with SPI. ENC28J60 meets all specifications of IEEE 802.3 having incorporated MAC and PHY modules. It also provides an internal mode DMA for fast data transfer and hardware for TCP/IP. The Enc28J60 has a clock at 25MHz.
limitations of Ethernet
There are practical limits to the size of our Ethernet network. A primary concern is the length of the shared cable. Electrical signals propagate along a cable very quickly, but they weaken as they travel and electrical interference from neighbouring devices (fluorescent lights, for example) can scramble the signal. A network cable must be short enough that devices at opposite ends can receive each other's signals clearly and with minimal delay. This places a distance limitation on the maximum separation between two devices on an Ethernet network. Additionally, since in CSMA/CD only a single device can transmit at a given time, there are practical limits to the number of devices that can coexist in a single network. Ethernet networks face congestion problems as they increased in size. If a large number of stations connected to the same segment and each generated a sizable amount of traffic, many stations may attempt to transmit whenever there was an opportunity.
The Software Package
The software package contains two components: One for the automation system Ethernet interface; one client to access the system. Several forms client application CAN take. Among These are: Application command prompt type; GUI Application for Windows; accessible HTML page in a browser; Application for Windows Mobile; Java Midlet for mobile phones; Application for smart phone with Android Operating system. Two versions were developed: an HTML page served by accessing microcontroller IP address even his own, and an application for smart phones with Android operating system. The router used to connect computer and microcontroller system is Huawei HG520s. Microcontroller has been allocated via the address 192.168.0.138. Below are some images rendered page served. The microcontroller software development was done in C and compiled with the programming environment called Atmel AVR Studio. The program is designed to consist of two main segments.
Ethernet Controller Working:
This board utilizes the new Microchip ENC28J60 Stand-Alone Ethernet Controller IC featuring a host of features to handle most of the network protocol requirements. The board connects directly to most microcontrollers with a standard SPI interface with a transfer speed of up to 20MHz. This module contains what you need to enable Ethernet on your next microcontroller project. It includes a ENC28J60 ethernet controller, an RJ45 socket with link/activity lights and integrated transformer. This Ethernet module enables you to connect a particular embedded device (equipped with SPI support) on to a network. By using this Ethernet module (along with a microcontroller running a small TCP/IP stack) applications like Embedded Web server can be easily developed. Use this module to enable Ethernet interface for your product. It works with any microcontroller operating at 3.3V or 5V.
Conclusion:
Search engine optimization (SEO) was replaced by web content engagement time in order to find out the rating of different e –publications and e-adds which focuses on the page duration particularly the amount of time users visits the web page. Web Channel platform, promising Web Content Engagement Time (WCET) are recorded, which provides not only integrity and confidence for the publishers and advertisers, but also shines a new light for the future agent-based target marketing and e-reader profile and reading behaviour analysis, for statististical readings its impossible for advertisers to promote in e-publications due to web traffic so it be can be tackle with this proposed system with better results.