SlideShare una empresa de Scribd logo
1 de 23
Digital Tachometer
Group members
Muhammad Usman(SP14-BEE-019)
Muhammad Bilal(SP14-BEE-034)
Uzair ul Hassan (SP14-BEE-018)
Waseem Iqbal(SP14-BEE-04)
Orangzaib Yousaf(SP14-BE-110)
 A tachometer is a tool that mechanics or
engineers in general use very often.
 A good example is on cars, you will see a
tachometer counting the RPMs of your engine.
 With the new smaller microcontrollers and
some simple circuitry, it's actually very easy to
build your own digital tachometer. This
tutorial will make use of an infrared diode and
detector to build the digital tachometer/rpm
counter.
 Digital tachometer are classified into following
types
 Contact type
A tachometer that need a physical contact
with rotating shaft.
 Contact less type
A tachometer that does not need any
physical contact with the rotating shaft.
Time measurement:
 It calculate the speed by measuring the time
interval between incoming pulses.
 The resolution of this type is independent of
the speed of measurement.
 It is more accurate for measuring low speed.
Frequency measurement:
 It calculate the speed by measuring the
frequency interval between incoming pulses.
 The resolution of this type is dependent of the
speed of measurement.
 It is more accurate for measuring low speed.
 It has more efficiency.
 Anytime a pulse is detected the PIC will interrupt
the current software and run a special subroutine
to take note that the change on the signal occurred.
Now, if we keep track of how often that change
occurs using a timer, we can estimate the
instantaneous RPMs, making a digital tachometer.
 The actual output signal from the photo-
interruptor portion of the circuit will look similar
to what you see above. The length of the +5 pulses
are determined by how long the emitter and
detector are interrupted.
 PIC 18F452 Microcontroller
 IR Emitter Diode
 IR Detector
 5kΩ,100kΩ Variable resistor
 100Ω Resistor
 16x2 LCD Screen
 Breadboard
 Wires
 Desktop Computer Fan
Variable resistor:
In our project variable resistor are used to control the
contrast of LCD and to adjust the voltage of pulse
generated from the IR sensor.
IR Emitter:
 The IR Emitter device sends an infrared signal just
like any normal LED lights up a room.
 The difference is you won't see any light shinning
from the IR Emitter because our eyes cannot see it.
IR Detector:
 The IR Detector will detect if any infrared light is
being shined at it.
 If IR light shines at the detector, it allows current
to pass through it to ground.
PIC18F452:
Why we don't used the IR sensor instead of LDR.
The reason is that while using the LDR all visible
lights are detected on the LDR and it will may
effect our calculation.
While the IR sensor will only detect Infrared light.
16x4 LCD:
CCP MODULE:
CCP stands for Compare/Capture/PWM
 Capture Mode, allows timing for the duration of
an event. This circuit gives insight into the current
state of a register which constantly changes its
value.
 Compare Mode compares values contained in two
registers at some point. One of them is the timer
TMR1 register.
 PWM – Pulse Width Modulation can generate
signals of varying frequency and duty cycle.
PIC18F452 have 1 CCP and 1 ECCP(Enhanced CCP)
Steps used to program in capture mode for
measuring time period of a pulse.
 In capture/Compare mode TIMER1 or TIMER3 is
used.
 In PWM mode TIMER2 is used.
 For C18 Code of this Project Contact Us on
INSTAGRAM as @electrical_engineers_
Let me explain the overall theory of how the
circuit and microcontroller will work to achieve
our goal of building an rpm counter. The IR
circuit will output pulses whenever it is
interrupted (this type of IR circuit is also known
as a 'photo-interruptor' circuit).
Electrically, the photo-interrupter is two
independent parts - the IR LED, and the photo-
transistor.
 OUT1 will go LOW when the LED light is
detected by IR sensor.
 OUT2 will go HIGH when the LED light is
detected by IR sensor.
 By timing the generated pulse period by the
infra red reflective object sensor we could
easily calculate the RPM using this following
formula:
Frequency = 1/T Hz; T is the generated pulse
period in second.
RPM (Rotation per Minute) = Frequency x 60
 This circuit can be used to calculate speed of
rotating wheels, discs and motor shafts.
 This circuit can be used at places where direct
contact with motor shafts or wheels is not
possible to be made, as in case of vehicles and
also in industrial machines.
 This circuit can be used at homes to check
speed of small battery operated fans and other
motor based devices.
 The main limitation of this project is that IR
sensor for measuring the RPM need to be kept
very close to the moving object.
 Also the IR sensor used in this project have
some limitations of maximum switching
frequency. So we can measure RPMS with in
that limitations.
For C18 Code of this Project Contact us
on INSTAGRAM as
@electrical_engineers_

Más contenido relacionado

La actualidad más candente

single phase ac voltage controller with RL load
single phase ac voltage controller with RL loadsingle phase ac voltage controller with RL load
single phase ac voltage controller with RL loadKathanShah32
 
Resistive transducers and Strain Gauge
Resistive transducers and Strain GaugeResistive transducers and Strain Gauge
Resistive transducers and Strain Gaugekaroline Enoch
 
LIght Dimmer Circuit Using DIAC And TRIAC
LIght Dimmer Circuit Using DIAC And TRIACLIght Dimmer Circuit Using DIAC And TRIAC
LIght Dimmer Circuit Using DIAC And TRIACParth Patel
 
How to make a Line Follower Robot
How to make a Line Follower RobotHow to make a Line Follower Robot
How to make a Line Follower RobotroboVITics club
 
Single phase i.m.
Single phase i.m.Single phase i.m.
Single phase i.m.patel andil
 
BLDC Motor Speed Control with RPM Display and PWM
BLDC Motor Speed Control with RPM Display and PWMBLDC Motor Speed Control with RPM Display and PWM
BLDC Motor Speed Control with RPM Display and PWMEdgefxkits & Solutions
 
Power Electronics - DIAC & TRIAC
Power Electronics - DIAC & TRIACPower Electronics - DIAC & TRIAC
Power Electronics - DIAC & TRIACBurdwan University
 
Automatic room light controller with bidirectional visitor counter
Automatic room light controller with bidirectional visitor counterAutomatic room light controller with bidirectional visitor counter
Automatic room light controller with bidirectional visitor counterNiladri Dutta
 
Automatic speed controller in real time vehicles.
Automatic speed controller in real time vehicles.Automatic speed controller in real time vehicles.
Automatic speed controller in real time vehicles.Jinto George
 
Ppt on brake failure indicator.
Ppt on brake failure indicator.Ppt on brake failure indicator.
Ppt on brake failure indicator.mmnbaig
 
Power Electronics - Thyristor Commutation
Power Electronics - Thyristor CommutationPower Electronics - Thyristor Commutation
Power Electronics - Thyristor CommutationBurdwan University
 
Automatic room temperature control
Automatic room temperature controlAutomatic room temperature control
Automatic room temperature controldebabratrath
 
Power electronics Phase Controlled Rectifiers - SCR
Power electronics   Phase Controlled Rectifiers - SCRPower electronics   Phase Controlled Rectifiers - SCR
Power electronics Phase Controlled Rectifiers - SCRBurdwan University
 
U 4 ramp digital voltmeter
U 4 ramp digital voltmeterU 4 ramp digital voltmeter
U 4 ramp digital voltmetervmspraneeth
 
AVR Fundamentals
AVR FundamentalsAVR Fundamentals
AVR FundamentalsVinit Vyas
 
Instrument transformer CT & PT
Instrument transformer CT & PTInstrument transformer CT & PT
Instrument transformer CT & PTChandan Singh
 

La actualidad más candente (20)

single phase ac voltage controller with RL load
single phase ac voltage controller with RL loadsingle phase ac voltage controller with RL load
single phase ac voltage controller with RL load
 
Resistive transducers and Strain Gauge
Resistive transducers and Strain GaugeResistive transducers and Strain Gauge
Resistive transducers and Strain Gauge
 
LIght Dimmer Circuit Using DIAC And TRIAC
LIght Dimmer Circuit Using DIAC And TRIACLIght Dimmer Circuit Using DIAC And TRIAC
LIght Dimmer Circuit Using DIAC And TRIAC
 
How to make a Line Follower Robot
How to make a Line Follower RobotHow to make a Line Follower Robot
How to make a Line Follower Robot
 
Pulse width modulation
Pulse width modulationPulse width modulation
Pulse width modulation
 
Electrical machines-lab-i-ee0209
Electrical machines-lab-i-ee0209Electrical machines-lab-i-ee0209
Electrical machines-lab-i-ee0209
 
Function generator
Function generatorFunction generator
Function generator
 
Single phase i.m.
Single phase i.m.Single phase i.m.
Single phase i.m.
 
BLDC Motor Speed Control with RPM Display and PWM
BLDC Motor Speed Control with RPM Display and PWMBLDC Motor Speed Control with RPM Display and PWM
BLDC Motor Speed Control with RPM Display and PWM
 
Power Electronics - DIAC & TRIAC
Power Electronics - DIAC & TRIACPower Electronics - DIAC & TRIAC
Power Electronics - DIAC & TRIAC
 
Automatic room light controller with bidirectional visitor counter
Automatic room light controller with bidirectional visitor counterAutomatic room light controller with bidirectional visitor counter
Automatic room light controller with bidirectional visitor counter
 
Automatic speed controller in real time vehicles.
Automatic speed controller in real time vehicles.Automatic speed controller in real time vehicles.
Automatic speed controller in real time vehicles.
 
Ppt on brake failure indicator.
Ppt on brake failure indicator.Ppt on brake failure indicator.
Ppt on brake failure indicator.
 
Power Electronics - Thyristor Commutation
Power Electronics - Thyristor CommutationPower Electronics - Thyristor Commutation
Power Electronics - Thyristor Commutation
 
Automatic room temperature control
Automatic room temperature controlAutomatic room temperature control
Automatic room temperature control
 
Bldc motors ppt
Bldc motors pptBldc motors ppt
Bldc motors ppt
 
Power electronics Phase Controlled Rectifiers - SCR
Power electronics   Phase Controlled Rectifiers - SCRPower electronics   Phase Controlled Rectifiers - SCR
Power electronics Phase Controlled Rectifiers - SCR
 
U 4 ramp digital voltmeter
U 4 ramp digital voltmeterU 4 ramp digital voltmeter
U 4 ramp digital voltmeter
 
AVR Fundamentals
AVR FundamentalsAVR Fundamentals
AVR Fundamentals
 
Instrument transformer CT & PT
Instrument transformer CT & PTInstrument transformer CT & PT
Instrument transformer CT & PT
 

Destacado

Faculty of Engineering & Technology , Gurukula Kangri University , Haridwar
Faculty of Engineering & Technology , Gurukula Kangri University , HaridwarFaculty of Engineering & Technology , Gurukula Kangri University , Haridwar
Faculty of Engineering & Technology , Gurukula Kangri University , Haridwarashwini kumar
 
Tachometer using AT89S52 microcontroller with motor control
Tachometer using AT89S52 microcontroller with motor controlTachometer using AT89S52 microcontroller with motor control
Tachometer using AT89S52 microcontroller with motor controlSushil Mishra
 
Best Practices for Motion Control: Stepper Motor and Encoder Selection
Best Practices for Motion Control: Stepper Motor and Encoder SelectionBest Practices for Motion Control: Stepper Motor and Encoder Selection
Best Practices for Motion Control: Stepper Motor and Encoder SelectionDesign World
 
Bab1 pengantar konservasi-energi_compatibility_mode_
Bab1 pengantar konservasi-energi_compatibility_mode_Bab1 pengantar konservasi-energi_compatibility_mode_
Bab1 pengantar konservasi-energi_compatibility_mode_Dwisetya Widyaratih
 
Pramod J Resume M.Sc. (Electronics) 3.5 Year Exprience in Hardware Design
Pramod J Resume M.Sc. (Electronics) 3.5 Year Exprience in Hardware DesignPramod J Resume M.Sc. (Electronics) 3.5 Year Exprience in Hardware Design
Pramod J Resume M.Sc. (Electronics) 3.5 Year Exprience in Hardware DesignPramod Jangam
 
Tachometer full dial powerpoint presentation slides ppt templates
Tachometer full dial powerpoint presentation slides ppt templatesTachometer full dial powerpoint presentation slides ppt templates
Tachometer full dial powerpoint presentation slides ppt templatesSlideTeam.net
 
PPT LISTRIK DINAMSI
PPT LISTRIK DINAMSIPPT LISTRIK DINAMSI
PPT LISTRIK DINAMSIcumahannan
 
Mempersiapkan dan mengoperasikan alat ukur
Mempersiapkan dan mengoperasikan alat ukurMempersiapkan dan mengoperasikan alat ukur
Mempersiapkan dan mengoperasikan alat ukurPRIMADANU WICAKSONO
 
Energy audit training 1
Energy audit training 1Energy audit training 1
Energy audit training 1jagra_bagus
 

Destacado (20)

Speed measurement, tachometer
Speed measurement, tachometerSpeed measurement, tachometer
Speed measurement, tachometer
 
Tachometer
TachometerTachometer
Tachometer
 
Faculty of Engineering & Technology , Gurukula Kangri University , Haridwar
Faculty of Engineering & Technology , Gurukula Kangri University , HaridwarFaculty of Engineering & Technology , Gurukula Kangri University , Haridwar
Faculty of Engineering & Technology , Gurukula Kangri University , Haridwar
 
Tachometer
TachometerTachometer
Tachometer
 
Tachometer using AT89S52 microcontroller with motor control
Tachometer using AT89S52 microcontroller with motor controlTachometer using AT89S52 microcontroller with motor control
Tachometer using AT89S52 microcontroller with motor control
 
Vishal project1
Vishal project1Vishal project1
Vishal project1
 
Best Practices for Motion Control: Stepper Motor and Encoder Selection
Best Practices for Motion Control: Stepper Motor and Encoder SelectionBest Practices for Motion Control: Stepper Motor and Encoder Selection
Best Practices for Motion Control: Stepper Motor and Encoder Selection
 
Bab1 pengantar konservasi-energi_compatibility_mode_
Bab1 pengantar konservasi-energi_compatibility_mode_Bab1 pengantar konservasi-energi_compatibility_mode_
Bab1 pengantar konservasi-energi_compatibility_mode_
 
Pramod J Resume M.Sc. (Electronics) 3.5 Year Exprience in Hardware Design
Pramod J Resume M.Sc. (Electronics) 3.5 Year Exprience in Hardware DesignPramod J Resume M.Sc. (Electronics) 3.5 Year Exprience in Hardware Design
Pramod J Resume M.Sc. (Electronics) 3.5 Year Exprience in Hardware Design
 
G010123643
G010123643G010123643
G010123643
 
Cat169 pratica 2
Cat169 pratica 2Cat169 pratica 2
Cat169 pratica 2
 
Lm2907 Tacometro
Lm2907 TacometroLm2907 Tacometro
Lm2907 Tacometro
 
Tachometer full dial powerpoint presentation slides ppt templates
Tachometer full dial powerpoint presentation slides ppt templatesTachometer full dial powerpoint presentation slides ppt templates
Tachometer full dial powerpoint presentation slides ppt templates
 
PPT LISTRIK DINAMSI
PPT LISTRIK DINAMSIPPT LISTRIK DINAMSI
PPT LISTRIK DINAMSI
 
Tachometer
TachometerTachometer
Tachometer
 
Mempersiapkan dan mengoperasikan alat ukur
Mempersiapkan dan mengoperasikan alat ukurMempersiapkan dan mengoperasikan alat ukur
Mempersiapkan dan mengoperasikan alat ukur
 
Energy audit training 1
Energy audit training 1Energy audit training 1
Energy audit training 1
 
Dc tachometer
Dc tachometerDc tachometer
Dc tachometer
 
Tachometer
TachometerTachometer
Tachometer
 
Bahan kuliah metrologi 1
Bahan kuliah metrologi 1Bahan kuliah metrologi 1
Bahan kuliah metrologi 1
 

Similar a Digital tachometer using pic18

IRJET- Design of a Portable Contact-Less Tachometer using Infrared Sensor for...
IRJET- Design of a Portable Contact-Less Tachometer using Infrared Sensor for...IRJET- Design of a Portable Contact-Less Tachometer using Infrared Sensor for...
IRJET- Design of a Portable Contact-Less Tachometer using Infrared Sensor for...IRJET Journal
 
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...Tawsif Rahman Chowdhury
 
Automatic Door Opener using PIR Sensor
Automatic Door Opener using PIR SensorAutomatic Door Opener using PIR Sensor
Automatic Door Opener using PIR SensorRAGHUVARMA09
 
Smart door project ppt shivnaresh likhar
Smart door project ppt shivnaresh likharSmart door project ppt shivnaresh likhar
Smart door project ppt shivnaresh likharShivnaresh Likhar
 
Automatic room light controller using microcontroller and visitor counter
Automatic room light controller using microcontroller and visitor counterAutomatic room light controller using microcontroller and visitor counter
Automatic room light controller using microcontroller and visitor countereSAT Journals
 
Arduino with brief description of sensorsppt.pptx
Arduino with brief description of sensorsppt.pptxArduino with brief description of sensorsppt.pptx
Arduino with brief description of sensorsppt.pptxBhuvanaN12
 
Shiv smart door ppt
Shiv smart door pptShiv smart door ppt
Shiv smart door pptMahesh Patil
 
Contactless tachometer using 8051 microcontroller2
Contactless tachometer using 8051 microcontroller2Contactless tachometer using 8051 microcontroller2
Contactless tachometer using 8051 microcontroller2Siddharth Shahi
 
Ir sensor mechanism and interfacing with a micro controllers.PPT
Ir sensor mechanism and  interfacing with  a micro controllers.PPTIr sensor mechanism and  interfacing with  a micro controllers.PPT
Ir sensor mechanism and interfacing with a micro controllers.PPTkhairunnesa2
 
Micro controller based Traffic control system
Micro controller based Traffic control systemMicro controller based Traffic control system
Micro controller based Traffic control systemRohit Kumar
 
PIR sensors day
PIR sensors day PIR sensors day
PIR sensors day sivagamitec
 
fire fighting robot ppt.pptx
fire fighting robot ppt.pptxfire fighting robot ppt.pptx
fire fighting robot ppt.pptxmahesh450519
 

Similar a Digital tachometer using pic18 (20)

IRJET- Design of a Portable Contact-Less Tachometer using Infrared Sensor for...
IRJET- Design of a Portable Contact-Less Tachometer using Infrared Sensor for...IRJET- Design of a Portable Contact-Less Tachometer using Infrared Sensor for...
IRJET- Design of a Portable Contact-Less Tachometer using Infrared Sensor for...
 
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
Microcontroller based Ultrasonic Radar (Microprocessors and Embedded Systems ...
 
Automatic Door Opener using PIR Sensor
Automatic Door Opener using PIR SensorAutomatic Door Opener using PIR Sensor
Automatic Door Opener using PIR Sensor
 
Smart door project ppt shivnaresh likhar
Smart door project ppt shivnaresh likharSmart door project ppt shivnaresh likhar
Smart door project ppt shivnaresh likhar
 
Automatic room light controller using microcontroller and visitor counter
Automatic room light controller using microcontroller and visitor counterAutomatic room light controller using microcontroller and visitor counter
Automatic room light controller using microcontroller and visitor counter
 
Arduino with brief description of sensorsppt.pptx
Arduino with brief description of sensorsppt.pptxArduino with brief description of sensorsppt.pptx
Arduino with brief description of sensorsppt.pptx
 
Shiv smart door ppt
Shiv smart door pptShiv smart door ppt
Shiv smart door ppt
 
Contactless tachometer using 8051 microcontroller2
Contactless tachometer using 8051 microcontroller2Contactless tachometer using 8051 microcontroller2
Contactless tachometer using 8051 microcontroller2
 
Robotic Hand
Robotic HandRobotic Hand
Robotic Hand
 
Ir sensor mechanism and interfacing with a micro controllers.PPT
Ir sensor mechanism and  interfacing with  a micro controllers.PPTIr sensor mechanism and  interfacing with  a micro controllers.PPT
Ir sensor mechanism and interfacing with a micro controllers.PPT
 
JamesEndl
JamesEndlJamesEndl
JamesEndl
 
EBM.ppt
EBM.pptEBM.ppt
EBM.ppt
 
Micro controller based Traffic control system
Micro controller based Traffic control systemMicro controller based Traffic control system
Micro controller based Traffic control system
 
LINE FOLLOWER ROBOT | J4RV4I1010
LINE FOLLOWER ROBOT | J4RV4I1010LINE FOLLOWER ROBOT | J4RV4I1010
LINE FOLLOWER ROBOT | J4RV4I1010
 
PIR sensors day
PIR sensors day PIR sensors day
PIR sensors day
 
ELECTRONIC EYE FOR NIGHT DEVICE SWITCHING USING 555 TIMER
ELECTRONIC EYE FOR NIGHT DEVICE SWITCHING USING 555 TIMERELECTRONIC EYE FOR NIGHT DEVICE SWITCHING USING 555 TIMER
ELECTRONIC EYE FOR NIGHT DEVICE SWITCHING USING 555 TIMER
 
D1802051622
D1802051622D1802051622
D1802051622
 
Automated ppt
Automated pptAutomated ppt
Automated ppt
 
fire fighting robot ppt.pptx
fire fighting robot ppt.pptxfire fighting robot ppt.pptx
fire fighting robot ppt.pptx
 
Automatic mall elevator
Automatic mall elevatorAutomatic mall elevator
Automatic mall elevator
 

Último

Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 

Último (20)

Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 

Digital tachometer using pic18

  • 2. Group members Muhammad Usman(SP14-BEE-019) Muhammad Bilal(SP14-BEE-034) Uzair ul Hassan (SP14-BEE-018) Waseem Iqbal(SP14-BEE-04) Orangzaib Yousaf(SP14-BE-110)
  • 3.  A tachometer is a tool that mechanics or engineers in general use very often.  A good example is on cars, you will see a tachometer counting the RPMs of your engine.  With the new smaller microcontrollers and some simple circuitry, it's actually very easy to build your own digital tachometer. This tutorial will make use of an infrared diode and detector to build the digital tachometer/rpm counter.
  • 4.  Digital tachometer are classified into following types  Contact type A tachometer that need a physical contact with rotating shaft.  Contact less type A tachometer that does not need any physical contact with the rotating shaft.
  • 5. Time measurement:  It calculate the speed by measuring the time interval between incoming pulses.  The resolution of this type is independent of the speed of measurement.  It is more accurate for measuring low speed.
  • 6. Frequency measurement:  It calculate the speed by measuring the frequency interval between incoming pulses.  The resolution of this type is dependent of the speed of measurement.  It is more accurate for measuring low speed.  It has more efficiency.
  • 7.
  • 8.
  • 9.  Anytime a pulse is detected the PIC will interrupt the current software and run a special subroutine to take note that the change on the signal occurred. Now, if we keep track of how often that change occurs using a timer, we can estimate the instantaneous RPMs, making a digital tachometer.  The actual output signal from the photo- interruptor portion of the circuit will look similar to what you see above. The length of the +5 pulses are determined by how long the emitter and detector are interrupted.
  • 10.  PIC 18F452 Microcontroller  IR Emitter Diode  IR Detector  5kΩ,100kΩ Variable resistor  100Ω Resistor  16x2 LCD Screen  Breadboard  Wires  Desktop Computer Fan
  • 11. Variable resistor: In our project variable resistor are used to control the contrast of LCD and to adjust the voltage of pulse generated from the IR sensor. IR Emitter:  The IR Emitter device sends an infrared signal just like any normal LED lights up a room.  The difference is you won't see any light shinning from the IR Emitter because our eyes cannot see it. IR Detector:  The IR Detector will detect if any infrared light is being shined at it.  If IR light shines at the detector, it allows current to pass through it to ground.
  • 13. Why we don't used the IR sensor instead of LDR. The reason is that while using the LDR all visible lights are detected on the LDR and it will may effect our calculation. While the IR sensor will only detect Infrared light. 16x4 LCD:
  • 14. CCP MODULE: CCP stands for Compare/Capture/PWM  Capture Mode, allows timing for the duration of an event. This circuit gives insight into the current state of a register which constantly changes its value.  Compare Mode compares values contained in two registers at some point. One of them is the timer TMR1 register.  PWM – Pulse Width Modulation can generate signals of varying frequency and duty cycle. PIC18F452 have 1 CCP and 1 ECCP(Enhanced CCP)
  • 15. Steps used to program in capture mode for measuring time period of a pulse.  In capture/Compare mode TIMER1 or TIMER3 is used.  In PWM mode TIMER2 is used.  For C18 Code of this Project Contact Us on INSTAGRAM as @electrical_engineers_
  • 16. Let me explain the overall theory of how the circuit and microcontroller will work to achieve our goal of building an rpm counter. The IR circuit will output pulses whenever it is interrupted (this type of IR circuit is also known as a 'photo-interruptor' circuit). Electrically, the photo-interrupter is two independent parts - the IR LED, and the photo- transistor.
  • 17.
  • 18.  OUT1 will go LOW when the LED light is detected by IR sensor.  OUT2 will go HIGH when the LED light is detected by IR sensor.
  • 19.
  • 20.  By timing the generated pulse period by the infra red reflective object sensor we could easily calculate the RPM using this following formula: Frequency = 1/T Hz; T is the generated pulse period in second. RPM (Rotation per Minute) = Frequency x 60
  • 21.  This circuit can be used to calculate speed of rotating wheels, discs and motor shafts.  This circuit can be used at places where direct contact with motor shafts or wheels is not possible to be made, as in case of vehicles and also in industrial machines.  This circuit can be used at homes to check speed of small battery operated fans and other motor based devices.
  • 22.  The main limitation of this project is that IR sensor for measuring the RPM need to be kept very close to the moving object.  Also the IR sensor used in this project have some limitations of maximum switching frequency. So we can measure RPMS with in that limitations.
  • 23. For C18 Code of this Project Contact us on INSTAGRAM as @electrical_engineers_