PIN Diode Based Fire Sensor
Here is a PIN diode-based fire sensor that sounds an alarm when it senses fire. Thermistor-based fire alarms have a flaw: the alarm only goes off if the fire is close enough to heat the t…

Know the mission before touching a wire.
Understand what you are making, prepare the right tools, and make the workbench safe.
Project details
PIN Diode Based Fire Sensor is a electronics project. Here is a PIN diode-based fire sensor that sounds an alarm when it senses fire. Thermistor-based fire alarms have a flaw: the alarm only goes off if the fire is close enough to heat the t…
- Source pages
- 286-288
- Named parts
- 5
- 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.
- This project may involve hazardous voltage. Work only with qualified supervision and proper isolation.
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

Buzzer
An output component turns an electrical control signal into light, sound, motion, switching, or displayed information.
What it does hereIt 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.
What's this?Image, role, pros, cons, handling & specifications

CD4060
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 CD4060; similar-looking parts are not always interchangeable.
- Confirm pinout, maximum voltage/current, dissipation, gain or forward voltage, and package.
What's this?Image, role, pros, cons, handling & specifications

NEAR
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 NEAR; 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 - 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 - 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.
What's this?Image, role, pros, cons, handling & specifications

LED1, LED2, LED3 - 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 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 LED1, LED2, LED3 - indicator LEDs identified in the circuit; similar-looking parts are not always interchangeable.
- Confirm dimensions, ratings, connection method, polarity, and environmental limits.
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.
PIN Diode Based Fire Sensor: 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 1 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 noteHere is a PIN diode-based fire sensor that sounds an alarm when it senses fire. Thermistor-based fire alarms have a flaw: the alarm only goes off if the fire is close enough to heat the thermistor. For longer-range fire detection, this circuit uses a sensitive PIN diode as a fire sensor. It can pick up visible light and infrared (IR) light with wavelengths between 430nm and 1100nm. So, it's easy for both visible light and infrared light from the fire to set off the sensor and set off the alarm. It also looks for sparks in the mains wiring and sounds an alarm if they don't go away. It is a great way to protect stores, lockers, and record rooms. PIN diode in the circuit, BPW34 is used as a light and infrared (IR) sensor. BPW34 is a two-pin photodiode with an anode (A) and a cathode (C) (K). The flat top of the photodiode makes it easy to find the end that is the anode. The anode is a small solder point to which a thin wire is attached. The cathode is the other small solder point. BPW34 is a small PIN photodiode or mini solar cell with a light-sensitive surface that makes 350mV DC when exposed to 900nm light. It is sensitive to both natural sunlight and firelight. So, it works perfectly as a light sensor. The BPW34 photodiode can be
used both with no bias and with reverse bias. When light shines on it, its resistance goes down. In Figure shows a diagram of how the PIN diode-based fire sensor works. It is made up of a 9V battery, a PIN diode (D1), an op-amp (IC1), a counter (IC2), two transistors (T1 and T2), a piezo buzzer (PZ1), and a few other parts. In the circuit, the PIN photodiode BPW34 is connected in reverse-biased mode to the inverting and non- inverting inputs of op-amp IC1 to feed photocurrent into the op-input. amp's The CA3140 is a 4.5MHz BiMOs op-amp with MOSFET inputs and a bipolar output. In the input circuit, gate-protected MOSFET (PMOS) transistors give a very high input impedance, usually around 1.5T ohms. The IC only needs a very small amount of current, as little as 10pA, to change the status of the output from high to low. In the circuit, IC1 is a transimpedance amplifier that converts current to voltage. The photocurrent made by the PIN diode is amplified and turned into the voltage that goes with it by IC1. The non-inverting input is connected to ground and the anode of the photodiode. The photocurrent from the PIN diode goes to the inverting input. Circuit operation Since the transimpedance amplifier is in inverting configuration, the gain is set by R1, which has a large value. When the non-inverting input is connected to ground, it gives the photodiode a low impedance load. This keeps the voltage of the photodiode low. The photodiode works in the photovoltaic mode when there is no outside bias. Feedback from the op-amp makes sure that the current through the photodiode is the same as the current through R1. In this self-biased photovoltaic mode, the photodiode's input offset voltage is very low. This lets a big gain happen without a big offset voltage at the output. This configuration is chosen to get a big gain when there isn't much light. In normal light conditions, the PIN diode's photocurrent is very low. This keeps the output of IC1 low. When the PIN diode picks up visible light or IR from a fire, its photo current goes up, and the transimpedance amplifier IC1 turns this current into a voltage that matches the output. When IC1's output is high, transistor T1 turns on,
which makes LED1 light up. This means the circuit has picked up on fire. When T1 is open, it connects reset pin 12 of IC2 to ground. This makes CD4060 start to oscillate. When C1 and R6 cause IC2 to oscillate, each of its ten outputs goes high one at a time. The blinking of LED2 shows that IC2 is moving back and forth. After 15 seconds, when the output Q6 (pin 4) of IC2 goes high, T2 conducts. This turns on the piezo buzzer PZ1 and makes LED3 light up. If there is still fire after 15 seconds, the alarm will sound again. By replacing PZ1 with a relay circuit, you can also turn on an AC alarm that makes a loud noise (not shown here). The contacts of the relay that is used for this purpose are what turn on the AC alarm.
Construction and testing
Project build notePut the PCB in a small box in a way that makes it easy to connect the PIN diode BPW34 on the back of the box. Put the PIN diode in a good spot and cover it so that it doesn't get normal light or sunlight. It's easy to test the circuit. Usually, the piezo buzzer doesn't go off when there is no fire flame near the PIN diode. When the PIN diode detects a fire flame, the piezo buzzer sounds an alarm. It can find things up to about two meters away. It can also find sparks caused by a short circuit in the mains wiring.
You built PIN Diode Based Fire Sensor.
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