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…

Know the mission before touching a wire.
Understand what you are making, prepare the right tools, and make the workbench safe.
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
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.
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.
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.
What's this?Image, role, pros, cons, handling & specifications

NEARBY
A named project component whose exact role is defined by the source circuit and build guide.
What it does hereIt 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.
What's this?Image, role, pros, cons, handling & specifications

T1, T2, T3, T4 - transistor stages identified in the circuit
A semiconductor stage performs switching, amplification, regulation, rectification, or logic.
What it does hereIt 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.
Connect one verified path at a time.
Explore the named components and standardized signal flow, then use Source Check to verify exact physical pins, values, and topology before applying power.
Trace this circuit.
Ultrasonic Proximity Detector circuit: interactive parts, standardized terminals, responsive anchored wires, student explanations, and the original circuit reference in one shared system.
Trace before wiring
Follow power, ground, inputs, processing, and outputs in that order. Never guess a pin from package shape alone.
Connect with power off
Make short, labelled connections and share a common ground only where the schematic requires it.
Inspect every joint
Check continuity, polarity, adjacent shorts, and loose connections before the first power-up.
Open all source diagrams and build views 3 visuals



Confirm the hardware-only control path.
This project does not include firmware in the source. The circuit itself provides the required behaviour.
How to connect
- Match every controller label to the circuit view and source pin map.
- Join grounds before signal wires when separate low-voltage supplies are used.
- 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.
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.
How to upload code
The original design is implemented entirely in hardware, so proceed after verifying the circuit and supply.
Assemble, deploy, test, and troubleshoot.
Use the complete source notes in build order, then pass the final checks before calling the project finished.
Build in functional stages
- Power and regulation
- Controller or processing stage
- Inputs and sensors
- Outputs and loads
- Enclosure and strain relief
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
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
Follow the documented instructions.
These notes come from this project's source and remain in their original order.
Project overview
Project build noteOnly 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.
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.
Browse all 500 projects