SlideShare uma empresa Scribd logo
1 de 28
Submitted By:
    Ketan Gupta (04211502809)
1
    Yatin Jain (04811502809)
    Sushil Kumar Mishra (05311502809)
    Harshit Jain (05911502809)
RPM METER OR TACHOMETER
                  A tachometer
                   (revolution-counter,
                   Tach, rev-counter,
                   RPM gauge) is an
                   instrument measuring
                   the rotation speed of a
                   shaft or disk, as in a
                   motor or other machine.
                   The device usually
                   displays the
                   revolutions per minute
                   (RPM) on a calibrated
                   analogue dial, but digital
                   displays are increasingly
                   common.
                                                2
MICROCONTROLLER AND WHY
MICROCONTROLLER NOT
MICROPROCESSOR?
A microcontroller is a single-chip microcomputer which
 contains Ram , Rom , Cpu , i/o ports ,Adc and other
 peripherals.
 It has fixed amount of Ram , Rom , i/o ports.
It is also called embedded microcontroller because it is
 designed for embedded systems performing specific
 tasks only.
Microprocessor only has cpu , Alu, stack pointer,
 program counter and other registers ,clock timing
 circuit.
Microprocessor does not have Ram, Rom and i/o ports
 It requires large space and it’s cost is higher as compared   3
 to microcontroller.
EMBEDDED SYTEMS
             An embedded system is a
              computer system designed for
              specific control functions within a
              larger system, often with
              real-time computing constraints.It is
              embedded as part of a complete
              device often including hardware and
              mechanical parts. By contrast, a
              general-purpose computer, such as a
              personal computer (PC), is designed
              to be flexible and to meet a wide
              range of end-user needs. Embedded
              systems control many devices in
              common use today.                   4
WHAT WE ARE DOING ? ? ?
 We , in this project are measuring the RPM of a
  motor using an IR sensor.
 The motor speed and direction is made variable
  by use of a H-bridge method.
 RPM is shown on LCD display for the two
  directions.




                                                    5
WHAT WE ARE USING ? ? ?
 We are using an AT89S52 microcontroller for this
  project
 A transformer for stepping down the voltage.

 Full wave rectifier for conversion of AC to DC.

 7805 voltage regulator to give a 5v dc voltage.

 An H-bridge to control the direction and speed of
  motor.
 Two optocouplers to prevent the microcontroller
  from damage by DC 9V fed to the motor.
 LCD showing the RPM with direction.
                                                      6
SOFTWARE WE USED ? ? ?
   KEIL programmer IDE

   SPI flash programmer




                           7
AT89S52


          Atmel AT89S52 is a
          powerful microcontroller
          which provides a highly-
          flexible and cost-effective
          solution to many embedded
          control applications.

          It is programmable
          compatible with 8051 uc.




                                        8
PIN DIAGRAM




              9
10
TOP VIEW OF OUR PROJECT




                          11
HARDWARE IMPLEMENTATION

 Transformer
 Full wave rectifier
 7805 voltage regulator
 Dc motor
 Direction control through H bridge
 Speed control using PWM
 Speed measurement using IR SENSOR
 Comparator and potentiometer
 optoisolator
 LCD
 Circuit diagram of project
                                       12
TRANSFORMER
   Centre tapped transformer.
   9-0-9v at the output.
   Rating of 1A current.
   It is centre tapped to have both
    -ve and +ve half cycle of AC
    waveform to contribute to
    direct current.
   Transforming energy from
    circuit a to b by using mutual
    induction.
   TTL logic circuitry can not
    work on voltage of 220v so we
    are step down it to 9v

                                       13
FULL WAVE RECTIFIER
 Converting both polarities
  of input ac voltage to one
  of the constant polarity at
  its output dc current.
 Yields a higher mean
  output voltage .
 Our circuitry can only
  work on dc voltage.




                                14
LM7805-VOLTAGE REGULATOR
   It has 5V Regulated output
    voltage.
   Input voltage range:- 5V-18V
   The voltage source in circuit
    may have fluctuation and
    would not give fixed output
    voltage.
   Pin1-input ,Pin2-ground,
    Pin3-output
   Heat sink is cooling device by
    dissipating heat into
    surrounding air to protect
    device from damage.
                                     15
SPEED CONTROL USING PWM
   The speed of motor depends on
    three factors load , current ,
    Voltage.
   By changing the width of pulse
    applied to DC motor we can
    change the amount of power
    delivered to motor, there by
    increasing or decreasing the
    speed .
   We create various duty cycle
    pulses using software.
   Large duty cycle,Higher width
    of pulse ,higher mean
    voltage,higher power delivered
    to motor and higher speed.
   Small duty cycle,Lower width
    of pulse,lower mean voltage
    ,lower speed.
                                     16
SPEED MEASUREMENT USING IR
SENSOR
   DC motor has white and
    black surface ,reflecting and
    non reflecting respectively.
   IR sensor has emitter (LED)
    and collector (photodiode).
   When light strikes black
    surface ,PN diode does not
    receive photon and when
    light strikes white surface
    ,PN diode receives photon.
   On receiving light from white
    surface comparator give
    input pulse to uc denoting
    one revolution.
   No receive of light from black
    surface ,comparator gives low
    pulse to uc denoting it is       17
    rotating.
DIRECTION CONTROL THROUGH
H BRIDGE




                            18
FLOW CHART




             19
CIRCUIT DIAGRAM




                  20
HOW ? ? ?
 Transformer steps down 220V to 9-0-9V.
 Full wave rectifier converts the ac into dc.

 7805 voltage regulator regulates the voltage to
  5V, which is the operating voltage of our
  microcontroller.
 LCD is interfaced with microcontroller.

 IR sensor is used to count the RPM. It consists of
  an emitter and a receiver. The second input
  terminal of photodiode is connected to a
  comparator which is fed to the microcontroller.
 Crystal (12MHz) is used to generate a stable
  clock signal for the microcontroller. Duty cycle is
  varied so as to change the speed of motor.            21
HOW ? ? ?
 Pin 9 is used as the reset circuit pin.
 Optocoupler is used to prevent damage from 9V
  DC as the operating voltage of uc is only 5V.
 LEDS are used to indicate the supply, direction
  of rotation of motor & sensing the shiny surface
  on motor.
 There’s a shiny patch on motor wheel over which
  the reflection takes place everywhere else it
  would be absorbed (black)
 Code is burnt on the controller using SPI
  programmer.

                                                     22
DC MOTOR & IR SENSOR




    IR sensor     Silvery patch
                                  23
                  used for
                  reflection
LCD PICTURES FROM OUR
PROJECT




                        24
APPLICATIONS
 To measure the rotating speed of disk or shaft.
 To show rate of rotation of engine crankshaft on
  cars ,aircrafts and other vehicles.
 To help the drivers in selecting appropriate
  throttle and gear settings for the driving
  conditions.
 To estimate traffic speed and volume flow in
  vehicles.
 In analog audio recording ,it is used to measure
  the speed of audiotape.
                                                     25
The main limitation of this project is that the IR sensor we are
using for measuring RPM needs to be kept very close (< 1 inch)
to the moving object, hence its practical use can become a bit
limited.




                                                                   26
The project we have made is less expensive and it can replace
the costly RPM measuring instruments. It can measure the
RPM of any motor without any physical contact with it. It can
also display the rotator speed of any motor with the help of
microcontroller. It can measure the efficiency of any motor and
determine which will be beneficial and better compatible with
our system. It can also check whether any motor is properly
running or not .IR senor needs to be at a very close distance
from the motor, we can make use of a sensor to increase its
range.




                                                                  27
Any
Queries ? ? ?

                28

Mais conteúdo relacionado

Mais procurados

Home Appliances Controlling using Android Mobile via Bluetooth
Home Appliances Controlling using Android Mobile via BluetoothHome Appliances Controlling using Android Mobile via Bluetooth
Home Appliances Controlling using Android Mobile via Bluetooth
MOKTARI MOSTOFA
 
Floating power plant 25 03-11
Floating power plant 25 03-11Floating power plant 25 03-11
Floating power plant 25 03-11
Navin Chandra
 

Mais procurados (20)

Energy meter
Energy meterEnergy meter
Energy meter
 
Digital voltmeter (DVM) and its Classification
Digital voltmeter (DVM) and its ClassificationDigital voltmeter (DVM) and its Classification
Digital voltmeter (DVM) and its Classification
 
Speed control of DC motor using pulse width modulation technique
Speed control of DC motor using pulse width modulation technique Speed control of DC motor using pulse width modulation technique
Speed control of DC motor using pulse width modulation technique
 
Energy Meters
Energy Meters Energy Meters
Energy Meters
 
BLDC Motor Speed Control With RPM Display
 BLDC Motor Speed Control With RPM Display BLDC Motor Speed Control With RPM Display
BLDC Motor Speed Control With RPM Display
 
Digital voltmeter project
Digital voltmeter projectDigital voltmeter project
Digital voltmeter project
 
WIDE AREA PROTECTION IN POWER SYSTEMS
WIDE AREA PROTECTION IN POWER SYSTEMSWIDE AREA PROTECTION IN POWER SYSTEMS
WIDE AREA PROTECTION IN POWER SYSTEMS
 
Unit 05 DIGITAL METERS
Unit   05 DIGITAL METERSUnit   05 DIGITAL METERS
Unit 05 DIGITAL METERS
 
PASSWORD BASED ON/OFF CKT BREAKER
PASSWORD BASED ON/OFF CKT BREAKERPASSWORD BASED ON/OFF CKT BREAKER
PASSWORD BASED ON/OFF CKT BREAKER
 
Medical mirror
Medical mirror Medical mirror
Medical mirror
 
Home Appliances Controlling using Android Mobile via Bluetooth
Home Appliances Controlling using Android Mobile via BluetoothHome Appliances Controlling using Android Mobile via Bluetooth
Home Appliances Controlling using Android Mobile via Bluetooth
 
PLC and Sensors Based Protection and Fault Detection of Induction Motors
PLC and Sensors Based Protection and Fault Detection of Induction MotorsPLC and Sensors Based Protection and Fault Detection of Induction Motors
PLC and Sensors Based Protection and Fault Detection of Induction Motors
 
Floating power plant 25 03-11
Floating power plant 25 03-11Floating power plant 25 03-11
Floating power plant 25 03-11
 
GSM Based Fault Monitoring System (Project)
GSM Based Fault Monitoring System (Project)GSM Based Fault Monitoring System (Project)
GSM Based Fault Monitoring System (Project)
 
Multilevel inverter fed induction motor drives
Multilevel inverter fed induction motor drivesMultilevel inverter fed induction motor drives
Multilevel inverter fed induction motor drives
 
Electrical energy meter
Electrical energy meterElectrical energy meter
Electrical energy meter
 
Phasor Measurement Unit (PMU)
 Phasor Measurement Unit (PMU) Phasor Measurement Unit (PMU)
Phasor Measurement Unit (PMU)
 
Ultrasonic sensor
Ultrasonic sensorUltrasonic sensor
Ultrasonic sensor
 
Inverter
InverterInverter
Inverter
 
IOT in Electrical & Electronics Engineering
IOT in Electrical & Electronics EngineeringIOT in Electrical & Electronics Engineering
IOT in Electrical & Electronics Engineering
 

Semelhante a Tachometer using AT89S52 microcontroller with motor control

3) Remote Controlled Fan Regulator
3) Remote Controlled Fan Regulator3) Remote Controlled Fan Regulator
3) Remote Controlled Fan Regulator
sajin sr
 
FOUR QUADRANT SPEED CONTROL OF DC MOTOR USING AT89S52 MICROCONTROLLER
FOUR QUADRANT SPEED CONTROL OF DC MOTOR USING AT89S52 MICROCONTROLLERFOUR QUADRANT SPEED CONTROL OF DC MOTOR USING AT89S52 MICROCONTROLLER
FOUR QUADRANT SPEED CONTROL OF DC MOTOR USING AT89S52 MICROCONTROLLER
Journal For Research
 
Robotics Report final.compressed (1)
Robotics Report final.compressed (1)Robotics Report final.compressed (1)
Robotics Report final.compressed (1)
Kael Kristjanson
 
major project ppt 27-4-16
major project ppt 27-4-16major project ppt 27-4-16
major project ppt 27-4-16
rafiya begum
 

Semelhante a Tachometer using AT89S52 microcontroller with motor control (20)

Designing and Controlling of Motor by Interfacing RS232 with Microcontroller
Designing and Controlling of Motor by Interfacing RS232 with MicrocontrollerDesigning and Controlling of Motor by Interfacing RS232 with Microcontroller
Designing and Controlling of Motor by Interfacing RS232 with Microcontroller
 
DC MOTOR SPEED CONTROL USING ON-OFF CONTROLLER BY PIC16F877A MICROCONTROLLER
DC MOTOR SPEED CONTROL USING ON-OFF CONTROLLER BY  PIC16F877A MICROCONTROLLERDC MOTOR SPEED CONTROL USING ON-OFF CONTROLLER BY  PIC16F877A MICROCONTROLLER
DC MOTOR SPEED CONTROL USING ON-OFF CONTROLLER BY PIC16F877A MICROCONTROLLER
 
3) Remote Controlled Fan Regulator
3) Remote Controlled Fan Regulator3) Remote Controlled Fan Regulator
3) Remote Controlled Fan Regulator
 
Ct36570573
Ct36570573Ct36570573
Ct36570573
 
Microcontroller based four step linear stroke positioning system
Microcontroller based four step linear stroke positioning systemMicrocontroller based four step linear stroke positioning system
Microcontroller based four step linear stroke positioning system
 
Robotic Catching Arm using Microcontroller
Robotic Catching Arm using MicrocontrollerRobotic Catching Arm using Microcontroller
Robotic Catching Arm using Microcontroller
 
Temperature based fan speed control & monitoring using
Temperature based fan speed control & monitoring usingTemperature based fan speed control & monitoring using
Temperature based fan speed control & monitoring using
 
Presentation200 (1).ppt
Presentation200 (1).pptPresentation200 (1).ppt
Presentation200 (1).ppt
 
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 ...
 
Visiter counter doc
Visiter counter docVisiter counter doc
Visiter counter doc
 
Steper Motor Control Through Wireless
Steper Motor Control Through WirelessSteper Motor Control Through Wireless
Steper Motor Control Through Wireless
 
Automated ppt
Automated pptAutomated ppt
Automated ppt
 
final yr project
final yr projectfinal yr project
final yr project
 
FOUR QUADRANT SPEED CONTROL OF DC MOTOR USING AT89S52 MICROCONTROLLER
FOUR QUADRANT SPEED CONTROL OF DC MOTOR USING AT89S52 MICROCONTROLLERFOUR QUADRANT SPEED CONTROL OF DC MOTOR USING AT89S52 MICROCONTROLLER
FOUR QUADRANT SPEED CONTROL OF DC MOTOR USING AT89S52 MICROCONTROLLER
 
Team7 report
Team7 reportTeam7 report
Team7 report
 
Module 4
Module 4Module 4
Module 4
 
Robotics Report final.compressed (1)
Robotics Report final.compressed (1)Robotics Report final.compressed (1)
Robotics Report final.compressed (1)
 
IRJET- Technique to Prevent Power Theft Losses using Static Device
IRJET-  	  Technique to Prevent Power Theft Losses using Static DeviceIRJET-  	  Technique to Prevent Power Theft Losses using Static Device
IRJET- Technique to Prevent Power Theft Losses using Static Device
 
AUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROLAUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROL
 
major project ppt 27-4-16
major project ppt 27-4-16major project ppt 27-4-16
major project ppt 27-4-16
 

Mais de Sushil Mishra

Trigger and cursor program using sql
Trigger and cursor program using sqlTrigger and cursor program using sql
Trigger and cursor program using sql
Sushil Mishra
 
microprocessor 8086 lab manual !!
microprocessor 8086 lab manual !!microprocessor 8086 lab manual !!
microprocessor 8086 lab manual !!
Sushil Mishra
 

Mais de Sushil Mishra (14)

Heart beat monitor using AT89S52 microcontroller
Heart beat monitor using AT89S52 microcontrollerHeart beat monitor using AT89S52 microcontroller
Heart beat monitor using AT89S52 microcontroller
 
Opt sim manual
Opt sim manualOpt sim manual
Opt sim manual
 
Consumer electronics lab manual
Consumer electronics lab manualConsumer electronics lab manual
Consumer electronics lab manual
 
Summer training at Doordarshan presentation
Summer training at Doordarshan presentationSummer training at Doordarshan presentation
Summer training at Doordarshan presentation
 
List of microcontroller 8051 projects
List of microcontroller 8051 projectsList of microcontroller 8051 projects
List of microcontroller 8051 projects
 
Sequence Diagram of Hotel Management System
Sequence Diagram of Hotel Management SystemSequence Diagram of Hotel Management System
Sequence Diagram of Hotel Management System
 
Trigger and cursor program using sql
Trigger and cursor program using sqlTrigger and cursor program using sql
Trigger and cursor program using sql
 
c-programming-using-pointers
c-programming-using-pointersc-programming-using-pointers
c-programming-using-pointers
 
microprocessor 8086 lab manual !!
microprocessor 8086 lab manual !!microprocessor 8086 lab manual !!
microprocessor 8086 lab manual !!
 
Report on industrial training at DDK, Mandi House, Delhi -01
Report on industrial training at DDK, Mandi House, Delhi -01Report on industrial training at DDK, Mandi House, Delhi -01
Report on industrial training at DDK, Mandi House, Delhi -01
 
Quiz using C++
Quiz using C++Quiz using C++
Quiz using C++
 
Mythological calender using C++
Mythological calender using C++Mythological calender using C++
Mythological calender using C++
 
Laser, its working & hazards
Laser, its working & hazardsLaser, its working & hazards
Laser, its working & hazards
 
Designing a notch filter using orcad 15.3
Designing a notch filter using orcad 15.3Designing a notch filter using orcad 15.3
Designing a notch filter using orcad 15.3
 

Último

Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
fonyou31
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Último (20)

Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 

Tachometer using AT89S52 microcontroller with motor control

  • 1. Submitted By: Ketan Gupta (04211502809) 1 Yatin Jain (04811502809) Sushil Kumar Mishra (05311502809) Harshit Jain (05911502809)
  • 2. RPM METER OR TACHOMETER  A tachometer (revolution-counter, Tach, rev-counter, RPM gauge) is an instrument measuring the rotation speed of a shaft or disk, as in a motor or other machine. The device usually displays the revolutions per minute (RPM) on a calibrated analogue dial, but digital displays are increasingly common. 2
  • 3. MICROCONTROLLER AND WHY MICROCONTROLLER NOT MICROPROCESSOR? A microcontroller is a single-chip microcomputer which contains Ram , Rom , Cpu , i/o ports ,Adc and other peripherals.  It has fixed amount of Ram , Rom , i/o ports. It is also called embedded microcontroller because it is designed for embedded systems performing specific tasks only. Microprocessor only has cpu , Alu, stack pointer, program counter and other registers ,clock timing circuit. Microprocessor does not have Ram, Rom and i/o ports It requires large space and it’s cost is higher as compared 3 to microcontroller.
  • 4. EMBEDDED SYTEMS  An embedded system is a computer system designed for specific control functions within a larger system, often with real-time computing constraints.It is embedded as part of a complete device often including hardware and mechanical parts. By contrast, a general-purpose computer, such as a personal computer (PC), is designed to be flexible and to meet a wide range of end-user needs. Embedded systems control many devices in common use today. 4
  • 5. WHAT WE ARE DOING ? ? ?  We , in this project are measuring the RPM of a motor using an IR sensor.  The motor speed and direction is made variable by use of a H-bridge method.  RPM is shown on LCD display for the two directions. 5
  • 6. WHAT WE ARE USING ? ? ?  We are using an AT89S52 microcontroller for this project  A transformer for stepping down the voltage.  Full wave rectifier for conversion of AC to DC.  7805 voltage regulator to give a 5v dc voltage.  An H-bridge to control the direction and speed of motor.  Two optocouplers to prevent the microcontroller from damage by DC 9V fed to the motor.  LCD showing the RPM with direction. 6
  • 7. SOFTWARE WE USED ? ? ?  KEIL programmer IDE  SPI flash programmer 7
  • 8. AT89S52 Atmel AT89S52 is a powerful microcontroller which provides a highly- flexible and cost-effective solution to many embedded control applications. It is programmable compatible with 8051 uc. 8
  • 10. 10
  • 11. TOP VIEW OF OUR PROJECT 11
  • 12. HARDWARE IMPLEMENTATION  Transformer  Full wave rectifier  7805 voltage regulator  Dc motor  Direction control through H bridge  Speed control using PWM  Speed measurement using IR SENSOR  Comparator and potentiometer  optoisolator  LCD  Circuit diagram of project 12
  • 13. TRANSFORMER  Centre tapped transformer.  9-0-9v at the output.  Rating of 1A current.  It is centre tapped to have both -ve and +ve half cycle of AC waveform to contribute to direct current.  Transforming energy from circuit a to b by using mutual induction.  TTL logic circuitry can not work on voltage of 220v so we are step down it to 9v 13
  • 14. FULL WAVE RECTIFIER  Converting both polarities of input ac voltage to one of the constant polarity at its output dc current.  Yields a higher mean output voltage .  Our circuitry can only work on dc voltage. 14
  • 15. LM7805-VOLTAGE REGULATOR  It has 5V Regulated output voltage.  Input voltage range:- 5V-18V  The voltage source in circuit may have fluctuation and would not give fixed output voltage.  Pin1-input ,Pin2-ground, Pin3-output  Heat sink is cooling device by dissipating heat into surrounding air to protect device from damage. 15
  • 16. SPEED CONTROL USING PWM  The speed of motor depends on three factors load , current , Voltage.  By changing the width of pulse applied to DC motor we can change the amount of power delivered to motor, there by increasing or decreasing the speed .  We create various duty cycle pulses using software.  Large duty cycle,Higher width of pulse ,higher mean voltage,higher power delivered to motor and higher speed.  Small duty cycle,Lower width of pulse,lower mean voltage ,lower speed. 16
  • 17. SPEED MEASUREMENT USING IR SENSOR  DC motor has white and black surface ,reflecting and non reflecting respectively.  IR sensor has emitter (LED) and collector (photodiode).  When light strikes black surface ,PN diode does not receive photon and when light strikes white surface ,PN diode receives photon.  On receiving light from white surface comparator give input pulse to uc denoting one revolution.  No receive of light from black surface ,comparator gives low pulse to uc denoting it is 17 rotating.
  • 21. HOW ? ? ?  Transformer steps down 220V to 9-0-9V.  Full wave rectifier converts the ac into dc.  7805 voltage regulator regulates the voltage to 5V, which is the operating voltage of our microcontroller.  LCD is interfaced with microcontroller.  IR sensor is used to count the RPM. It consists of an emitter and a receiver. The second input terminal of photodiode is connected to a comparator which is fed to the microcontroller.  Crystal (12MHz) is used to generate a stable clock signal for the microcontroller. Duty cycle is varied so as to change the speed of motor. 21
  • 22. HOW ? ? ?  Pin 9 is used as the reset circuit pin.  Optocoupler is used to prevent damage from 9V DC as the operating voltage of uc is only 5V.  LEDS are used to indicate the supply, direction of rotation of motor & sensing the shiny surface on motor.  There’s a shiny patch on motor wheel over which the reflection takes place everywhere else it would be absorbed (black)  Code is burnt on the controller using SPI programmer. 22
  • 23. DC MOTOR & IR SENSOR IR sensor Silvery patch 23 used for reflection
  • 24. LCD PICTURES FROM OUR PROJECT 24
  • 25. APPLICATIONS  To measure the rotating speed of disk or shaft.  To show rate of rotation of engine crankshaft on cars ,aircrafts and other vehicles.  To help the drivers in selecting appropriate throttle and gear settings for the driving conditions.  To estimate traffic speed and volume flow in vehicles.  In analog audio recording ,it is used to measure the speed of audiotape. 25
  • 26. The main limitation of this project is that the IR sensor we are using for measuring RPM needs to be kept very close (< 1 inch) to the moving object, hence its practical use can become a bit limited. 26
  • 27. The project we have made is less expensive and it can replace the costly RPM measuring instruments. It can measure the RPM of any motor without any physical contact with it. It can also display the rotator speed of any motor with the help of microcontroller. It can measure the efficiency of any motor and determine which will be beneficial and better compatible with our system. It can also check whether any motor is properly running or not .IR senor needs to be at a very close distance from the motor, we can make use of a sensor to increase its range. 27