Professional Documents
Culture Documents
Ministry of Higher Education and Scientific Research Diyala University College of Engineering
Ministry of Higher Education and Scientific Research Diyala University College of Engineering
By;
t A\j£L
This brings in a need for web services being deployed on various embedded processors such as
Advanced RISC Machine (ARM) in real time context. The main aim of the project is to develop an
embedded web server using ARM7 TDMI processor.
The web pages which are required for the web server will be developed using HTML. This embedded
web server which will be developed by using Embedded C language can be beneficial for mission
critical applications, remote data acquisition systems, ATM and controlling devices such as servo
motor, dc motor, stepper motor ,turning ON or OFF the stereo sets., use as dimmerstat to control
light intensities. can be used in home automation, store programs in flash memory and run the
according to need.
Introduction
Embedded systems are specialized computer systems designed and optimized to perform a
particular task. Usually they are a part of a larger system or a machine In today's world, embedded
systems are everywhere homes, offices, cars, factories, hospitals, plains and consumer electronics.
They span all aspects of modern life and examples of their use are numerous.
Modern embedded systems are able to connect to the internet and can be remotely maintained and
diagnosed . M2M(Machine to machine) communication is growing with a considerable rate. The
possibility to connect two or more embedded systems enables developers to build more powerful
distributed systems such as networked embedded systems .Remote maintenance is performed by
different communication protocols. The most common communication protocol is HTTP which
enables remote system control and monitoring
A web server is a computer program that implements HTTP protocol. It accepts HTTP requests from
clients like web browsers and serves HTTP responses which are usually HTML pages with linked
objects. There are many web servers available, and a number of them are free, like Apache, AOL ,
Roxen . Internet Information Services, Sun Java System web Server are some of the most common
commercial web servers. Some web servers can run on almost any operating system while others
are platform specific.
The general purpose web servers are intended to run on powerful server computers, workstations or
personal computers and support a number of advanced features. On the other hand, web servers for
embedded system shave limited resources and offer only a set of required features
Block Diagram
This project implements an EMBEDDED WEBSERVER with networking capability using ARM
microcontroller. Various Analog Sensors can be connected to the ARM Board. The project includes
complete implementation of an HTTP Web Server in am ARM7 microcontroller. The websites are
stored inside the program space of the ARM7 microcontroller and features a flexible pattern parsing
algorithm. This supports using keywords to instruct the web server to include special data in the page
delivered to the browser (i.e. current temperature as ASCII text).
Using any standard web browser on any PC you can access the web pages performing a variety of
operations like viewing a temperature plot of the last 24 hours, control the servo motor , read/write
any I/O pin by using a simple mouse-click, upload any file to the Data Flash storage and access files
stored on the flash. The web server implements ARP, IP, TCP, UDP, HTTP (server), NTP (client),
servo control, I/O Pin control, 2nd software UART etc.
This system is very suitable for acquiring data or signals form a large scale industry field. Hundreds
of such terminals can be grouped within a network. One PC is enough for monitoring many terminals.
Link from server to the internet can be also established to realize remote monitoring. You can see the
data in the office, even at home if you have internet access. This system can also be integrated into
ERP system, which will improve management level access. This system will not only be useful in
industry field, but also has great future in smart-house applications, networked lighting control system
and other distributed control systems.
Features
• The ARM7TDMI controller is a member of the Advanced RISC machine family of general purpose
32-bit microcontroller.
• 16/32-bit ARM7TDMI-S microcontroller in a tiny LQFP64 or HVQFN package
• ARM7 - 32-bit Advanced RISC Machine
• T - Thumb architecture extension
• Two separate instruction sets, 32-bit ARM instructions and 16-bit Thumb instructions
• D - Debug extension
• M - Enhanced multiplier
• I - Embedded ICE macro cell extension
• Von Neumann Architecture
• 3-stage pipeline -fetch, decode, execute
• 32-bit Data Bus
• 32-bit Address Bus
• 37 32-bit registers
• 32-bit ARM instruction set
• 16-bit THUMB instruction set
• 32x8 Multiplier
• Barrel Shifter.
• 8/16/32kB of on-chip static RAM and 32/64/128/256/512kB of on-chip flash program memory.
128-bit wide interface/accelerator enables high-speed 60MHz operation.
• One (LPC2131/32) or two (LPC2134/36/38) 8-channel 10-bit ADCs provide a total of up to 16
analog inputs, with conversion times as low as 2.44 gs per channel.
• Single 10-bit DAC provides variable analog output (LPC2132/34/36/38).
Load Cell
A load cell is a transducer that is used to convert a force into electrical signal. This conversion is
indirect and happens in two stages. Through a mechanical arrangement, the force being sensed
deforms a strain gauge. The strain gauge measures the deformation (strain) as an electrical signal,
because the strain changes the effective electrical resistance of the wire. A load cell usually consists
of four strain gauges in a Wheatstone bridge configuration.
Load cells of one strain gauge (quarter bridge) or two strain gauges (half bridge) are also
available.The electrical signal output is typically in the order of a few millivolts and requires
amplification by an instrumentation amplifier before it can be used. The output of the transducer is
plugged into an algorithm to calculate the force applied to the transducer.
Although strain gauge load cells are the most common, there are other types of load cells as well. In
industrial applications, hydraulic (or hydrostatic) is probably the second most common, and these are
utilized to eliminate some problems with strain gauge load cell devices.
As an example, a hydraulic load cell is immune to transient voltages (lightning) so might be a more
effective device in outdoor environments
References