STEP 1 / 6ELECTRONICS

Infrared Burglar Alarm

The latching operation of this infrared burglar alarm is something that makes it stand out. The circuit is very sensitive as well. The circuit has parts that send and receive signals. Whe…

Infrared Burglar Alarm - source illustration from page 245
PROJECT#128
TRACKElectronics
PARTS06
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

Infrared Burglar Alarm is a electronics project. The latching operation of this infrared burglar alarm is something that makes it stand out. The circuit is very sensitive as well. The circuit has parts that send and receive signals. Whe…

Source pages
245-247
Named parts
6
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 INVENTORY6 PART LINES
PARTTYPEQTYREADY
PBuzzerPART1
What's this?Image, role, pros, cons, handling & specifications
Infrared Burglar Alarm - source illustration from page 245PART LEARNING VIEW

Buzzer

An output component turns an electrical control signal into light, sound, motion, switching, or displayed information.

What it does here

It presents the circuit result or acts on the physical world.

Buy / compare this part

Advantages

  • Makes system state visible
  • Can be tested separately
  • Supports clear troubleshooting

Limitations

  • Loads may exceed controller current
  • Polarity or driver direction can matter
  • Inductive loads create voltage spikes

Handling

  • Use the documented driver stage
  • Check polarity and load current
  • Add flyback protection for inductive loads

Specifications to verify

  • Use the exact model, value, package, and rating listed for Buzzer; similar-looking parts are not always interchangeable.
  • Confirm voltage, current, polarity, interface, driver requirements, and duty cycle.
PPower supplyPOWER1
What's this?Image, role, pros, cons, handling & specifications
Infrared Burglar Alarm - source illustration from page 245POWER LEARNING VIEW

Power supply

A power component supplies, converts, stores, or regulates energy for the project.

What it does here

It must provide the documented voltage, polarity, isolation, and sufficient current safely.

Buy / compare this part

Advantages

  • Stable power improves reliability
  • Current limiting protects first tests
  • Regulation reduces resets and noise

Limitations

  • Wrong polarity can cause immediate damage
  • Underrated parts overheat
  • Mains circuits require qualified supervision

Handling

  • Measure output before connection
  • Use a fuse or current limit
  • Insulate exposed conductors

Specifications to verify

  • Use the exact model, value, package, and rating listed for Power supply; similar-looking parts are not always interchangeable.
  • Confirm input/output voltage, current, polarity, connector, isolation, and thermal rating.
MIR sensorMODULE1
What's this?Image, role, pros, cons, handling & specifications
Infrared Burglar Alarm - source illustration from page 245MODULE LEARNING VIEW

IR sensor

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 IR sensor; similar-looking parts are not always interchangeable.
  • Confirm supply range, output type, measurement range, accuracy, response time, and pin order.
SCD4011SEMICONDUCTOR1
What's this?Image, role, pros, cons, handling & specifications
CD4011 quad 2-input NAND gateSEMICONDUCTOR LEARNING VIEW

CD4011

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 CD4011; similar-looking parts are not always interchangeable.
  • Confirm pinout, maximum voltage/current, dissipation, gain or forward voltage, and package.
ST2 - transistor stage identified in the circuitSEMICONDUCTOR1
What's this?Image, role, pros, cons, handling & specifications
Infrared Burglar Alarm - source illustration from page 245SEMICONDUCTOR LEARNING VIEW

T2 - transistor stage 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 T2 - transistor stage identified in the circuit; similar-looking parts are not always interchangeable.
  • Confirm pinout, maximum voltage/current, dissipation, gain or forward voltage, and package.
PLED1 - indicator LED identified in the circuitPART1
What's this?Image, role, pros, cons, handling & specifications
Infrared Burglar Alarm - source illustration from page 245PART LEARNING VIEW

LED1 - indicator LED identified in the circuit

An output component turns an electrical control signal into light, sound, motion, switching, or displayed information.

What it does here

It presents the circuit result or acts on the physical world.

Buy / compare this part

Advantages

  • Makes system state visible
  • Can be tested separately
  • Supports clear troubleshooting

Limitations

  • Loads may exceed controller current
  • Polarity or driver direction can matter
  • Inductive loads create voltage spikes

Handling

  • Use the documented driver stage
  • Check polarity and load current
  • Add flyback protection for inductive loads

Specifications to verify

  • Use the exact model, value, package, and rating listed for LED1 - indicator LED identified in the circuit; similar-looking parts are not always interchangeable.
  • Confirm voltage, current, polarity, interface, driver requirements, and duty cycle.
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

The latching operation of this infrared burglar alarm is something that makes it stand out. The circuit is very sensitive as well. The circuit has parts that send and receive signals. When the IR beam between the transmitter and the receiver breaks, the alarm circuit is set off and the buzzer keeps going off and on. The only way to reset it is to press the reset button.

Infrared burglar alarm circuit

The transmitter section is built around IC 555 (IC1), which is wired as an astable multivibrator and makes a 38kHz frequency. IR LED1 sends out 38 kHz modulated signals up to 4.6 meters away (15 feet). Circuit operation The modulated IR beam from the transmitter keeps hitting the receiver section, which is made up of an IR sensor called TSOP1738, an IC called CD4011, and a few other parts. The TSOP1738 receiver sensor works with a 38kHz frequency. When a modulated IR beam hits the TSOP1738 receiver sensor, its output goes low. When someone crosses the path of the IR rays, the sensor senses this and its output goes high for a short time, which sets off the flip-flop. IC CD4011 is used in the flip-flop circuit. Here, two IC2 NAND gates are used. Most of the time, IC2's input pins 2 and 13 are high. When the IR beam hits TSOP1738, IC2 keeps its output low. When transistor T2 is turned off, the alarm circuit stops working, and the buzzer stops going off. The IR transmitter and receiver are placed on opposite sides of the entry door or gate. When someone walks through the invisible beam between the transmitter and receiver, the output of the receiver goes low for a moment. This turns on the flip-flop. Pin 3 of IC2's output line goes high and stays there. When transistor T2 conducts, the alarm circuit turns on and the buzzer sounds until switch S1 resets the receiver circuit.

Put together the transmitter and receiver on separate PCBs about the size of a matchbox. For alarm purpose, use a piezobuzzer having internal oscillator. The circuit needs 6 to 9V DC to work. Even supplies with no rules can be used. When the power supply is connected, the alarm may go off. Press the reset button to get the circuit ready to find thieves.

Ready to continue?
PROJECT ACHIEVED

You built Infrared Burglar Alarm.

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

Street Light Controller project thumbnail featuring CD4060, BT169 - specified part, T1, T2 - transistor stages identified in the circuit
NEXT ELECTRONICS ADVENTURE

Street Light Controller

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

Start this project
Browse all 500 projects