Está en la página 1de 28

Domain :Embedded Systems

Soujanya

The embedded system is a combination of computer hardware, software additional electrical & mechanical parts

Embedded System General Block Diagram


Sensor conditioning Output interfaces sensor sensor sensor

actuator

Microcontroller (uC)

indicator

HARDWARE COMPONENTS:
MICROCONTROLLER. FIRE SENSOR BUZZER POWER SUPPLY BC547 TRANSISTOR FAN

BLOCK DIAGRAM
POWER SUPPLY BC547 BUZZER

8051 Microcontroller

FIRE SENSOR

FAN

POWER SUPPLY

FIRE SENSOR

FAN CIRCUIT
Vcc AT89S52 P1.0

FAN

GROUND

BUZZER CIRCUIT
Vcc AT89S52 P1.0

BUZZER

GROUND

Transistor:
Transistor is used to amplify electronic signals. A transistor is a device which acts as a switch which is used to turn on/off fan. In this circuit, base terminal of the transistor is given to the P2^0 of the

Micro-controller:

Microcontroller:
A highly integrated chip that consists all the components comprising a controller. Typically, this includes a CPU, RAM, ROM, I/O ports and timers. The main task of a micro-controller is to control a particular system.

8051 Foot Print

P1.0 P1.1 P1.2 P1.3 P1.4 P1.5 P1.6 P1.7 RST (RXD)P3.0 (TXD)P3.1 (INT0)P3.2 (INT1)P3.3 (T0)P3.4 (T1)P3.5
(WR)P3.6 (RD)P3.7 XTAL2 XTAL1 GND

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

8051

40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21

Vcc P0.0(AD0 ) P0.1(AD1) P0.2(AD2 ) P0.3(AD3) P0.4(AD4) P0.5(AD5) P0.6(AD6) P0.7(AD7) EA/VPP ALE/PROG PSEN P2.7(A15) P2.6(A14 ) P2.5(A13 ) P2.4(A12 ) P2.3(A11 ) P2.2(A10) P2.1(A9) P2.0(A8)

15

LCD Display:
LCD Liquid Crystal Display Lower power than LED display More flexible in size and shape Slower response time

Pin No. 1 2 3 4

Name VSS VCC VEE RS

Description Power supply (GND) Power supply (+5V) Contrast adjust 0=Instruction input 1 = Data input 0=Write to LCD module 1 = Read from LCD module Enable signal Data bus line 0 (LSB) Data bus line 1

5 6 7 8

R/W EN D0 D1

9
10 11 12 13 14 15 16

D2
D3 D4 D5 D6 D7 LED+ LED-

Data bus line 2


Data bus line 3 Data bus line 4 Data bus line 5 Data bus line 6 Data bus line 7 (MSB) Back Light VCC Back Light GND

LCD commands:
0x01 clear LCD data screen 0x02 return to home 0x04 decrement cursor (shift left) 0x06 increment cursor (shift right) 0x05 shift display right 0x07 shift display left 0x08 display off, cursor off 0x0A display off, cursor on 0x0C display on, cursor off 0x0E display on, cursor blinking 0x0F - display on, cursor blinking

0x10 shift cursor left 0x14 shift cursor right 0x0F - display on, cursor blinking 0x10 shift cursor left 0x14 shift cursor right 0x18 shift the entire display to left 0x1C shift the entire display to right 0x80 force cursor to beginning of the first line 0xC0 force cursor to beginning of the second line

LCD INTERFACING:

FLOW CHART
start Fire=1 Buzzer=0 & fan=0 Displays No fire Fan, buzzer off

if(fire==0)
YES

NO

Fire=0 Buzzer=1 & fan=1 Displays fire detected Fan, buzzer ON

stop

As soon as the fire sensor detects the fire,Air blower starts blows the air with an alarm Here alarm and air blower works on the conditions we had mentioned in the program.
Fire senor

Advantages: Night time Fire Safety Alerts Many lifes are saved

Future scope
Many cases are there where there is the loss of lifes, valuable information and properties due to fire accidents, But with our project we can stop them..

Conclusion
death or serious injury and loss of property can be avoided in households where alarms are used.

Thank you

También podría gustarte