Professional Documents
Culture Documents
Tachometer Based RPM Controller: (TEC - 365) A Project Report
Tachometer Based RPM Controller: (TEC - 365) A Project Report
(TEC - 365)
A Project Report
Submitted To
Ms. Reeta Verma
Department of Electronics & Communication Engineering
G.B. Pant University of Agriculture & Technology
Pantanagar – 263145 , Uttarakhand, India
GROUP MEMBERS
Mayank Trehan – 50574 Vaibhav Pachaulee- 50576
Tanya Arya – 50526
Unnati – 50528
1|Page
Acknowledgement
Apart from the efforts of all the members involved , the success of this project
depends largely on the encouragement and guidelines of many others. We take
this opportunity to express our gratitude to the people who have been
instrumental to the successful completion of this project .
We will like to show our greatest appreciation to Ms. Reeta Verma. We cant say
thank you enough for her tremendous support and help. Without her
encouragement.
We would pay our gratitude to Dr. JP Pandey Dean, College of Technology and Dr.
RPS Gangwar, Head of the Department of Electronics and Communication
Engineering.
Lastly, we would like to thank our parents for moral support and our friends with
whom we shared our day-to-day experience and received lots of suggestions and
improved the quality of work.
2|Page
Contents
Chapter 1 INTRODUCTION 2
REFERENCES 17
VITA
3|Page
Chapter 1 : INTRODUCTION
4|Page
Chapter 2 : THEORY & PRINCIPLES
Types of Tachometers
5|Page
Time and frequency measuring tachometers – Both
these are based on measurement methods. The time
measurement device calculates speed by measuring
the time interval between the incoming pulses;
whereas, the frequency measurement device
calculates speed by measuring the frequency of the
incoming pulses. Time measuring tachometers are
ideal for low speed measurements and frequency
measuring tachometers are ideal for high speed
measurements.
6|Page
Chapter 3 : Working
7|Page
Chapter 4 : Design & Methodology
8|Page
1. The first switch limits the rpm to 1600 by dropping
the base voltage to 1.2v
2. The second mode regulates the base voltage to
around 2v to get a max rpm of 2000
3. Finally the third mode regulates the base voltage
to provide for a maximum rpm of 2500.
4. The Arduino controls the Output of the motor so
that it does not exceed the limit .
9|Page
Chapter 4 : List Of Components And Cost
10 | P a g e
11 | P a g e
12 | P a g e
Arduino uses the following code:
#include<LiquidCrystal.h>
const int rs = 12, en = 11, d4 = 4, d5 = 5, d6 = 6, d7 = 7;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
int sensor = 0;
int count = 0;
int countF = 0;
int black = 0;
int lapse = 0;
int rpm = 0 ;
int vb=0;
int x = 0;
void setup() {
Serial.begin(9600);
lcd.begin(16, 2);
lcd.print("VEHICLE SPEED");
lcd.setCursor(0, 1);
lcd.print("SYSTEM");
delay(1000);
void loop() {
lcd.clear();
lcd.setCursor(0,0);
lcd.print("RPM ");
lcd.setCursor(4,0);
lcd.print(rpm);
lcd.setCursor(0,1);
lcd.print("MAX RPM ");
int q = 0;
int w = 0;
13 | P a g e
int e = 0;
int t1 = 0;
int t2 = 0;
int t3 = 0;
int t4 = 0;
int X = 0;
int variable=0;
q = analogRead(A2);
w = analogRead(A3);
e = analogRead(A4);
if((q > 600 && q < 800)&& ( w > 600 && w < 800) && (e>900))
{ count=0;
vb = 50;
x =700;
variable = 1000;
lcd.setCursor(8,1);
lcd.print(x);
}
14 | P a g e
}
else if((q < 700) && (w < 700) && (e<700 ))
{ count=0;
vb = 255;
variable = 1000;
}
analogWrite(3,vb);
for(lapse=0;lapse<=variable;lapse++)
{
sensor = analogRead(A1);
t1 = analogRead(A1);
if((t1 <900)&&(t2>900)&&(t3>900) )
{
count = count+1;
}
else if((t1 > 900)&&(t2>900)&&(t3>900) )
{
X=X+1;
count = count;
}
else if((t1 > 900)&&(t2<900)&&(t3>900) )
{
count = count;
} else if((t1 > 900)&&(t2>900)&&(t3<900) )
{
count = count;
} else if((t1 < 900)&&(t2<900)&&(t3<900) )
15 | P a g e
{
count = count;
X=X+1;
}
else if( X>5 )
{
count = count;
}
else
{
count;
}
t4=t3;
t3=t2;
t2=t1;
delay(1);
rpm = 30*count;
Serial.print("sensor");
Serial.println(sensor);
lcd.clear();
lcd.setCursor(0,0);
lcd.print("RPM ");
lcd.setCursor(4,0);
lcd.print(rpm);
lcd.setCursor(0,1);
lcd.print("MAX RPM ");
count=0;
variable = 0;
vb = 250;
delay(1);
16 | P a g e
CHAPTER 5 : RESULTS & DISCUSSION
Laser instruments
Medical applications
17 | P a g e
CHAPTER 6 : CONCLUSION & FUTURE WORKS
18 | P a g e
References
[4] www.wikipedia.org
19 | P a g e