digital speedometer circuit schematic

25,861

Circuit Image

This circuit is designed to display the speed of a vehicle in kilometers per hour (km/h). An opaque disc is mounted on the spindle connected to the front wheel of the vehicle. The disc features evenly spaced holes along its edge. An infrared LED is positioned on one side of the disc, while a phototransistor is aligned with the IR LED on the opposite side. The integrated circuit LM324 is configured as a comparator. When a hole passes between the IR LED and the phototransistor, the phototransistor becomes conductive. Consequently, the voltage at the collector of the phototransistor and the inverting input of the LM324 drops, resulting in a logic high output from the LM324. The rotation of the speedometer cable generates a pulse (square wave) at the output of the LM324, with the frequency of this waveform being proportional to the vehicle's speed.

The circuit operates by utilizing the principle of interruption of an infrared light beam. As the vehicle moves, the disc rotates synchronously with the front wheel. The infrared LED emits a continuous beam of light towards the phototransistor. When a hole in the disc aligns with the IR LED and phototransistor, the light beam is momentarily interrupted, causing the phototransistor to switch from a non-conductive to a conductive state. This transition generates a pulse that can be detected by the LM324 comparator.

The LM324 is a quad comparator IC that can compare the voltage levels at its inputs. In this application, it is configured to generate a high output signal when the voltage at the inverting input (connected to the phototransistor) falls below a certain threshold. This output is a square wave signal, and its frequency directly correlates with the rotational speed of the disc, which in turn reflects the speed of the vehicle.

To convert the frequency of the output signal into a speed reading, additional circuitry is often employed. This may include a frequency-to-voltage converter or a microcontroller that can count the pulses over a defined time period and calculate the corresponding speed in km/h. The output from the LM324 can also be used to drive a display unit, providing real-time speed information to the driver.

In summary, this vehicle speed measurement circuit effectively combines mechanical rotation with optical sensing and electronic signal processing to provide accurate speed readings, making it a valuable component in automotive applications.This circuit serves to show the speed of the vehicle in kmph. An opaque disc is mounted on the spindle attached to the front wheel of the vehicle. The disc has about equidistant holes on its periphery. On one side of the disc an infrared LED is fixed and on the opposite side of the disc, in line with the IR LED, a phototransistor is mounted. IC LM 324 is wired as a comparator. When a hole appears between the IR LED and phototransistor, the phototransistor conducts. Hence the voltage at collector of the phototransistor and inverting input of LM324 go low`, and thus output of LM324 becomes logic high`. So rotation of the speedometer cable results in a pulse (square wave) at the output of LM324. The frequency of this waveform is proportional to the speed. 🔗 External reference