You are on page 1of 17

FINAL YEAR PROJECT 1

(EE358)
TITLE :
CAR HEADLAMP FAULTY SENSOR
SUPERVISOR :
EN. MUHAMMAD RAJAEI BIN DZULKIFLI
PRESENTOR :
MOHD FARID BIN OTHMAN
MOHD KHAIRUL AZIZI BIN KAMARUZAMAN

INTRODUCTION
Most

of the accidents happen during night


time or in dark places

Accidents are mostly caused by faulty


headlamp.

Hard

for driver to detect the faulty headlamp


while driving

To

build faulty car headlamp sensor that can


detect the broken lamp of cars

OBJECTIVES
To

developed a car headlamp faulty


sensor circuit.

To

test the functionality of car


headlamp faulty sensor circuit.

SCOPE OF WORKS
Use

sensor to detect current flow


through bulb

We

try to use PIC16F876A (28 pin)

It

can be programmed at the input to


get the desired output ( using MPLAB )

It

use digital output 0 and 1

Project Contribution
Warn

the user when the headlamp is


broken

Reduce

the car accidents

Improve car safety specification

METHODOLOGY

A battery with 12V is supplied to the circuit. Then, the


user turn on the cars headlamp. When the lamp is on,
the sensor will detect whether there is current flow
through the bulb or not. When there is no current flow,
the sensor will light up the LED, LCD and turn on the
buzzer to warn the user that there are faultage at their
bulb of the car headlamp.

Equipments,Components

and Software

Programmable integrated circuit ( PIC16F876A )

Bulb

Resistor

Capacitor

Power supply ( 12V battery )

LCD display ( JHD162A )

LED

Buzzer

Flow Chart
STAR
T
Input
0 or 1
If input
=1
YES

LCD
Display
Headlamp
Okay

LCD
Display
Headlamp
Broken

NO

Buzzer
ON

LED ON
End

Block

Diagram

Headlamp

LCD

PIC16F876A

Buzzer
LED

Proteus Software

Built in with analog to digital


converter

Convert using comparator circuit

Compare input voltage to get


desired output

Operate at rate
voltage 0.3V ~ 7V

3 ports ( A,B,C )

LCD

TYPE JHD162A

This LCD can give output of 2x16


characters

Need to connect 8 pins ( 1 port )to


the PIC

Suitable Vcc

MPLAB

We use MPLAB to
program PIC16F876A.

Adapter to connect PIC


and PC.

Expected Result
The

car headlamp faulty sensor circuit will


be developed according to the proposed
methodology.

Functionality

of the car headlamp faulty


sensor circuit will be tested according to the
real situation.

GANTT CHART

You might also like