Professional Documents
Culture Documents
1.1 Introduction:-
Embedded system is a combination of Hardware and Software Design
to meet a specific need with performance in given time frame.
Hardware
4. Robotic: Fire fighting robots, Automatic floor cleaner, robotic arm etc.
2.1 Introduction
Microcontrollers are small controllers. They are like single chip computers that are
often embedded into other systems to function as processing/controlling unit.
The key features of microcontrollers include:
1. High Integration of Functionality
2. Microcontrollers sometimes are called single-chip computers because they have
on-chip memory and I/O circuitry and other circuitries that enable them to
function as small standalone computers without other supporting circuitry.
3. Field Programmability, Flexibility
4. Microcontrollers often use EEPROM or EPROM as their storage device to allow
field programmability so they are flexible to use. Once the program is tested to
be correct then large quantities of microcontrollers can be programmed to be
used in embedded systems.
5. Easy to Use
Liquid Crystal Display:
A liquid crystal display (LCD) is a thin, flat panel used for electronically displaying
information such as text, images, and moving pictures. Its uses include monitors for
computers, televisions, instrument panels, and other devices ranging from aircraft
cockpit displays, to every-day consumer devices such as video players, gaming
devices, clocks, watches, calculators, and telephones. Among its major features are its
lightweight construction, its portability, and its ability to be produced in much larger
screen sizes than are practical for the construction of cathode ray tube (CRT) display
technology. Its low electrical power consumption enables it to be used in battery-
powered electronic equipment. It is an electronically-modulated optical device made
up of any number of pixels filled with liquid crystals and arrayed in front of a light
source (backlight) or reflector to produce images in color or monochrome.
4. LCD INTERFACING
LCD stands for Liquid Crystal Display. The most commonly used LCDs found in the
market today are 1 Line, 2 Line or 4 Line LCDs which have only 1 controller and
support at most of 80 characters
0SOFTWARE
EMBEDDED C PROGRAMMING
Now comes the programming .The entire hardware is nothing if it is not interfaced
with the software .The hardware cannot function in the absence of the software.
In this case we provide the software in the form of EMBEDDED C
PROGRAMMING.
This entire program is fed in the memory of the microcontroller.
The code for which the access is allowed is also fed through this c language program
.This is the way by which the hardware functions.
TROUBLE SHOOTING
1. HARDWARE SECTION
Component mounting
Hard ware testing
2. SOFTWARE SECTION
1 Software testing
2 Main software implementation
HARDWARE SECTION:-
Component mounting:
During mounting make sure that the soldering iron you are using is of correct rating,
such that it is at suitable temperature so that your PCB can bear without harming the
tracks.
Make sure that components are properly mounted in the whole and completely
covered by solder joint.
Hardware testing:
In without power supply as the name suggests you don’t have to provide the external
power input.
It is just meant testing the desired/undesired tracks or connections.
It is most basic step in the project. Must be done very carefully.
SOFTWARE SECTION:
Software testing:
There are various modules in the circuit, e.g. IR-MODULE, H-BRDGE, LEDS etc.
Check proper functioning of each and every component through small tiny programs.
Once this step is done, then final program is implemented and corrected for proper
functioning.
Description of the project:
Flow Chart:
FEATURES:-
Why I chose:-
Project methodology:
List of Components:
Coding
C language code
#include<reg51.h>
sbit sensorlow=P1^7;
sbit sensormid=P1^4;
sbit sensorhi=P1^1;
sbit buz=P3^5;
sbit relay=P2^0;
sbit ledlow=P2^2;
sbit ledmid=P2^3;
sbit ledhi=P2^4;
void main()
{
int i,j,flag=0,k;
P1=0xFF;
P2=0x00;
P3=0x00;
relay=1;
while(1)
{
flag=1;
}
else if((sensorhi==1)&(sensormid==0)&(sensorlow==0)) // water between
high and mid pt. mid led will glow
{
relay=1;
ledlow=0;
ledmid=1;
ledhi=0;
flag=0;
}
}
else if((sensormid==1)&(sensorlow==1)&(sensorhi==1)) // water filling
condition all led will glow
{
relay=0;
ledlow=1;
ledmid=1;
ledhi=1;
for(i=0;i<30;i++)
for(j=0;j<1275;j++);
ledlow=0;
ledmid=0;
ledhi=0;
for(i=0;i<30;i++)
for(j=0;j<1275;j++);
flag=0;
}
}
BIBLIOGRAPHY
BOOKS:
1 Mazidi and mazidi
2 Ayala
3 Sanjeev Gupta
WEB RESOURCES:
www.8051projects.com
www.rickeysworld.com
www.electronics4u.com
www.efy.com
www.projectsguide.com