Академический Документы
Профессиональный Документы
Культура Документы
ABSTRACT
This paper is an RTOS based architecture designed for the purpose of data
transmission between two controlling units through IWSN without collision. RTOS is a
Process which will be done between hardware and application. Here, stack is the one which is
used to avoid the independency of the layers from one with another inside the protocol comes
under the standard IEEE802.15.4.Stack having two techniques (PAL and NILI) we are using
in the IEEE 802.15.4 to reduce the collision and timing. Mostly, during the packets
transmission some collision may occur. This collision has to be avoided to prevent the data
loss during the transmission.
The project deals with the data transmission between two units in the exact time
without any collision. The data transmission time is increased with the protocol standard. One
of the section runs with RTOS and LPC2148 as master node and another as normal data
acquisition node to which sensors are connected. Data acquisition node uses the Peripheral
Interface controller. Communications between two nodes (hardware and application) are
accomplished through IEEE 802.15.4.
The RTOS is to manage the allocation of these resources to users in an orderly and controlled
manner. This wireless sensor node is composed of a micro-processors, transceivers, displays
and analog to digital converters. Sensor nodes are deployed for industrial process monitoring
and control. The sensing parameters can be displayed as graph in Master node. The basic
view of this technique is to reduce the possibility of collision and to meet the critical
requirement of timing for data transmission of industrial applications
ii
TABLE OF CONTENTS
TABLE OF CONTENTS
CHAPTER NO.
TITLE
PAGE NO.
iii
ABSTRACT
vii
LIST OF FIGURES
xiii
LIST OF ABBREVATION
xiv
1.
INTRODUCTION
02
2.
07
07
3.
07
2.1.2 Transformer
08
08
10
MICROCONTROLLER
12
SERIAL COMMUNICATION
38
ARM
4.
4.1 Introduction
38
41
4.3 RS232
42
5.
43
44
SOFTWARE TOOLS
5.1 Types of Tools
56
56
5.1.1 KEIL C
56
57
5.1.3 ORCAD
58
59
MATLAB
VB
6.
HARDWARE TOOLS
61
6.1 Zigbee
6.2 brainwave sensor
8.
CONCLUSION
9.
10.
REFERENCES
75
CHAPTER-1
INTRODUCTION
The RTOS is to manage the allocation of these resources to users in an orderly and
controlled manner. This wireless sensor node is composed of a micro-processors, transceivers,
displays and analog to digital converters. Sensor nodes are deployed for industrial process
monitoring and control. The sensing parameters can be displayed as graph in Master node. The
basic view of this technique is to reduce the possibility of collision and to meet the critical
requirement of timing for data transmission of industrial applications.
G
P
I
O
1.1
BLOCK DIAGRAM:
Block diagram:
Master node:
Block Diagram:
Power supply
Master Node:
ARM CORE
K
Hardware & Software
Requirements:
Priority
G
E
Hardware:
GLCD
P
I
O
Microcontrollers
A
Touch
D
Sensors
Screen
C
GLCD
Zigbee
Reversal
R
N
Priority
Inheritance
U
A
R
T
IEEE
802.15.4
Software :
Keil
RTOS
MPLAB
HI-Tech Compiler
Orcad
Flash Magic
Power
calculating
E
sensors
MOTOR Temperature
UNITL
Sensor
Advantages:
Power supply
Intruder
detection sensor
Y Applications:
Display Unit
FIRE SENSOR
U
A
R
T
PIC
MICRO
CONTORLLER
IEEE 802.15.4
Buzzer
Device
C
Possibilities of collision
No layer architecture
No data acquisition node
No collision
Time Integrity
Fine transmission and clear display units
Data acquisition system
CHAPTER-3
CHAPTER-3
CHAPTER-3
CHAPTER
3
ARM PROCESSOR
Introduction:
The LPC2141/2/4/6/8 microcontrollers are based on a 32/16 bit ARM7TDMI-S
CPU with real-time emulation and embedded trace support, that combines the
microcontroller with embedded high speed flash memory ranging from 32 kB to
512 kB. A 128-bit wide memory interface and a unique accelerator architecture
enable 32-bit code execution at the maximum clock rate. For critical code size
applications, the alternative 16-bit Thumb mode reduces code by more than 30 %
with minimal performance penalty.
Features of LPC2148:
16/32-bit ARM7TDMI-S microcontroller in a tiny LQFP64 package.
60 MHz maximum CPU clock available from programmable on-chip PLL
with settling time of 100 s.
Typical frequency 12MHZ.
CPU operating voltage range of 3.0 V to 3.6 V (3.3 V 10 %) with 5 V
tolerant I/O pads.
The LPC2146/8 provide 8 kB of on-chip RAM accessible to USB by DMA.
ADC 3.3V and other functionalitys like SRAM having 4KB, Flash memory
having 512KB.
On-chip integrated oscillator operates with an external crystal in range from
1 MHz to 30 MHz and with an external oscillator up to 50 MHz.
Power saving modes include Idle and Power-down.
Peripheral features:
ARM7TDMI-S processor:
ARM7 is an load store architecture .The ARM7TDMI-S is a general purpose 32-bit
microprocessor, which offers high performance and very low power consumption.
The ARM architecture is based on Reduced Instruction Set Computer (RISC)
principles, and the instruction set and related decode mechanism are much simpler
than those of micro programmed Complex Instruction Set Computers.
Pipeline techniques are employed especially 3 stage pipeling so that all parts
of the processing and memory systems can operate continuously. In 3 stage
pipeline the process includes fetch,decode,execute in same clock cycle for 3 tasks.
Typically, while one instruction is being executed, its successor is being decoded,
and a third instruction is being fetched from memory.
The ARM7TDMI-S processor also employs a unique architectural strategy
known as THUMB, which makes it ideally suited to high-volume applications with
memory restrictions, or applications where code density is an issue. The key idea
behind THUMB is that of a super-reduced instruction set. Essentially, the
ARM7TDMI-S processor has two instruction sets:
The standard 32-bit ARM instruction set.
A 16-bit THUMB instruction set.
In load store there are 7 modes of working .i.e User mode, IRQ mode, FIQ
mode ,Supervisory mode,Abort mode,Undefined mode,System mode.
LPC2148 Microcontroller :
In LPC2148 having 64 pins divided into 2 ports i.e port0 and port1.each port
having 32 pins .In port 1 here we are using p1.0-p1.15 as debugging purpose.every
Registers of PLL:
PLLCON:This register are used to control the PLL i.e to enable or connect .
7
PLL0CEF:
It is a 8 bit register used to configure the desired frequency. this is done
by selecting multiplier and divider.
7
For example:
PLL0STAT:
It is a 16 bit register.This register provides the actual values controlling
the PLL, as well as the status of the PLL i.e plock.
PLL0FEED:
It is a 8 bit register. PLL Feed Register. This register enables loading of
the PLL control and configuration information from the PLLCON and
PLLCFG registers into the shadow registers that actually affect PLL
operation. In order to update the values we have to toggle all the 8 bits
of PLL. which are internal latches.
IOCLR:GPIO Port Output Clear register. This register controls the state of
output pins. Writing ones produces lows at the corresponding port pins
and clears the corresponding bits in the IOSET register. Writing zeroes
has no effect.
Port 0 IOCLR0
Port 1IOCLR1
IOPIN:This is 32 bit register. The current state of the GPIO configured port pins
can always be read from this register, regardless of pin direction. where
as the GPIO registers are writable registers, this register contain the of
status all the port pins irrespective of their direction.
Port 0 IOPIN0
Port 1 IOPIN1
Universal asynchronous receiver and transmitter (UART1):Features of UART1: UART1 is identical to UART0, with the addition of a modem interface.
16 byte Receive and Transmit FIFOs.
Register locations conform to 550 industry standard.
Receiver FIFO trigger points at 1, 4, 8, and 14 bytes.
Built-in fractional baud rate generator with autobauding capabilities.
Mechanism that enables software and hardware flow control
implementation.
Standard modem interface signals included with flow control (autoCTS/RTS) fully
supported in hardware (LPC2144/6/8 only).
Registers of UART:U0THR:Its a 8 bit register with holds the transmitting value. The
U0THR is the top byte of the UART0 TX FIFO. The top byte is the
newest character in the TX FIFO and can be written via the bus
interface. The LSB represents the first bit to transmit.
UORBR:Its a 8 bit register with holds the receivinging data value.
U0CFG:UART0 is a configure register. Which is used configure
UART frame this is 8 bit register which is represented as follows.
7
DLAB BI
0
0
1
1
Data length
1
1
1
0
0
1
0
0
U0THR, U0RBR are enable when DLAB bit are 0. U0THR, U0RBR
are enable when DLAB bit are 1.
Baud rate calculation:In order to store the baud rate we have two registers U0DLM U0DLL
which are enable only when DLAB bit in U0FG is 1.DLAB is 0 these
register are disable. We can say it as UART baud rate is large.
Here make DLAB bit as 1and than configure UART baud rate
after configure UART we have lock UART after with respective baud
rate. Than we have to rx & tx with we do as DLAB bit as 0.
FE
PE
OE
0
RDR
The total data will RX in Rx side than RDR bit will be 1 or other
wise 0.
If any overlapping error occur in send data than OE bit will be 1
other wise 0.
In Parity checking error it will be 1 mean error in the frame
otherwise 0.
In frame error it will be 1 mean error are occurred in the frame
otherwise 0.
If any break occurred in sending data from source to destination
than BI bit will be 1 other wise 0.
Data will be transmits by using FIFO if any over lapping are
occurred than Rx FIFO bit will be 1 other wise 0.
CHAPTER-4
Simulate your code and then PGM the Kit for increased flash life.
Turn OFF all the slide switches when you start JTAG debugging.
Select Power for 7Seg, GLCD, LCD and Stepper Motor, Relays.
DONT:
Do not connect Power on any other sockets except the Power Jack.
Do Not connect external reference voltage for On-Chip ADC
Do not connect both USB and EXT Power supplies simultaneously.
Do not loose shunt the power jack (if you use your own supply)
Do not touch the oscillator pins even if the Kit is Powered OFF.
Do not directly touch any tracks or IC pins.
Do not press the RST button while Programming.
Do not ERASE the Read Protect Data using Flash Magic.
Do not Power OFF the Kit while the controller is being programmed.
Do not Program the controller if there is a Device ID conflict!
Use only 3V (~3.3V) Battery for RTC Power.
Do not connect analog signals greater than 3.3V to ADC Pins
Do not interface circuits consuming current greater than 1A.
Do not dispose or Litter electronic goods. (WEEE)
button.
Follow the user manual for other configurations corresponding to your
experiment.
Working with Keil Vision3 ARM:
Steps involved in Creating and Executing a Project:
Click the icon
Build and Re-Build your Project for Errors by right clicking Target Build Target
Steps
involved
in
Programming
ARM
Controller
using
Flash
Magic
Software:
A UCOS-II is a module that allows you to interface with character module. This software
package works with just about any character module based on the GDM12864B GLCD
Controller & Driver. The module allows you to:
A C/LCD assumes the presence of an RTOS to make the code thread safe. Which means that you
can invoke C/LCD functions from multiple tasks in a multitasking environments. A C/LCD only
requires semaphore services or its equivalent event.
This RTOS interface functions have been encapsulated in a file called LCD_OS.C
Here Microcontroller Design requires many tools that allow its students to fully experience the
possibilities of designing projects using Microcontroller. Main idea of this project is select a low
cost graphical LCD and design a driver that would allow such experiments and demonstrations to
be designed around. Most of the experiments used for ECE 476, a 16x2 Crystalfontz
Alphanumeric LCD is used as the major user output and represents the user interfaces. The
Alphanumeric LCDs display characters in predesignated blocks and the LCD screen and this
limits their use to simple number and character displays and crude images drawn from numbers
or characters.
example: a bouncing ball using the character o or other such graphical techniques using text.
Now this is suitable for many applications there are some which would benefit greatly from an
easy to use GLCD. In Most graphical LCDs are not supported by standard C libraries as are
simple alphanumeric displays so it becomes much more time consuming to use them in project.
Which can be especially prohibitive during regular laboratory experiments because they are often
designed to prove a specific Instructive idea and generating a driver for a graphical LCD cannot
be done during the allotted times. This paper and project outline the design of a graphical LCD
driver for the Crystalfontz CFAG12864B series 128 x 64 pixels graphical display which can be
easily modified to drive any Samsung KS0108 based graphical LCD.
4. Reset
System can be initialized by setting RSTB terminal at low level when turning power on
receiving
instruction from MPU unit, When RSTB becomes low following procedure occurs.
1. The Display off.
Interface Functions:
The C/LCD assumes the presence of a real-time kernel such as C/OS-II
because it requires a semaphore and time delay service. Display module makes use of a
binary semaphore to prevent multiple tasks from accessing the display at the same time
event. By the use of the semaphore is encapsulated in an OS specific file so you can
actually use C/LCD with the RTOS of your requirement.
Below shows a block diagram of the LCD module. Your application knows about the
display only through the interface functions provided.
1)DispChar(): This function allows you to display a single character anywhere on the display.
Function Prototype: void DispChar(INT8U row, INT8U col, INT8U c);
row and col specifies the coordinates (row, col) where the character will appear. rows (i.e., lines)
are numbered from 0 to DispMaxRows 1, and columns are numbered from 0 to DispMaxCols
1.
2)DispClrLine():this function allows your application to clear one of the LCD module's lines. The line
is basically filled with the ASCII character i.e. 0x20. Here Arguments
line is the line (i.e., row) to clear. Note that lines are numbered from 0 to DispMaxRows.
3)DispClrScr(): this function allows you to clear the screen. The cursor is positioned on the top
leftmost character.
4)DispDefChar(): This function allows you to define up to eight custom 5x8 pixel characters or
symbols, fonts which is one of the most powerful features of the LCD modules because it allows you
to create graphics such as icons, bar graphs, arrows, etc,.
void DispDefChar(INT8U id, INT8U *pat)
You need to do to define a new character or symbol is to declare an initialized array of INT8Us
containing eight entries and call DispDefChar()
5)DispHorBar() : This function is used to display horizontal bars anywhere on the screen.
void DispHorBar(INT8U row, INT8U col, INT8U val);
We can use C/LCD to create remarkably high quality bargraphs. The linear bargraph is an excellent
trend indicator and can greatly enhance operator also depending on the size of the module, many
bargraphs can be simultaneously displayed on LCD. C/LCD allows you to display bar graphs of any
6)DispInit(): This function is used to initializes the hardware, creates a semaphore, and sets the
operating mode of the LCD module.
The initialization code for the module and must be invoked before any of the other functions.
DispInit() assumes the presense of a real-time kernel such as C/OS-II since it uses services provided
by the kernel structure.
7)DispStr(): This function allows you to display ASCII strings anywhere on the displays. we can
easily display either integer or floating-point numbers using the standard library functions itoa(),
ltoa(), sprintf(), etc Of course, we should ensure that these functions are reentrant if you are using
them in a multitasking.
WORK FLOW:
To the high end devices, at times devices may malfunction or totally fail due to long
duration of usage or any technical problem which give fatal results. Embedded technology is
necessary for continuously collecting values from onsite and later analyzing that as well as
taking proper measures to solve the problems. Now a day systems that are in use are non real
time operating systems based on mono-task mechanism that hardly satisfies the current
specifications.
The key characteristic of an operating system (OS) is its ability to handle to multiple
tasks at a time on a time sharing basis commonly known as Multi-tasking, synchronizing and
responsible for managing the hardware resources of a computer and hosting applications that
execute on the RTOS kernel structure. Real-time operating system is a specialized type of
operating system where execution of tasks has to be done precisely without exceeding the
deadlines and is intended to use for Real-time events.
We will focus on porting of C/OS-II in ARM7 controller that performs multitasking and
time scheduling process. Here C/OS II features and its porting to ARM7 are implemented. Then
it provides an overview for design of embedded system using C/OS II and with respect to the
response of the applications, various features can be implemented.
The C/OS II (pronounced "Micro C O S 2" ) stands for Microcontroller Operating
System Version 2 and can be termed as C/OS-II or uC/OS-II ), this is a very small real-time
kernel with memory footprint is about 20KB for a fully functional kernel and source code is
about 500 lines and is mostly in ANSI C language. The source is open but not free for
commercial use. C/OS-II is upward compatible with C/OS V1.11 but provides many
improvements such as the addition of a fixed sized memory manager task deletion task switch,
Task Control Block(TCB) extensions support.
IMPLEMENTATION
The implementation of this concept consists of both Hardware and Software Approach.
1)Hardware Approach:
In the proposed system comprises a Master node controlled by the LPC2148
microcontroller which is having an ARM7TDMI based processor. COSII RTOS is ported into
this microcontroller and control commands can be given from this section. Environment Real
time temperature value, voltage levels at sensor node and intrusions which are relayed wirelessly
from sensor node are, also displayed on a Graphical LCD.
Also the master node is equipped with a touch screen module which acts as the input
device for user input. Selection between various parameters such as display of temperature,
voltage, switching ON/OFF of motor on sensor node can be done using this touch screen. This
master node communicates with
sensor node using Xbee modules which provide a serial wireless communication protocol. These
Xbee module is connected to UART of the LPC2148 and thus, data is relayed to and from the
microcontroller serially.
2)Software Approach:
In any application C/OS-II is started as shown in the below figure .Initially the hardware
and software are initialized. The hardware is the ARM core and software is the C/OS-II. The
resources are allocated for the tasks defined in the application.
Then the scheduler is started and it alligns tasks in pre-emptive manner. All these are
carried out using specified Functions defined in C/OS-II.
As shown in the figure.
Initialization of the task1 and task2 is been done. Although supports for total 64 tasks all
of them are not used at a time in application therefore with respect to demand the task must be
created.
C/OS-II can run with maximum number of tasks of 64. The figure shown below the application
has six threads.
Based On the required application the number of tasks may varies. For demonstrating a
sample experiment to understand the porting of COSII we can perform simple tasks like
Temperature sensor (ADC) Graphical LCD (degree to graphical Fahrenheit) UART (Serial
communication) LED toggle(8bit data flow control) Buzzer (alarm device).
ARM runs the Real time operating system to collect information from the external events.
RTOS is used to achieve real time data acquisitions. C/OS-II kernel is ported in ARM powered
microcontroller for the implementation of multitasking and time scheduling as shown in previous
sections.
These two tasks (temperature and touch input) will acquire the values from the inbuilt
ADC through channels 6 and channel 7.As soon as the values has been taken from ADC
semaphore will be acquired by the tasks 1 and 2.
The data to be sent to the hyper Terminal is to be converted firstly into the ASCII by Hex
to ASCII conversion at the intermediated stage.
When once it is sent data to the hyper terminal semaphores acquired by the tasks will be
released and in order to have the continuous check for all the above process the delay of 1 second
is taken and all the will be repeated always. In order to focus on the features of RTOS task 3 is
been reserved for the keypad application and similar to that the task 4 is been reserved with the
GLCD. When ever the task 3 is activated at the same time task5 will be triggered which will
simply implement the mutex by semaphore of previous task.
Now the next task5 will communicate to task 4 and Value receives through the task 3 it
simply display it on to the GLCD at the same time it is also checked that whether the pressed key
accordingly the current value related to it will be transferred to the hyper terminal serially.
WORKING PRINCIPLE:
Support is an ideal system for issues related to timing integrity, the extra traffic caused by
the inter layer interaction in large industries. In the existing prototype, we have noticed that,
bulks of messages are transmitted between nodes so there are chances of message collision in
transmission. In the proposed system we avoid this problem by optimizing the architecture and
enhancing the system resources by implementing Real Time Operating System which manages
the shared resources in real time environments, Besides the RTOS this system also provides
power efficiency.
This proposed system comprises a Master node controlled by a micro controller having
ARM7 processor. Ucos-II RTOS is ported into the micro controller and control commands can be
input from this section. Various sensors like temperature voltage fire and infrared are placed on
data acquisition node and Real time temperature values voltage levels at Data acquisition node
are wirelessly relayed and also displayed on GLCD at Master node which is works on touch
screen module. Master node communicates with data acquisition node using Zigbee
communication and sensors works on their basic principles individually like IR sensor alarms a
buzzer when any object is detected.
The prototype consist of two nodes one works with PIC and other with ARM7 TDMIS to
measure the sensor values of industrial machines all of these sensors are connected to PIC where
all of the analog values are converted to digital i,e the temperature and pot values. Which can
done by ADCON0 and ADCON1 with 10 bit resolution in burst conversion and keeps track of
the analog sensor values in burst mode. This conversion requires 2.44S of time to convert one
analog sample to 10bit digital data, further this configuration of ADC requires frequency which
must be less than or equal to 4.5M.Hz in order to sample effectively. Now the converted digital
values represent the conditions of the data acquisition section to monitor these values at the
ARM node we have to transmit these values serially through UART with 9600 baud rate at 8 bit
data transfer and 1 stop bit with no parity.
This is the functionality of the node one. In order to monitor the machine parameters we
have to receive the sensor values which are transmitted through PIC section here in order to
efficiently establish communication between two nodes ARM node is also configured with same
UART configuration just as PIC, i.e. with 9600 baud rate, 8 bit, 1 stop bit, and no parity, this is
done by configuring U0LCR register initially with DLAB=1, 8bit, 1stop bit, and no parity bits.
When this configuration we have to load the latch register values as U0DLL = [pclk/(16*baud
rate)]%256 and finally disable the DLAB bit.
The values which are received serially are stored in U0RBR register, now these have to
display on GLCD as graph that too depending on user input selection which is done on Touch
screen. This touch screen consists of four pins in them two pins are connected to ADC pins of
ARM which calibrates the touch position with change of resistance. So we would be fixing two
values with calculated X & Y position of the screen. So depending on the value the respective
sensor values can be displayed on the serene, this graph display is configured through page
selection and data driven to GLCD. This is the complete system configuration.
Now ARM node which works with RTOS has the following resources:
1) Touch resolution(ADC)
2) Serial data reception(UART)
3) Graph display (GPIO)
To get these resource functions we have to create a task in UCOS2, this is done as follows:
In Ucos2 kernal we can assign priorities for each of these tasks here the highest priority we can
give to touch screen, and lowest to GLCD.
CHAPTER-6
CHAPTER-6
SOFTWARE TOOLS
6.1 TYPES OF TOOLS:
KEIL C
Flash Magic
ORCAD
Capture
Layout
6.1.1 KEIL C:
Keil software is the leading vendor for 8/16-bit development tools (ranked at
first position in the 2004 embedded market study of the embedded system and EE
times magazine).
Keil software is represented world wide in more than 40 countries, since the
market introduction in 1988; the keil C51 compiler is the de facto industry standard
and supports more than 500 current 8051 device variants. Now, keil software offers
development tools for ARM.
Keil software makes C compilers, macro assemblers, real-time kernels,
debuggers, simulators, integrated environments, and evaluation boards for 8051,
251, ARM and XC16x/C16x/ST10 microcontroller families.
The Keil C51 C Compiler for the 8051 microcontroller is the most popular
8051 C compiler in the world. It provides more features than any other 8051 C
compiler available today.
The C51 Compiler allows you to write 8051 microcontroller applications in
C that, once compiled, have the efficiency and speed of assembly language.
Language extensions in the C51 Compiler give you full access to all resources of
the 8051.
The C51 Compiler translates C source files into relocatable object modules
which contain full symbolic information for debugging with the Vision Debugger
or an in-circuit emulator. In addition to the object file, the compiler generates a
listing file which may optionally include symbol table and cross reference
pdata
instruction
CHAPTER-7
CHAPTER-7
HARDWARE TOOLS
XStick
Point-to-point topology
point-to-multipoint topology
mesh networking
Low Power
RX Current: 45 mA (@3.3 V)
Easy-to-Use
RF communications
The XBee modules were designed to mount into a receptacle (socket) and
therefore do not require any soldering when mounting it to a board. The XBee-PRO
Development Kits contain RS- 232 and USB interface boards which use two 20-pin
receptacles to receive modules. Figure 4.7.2 XBeePRO Module Mounting to an RS
232 Interface Board.
LM 35
The LM35 series are precision integrated-circuit temperature
sensors, whose output voltage is linearly
packages, while the LM35C, LM35CA, and LM35D are also available in
the plastic TO-92 transistor package. The LM35D is also available in an
8-lead surface mount small outline package and a plastic TO-220
package.
Features
A touchscreen is a display that can detect the presence and location of a touch within the display area,
generally refers to touch or contact to the display of the device by a finger or hand. touchscreen is also an input
device. The screens are sensitive to pressure; a user interacts with the computer by touching pictures or words
on the screen,Touchscreens can also sense other passive objects, such as a stylus, The touchscreen has two
main attributes. First, it enables one to interact with what is displayed directly on the screen, where it is
displayed, rather than indirectly with amouse or touchpad. Secondly, it lets one do so without requiring any
intermediate device, again, such as a stylus that needs to be held in the hand. Such displays can be attached to
computers or, as terminals, to networks. They also play a prominent role in the design of digital appliances
such as the personal digital assistant (PDA),satellite navigation devices, mobile phones, and video games
Technologies
1.Resistive
A resistive touchscreen panel is composed of several layers, the most important of which are two thin, metallic,
electrically conductive layers separated by a narrow gap. When an object, such as a finger, presses down on a
point on the panel's outer surface the two metallic layers become connected at that point: the panel then
behaves as a pair of voltage dividers with connected outputs. This causes a change in the electrical current
which is registered as a touch event and sent to the controller for processing. In another way The resistive
system consists of a normal glass panel that is covered with a conductive and a resistive metallic layer. These
two layers are held apart by spacers, and a scratch-resistant layer is placed on top of the whole setup. An
electrical current runs through the two layers while the monitor is operational. When a user touches the screen,
the two layers make contact in that exact spot. The change in the electrical field is noted and the coordinates of
the point of contact are calculated by the computer. Once the coordinates are known, a special driver translates
the touch into something that the operating system can understand, much as a computer mouse driver translates
a mouse's movements into a click or a drag.
3.Capacitive
capacitive touchscreen panel consists of an insulator such as glass, coated with a transparent conductor such as
indium tin oxide (ITO).[2][3]As the human body is also a conductor, touching the surface of the screen results
in a distortion of the local electrostatic field, measurable as a change in capacitance. Different technologies
may be used to determine the location of the touch. The location can be passed to a computer running a
software application which will calculate how the user's touch relates to the computer software. And in
capacitive system, a layer that stores electrical charge is placed on the glass panel of the monitor. When a user
touches the monitor with his or her finger, some of the charge is transferred to the user, so the charge on the
capacitive layer decreases. This decrease is measured in circuits located at each corner of the monitor. The
computer calculates, from the relative differences in charge at each corner, exactly where the touch event took
place and then relays that information to the touch-screen driver software. One advantage that the capacitive
system has over the resistive system is that it transmits almost 90 percent of the light from the monitor,
whereas the resistive system only transmits about 75 percent. This gives the capacitive system a much clearer
picture than the resistive system
4.Surface capacitance
In this basic technology, only one side of the insulator is coated with a conductive layer. A small voltage is
applied to the layer, resulting in a uniform electrostatic field. When a conductor, such as a human finger,
touches the uncoated surface, a capacitor is dynamically formed. The sensor's controller can determine the
location of the touch indirectly from the change in the capacitance as measured from the four corners of the
panel. As it has no moving parts, it is moderately durable but has limited resolution, is prone to false signals
from parasitic capacitive coupling, and needs calibration during manufacture. It is therefore most often used in
simple applications such as industrial controls and kiosks.
5.Projected capacitance
Projected Capacitive Touch (PCT) technology is a capacitive technology which permits more accurate and
flexible operation, by etching the conductive layer. An XY array is formed either by etching a single layer to
form a grid pattern of electrodes, or by etching two separate, perpendicular layers of conductive material with
parallel lines or tracks to form the grid (comparable to the pixel grid found in many LCDdisplays).
Applying voltage to the array creates a grid of capacitors. Bringing a finger or conductive stylus close to the
surface of the sensor changes the local electrostatic field. The capacitance change at every individual point on
the grid can be measured to accurately determine the touch location.[5] The use of a grid permits a higher
resolution than resistive technology and also allows multi-touch operation. The greater resolution of PCT
allows operation without direct contact, such that the conducting layers can be coated with further protective
insulating layers, and operate even under screen protectors, or behind weather and vandal-proof glass.
PCT is used in a wide range of applications including point of sale systems, smartphones, and public
information kiosks. Visual Planet's ViP Interactive Foil is an example of a kiosk PCT product, where a gloved
hand can register a touch on a sensor surface through a glass window.[6]Examples of consumer devices using
projected capacitive touchscreens include Apple Inc.'s iPhone and iPod Touch, HTC's HD2, G1, and HTC
Hero, Motorola's Droid, Palm Inc.'s Palm Pre and Palm Pixi and more recently the LG KM900 Arena,
Microsoft's Zune HD, Sony Walkman X series, Sony Ericsson's Aino and now Vidalco's Edge, D1 and Jewel,
and the Nokia X6 phone.
6.Infrared
Conventional optical-touch systems use an array of infrared (IR) light-emitting diodes (LEDs) on two adjacent
bezel edges of a display, with photosensors placed on the two opposite bezel edges to analyze the system and
determine a touch event. The LED and photosensor pairs create a grid of light beams across the display. An
object (such as a finger or pen) that touches the screen interrupts the light beams, causing a measured decrease
in light at the corresponding photosensors. The measured photosensor outputs can be used to locate a touchpoint coordinate.
Widespread adoption of infrared touchscreens has been hampered by two factors: the relatively high cost of the
technology compared to competing touch technologies and the issue of performance in bright ambient light.
This latter problem is a result of background light increasing the noise floor at the optical sensor, sometimes to
such a degree that the touchscreens LED light cannot be detected at all, causing a temporary failure of the
touch screen. This is most pronounced in direct sunlight conditions where the sun has a very high energy
distribution in the infrared region.
However, certain features of infrared touch remain desirable and represent attributes of the ideal touchscreen,
including the option to eliminate the glass or plastic overlay that most other touch technologies require in front
of the display. In many cases, this overlay is coated with an electrically conducting transparent material such as
ITO, which reduces the optical quality of the display. This advantage of optical touchscreens is extremely
important for many device and display vendors since devices are often sold on the perceived quality of the user
display experience.
Another feature of infrared touch which has been long desired is the digital nature of the sensor output when
compared to many other touch systems that rely on analog-signal processing to determine a touch position.
These competing analog systems normally require continual re-calibration, have complex signal-processing
demands (which adds cost and power consumption), demonstrate reduced accuracy and precision compared to
a digital system, and have longer-term system-failure modes due to the operating environment.
7.Strain gauge
In a strain gauge configuration, also called force panel technology, the screen is spring-mounted on the four
corners and strain gauges are used to determine deflection when the screen is touched. This technology has
been around since the 1960s but new advances by Vissumo and F-Origin have made the solution commercially
viable. It can also measure the Z-axis and the force of a person's touch. Such screens are typically used in
exposed public systems such as ticket machines due to their resistance to vandalism.
8.Optical imaging
A relatively-modern development in touchscreen technology, two or more image sensors are placed around the
edges (mostly the corners) of the screen. Infrared backlights are placed in the camera's field of view on the
other sides of the screen. A touch shows up as a shadow and each pair of cameras can then be triangulated to
locate the touch or even measure the size of the touching object (see visual hull). This technology is growing in
popularity, due to its scalability, versatility, and affordability, especially for larger units.
[edit]Dispersive signal technology
Introduced in 2002 by 3M, this system uses sensors to detect the mechanical energy in the glass that occurs
due to a touch. Complex algorithms then interpret this information and provide the actual location of the touch.
[10] The technology claims to be unaffected by dust and other outside elements, including scratches. Since
there is no need for additional elements on screen, it also claims to provide excellent optical clarity. Also, since
mechanical vibrations are used to detect a touch event, any object can be used to generate these events,
including fingers and stylus. A downside is that after the initial touch the system cannot detect a motionless
finger.
exposure times. Instead of pinholes, an array of liquid crystals could work similarly but more effectively: The
LCD's panel is composed of patterns of 19-by-19 blocks, each divided into a regular pattern of differently
sized black-and-white rectangles. Each white area of the bi-colored pixels allows light to pass through.
Background software uses 4D light fields to calculate depth map, changes the scene, and collects gesture
information. The LCD alternates between mask pattern display and a normal scene display at a very high
frequency/rate.
CHAPTER-8
8. CONCLUSION
. The RTOS is to manage the allocation of these resources to users in an orderly and controlled
manner. This wireless sensor node is composed of a micro-processors, transceivers, displays and
analog to digital converters. Sensor nodes are deployed for industrial process monitoring and
control. The sensing parameters can be displayed as graph in Master node. The basic view of this
technique is to reduce the possibility of collision and to meet the critical requirement of timing
for data transmission of industrial applications