0% found this document useful (0 votes)
29 views14 pages

Embedded Project: Usman Abdur Rehman 03 Hafiz Muhammad Tayyab63

This document describes a fire extinguisher robot project that uses a temperature sensor to detect fire temperatures and activate a motor. When the temperature rises above a certain limit, the motor turns on to activate the fire extinguisher. The project uses a PIC microcontroller, temperature sensor, motor, LCD, batteries and other components. It explains the working principles, simulation, components, interfacing, and programming steps involved.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views14 pages

Embedded Project: Usman Abdur Rehman 03 Hafiz Muhammad Tayyab63

This document describes a fire extinguisher robot project that uses a temperature sensor to detect fire temperatures and activate a motor. When the temperature rises above a certain limit, the motor turns on to activate the fire extinguisher. The project uses a PIC microcontroller, temperature sensor, motor, LCD, batteries and other components. It explains the working principles, simulation, components, interfacing, and programming steps involved.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14

Usman Abdur Rehman 03

Hafiz Muhammad Tayyab63

Embedded Project
Fire Extinguisher Robot
Introduction:

In this project, a microcontroller-based


temperature system use, the Temperature
sensor takes the analog input i.e.
temperature and show it on screen, and when
temperature rises over a certain limit i.e fire
temperature, the motor become on. This all
also shown on LCD.
Simulation

The IDE used for this project is MP LAB and


the simulation software in this case is
Proteus.
Components Required

PIC 16F877A
5V,12V batteries
Relay
Transistor
Motor
LCD
LM35
Working Princliple

The principal used for this project is Analog to


Digital Conversion. LM35 after sensing a
particular temperature, produces required
voltage which is converted from analog to
digital, which is then converted into
temperature and is shown on the LCD.
Project Diagram
LM35

For every 1C,LM35 gives an output of 10 mV.


The Digital Value is calculated by the formula
Digital Value=Value in ADRES*5/2^n
The corresponding temperature is found out
by the formula
Temp=Digital Value*100
LCD interfacing:

As we done programming in c instead of


assembly and use the built in functions, so
the built in 4 bit LCD is used as shown in
figure below;
Motor Interfacing:

As we dont need the direction of motor, so


we interface motor with controller by using
transistor and relay.
ADC Registers

The ADC used in this case is the built in ADC


installed in PIC.The four registers used for
ADC in PIC are:
ADCON0 ADC Control Register 0
ADCON1 ADC Control Register 1
ADRESH ADC Result High Register
ADRESL ADC Result Low Register
Steps of ADC

Steps for ADC:


Initialize the ADC Module
Select the analog channel
Start ADC by making Go/Done bit high
Wait for the Go/DONE bit to get low
Get the ADC result from ADRESH and
ADRESL register
Working:

The operating condition for motor is above


42C,which operates through a transistor and
a relay. Once the condition is achieved,5V on
the pin RB4 shorts the collector and emitter
of the transistor providing the relay with
ground and hence the relay operates, moving
the contact and giving ground to the motor
due to which it starts rotating.

You might also like