• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Get free circuit help 24/7

New Projects | Privacy Policy | About Us | Contact | Disclaimer | Copyright | Videos 

You are here: Home / Car and Motorcycle / Accurate Speedometer Circuit

Accurate Speedometer Circuit

Last Updated on May 30, 2022 by Swagatam 30 Comments

Here we'll see how a simple yet accurate analogue speedometer circuit can be constructed at home using just a single IC and a few external passive components. The speedometer can be universally used with all 2-wheeler, 3-wheeler, even in bicycles for indicating their speeds.

Using Frequency to Voltage Converter

caution electricity can be dangerous

In my previous article we learned about these wonderful ICs 2N2907/2N2917 which are basically frequency to voltage converters and therefore perfectly become suitable for all frequency measuring related applications.

Referring to the simple speedometer circuit diagram below, we can see the IC LM2907 occupying the center stage in the configuration and forms the main detector device.

Circuit Operation

As can be see the internal of the IC comprises an input differential comparator, followed by a charge pump, an opamp buffer and a emitter follower amplifier stage.

Pin#1 of the IC becomes the tachometer input and accepts the magnetic pick up information in the form of varying magnetic electrical pulses.

The differential opamp compares the input with its ground referenced inverting input and amplifies even the minutest pulse detected at pin#1.

The function of the charge pump stage is to hold and pump the above amplified signals such that with increasing frequency the corresponding amplified output from the differential stage is sustained and boosted proportionately across the next opamp buffer stage.

This is achieved by the presence of the capacitors at pin#2 and the resistor at pin#3 of the IC.

The final proportional boosted potential is fed through the emitter follower transistor across the 10k resistor.

As given in the diagram, the output sensitivity here is around 1V for every 67Hz, meaning if the frequency reaches 67+67 = 134, would result a linear output of 2V and so forth.

Calculating the Output Voltage

To be more precise, the output voltage can be simply calculated using the formula:

VOUT = fIN × VCC × Rx × Cx,

where Rx is the resistor at pin#3 and Cx the capacitor at pin#2 of the IC.

This can be directly read by connecting an analogue moving coil voltmeter across the 10k resistor.

The magnetic pick-up for the proposed speedometer circuit could be made by winding 50 turns of 30SWG wire over a small ferrite ring.

The wheel should be complemented with an appropriately dimensioned magnet stuck or fixed over the rim such that the two elements come face to face once on every single rotation.

Circuit Diagram

If a hall effect sensor is intended to be used as the sensor, then the pin1 of the IC can be modified with an external BJT stage as shown below, for the required frequency sensing.

For Hall Effect Sensor Integration

Get New Circuit Diagrams in your Email

You'll also like:

  • 1.  1.5 watt Transmitter Circuit
  • 2.  4 Solid-State Car Alternator Regulator Circuits Explored
  • 3.  Wireless Helmet Mounted Brake Light Circuit
  • 4.  Ice Warning Circuit for Automobiles
  • 5.  Flashing LED Battery Low Indicator Circuit
  • 6.  Infrared Car Door Lock Security Circuit

About Swagatam

Swagatam is an electronic engineer, hobbyist, inventor, schematic/PCB designer, manufacturer. He is also the founder and the author of the website: https://www.homemade-circuits.com/, where he loves sharing his innovative circuit ideas and tutorials.
If you have any circuit related queries, you may interact through comments, and get guaranteed replies from the author.

Reader Interactions

Comments

  1. Steve says

    May 9, 2022

    Could you explain what the BC547 does?

    Reply
    • Swagatam says

      May 9, 2022

      BC547 switch ON/OFF in response to the hall effect pulses, and creates the required frequency input for the IC

      Reply
      • Steve says

        May 10, 2022

        Thanks – my hall sensor is outputting a square wave 0V (off) and 5V (on). How does the BC547 modify that? Could you sketch what the output of the BC537 would look like?

        Reply
        • Swagatam says

          May 10, 2022

          When hall sensor outputs 5V, the BC547 conducts and grounds the IC sensing pin#1 sending a 0V signal to the IC. When the hall sensor outputs a 0V, the BC547 remains shut off, causing a 15V to enter the sensing pin#1 of the IC via 1K resistor. So basically the BC547 inverts the hall sensor signals and sends an equivalent ON/OFF pulse information to the IC.

          Reply
          • Steven says

            May 11, 2022

            Thanks. Afraid I don’t follow why one has to invert the signal from a 0V-5V square wave to a 15V-0V square wave? Would 5V not be enough?

            Reply
            • Swagatam says

              May 11, 2022

              5V will also work, but the transistor ensures perfect logic zero switching for the IC pin. Inverting the signal is not important or relevant. Direct connection with the hall effect might not produce perfect 0 volt switching for the IC opamp and might generate errors. However, to process a signal from the hall effect sensor a correctly calculated resistive divider would be required across the base/emmiter of the transistor, because the output from a hall effect never reaches a proper zero volt during the absence of a magnetic field

              Reply
  2. suhas says

    April 27, 2022

    where i can put my hall effect sensor to read this analog values?
    you mean near to running shaft ? or near to meter

    Reply
    • Swagatam says

      April 27, 2022

      Near the running wheel, and magnet stuck on the wheel, which must be face to face with the hall effect sensor when it approaches the hale effect sensor.

      Reply
  3. Mike says

    April 25, 2022

    Hello,
    I stumbled across this post and am wondering if you can help with a project I have. I am trying build a circuit to take a hall effect signal from a vehicle speed sensor, and adjust it so that the speedometer in my car will read correctly even though the wheel diameter is much larger than what the speedometer is calibrated for.

    I have considered trying to use a frequency to voltage converter, adjust the voltage with a potentiometer, the convert the voltage back to a frequency. I cannot seem to find a VFC with good resolution down low. For example, at 60 mph the VSS signal is around only 70hz.

    Thank you for your suggestions!

    Reply
    • Swagatam says

      April 25, 2022

      Hello,
      I have a couple of VFC circuits in this blog which you can try and check if they work:

      https://www.homemade-circuits.com/voltage-to-frequency-converter-circuit/

      Reply
  4. Ian Simmons says

    January 7, 2021

    Digital gauges in motor vehicles usually have a diode labled “IGN” which has an internal earth and a outside contact.
    As you know a car alternator “Ign” light operates differently to this. A circuit is needed to connect the two
    existing wires, one from alternator and one from 12v ign power, to this LED.
    Can you suggest a way to do this?

    Reply
    • Swagatam says

      January 7, 2021

      Sorry, I have no idea about these connections!

      Reply
      • Steve says

        February 13, 2021

        Hell Mr Swagatam,

        Congratulations on your excellent websites – you are certainly quite a prolific writer!
        I’m about to get started building an electronic speedo for my elderly Suzuki. Speedo cable broken – that was easy to repair but it also destroyed the small speedometer gear box on the front wheel, which now costs over $100 to replace, if I can find one. My plan is to use your circuit design and take the output to a small DC motor to drive the speedo input, thereby keeping the original look, hopefully.

        About Ian Simmons’ question:
        1. The ignition terminal on OEM or commercially electronic instruments is usually to take a signal from the ignition switch when it is turned on. Power for the device may come from elsewhere, in which case the “IGN” signal tells the device when to be on or off, to avoid running down the battery.
        2. The light referred to as IGN with regards to the alternator has really nothing to do with ignition. It is usually set up so that the light comes on when the engine is running or ignition is powered up, but there is no electrical output. It thereby indicates an alternator failure.

        Best regards, Steve (Phnom Penh)

        Reply
        • Swagatam says

          February 14, 2021

          Thank you Mr. Steve, for your kind complements!
          Yes you can try the above explained circuit, it will definitely work if all the connections are done correctly.
          And thank you for explaining the ignition system of the car!

          Reply
      • Jeff says

        April 2, 2021

        Very simply, the IGN light bulb is connected between the alternator (or generator in the old days…) + output and the battery via the ignition switch.
        There is no ground connection as such.
        When you switch on the IGN, the light sees +12 volts from the battery and a path to ground via the alternator (or generator) windings. So the light comes on.
        When the car starts and the alternator starts charging, the light sees +12 volts (about) from the alternator so there’s no voltage difference across the bulb. It goes out.
        The bulb is also used to provide a small current to the alternator, so if you replace it with an LED or even a bulb of the wrong wattage, the alternator may not work correctly.
        Cars with an LED “battery” warning light will probably have a voltage sensing restistor instead of the incandescent bulb, and a circuit driving the LED.

        Reply
  5. Gary says

    January 4, 2021

    Hi Roger
    Thank you for your reply and also thanks for sharing of your knowledge , very helpful and much appreciated! Also,I noticed that no one else posts their last name so is it possible for you to remove my last name from my article, please?
    Thanks and have a nice day!
    Gary

    Reply
  6. Gary Klippenstein says

    January 3, 2021

    please, what is a charge pump? Thanks

    Reply
    • Swagatam says

      January 3, 2021

      Here, the charge pump refers to a circuit that produces an increasing DC level in response to the increasing input frequency, and ensures that the level does not drop during the OFF periods of the frequency.

      Reply
  7. Roger says

    November 1, 2019

    How can I use this circuit with a 3 wire Hall Sensor with a 16 tooth trigger wheel mounted on my driveshaft for speedometer? I currently have a Megasquirt 2 Extra ECU (v3.0 board) that controls my fuel injection, spark control and knock control on my old Datsun. The ECU firmware doesn’t support a VSS signal for an electronic speedometer.
    BTW, the tire size is 22.69 inch in diameter with a final gear ratio of 5.13. This works out to 888.85 tire revolutions per mile for 82.08 trigger wheel pulses per tire revolution (or 72957.20 pulses per mile) for a pulse frequency of 20.266 Hz.
    Based on the equation VOUT = fIN × VCC × Rx × Cx,I should be able to select the appropriate Rx and Cx components to match the 20.266 Hz per volt.
    Do you think this would work?

    Reply
    • Swagatam says

      November 2, 2019

      You can connect the 3 wire hall sensor by following its basic wiring layout. Connect its supply pins with 5V regulated suplly, and connect its OUT pin with the pin#1 of the IC.

      https://www.homemade-circuits.com/linear-hall-effect-sensors-explained/

      Reply
      • Roger says

        November 2, 2019

        Thanks for confirming that a Hall sensor will work with this circuit.
        BTW, in your example, how was the 67Hz per volt calculated?I

        Thanks
        Roger

        Reply
        • Swagatam says

          November 2, 2019

          It is calculated using the given formula, as suggested in the datasheet of the device.

          By the way I have updated the hall effect integration diagram at the end of the post….

          Reply
          • Roger says

            November 2, 2019

            Thank you so much for pointing me in the correct direction. I never would have figured this out without your help.
            Roger

            Reply
            • Swagatam says

              November 3, 2019

              It’s my pleasure!

              Reply
            • Roger says

              November 6, 2019

              Swagatam,
              Can you please confirm as to what is the minimum Vcc allowed and the maximum Vout allowed on the LM2907?
              Based on the data sheet Section 7.1 on the TI , it shows the supply voltage maximum at 28 volts but does not show any value for the minumum supply voltage. I understand that the supply voltage is the same as Vcc.

              Reply
              • Swagatam says

                November 7, 2019

                Roger, the recommended range is between 6 and 24V

                Reply
  8. Mr singh says

    December 30, 2017

    Hello sir lm2917 Ic pin no 1 conecting to bike pickup coil

    Reply
    • Swagatam says

      December 30, 2017

      Mr.Singh,

      yes, you can connect pin#1 it to the pick coil output

      Reply
      • adem says

        October 27, 2019

        Hi Sir, i would like to as request if you can post about digital(7segment) speedometer for bike so i have idea or guide for personal use.

        Reply
        • Swagatam says

          October 28, 2019

          Hi Adem, I’ll try to do it soon, thank you! Basically, for this you will need a magnet and hall effect sensor on the bike’s wheel. The output can be then connected to the clock input of a IC 4033 seven segment display circuit.

          Reply

Post your comments here and get guaranteed replies. Comments must be related to the above article. Cancel reply

Your email address will not be published. Required fields are marked *



Primary Sidebar

Categories

  • 3-Phase Power (15)
  • 324 IC Circuits (19)
  • 4017 IC Circuits (52)
  • 4060 IC Circuits (27)
  • 555 IC Circuits (99)
  • 741 IC Circuits (20)
  • Arduino Engineering Projects (83)
  • Audio and Amplifier Projects (126)
  • Battery Chargers (83)
  • Car and Motorcycle (96)
  • Datasheets (78)
  • Decorative Lighting (Diwali, Christmas) (33)
  • Electronic Components (101)
  • Electronic Devices and Circuit Theory (36)
  • Electronics Tutorial (121)
  • Fish Aquarium (5)
  • Free Energy (34)
  • Fun Projects (15)
  • GSM Projects (9)
  • Health Related (22)
  • Heater Controllers (31)
  • Home Electrical Circuits (107)
  • How to Articles (20)
  • Incubator Related (6)
  • Industrial Electronics (28)
  • Infrared (IR) (40)
  • Inverter Circuits (99)
  • Laser Projects (13)
  • LED and Light Effect (101)
  • LM317/LM338 (22)
  • LM3915 IC (25)
  • Meters and Testers (69)
  • Mini Projects (152)
  • Motor Controller (69)
  • MPPT (7)
  • Oscillator Circuits (25)
  • PIR (Passive Infrared) (9)
  • Power Electronics (35)
  • Power Supply Circuits (86)
  • Radio Circuits (10)
  • Remote Control (50)
  • Security and Alarm (66)
  • Sensors and Detectors (132)
  • SG3525 IC (5)
  • Simple Circuits (75)
  • SMPS (29)
  • Solar Controllers (63)
  • Timer and Delay Relay (55)
  • TL494 IC (5)
  • Transformerless Power Supply (9)
  • Transmitter Circuits (42)
  • Ultrasonic Projects (17)
  • Water Level Controller (45)

Calculators

  • AWG to Millimeter Converter
  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Small Signal Transistor(BJT) and Diode Quick Datasheet
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator

© 2023 · Swagatam Innovations