• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Get free circuit help 24/7

Circuits for Beginners | Basic Circuits | LED Driver | Hobby Circuits | Transistor Circuits

New-Projects | Privacy Policy | About us | Contact | Disclaimer | Copyright | Videos

You are here: Home / Fun Projects / Bicycle Speedometer Circuit

Bicycle Speedometer Circuit

Last Updated on June 3, 2022 by Swagatam 12 Comments

ask questions through comments

In this article we will learn how to build a simple bicycle speedometer circuit which can be used to measure the speed of the bicycle.

What is a Bicycle Speedometer, How it Works

Bicycle speedometer is a device which checks the rotation per minute of the bicycle wheel and displays the results over a meter to indicate how fast the bicycle is travelling.

Basically, a bicycle speedometer works in the following manner:

  • A sensor is installed on the one of the wheels of the bicycle.
  • The sensor is usually a magnet based sensor, such as a magnetic hall effect sensor or a magnetic reed switch sensor.
  • The hall effect sensor or a reed relay is installed on wheel frame of the bicycle, and the magnet is fixed on the wheel itself.
  • The sensor and magnet are fixed in such a way that when the wheel rotates the magnet comes face to face with the sensor on each rotation.
  • In this way on each rotation of the wheel, the magnet creates an instantaneous magnetic field on the sensor which cuts through the sensor generating a corresponding electrical pulse at the output of the sensor.
  • This electrical pulse is fed to a processor which analyzes the sensor output pulses corresponding to each rotation of the wheel, and displays the result over a meter.
  • The meter thus indicates the speed of the bicycle.

Which Concept is used for our Circuit

In this article we are going to explore 3 fundamental ways of making a bicycle speedometer circuit:

  • By Integrating a Meter with Dynamo
  • By using LM3915 Circuit and LEDs
  • By using Hall effect sensor and magnet

1) Simply using a Voltmeter

The easiest way to check how fast your bicycle is moving is to connect a small digital or an analogue voltmeter with your existing bicycle dynamo as shown in the following image:

As shown in the diagram above we have a 0-5V voltmeter connected to the dynamo wires through a 1N4007 rectifier diode and a 100uF filter capacitor. This filter capacitor could be increased to 1000uF to reduce the vibration on the meter needle at slow bicycle speeds. The positive lead of the capacitor is connected with the cathode or the banded side of the 1N4007, and the negative lead of the capacitor is connected directly with the other wire of the dynamo.

Here, the indicated meter has a maximum range of 5V, but you can use a meter with higher range upto 12V or 24V, depending on your dynamo's maximum voltage generating capacity, with regards to the maximum speed of your bicycle.

The working of the circuit is simple. The voltage output of your bicycle dynamo is proportional to the speed of your bicycle wheel. Meaning as the dynamo shaft is rotated faster and faster in response to your bicycle's increasing speed, the same is detected by the voltmeter, and the voltmeter shows a proportionately increasing volt reading on the meter. This volt reading being directly proportional to your bicycle speed, indicates the speed of the bicycle.

2) Using LM3915 IC

In our second concept we will learn how to make a bicycle speedometer using IC LM3915.

The analogue voltmeter shown in the above concept can be vulnerable to vibrations and shocks which are quite common while riding a bicycle over a bumpy track. This could cause the meter coil to get dislodged and get damaged.

This means, if the meter could be replaced by some kind of digital or solid-state system could make the system extremely reliable and fail-proof.

Using an LM3915 based 10 LED bar graph display for indicating the speed appears to be a good solid-state alternative.

The IC LM3915 as we all know is a 10 output dot/bar mode LED driver IC.

This IC will accept a varying voltage input at its pin#5 and will convert the varying voltage level into a sequentially shifting up/down logic across it output pins.

When LEDs are connected across its output pins the LEDs illuminate with a sequentially rising and falling pattern depending on the level of voltage applied at its input pin#5.

This feature of the IC could be exploited to indicate the bicycle speed, as shown in the following diagram:

In the above figure we can see how the IC LM3915 is wired to convert the voltage variations from the dynamo into a sequencing LED bar graph display.

At low speeds only a few LEDs on the left side will be illuminated, and as the bicycle speed increases more LEDs will start illuminating from left to right, until all the LEDs are illuminated at the maximum bicycle speed.

The 10K preset can be adjusted to calibrate the range of the LED bar graph, such that all the 10 LEDs illuminate only when the bicycle is moving at its maximum possible speed.

If you want to have a fixed resistor in place of the 10K preset, then you can use the following resistive divider formula to calculate its value:

Vout = Vin x R2 / (R1 + R2)

Here, R1 is the value of the 10K resistor shown at the lef side of the circuit

R2 is assumed to be the fixed resistor in place of the 10K preset.

Vout is the maximum voltage required at pin#5, which is supposed to 200mV or 0.2 V.

Vin is the maximum voltage from the dynamo which is supposed to generate the 200mV at pin#5 of the IC.

How the Circuit Works

To use this LM3915 based bicycle speed indicator circuit you will need to have a dynamo installed on your bicycle. Next you will have to connect the dynamo wires with the bridge rectifier of the circuit as shown in the above diagram.

The bridge rectifier is required since the output the current from the dynamo is an AC ( alternating current) which needs to be converted to DC before applying to the LM3915 circuit.

After the dynamo AC is rectified it is fed to the pin#5 of the LM3915 for the necessary sensing via a 10 K preset.

The 10K preset works like a voltage divider network and makes sure that the maximum DC from the dynamo is appropriately scaled down to 200 mV, because the LM3915 is internally configured to sense a maximum range of 200 mV at its pin#5.

When a maximum of 200 mV is detected at pin#5 of the IC, all the outputs of the IC become active which means all the connected LEDs will light up.

How to Calibrate

As discussed above the 10K preset at pin#5 of the IC can be used to calibrate the circuit in the following manner.

Put your cycle on stand and start paddling at the maximum possible speed.

Simultaneously, adjust the preset so that at the maximum bicycle wheel rotation the 10th LED just begins illuminating.

Now, if you reduce the paddling speed you should see the LEDs slowly shutting off one by one to settle at some lower level, depending on the paddling rate and the corresponding dynamo voltage.

If you slowly reduce the paddling speed to minimum, that should cause all the LEDs to almost shut off completely.

Using Magnetic Sensor

Now let's learn how the magnetic sensor based design can be implemented to measure the bicycle speed over a given meter.

The following image shows how the magnet and the hall effect sensor or the reed switch sensor can be installed on the front wheel and fork of the bicycle. The magnetic sensor can be a hall effect sensor or a reed switch.

Referring to the above figure, we can see that a permanent magnet is fixed on the wheel frame, while the sensor device is fixed on the fork of the bicycle.

Both the elements are fixed face to face such that on each wheel rotation the magnet and the sensor cut each other, causing the magnetic field of the magnet to cut through the sensor.

This means that on each full rotation when the magnetic field cuts through the sensor, the sensor is able to respond to this and generate a corresponding electrical pulse at its output.

It means the pulses from the sensor will be at the same rate as the number of rotations of the wheel.

These pulses can be processed through a 555 monostable circuit and fed to a meter to get the proportionate speed reading on the meter. This design is shown in the following figure:

As the wheel rotates, the hall effect is triggered by the magnet on each rotation of the wheel. This causes an electrical pulse to be generated at the output of the hall sensor which is fed to the base of the BC547 transistor.

The transistor switches ON/OFF accordingly, triggering the IC 555 frequency to voltage converter, so that the pin#3 output of the 555 generates appropriately dimensioned pulses corresponding to the magnetic sensor pulses. The rate of this pulse becomes faster and faster as the speed of the bicycle increases. Conversely, the rate of the pulses from the IC 555 output gets slower and slower as the speed of the bicycle decreases.

This varying rate of pulses at pin#3 output of the 555 is fed to an integrator circuit comprising of R7, R8, C4, C5 which appropriately convert the varying pulse rate into a proportionately increasing or decreasing DC voltage.

This DC voltage is fed to a voltmeter which translates the varying pulses into volts reading that's directly proportionate to the speed of the bicycle.

Pot R3 which can be a preset also is used to calibrate the meter such that at the maximum dynamo voltage the meter reads a full scale deflection.

Connecting the Dynamo directly with the 555 Circuit without magnetic sensor

If you think the hall effect sensor method is too complex and messy, you can directly configure the dynamo outputs with the 555 input as shown in the following diagram.

As the speed of the bicycle varies, the number the AC cycles from the dynamo also varies proportionately. This varying AC from the dynamo is converted to DC pulses through a bridge rectifier and applied to the base of the BC547.

The BC547 in turn triggers the IC 555 monostable which converts the DC pulses from the dynamo into proportionate numbers of ON/OFF signals at its output pin#3.

As explained previously, the output from the IC 555 is applied to an integrator (R7, R8, C4, C5) which converts the ON/OFF signals into a constantly varying DC, which is finally applied to a voltmeter.

The voltmeter displays the varying DC, which is directly proportional to the speed of the bicycle.

get free help for circuit diagrams

You'll also like:

  • 1.  RF Signal Meter Circuit
  • 2.  4 Simple VU Meter Circuits Explained
  • 3.  2 Simple Milliohm Meter Circuits [Measure Low Resistances below 1 Ohm with these Circuits]
  • 4.  Simple ESR Meter Circuit
  • 5.  Electronic Cricket Sound Generator Circuit
  • 6.  3 Frequency to Voltage Converter Circuits Explained

About Swagatam

I am an electronic engineer (dipIETE ), hobbyist, inventor, schematic/PCB designer, manufacturer. I am also the founder of the website: https://www.homemade-circuits.com/, where I love sharing my innovative circuit ideas and tutorials.
If you have any circuit related query, you may interact through comments, I'll be most happy to help!

Subscribe for the Latest Posts


 

Reader Interactions

Comments

    Have Questions? Please post your comments below for quick replies! Comments should be related to the above artcile Cancel reply

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

  1. Jeff says

    June 1, 2022 at 4:47 pm

    Not sure if I am missing something but I haven’t seen a dynamo on a pushbike for 50 years!

    Reply
    • Swagatam says

      June 1, 2022 at 5:00 pm

      Dynamo is an optional device, you can use it bicycles if you want to apply electrical gadgets on the bike such as lights, horn etc

      Reply
      • Jeff says

        June 1, 2022 at 5:06 pm

        Yes my friend, I know that because it was the only lighting option for a pushbike when I was a child (over 60 years ago). But as I said I haven’t seen one in my country for over 50 years. I didn’t know they were still available.

        Reply
        • Swagatam says

          June 1, 2022 at 5:39 pm

          OK, Got it! thanks for the feedback!

          Reply
  2. Jorge says

    May 31, 2022 at 9:31 am

    Hi, my friend!
    Maybe use beam photoelectric sensor with segment display? How about the idea?

    Reply
    • Swagatam says

      May 31, 2022 at 9:55 am

      Thank you Jorge, that’s also a good idea, but the design can be a little complex to build for the newcomers.

      Reply
  3. Keith says

    May 31, 2022 at 4:51 am

    Hi interesting but this is not a speedometer it does not tell what speed you are doing, all it tell you if you are travelling fast or slow
    But never the less quite interesting
    Keith

    Reply
    • Swagatam says

      May 31, 2022 at 9:10 am

      Hi, thank you, that’s correct, but the circuits can work like a speedometer once the meter scale is calibrated using an actual speedometer.

      Reply
  4. Chris says

    May 30, 2022 at 7:31 pm

    Hi sir thanks for this circuit I think it will be great idea for E bike construction

    Reply
    • Swagatam says

      May 30, 2022 at 8:00 pm

      Sure Chris, this circuit can be used in E bikes as a speedometer!

      Reply
  5. Usman says

    May 30, 2022 at 7:17 pm

    Kindly make igbt protection circuit for the high frequency applications. It will be very helpful for us.

    Reply
    • Swagatam says

      May 30, 2022 at 7:30 pm

      Thanks for the feedback! I will try to do it soon…

      Reply

Primary Sidebar



Categories

  • 3-Phase Power (15)
  • 324 IC Circuits (19)
  • 4017 IC Circuits (52)
  • 4060 IC Circuits (25)
  • 555 IC Circuits (98)
  • 741 IC Circuits (19)
  • Amplifiers (59)
  • Arduino Engineering Projects (83)
  • Audio Projects (94)
  • Battery Chargers (83)
  • Car and Motorcycle (94)
  • Datasheets (46)
  • Decorative Lighting (Diwali, Christmas) (32)
  • DIY LED Projects (89)
  • Electronic Components (97)
  • Electronic Devices and Circuit Theory (35)
  • Electronics Tutorial (110)
  • Fish Aquarium (5)
  • Free Energy (34)
  • Fun Projects (12)
  • GSM Projects (9)
  • Health Related (19)
  • Heater Controllers (28)
  • Home Electrical Circuits (100)
  • How to Articles (20)
  • Incubator Related (6)
  • Industrial Electronics (28)
  • Infrared (IR) (40)
  • Inverter Circuits (98)
  • Laser Projects (12)
  • LM317/LM338 (21)
  • LM3915 IC (25)
  • Meters and Testers (64)
  • Mini Projects (156)
  • Motor Controller (66)
  • MPPT (7)
  • Oscillator Circuits (24)
  • PIR (Passive Infrared) (8)
  • Power Electronics (33)
  • Power Supply Circuits (75)
  • Radio Circuits (9)
  • Remote Control (47)
  • Security and Alarm (61)
  • Sensors and Detectors (118)
  • SG3525 IC (5)
  • Simple Circuits (74)
  • SMPS (29)
  • Solar Controllers (60)
  • Timer and Delay Relay (53)
  • TL494 IC (5)
  • Transformerless Power Supply (8)
  • Transmitter Circuits (40)
  • Ultrasonic Projects (14)
  • Water Level Controller (45)


Circuit 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


You can also Chat with me here:

Facebook
Twitter
YouTube
Instagram
My Facebook-Page
Quora



© 2022 · Swagatam Innovations

We use cookies on our website to give you the best experience.
Cookie settingsAccept All
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Please visit the Privacy Policy Page for more info.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT