STEP 1 / 6ELECTRONICS

Ultrasonic Proximity Detector circuit

Only sounds with a frequency of up to 20 kilohertz can be heard by humans. The frequency of operation for this proximity detector is forty kilohertz. It makes use of two ultrasonic transd…

Circuit Atlas themed schematic for Ultrasonic Proximity Detector circuit
PROJECT#091
TRACKElectronics
PARTS02
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

Ultrasonic Proximity Detector circuit is a electronics project. Only sounds with a frequency of up to 20 kilohertz can be heard by humans. The frequency of operation for this proximity detector is forty kilohertz. It makes use of two ultrasonic transd…

Source pages
177-179
Named parts
2
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 INVENTORY2 PART LINES
PARTTYPEQTYREADY
PNEARBYPART1
What's this?Image, role, pros, cons, handling & specifications
Circuit Atlas themed schematic for Ultrasonic Proximity Detector circuitPART LEARNING VIEW

NEARBY

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 NEARBY; similar-looking parts are not always interchangeable.
  • Confirm dimensions, ratings, connection method, polarity, and environmental limits.
ST1, T2, T3, T4 - transistor stages identified in the circuitSEMICONDUCTOR1
What's this?Image, role, pros, cons, handling & specifications
Circuit Atlas themed schematic for Ultrasonic Proximity Detector circuitSEMICONDUCTOR LEARNING VIEW

T1, T2, T3, T4 - transistor stages identified in the circuit

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 T1, T2, T3, T4 - transistor stages identified in the circuit; similar-looking parts are not always interchangeable.
  • Confirm pinout, maximum voltage/current, dissipation, gain or forward voltage, and package.
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

Only sounds with a frequency of up to 20 kilohertz can be heard by humans. The frequency of operation for this proximity detector is forty kilohertz. It makes use of two ultrasonic transducers that have been custom-made: one transducer produces sound at a frequency of 40 kilohertz, while the other transducer receives sound at this frequency and turns it into an electrical variation of the same frequency. The ultrasonic proximity detector's block design can be seen in Fig. 1, while the detector's circuit is depicted in Fig. 2. Mount the transducers (both the transmitter and the receiver) approximately 5 centimeters apart on a piece of general-purpose printed

circuit board (PCB), as indicated in Figure 3, and connect to identical points ('a' through 'd') of the detector circuit (Figure 2) using external wires. The 40 kHz oscillator is constructed using transistors T1 and T2 as its core components. Some of the transmitted ultrasonic waves will be reflected back and picked up by the reception transducer if there is a solid object in front of the ultrasonic transmitter module (TX1) (RX1). The receiver takes the ultrasonic signals at 40 kHz and converts them into electric impulses at the same frequency. These electric signals are then amplified by the transistors T3 and T4. Fig. 3: Transducers mounted on the PCB The enhanced signals are still within the range of frequencies that are inaudible, which means that they cannot be heard. At the output of the amplifier, there is therefore a frequency-divider stage that makes use of a CMOS decade counter IC4017 (IC1). Because IC1 reduces the frequency of the input signal by a factor of 10, the signal that was originally 40 kHz is now only 4 kHz, which is audible. Op-amp IC 741 (IC2), which has been hooked up to function as an earphone amplifier, receives the 4kHz signals as input. This circuit has the potential to serve as an electronic watchdog for the visually impaired. Maintain it in their pocket, together with the 9V battery, and ensure that the earphone is inserted into their ear. It is recommended that the transducer modules be aimed in the direction of the walking path. They will be able to adjust their course appropriately if they hear a sound at a frequency of 4 kilohertz through the earphone in the event that an item appears in front of them or nearby. It is important to keep in mind that while you are using this device, you should not have any pets in the room with you. The reason for this is that animals are able to hear

ultrasonic sound, which causes them discomfort and causes them to bark unnecessarily.

Ready to continue?
PROJECT ACHIEVED

You built Ultrasonic Proximity Detector circuit.

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

Automatic Parking Light for Cars project thumbnail featuring T1, T2, T3, T4 - transistor stages identified in the circuit
NEXT ELECTRONICS ADVENTURE

Automatic Parking Light for Cars

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

Start this project
Browse all 500 projects