• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Circuit Ideas for You

Get free circuit ideas online.

  • Home
  • Privacy Policy
  • About
Home » 220V AC Live Detection and Interface Circuit

220V AC Live Detection and Interface Circuit

Last updated on 5 July 2026 by Admin-Lavi Leave a Comment

Handling 220V AC directly is very dangerous, but still we need to know mains is ON or OFF; so, this 220V AC Live Detection and Interface Circuit is useful as it solves this safety problem easily.

This circuit safely senses the mains voltage and sends a clean logic-level signal, then an optocoupler provides isolation, keeping the user safe while also protecting the low-voltage circuit.

Therefore, this circuit is good for automation work as it is also suitable for monitoring systems.

Circuit Working:

220V AC Live Detection and Interface Circuit Diagram

Parts List:

ComponentsValuesQuantity
Resistors200k 1 watt, 5.6k 1/4 watt, 1M 1/4 watt1 each
Capacitor Ceramic 0.1uF1
SemiconductorsTransistor BC5471
Optocoupler IC 4N351
Diode 1N40011
Power Supply 5V DC1

To begin with, the main work of this circuit is to detect AC mains supply.

First, apply 220V AC to the input; next, the circuit converts the high-voltage AC into a safe logic signal while resistor R1 limits the current and diode D1 rectifies the AC voltage.

Now only half wave DC is available and this DC flows through optocoupler LED.

When mains power is present the optocoupler LED glows, so the internal phototransistor turns ON and because of this the current flows in low voltage side.

Next, capacitor C1 removes ripple and noise and then transistor Q1 gets base current, so transistor Q1 turns ON fully and collector output becomes HIGH or LOW which depends on circuit connection.

Thus, the circuit produces a clean logic-level output and when mains power is absent, the optocoupler LED stays OFF, so the phototransistor also remains OFF.

Finally, transistor Q1 turns OFF and the output changes state by indicating the mains power failure.

How to Build:

To build a 220V AC Live Detection and Interface Circuit follow the below steps for connection:

  • First, start the circuit by collecting all the circuit parts as shown in circuit diagram above.
  • Then start with optocoupler Input side pin 1 anode connect to R1 and D1 cathode.
  • After that, pin 2 cathode connect to anode of diode D1.
  • Now optocoupler output side pin 4 emitter connect to base of transistor Q1 through capacitor C1 and pin 5 collector connect to +5V DC through one end of resistor R2.
  • Next, transistor Q1 BC547 emitter pin connects to ground and base connect to optocoupler emitter pin 4 through capacitor C1 and also collector connect to output point and R2 resistor.
  • Further, R1 connect between AC live and diode cathode and R2 connect between +5V and output.
  • Lastly, R3 connect between transistor base and ground.

Conclusion:

To conclude, this 220V AC Live Detection and Interface Circuit provides safe mains detection, also, it uses simple components in which optocoupler ensures isolation and transistor provides strong output.

Therefore, it is reliable and cost effective and is ideal for microcontroller interfacing.

References:

Datasheet 4N35 Optocoupler

Filed Under: DIY Projects, High Voltage, Mini Projects, Sensors and Detectors

About Admin-Lavi

Lavi is a B.Tech electronics engineer with a passion for designing new electronic circuits. Do you have questions regarding the circuit diagrams presented on this blog? Feel free to comment and solve your queries with quick replies

Previous Post: « Simple Drummer Sound Circuit using IC 555
Next Post: 5V Regulated Power Supply Circuit using Transistors »

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar




Categories

  • 555 Timer Projects (137)
  • Alarm Circuits (81)
  • Amplifier Circuits (94)
  • Arduino Projects (103)
  • Audio Circuits (189)
  • Automation Circuits (150)
  • Automobile Circuits (40)
  • Battery Charger Circuits (88)
  • DIY Projects (435)
  • Free Energy (12)
  • Heater and Temperature Controllers (32)
  • High Voltage (24)
  • Hobby Circuits (241)
  • Indicator Circuits (63)
  • Inverter Circuits (17)
  • IoT projects (12)
  • LDR Circuits (47)
  • LED and Lamps (201)
  • Meters and Testers (44)
  • Mini Projects (390)
  • Motor Controllers (26)
  • Oscillator Circuits (70)
  • Power Supply Circuits (244)
  • Radio Frequency (8)
  • Remote Control Circuits (12)
  • Renewable energy (20)
  • Security and Protection (128)
  • Sensors and Detectors (236)
  • Solar Circuits (31)
  • Timer Circuits (63)
  • Transistor Circuits (178)
  • Transmitter Circuit (19)
  • Tutorials (33)
  • Voltage Regulator (55)
  • Water Level Controller (10)

Recent Posts

  • Low Current Controlled Battery Charger Circuit using LM723 IC
  • 741 Op-Amp Treble Booster Circuit
  • Simple Diode and Transistor Based Audio Limiter Circuit
  • Simple 500mW Speaker Driver Circuit
  • Easy DIY LM386 Audio Amplifier Circuit

Recent Comments

  1. Admin-Lavi on High Voltage Fence Charger Circuit
  2. etere on High Voltage Fence Charger Circuit
  3. Admin-Lavi on High Voltage Fence Charger Circuit
  4. egidio grzinic on High Voltage Fence Charger Circuit
  5. Logic OR Gate Circuit using Transistors - Circuit Ideas for You on Automatic Street Light Circuit using LDR

Copyright © 2026 | New Circuit Ideas