Académique Documents
Professionnel Documents
Culture Documents
CHAPTER 1: INTRODUCTION
1.1.Arduino:
Over the years Arduino has been the brain of thousands of projects,
from everyday objects to complex scientific instruments. A worldwide
community of makers - students, hobbyists, artists, programmers, and
professionals - has gathered around this open-source platform, their
contributions have added up to an incredible amount of accessible
knowledge that can be of great help to novices and experts alike.
Fig.1.Aurdino Uno
Over the years Arduino has been the brain of thousands of projects,
from everyday objects to complex scientific instruments. A worldwide
community of makers - students, hobbyists, artists, programmers, and
professionals - has gathered around this open-source platform, their
contributions have added up to an incredible amount of accessible
knowledge that can be of great help to novices and experts alike[1].
1.2.Infrared Sensor:
PIR sensors detect general movement, but do not give information on who
or what moved. For that purpose, an active IR. is required.
Fig.2.Infrared Sensor
Fig.3.LCD
(16x2)
CHAPTER 2:IMPLEMENTATION
2.1.List Of Components:
2.2.Circuit Design:
Fig.4.Circuit Diagram
LCD is connected with Arduino in 4-bit mode. Control pin RS, RW,
and Enable are directly connected to Arduino pin 2, GND and 3. And data
pins 11-14 is connected to 4, 5, 6 and 7 of Arduino is shown in Fig.4.
There are two types of tachometer one mechanical and other one is digital.
Here we are going to design an Arduino based digital tachometer using IR
sensor module to detect object for count rotation of any rotating body. As
IR transmits IR rays which reflect back to IR receiver and then IR Module
generates an output or pulse which is detected by the arduino controller.
The above circuit is referred at reference 2 at page:12
Fig.5.Block Diagram
2.4.Aurdino Program:
#include <LiquidCrystal.h>
LiquidCrystallcd(7, 6, 5, 4, 3, 2);
#define sensor 9
#define start 12
Int delay1()
IntI,j;
For(i=0;i<1000;i++)
For(j=0;j<1000;j++)
If(digitalRead(sensor))
Count++;
While(digitalRead(sensor));
Return count;
Void setup()
pinMode(sensor, INPUT);
pinMode(start, INPUT);
pinMode(2, OUTPUT);
lcd.begin(16, 2);
lcd.print(“ Tachometer”);
delay(2000);
digitalWrite(start, HIGH);
Void loop()
Lcd.clear();
Lcd.setCursor(0,1);
While(digitalRead(start));
Lcd.clear();
Lcd.print(“Reading RPM…..”);
Time=delay1();
Lcd.clear();
Lcd.print(“Please Wait…..”);
RPM=(time*12)/3;
Delay(2000);
Lcd.clear();
Lcd.print(“RPM=”);
Lcd.print(RPM);
Delay(5000);
Here is the program for arduino compiler. The program was coded
to perform the operation for 5 seconds and calculate for one minute. So
the delay was given according to our requirement. At first the LCD will
display ‘tachometer’ and then it instructs us to press the push button.
After pressing it the IR activates and starts to send input to arduino then
the rpm will be displayed on the LCD screen. This program was referred
at reference 1 page:12.
3.1.RESULTS :
Fig6:Result
After implementing the circuit switch on the power supply and press
the push button. Take the rotating object near to the IR sensor module
and start the rotation after 5 seconds it calculates the rpm for 1 minute.
The above figure shows the example output of a rotating object.
3.2.Advantages:
1.Low cost.
2.Portable to carry .
3.3.Limitations :
4.1.Conclusion:
4.2.Future Scope :
References