STEP 1 / 6ELECTRONICS

Speed Checker for Highways

When driving on highways, drivers shouldn't go faster than their vehicle's top speed limit. But drivers keep getting into accidents because they don't pay attention to their speedometers.…

Circuit Atlas themed schematic for Speed Checker for Highways
PROJECT#263
TRACKElectronics
PARTS05
STAGES06
STEP 1 / 6 · Overview

Know the mission before touching a wire.

Understand what you are making, prepare the right tools, and make the workbench safe.

01

Project details

Speed Checker for Highways is a electronics project. When driving on highways, drivers shouldn't go faster than their vehicle's top speed limit. But drivers keep getting into accidents because they don't pay attention to their speedometers.…

Source pages
498-502
Named parts
5
Build goal
Working, tested prototype
02

Tools you need

  • Digital multimeter
  • Wire stripper and side cutters
  • Soldering iron with a fine tip
  • Current-limited bench supply

Use eye protection, good lighting, and a clean insulated surface throughout the build.

03

Safety precautions

  • Disconnect every power source before changing a connection.
  • Check component polarity, pinout, and supply voltage twice.
  • Use a current limit for the first power-up.
  • Keep liquids, loose metal, and uninsulated wires away from the bench.
Ready to continue?
STEP 2 / 6 · Parts library

Gather, identify, and understand every part.

Use the standardized inventory, then open What's this? to learn each part's role, advantages, limitations, handling, and specifications.

NAMED PROJECT INVENTORY5 PART LINES
PARTTYPEQTYREADY
MLDRMODULE1
What's this?Image, role, pros, cons, handling & specifications
Light sensor moduleMODULE LEARNING VIEW

LDR

A sensor converts a physical condition into an electrical signal the circuit can measure.

What it does here

It provides project input as an analogue, digital, resistive, frequency, or calibrated signal.

Buy / compare this part

Advantages

  • Adds real-world awareness
  • Can usually be tested independently
  • Often supports calibration

Limitations

  • Readings can drift
  • Placement affects results
  • Some sensors need warm-up or calibration

Handling

  • Protect the sensing surface
  • Observe supply voltage and polarity
  • Keep signal leads away from noisy power wiring

Specifications to verify

  • Use the exact model, value, package, and rating listed for LDR; similar-looking parts are not always interchangeable.
  • Confirm supply range, output type, measurement range, accuracy, response time, and pin order.
SNE555SEMICONDUCTOR1
What's this?Image, role, pros, cons, handling & specifications
NE555 timerSEMICONDUCTOR LEARNING VIEW

NE555

A semiconductor stage performs switching, amplification, regulation, rectification, or logic.

What it does here

It controls current or signal flow at a defined point in the circuit.

Buy / compare this part

Advantages

  • Fast and efficient
  • Compact
  • Can control larger loads from smaller signals

Limitations

  • Pin order varies
  • Sensitive to overvoltage and reverse polarity
  • May need cooling or bias components

Handling

  • Verify the datasheet pinout
  • Avoid static and soldering heat
  • Check notch, stripe, or flat-face orientation

Specifications to verify

  • Use the exact model, value, package, and rating listed for NE555; similar-looking parts are not always interchangeable.
  • Confirm pinout, maximum voltage/current, dissipation, gain or forward voltage, and package.
SCD4026SEMICONDUCTOR1
What's this?Image, role, pros, cons, handling & specifications
Circuit Atlas themed schematic for Speed Checker for HighwaysSEMICONDUCTOR LEARNING VIEW

CD4026

A semiconductor stage performs switching, amplification, regulation, rectification, or logic.

What it does here

It controls current or signal flow at a defined point in the circuit.

Buy / compare this part

Advantages

  • Fast and efficient
  • Compact
  • Can control larger loads from smaller signals

Limitations

  • Pin order varies
  • Sensitive to overvoltage and reverse polarity
  • May need cooling or bias components

Handling

  • Verify the datasheet pinout
  • Avoid static and soldering heat
  • Check notch, stripe, or flat-face orientation

Specifications to verify

  • Use the exact model, value, package, and rating listed for CD4026; similar-looking parts are not always interchangeable.
  • Confirm pinout, maximum voltage/current, dissipation, gain or forward voltage, and package.
PLED1, LED2 - indicator LEDs identified in the circuitPART1
What's this?Image, role, pros, cons, handling & specifications
Circuit Atlas themed schematic for Speed Checker for HighwaysPART LEARNING VIEW

LED1, LED2 - indicator LEDs identified in the circuit

A named project component whose exact role is defined by the source circuit and build guide.

What it does here

It performs a documented electrical, control, interface, or construction function in this project.

Buy / compare this part

Advantages

  • Selected for this project
  • Can be checked independently
  • Supports modular troubleshooting

Limitations

  • Substitutes may differ
  • Generic names can hide variants
  • Pinouts and ratings vary

Handling

  • Compare the received part with the source
  • Keep it labelled
  • Do not force connectors or adjusters

Specifications to verify

  • Use the exact model, value, package, and rating listed for LED1, LED2 - indicator LEDs identified in the circuit; similar-looking parts are not always interchangeable.
  • Confirm dimensions, ratings, connection method, polarity, and environmental limits.
PVR1, VR2, VR3 - preset potentiometers identified in the circuitPART1
What's this?Image, role, pros, cons, handling & specifications
10kΩ preset potentiometerPART LEARNING VIEW

VR1, VR2, VR3 - preset potentiometers identified in the circuit

A named project component whose exact role is defined by the source circuit and build guide.

What it does here

It performs a documented electrical, control, interface, or construction function in this project.

Buy / compare this part

Advantages

  • Selected for this project
  • Can be checked independently
  • Supports modular troubleshooting

Limitations

  • Substitutes may differ
  • Generic names can hide variants
  • Pinouts and ratings vary

Handling

  • Compare the received part with the source
  • Keep it labelled
  • Do not force connectors or adjusters

Specifications to verify

  • Use the exact model, value, package, and rating listed for VR1, VR2, VR3 - preset potentiometers identified in the circuit; similar-looking parts are not always interchangeable.
  • Confirm dimensions, ratings, connection method, polarity, and environmental limits.
Ready to continue?
STEP 4 / 6 · Source code

Confirm the hardware-only control path.

This project does not include firmware in the source. The circuit itself provides the required behaviour.

01

How to connect

  1. Match every controller label to the circuit view and source pin map.
  2. Join grounds before signal wires when separate low-voltage supplies are used.
  3. Keep motors, relays, pumps, and other loads on a suitable driver and external supply.

Common mistakes

Reversed VCC/GND, board-label versus GPIO-number confusion, missing common ground, and charge-only USB cables.

Troubleshoot

Disconnect loads, continuity-test one path at a time, then test with a current limit.

02

Software preparation

No IDE, board package, library, or firmware upload is required for this project.

If you add a programmable controller as an extension, document its pin map separately.

03

How to upload code

The original design is implemented entirely in hardware, so proceed after verifying the circuit and supply.

Ready to continue?
STEP 5 / 6 · Build

Assemble, deploy, test, and troubleshoot.

Use the complete source notes in build order, then pass the final checks before calling the project finished.

ASSEMBLY

Build in functional stages

  • Power and regulation
  • Controller or processing stage
  • Inputs and sensors
  • Outputs and loads
  • Enclosure and strain relief
TEST

Power up safely

  • Inspect unpowered continuity first
  • Apply the lowest safe current limit
  • Measure supply rails before signals
  • Add one load at a time
  • Record expected and actual results
TROUBLESHOOT

Work from simple to complex

  • Confirm power, ground, polarity, and orientation
  • Compare each pin with the source
  • Test inputs separately from outputs
  • Replace only one variable at a time
  • Power off before every correction
PROJECT-SPECIFIC BUILD NOTES

Follow the documented instructions.

These notes come from this project's source and remain in their original order.

01

Project overview

Project build note

When driving on highways, drivers shouldn't go faster than their vehicle's top speed limit. But drivers keep getting into accidents because they don't pay attention to their speedometers. This speed checker will be useful for highway traffic police because it will not only show the speed of a car on a digital screen, but it will also sound an alarm if the car goes faster than the speed limit for the highway. The system is mostly made up of two sets of a laser transmitter and an LDR sensor. Each set is put on the highway 100 meters apart, with the transmitter and the LDR sensor on opposite sides of the road for each pair. Fig. 1 shows how lasers and LDRs are put together. The system shows, with a resolution of 0.01 second, how

long it takes the vehicle to go from one pair of sensors to the next. From this, you can figure out how fast the vehicle is going: Based on the above equation, the display will show 900 (or 9 seconds) for a speed of 40 km/h and 600 for a speed of 60 km/h (or 6 seconds). Note that the LSB of the display is 0.01 second and that each digit after the first one is ten times the one before it. You can also figure out the other readings in the same way (or time). Speed checker circuit diagram In the picture below, you can see how the speed checker works. It was made with the assumption that the speed limit on highways is either 40 km/h or 60 km/h, depending on the rule. Installation of lasers and LDRs on highway

Five NE555 timer ICs (IC1–IC5), four CD4026 counter ICs (IC6–IC9), and four 7-segment displays make up the circuit (DIS1 through DIS4). IC1 through IC3 all work as monostables. The outputs of IC1 and IC2 control IC1 as a count-start mono, IC2 as a count-stop mono, and IC3 as a speed- limit detector mono. The outputs of IC1 and IC2 also control the set-reset bi-stable timer IC4, which in turn controls the on/off switching of the 100Hz (period = 0.01 second) astable timer IC5.

02

Circuit description

Project build note

The preset VR1 or VR2 and capacitor C1 can be used to change the time period of the count-start monostable multivibrator timer NE555 (IC1). For a speed limit of 40kmph, preset VR1 sets the time limit to 9 seconds. For a speed limit of 60kmph, preset VR2 sets the time limit to 6 seconds. Slide switch S1 is used to set the time according to the speed limit (40 kmph and 60 kmph, respectively). Pin 2 of IC1 is connected to the point where LDR1 and R1 meet. Usually, the laser light keeps shining on the LDR sensor, so the LDR has a low resistance and pin 2 of IC1 is high. When a car blocks the light from getting to the LDR, the LDR resistance goes up, which makes pin 2 of IC1 go low and set off the monostable. Because of this, output pin 3 goes high for the amount of time that was set (9 or 6 seconds), and LED1 lights up to show this. When the power is turned on or when the reset switch S2 is pressed, pin 4 is controlled by the output of NAND gate N3. For IC2, the monostable is set off in the same way as for IC1 when the vehicle crosses the laser beam hitting LDR2. This makes a small pulse that stops counting and is used to figure out how fast the vehicle is going. LED2 lights up for as long as pin 3 of IC2 is high. The outputs of IC1 and IC2 are connected to NAND gate N1's input pins 2 and 1. When the outputs of IC1 and IC2 both go high at the same time, which means the car has gone over

the set speed limit, pin 3 of gate N1 goes low, which turns on monostable timer IC3. The output of IC3 is used to power the piezobuzzer PZ1, which sounds an alarm if the driver goes over the speed limit. The piezobuzzer sounds for a certain amount of time, which is set by the resistor R9 and the capacitor C5. How a circuit works Circuit of speed checker for highway At the beginning of the count-start pulse, the output of IC1 turns on the bistable (IC4) through gate N2. When IC4's pin 2 goes low, the high signal on its pin 3 turns on IC5's astable clock generator. Since IC2's count-stop pulse output is linked to IC4's pin 6 through diode D1, it resets IC5's clock generator. IC5 can also be reset by diode D2 when the power is turned on or by pressing reset switch S2. IC5 is set up as an astable multivibrator, which means that VR3, R12, and C10 are used to set the time period. Using preset VR1, the astable multivibrator is set to have a frequency of 100 Hz. The

output of IC5 goes to the clock pin 1 of IC6 CD4026, which is a decade counter/7-segment decoder. The IC CD4026 is a 5-stage Johnson decade counter and an output decoder that turns the Johnson code into a 7-segment decoded output for driving the DIS1 display. At each positive clock signal, the counter moves forward by one. In a chain of decade counters, the carry-out (Cout) signal from the CD4026 sends one clock to the next decade counter after every ten clock inputs. To do this, pin 5 of each CD4026 is connected to pin 1 of the next CD4026. When the reset signal is high, the decade counter is reset to 0. When the switch S2 is pressed, pin 15 of all CD4026 ICs, as well as IC1 and IC4, receive a reset signal. The power-on-reset signal is made by capacitor C12 and resistor R14.

Ready to continue?
PROJECT ACHIEVED

You built Speed Checker for Highways.

You followed the full workflow from understanding the mission to testing the finished project. That is a real engineering achievement - well done.

Simple Stereo Level Indicator project thumbnail featuring Speaker, LM3915, VR1, VR2 - preset potentiometers identified in the circuit
NEXT ELECTRONICS ADVENTURE

Simple Stereo Level Indicator

Ready to reuse what you learned in another project from the same track?

Start this project
Browse all 500 projects