Final Project

Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

Mini Project Report

GOVERNMENT COLLEGE OF ENGINEERING,


JALGAON
2022-23

A Project Report on
"FUEL MEASURING DEVICE BY USING IOT BOARDS"
In Partial Fulfilment of Requirement For The Award of

B.Tech in Electrical Engineering

-: SUBMITTED BY :-
Nitin B. Bardiya, PRN no. (2232203)
Jayesh S. Chhabile, PRN no. (2232204)
Ashutosh S. Tayde, PRN no. (2232223)

Under the guidance of


Prof. Manjusha R. Bachawad
(Department of Electrical Engineering)

Electrical Engineering B. Tech 4th sem 1


Mini Project Report

GOVERNMENT COLLEGE OF ENGINEERING,


JALGAON
(An Autonomous Institute of Government of Maharashtra)

This is to certify that work entitled


"FUEL MEASURING DEVICE BY USING IOT BOARDS"

During academic session 2022-2023

-: SUBMMITED BY :-
Mr. Nitin B. Bardiya, PRN no. (2232203)
Mr. Jayesh S. Chhabile, PRN no. (2232204)
Mr. Ashutosh S. Tayde, PRN no. (2232223)

Prof. S. DHAMSE Dr. G. M. MALWATKAR


HEAD OF DEPARTMENT PRINCIPLE OF GCOEJ

Prof. MANJUSHA R. BACHAWAD


PROJECT GUIDE

Electrical Engineering B. Tech 4th sem 2


Mini Project Report

Acknowledgement :-
Our deepest thanks to our faculty mentor prof. Manjusha Bachawad Mam the
guide of the project for guiding and correcting various documents of our project
with attention and care. She has also taken efforts to go through the project and
make necessary correction when needed.

Abstract :-
Electrical Engineering without machine and wiring is meaningless .The new
developments and requirements inspired us to think of new improvements in air
conditioning Engineering.
In the recent times we are constantly learning about petrol bunk frauds. Most of
the bunks today have manipulated the pumps such that it displays the amount as
entered but the quantity of fuel filled in the customers fuel tank is much lesser.
This results in huge profits for the petrol bunks but at the some times customers
are got cheated. In this project we focus on creating a digital display of the exact
amount of fuel contained in the vehicles fuel tank and also helps in cross checking
the amount of fuel filled at the petrol bunk.

Electrical Engineering B. Tech 4th sem 3


Mini Project Report

Content page

Sr. No Title Page No.

1 Introduction 5

2 Components of project 6–8

3 Scope of the project and Working 9

4 Block diagram 10

5 CKT Diagram 11

6 Sensor Mounting 12

7 Arduino program 13 – 14

8 Estimate of Project 15

9 Advantages ,Application & Conclusion 16

Electrical Engineering B. Tech 4th sem 4


Mini Project Report

Introduction :-
Fuel quantity is one of the undetermined factors in two wheelers. As far as now
fuel level in two wheelers are indicated through analog gauge. Analog gauge
cannot provide accurate value of the fuel in the tank.
Normally finding fuel station in a highway is difficult. During such cases without
knowing the fuel level it will be difficult for the driver to travel with an
assumption about the fuel present inside the tank. Another drawback is that there
are possibilities for petrol theft in the petrol bunks which is highly difficult to
measure without proper instruments. There is a model proposed to find out the
amount of petrol injected into the tank by using digital ultrasonic distance sensors
and digital display and it will also helps to measuring the fuels which is poured
into tank by the user itself.
The device has to be cost efficient without compromising on the accuracy of
measurement of the fuel into the tank.

Electrical Engineering B. Tech 4th sem 5


Mini Project Report

Components Of Our Project :-


In this project we are going to make a fuel measuring device which is use for the
measuring a fuel by using a ultrasonic distance sensor for this project the
Required components are as follow with their some basic information.

1. Arduino UNO Board :-


Arduino UNO is a low-cost, flexible, and easy-to-use programmable open-
source microcontroller board that can be integrated into a variety of electronic
projects. This board can be interfaced with other Arduino boards, Arduino
shields, Raspberry Pi boards and can control relays, LEDs, servos, and motors
as an output. Arduino UNO has 20 input/output pins. Among these 20 pins,
we have 14 digital pins. The remaining 6 pins are analog pins. It also has 6
PWM pins which are used for Pulse Width Modulation.

Electrical Engineering B. Tech 4th sem 6


Mini Project Report

2. Ultrasonic Distance Sensor (HC-SR04) :-


This is the HC-SR04 ultrasonic distance sensor. This economical sensor
provides 2cm to 400cm of non-contact measurement functionality with a
ranging accuracy that can reach up to 3mm. Each HC-SR04 module includes
an ultrasonic transmitter, a receiver and a control circuit.
There are only four pins that you need to worry about on the HCSR04: VCC
(Power), Trig (Trigger), Echo (Receive), and GND (Ground). You will find
this sensor very easy to set up and use for your next range-finding project.
Features of Ultrasonic Distance Sensor (HC-SR04)
Operating Voltage :- 5V DC
Operating Current :- 15mA
Measure Angle :- 15.
Ranging Distance :- 2cm - 4m

Electrical Engineering B. Tech 4th sem 7


Mini Project Report

3. LCD :-
LCD (Liquid Crystal Display) is a type of flat panel display which uses liquid
crystals in its primary form of operation LEDs have a large and varying set of
use cases for consumer and business, as they can be commonly found in
smartphone, television, computer monitors and on the display boards.

4. Jumper Wires :-
A jump wire also known as jumper, jumper wire, jumper cable, DuPont wire
or cable is an electrical wire, or group of them in a cable, with a connector or
pin at each end or sometimes without them , which is normally used to
interconnect the components of a breadboard or other prototype or test.

Electrical Engineering B. Tech 4th sem 8


Mini Project Report

Scope Of the Project :-


The use of analog usage of a system that is fitted to most of the vehicles today do
not give an accurate information about the feature such as to know exact amount
of fuel left, so we are doing the study on this project because the user will be
convenient to know about the accuracy of fuel which going to be poured into their
fuel tank . if the person goes to the petrol station for refilling the fuel tank of his
vehicle so if he demands at that refilling machine as to poured l Liter of fuel as
the petrol in his vehicle so the machine will calibrate the 2 Liter of petrol and will
poured into the vehicle fuel tank. But sometimes at some petrol station cheats
with the people they don't got the accurate requirement of fuel so for preventing
this we are going to introduces a fuel measuring device is going to be used to
calculate the accurate reading by using the ultrasonic distance sensor. It will show
only that reading of fuel in liter on the LCD Display which will be present at that
particular time in that fuel tank.
This fuel measuring device will also helpful to the driver of vehicle in case if they
want to know the fuel level of their fuel tank if they want to do the analysis so
this fuel measuring device will also help at that time for knowing the accurate
level of fuel in the fuel tank of their vehicles.

Working And Processes :-


As we can see, there are a pair of ultrasonic sensors in the module. One sensor
sends the ultrasonic frequency or the wave towards the fuel surface. The waves
collide with the fuel surface and reflect back towards the module. The reflected
ultrasonic waves are captured by the second sensor unit, and sent to the Arduino.
The Arduino compares the reflected ultrasonic time with the reference time of the
tank "full height" and creates an estimation of the instantaneous height or the level
of the fuel.
The information is then encoded and forwarded it to the Arduino the Arduino
finally processes the code and gives the Output.

Electrical Engineering B. Tech 4th sem 9


Mini Project Report

Block Diagram :-

Simulink Model :-

Electrical Engineering B. Tech 4th sem 10


Mini Project Report

Circuit Diagram :-

Electrical Engineering B. Tech 4th sem 11


Mini Project Report

Mounting of The Sensor On Fuel Tank :-


Once assembled, the ultrasonic sensor will need to be installed on the fuel tank in
the following manner.
The ultrasonic sensor will need to be installed by inserting the sensing heads
through perfectly dimensioned holes, and sealed with appropriate sealing agent.
We can see the tank is specified with two measures, one is the full height, and the
other is the maximum or the optimal fuel height inside the tank.
You will have to note these two measures as these will be required to be entered
in the program code for the Arduino UNO.

Electrical Engineering B. Tech 4th sem 12


Mini Project Report

ARDUINO PROGRAM :-
#include <LiquidCrystal.h>

const int rs = 2; //2


const int en = 3; //3
const int d4 = 4; //4
const int d5 = 5; //5
const int d6 = 6; //6
const int d7 = 7; //7

//#define rs 2
LiquidCrystal lcd(rs,en,d4,d5,d6,d7) ;

const int trigPinl = 9; // Triger pin of the HC-SR04 4 -


const int echoPinl = 8; // Echo pin of the HC-SR04 5 -
const int relayl = 6;
const int ledl = 13;
/* Sensor's declarations */
long durationl;
float distancel;
float readDistancel () {
digitalWrite (trigPinl, HIGH);
delayMicroseconds (10);
digitalWrite (trigPinl, LOW); durationl =
(pulseIn (echoPinl, HIGH)); distancel =
float (durationl/ 29.1 /2);
return distancel;
}
void setup() {
// put your setup code here, to run once:
Serial.begin (9600) ;

/* Assign the PINS as INPUT/OUTPUT */


pinMode (trigPinl, OUTPUT); // Sets the trigPinl as an Output ;
pinMode (echoPinl, INPUT); // Sets the trigPinl as an Input ;
lcd.begin (16,2);
Serial.println ("LCD Working.");
lcd.clear ();
lcd.setCursor (0,0);
lcd.print ("#The Boys ");
lcd.setCursor (0,1);
lcd.print ("Fuel Meter");
delay (3000);
lcd.setCursor (0,2);
lcd.print ("using Arduino");
delay (3000); //
pinMode (relayl, OUTPUT);

Electrical Engineering B. Tech 4th sem 13


Mini Project Report

pinMode (ledl, OUTPUT);


}
void loop()
{
// put your main code here, to run repeatedly://
digitalWrite (ledl, LOW);
/* call the function readDlstanc() */
distancel = readDistancel ();
Serial.print ("Distance : ");
Serial.print (distancel);
Serial.println(" ") ;

float amtltr = 5000 - (distancel * 205);

lcd.clear () ;
lcd.setCursor (0,0) ;
lcd.print ("fuel in ml :") ; //
lcd.print ("fuel in liter:") ;
lcd.setCursor (0,1) ;

if (amtltr < 100)


{ //
lcd.setCursor (0,1) ;
lcd.print ("Empty") ;
}
else {
lcd.print (amtltr) ;
}
if (((amtltr > 4920) && (amtltr < 4980)) || ((amtltr > 2980) &&
(amtltr < 3920)) || ((amtltr > 480) && (amtltr < 520)))
{
//
digitalWrite (relayl, HIGH) ;
digitalWrite (ledl, HIGH) ;
delay(1000) ;
digitalWrite (ledl, LOW) ;
delay(1000) ;
Serial.println("In") ;
}
else
{ //
digitalWrite (relayl,LOW) ;
digitalWrite (ledl, LOW) ;
} //
delay (500) ;

Electrical Engineering B. Tech 4th sem 14


Mini Project Report

Estimate Of The Complete Project :-


Costing of project :-

Sr. No Components Price

Arduino UNO Board


1 900/-

Ultrasonic Distance Sensor (HC-SR04)


2 130/-

3 LCD (16*2) 175/-

Jumper Wires
4 100/-

5 Programming Cable 100/-


6 Power Adapter 120/-
7 Fuel Tank (Jar) 20/-
8 LCD Display Strip 20/-
TOTAL 1565/-

Electrical Engineering B. Tech 4th sem 15


Mini Project Report

Advantages And Application :-


Advantages :-
• The user will be able to verify the accuracy of the
• Fuel Level in their Fuel Tank by using this Fuel
• Measuring Device
• This Fuel Measuring Device is Cheaper in Cost
• It is very accurate and reliable
• Compact in Size
• This Device is Handy
Application :-
• It can be used at Fuel Tanks of the Vehicles
• It can be used at the Petrol Station

Conclusion :-
This Project gives the indication about quantity of the fuel in the fuel tank in the
form of numeric digits more accurately. Thus, due to this we can find out to what
distance the vehicle can travel in the available fuel and we use this fuel measuring
device after refilling the fuel tank of our vehicle. We can analysis as the amount
of fuel poured into the fuel tank of our vehicle is accurate or not by the particular
petrol station on refilling machines.

Reference :-
WWW.60061E.ULTRASONIC.COM

WWW.ARDUINO.IDELCOM

WWW.LCIIINFORMATION.COM

Electrical Engineering B. Tech 4th sem 16

You might also like