• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Hire Me | Contact | Calculators-online
You are here: Home / Electronics Theory / Simple Triac Triggering Circuits Explained

Simple Triac Triggering Circuits Explained

Last Updated on May 20, 2026 by Swagatam 129 Comments

In this post I have explained the fundamental methods of triggering a triac, and also discuss the right way to connect the terminals of a triac.

Table of Contents
  • Synchronous vs Asynchronous Switching
  • How to Connect a Triac
  • Triac Switching
  • Isolated Triac Control using Opto-Couplers
  • Using DC for Triggering a Triac
  • Triggering through Unijunction Transistor

Triacs are solid-state bidirectional thyristors that can switch across both the AC half cycles on a 120-volt or 240-volt Ac power system.

A triac could be activated (switched on and latched) with the AC line both synchronously or asynchronously.

However, if the triac's gate terminal current drops just below its lowest holding threshold, it will be switched off instantly at the completion of each AC half-cycle (180 electrical degrees).

WARNING: ALL THE CIRCUITS DISCUSSED IN THE FOLLOWING ARTICLE INVOLVE LETHAL 220 V MAINS AC. THEREFORE YOU MUST BE EXTREMELY CAREFUL WHILE USING AND TESTING THESE CIRCUITS, MAKING SURE THAT YOU APPLY ALL THE NECESSARY PRECAUTIONS DURING THE PROCEDURES. ALL THESE CIRCUITS ARE STRICTLY RECOMMENDED ONLY FOR THE EXPERTS.

Synchronous vs Asynchronous Switching

In an asynchronous switching, the triac is triggered ON randomly at any point of the phase cycle.

Due to this, asynchronous switching of triacs can produce substantial radio-frequency interference (RFI), especially at the first switching cycle.

In a synchronous triac switching, the switching periods consistently arrive on at the same moment for each AC half-cycle (typically right after the zero-crossing period) and therefore produce negligible RFI.

All the circuits I have I have explained in this article use asynchronous power switching. Figures 1–8 depict a number of asynchronous triac power-switching circuits for elementary ON/OFF AC line switching.

How to Connect a Triac

A triac has 3 terminals, which are MT1, MT2, and the Gate. The MT stands for main terminal.

Therefore, the main terminals MT1 and MT2 are used for switching heavy AC mains operated loads, through 220V or 120V AC mains supply.

This switching happens in response to a small DC voltage applied to the gate terminal of the triac.

New hobbyists often get confused and ask the question how the MT1 and MT2 terminals should be configured with the AC load and through a DC at the gate?

Remember, the correct method to connect the triac MT1 amd MT2 terminals is by ensuring that the AC load is always connected in series with the MT2 terminal, and the MT1 is connected directly with the other AC line of the mains supply.

how to connect triac with mains AC, load and DC gate trigger

Also, it is extremely important to note that the AC line associated with the MT1 terminal must be also linked with the negative or the ground line of the DC supply, which is being used for triggering the triac gate.

Failing to do this will not allow the triac to respond to the gate signals.

Triac Switching

A basic AC power switch using a triac is shown in Figure 1.

This triac circuit can be used to control the flow of AC power to lamps, heaters, motors, and a variety of other appliances and devices.

However, the triac for this circuit should have the appropriate power handling capacity to reliably switch AC power for the particular application.

how to connect triac with AC mains with snubber

All of the components in this article's schematics were chosen to switch only 120 volts, 50/60 Hz AC.

During the time the switch S1 is open, the triac is turned off and functions as an open switch.

However, when switch S1 is closed, it operates as a closed switch which is powered from the mains AC line via the load and R1 right at the start of each AC half-cycle.

When the triac is turned on, its main terminal voltage decreases to just a few hundred millivolts, thus R1 and S1 draw relatively negligible current.

Please remember that as soon as S1 is initially closed, the triac's turn ON threshold is not synchronized with the AC line, but it gets synchronized with the successive AC half-cycles.

The snubber network formed by resistor R1 and capacitor C1 reduces voltage spikes which develop whenever inductive loads are switched and when current and voltage are out of phase.

Most of the triac circuits discussed in this article incorporate snubber connections.

The triac works like a power switch that may be actuated by DC supply derived from AC supply, as shown in Figure 2 below.

a triac may be actuated by DC supply derived from AC supply

Each positive line half-cycle charges capacitor C1 to +10 volts via resistor R1 and Zener diode D1.

When S1 is turned ON, the charge from C1 initiates the triac. Here the resistor R1 always gets exposed to approximately to the whole AC line voltage.

As a result, it demands a significant power rating (5 watts in ous case).

Due to the fact that all portions of this circuit are "active," it can create a fatal electrical-shock hazard.

Furthermore, since it lacks an isolator or complementing mechanism, this circuit is impossible to integrate with outer control circuitry.

Isolated Triac Control using Opto-Couplers

The next Figure 3 below demonstrates how to modify the circuit in Figure 2 to make it easier to connect with external control circuits.

Bipolar junction transistor Q1 is used in instead of switch S1 and is operated by the output stage of an optocoupler (or optoisolator) IC1.

An infrared light-emitting diode (IRED) is optically linked to a phototransistor in this system. Any of the commercially available transistor-output optoisolators can be implemented in these application.

Isolated Triac Control using Opto-Couplers

The opto couplers like TIL111, TIL 112, 4N27, and 4N28 are among the several. Using resistor R1, a 5 volt or larger DC source could be used to power the optocoupler.

Only after switch S1 connects the input circuit supply to a 5 volt or larger power source, the triac is switched on.

Typical isolation values (Viso) for optocouplers are 5000 volts AC, with some having ratings as large as 7500 volts AC.

This implies that the DC input circuit is completely isolated from the triac output side circuit powered by the AC line.

By substituting S1 with an appropriate electronic detector, this fundamental triac switching circuit may be modified to provide any desired type of automated "remote" triac switching.

Figure 4 below shows a modification of the circuit seen in Figure 3.

remote triac switching

Using capacitor C1 and the series resistor R1, along with the back-to-back Zener diodes D5 and D6, the triac is AC actuated on each line half-cycle in this design.

The amount of the triac gate current is determined by C1's AC line impedance, while the power dissipation of the capacitor C1's is almost around zero.

The series connection of Zener diodes D5, D6, and R3, that is loaded by transistor Q1, is coupled across the bridge rectifier built using diodes D1, D2, D3, and D4.

The bridge is essentially open while transistor Q1 is off, and triac TR1 switches on following the onset of each AC half-cycle.

As soon as  transistor Q1 is turned on, an almost a short circuit like condition is developed across D5, D6, and R3, which shuts off the Triac gate current, eventually turning off the triac TR1.

The optocoupler from the isolated external input stage drives transistor Q1, thus the triac is typically on, but it switches off as soon as the switch S1 is closed.

Using DC for Triggering a Triac

Figures 5 and 6 as given below, illustrate how to use a DC power source from a transformer power supply and a transistorized switch to activate a triac AC power switch.

When S1 is closed, both the transistor and the triac are both turned on, and as soon as S1 is open, both the devices are turned off.

In Figure 5, switch S1 can be substituted by a sensor device that can detect and respond to physical changes.

Transistor Q1 can be a BC557 transistor, not shown in the diagram.

switching a triac from transformer DC power supply

For example, If the ambient temperature decreases below a predetermined level, a thermistor, can be incorporated to activate the triac circuit.

Similarly, photoconductive cell can be installed to detect light levels, a pressure sensor may detect changes in air or liquid pressure, and a flow metre can react to variations in liquid or air flow rate.

Please be cautioned that the  Fig. 5 circuit, is "live" and poses a lethal shock threat.

Figure 6 below demonstrates how to adapt the Fig. 5 circuit to use an optocoupler for its control.

This circuit could be actuated through a completely independent and isolated external circuit due to the presence of the optocoupler.

Triggering through Unijunction Transistor

Figures 7 and 8 as shown below, depict many different methods for triggering a triac through a completely isolated external circuit.

A unijunction transistor (UJT) placed in a pulse-generating relaxation oscillator provides the triggering operation in both of these circuits.

The oscillator circuit, which contains UJT Q2, provides the triggering pulses in these two circuits.

It works with a frequency of many kHz and feeds its output pulses to triac's gate via the pulse transformer T1, that ensures the intended isolation.

Triggering triac through Unijunction Transistor

During the ON periods of the oscillator, the triac is turned on immediately at the start of each AC half-cycle due to the UJT device's relatively high working frequency.

With a resistor R3 is connected between the emitter and the base B2 of the UJT Q2, and a capacitor C1 hooked up between the emitter and the base B1, the UJT Q2 now works like a relaxation oscillator.

In this configuration UJT is able to switch rapidly to charge/discharge the capacitor at high speeds, as soon as the capacitor voltage reaches a certain threshold.

The time consumed by the capacitor to discharge could be evaluated, using the sawtooth's frequency calculations which is around 1/ time.

Since Q1 is in series with the UJT's primary timing resistor R3 in the Fig. 7 circuit, the UJT and the triac only switch on when S1 is closed.

UJT triac switching with a pulse transformer

On the other hand, in Figure 8 above since Q1 is in parallel with the UJT's primary timing capacitor C1 in the Fig. 8 circuit, the UJT and triac only switch on when S1 is open.

S1 could be substituted by a sensor or transducer in each of these circuits to provide an automated power-switching operation as mentioned previously.

The Q1 in the above figure should be an NPN transistor, such as a BC547.

You'll also like:

  • use2BpotsHow a Connect a Potentiometer
  • inductor imageInductor Working and Designing, with Formulas
  • gate threshold specsUnderstanding MOSFET Turn-ON Process
  • SSR conceptSolid State Relay (SSR) Circuit using Two MOSFETs

Filed Under: Electronics Theory Tagged With: Circuits, Explained, Simple, Triac, Triggering

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!



Previous Post: « 10 Useful Active Filter Circuit Diagrams Explored
Next Post: Wheatstone Bridge Circuits Explained with Calculations »

Reader Interactions

Discussion & Solutions

Total Posts: 129
Newest Oldest
pat
May 26, 2026 • 2 months ago #207523

Your first complete circuit has a 1k resistor (R1) in series with a forward biased diode (D1) and a 10v Zener diode (D2). This means there is around 110v effectively across the 1K resistor (R1). That means there is 110 / 1K = 110ma going through the resistor. .110 * 110 = 12.1watts (I * E = P) being dissipated across that resistor; but you’re using a 5 watt resistor. R1 needs to be a much higher resistance.

Reply
SwagatamAdmin
May 26, 2026 • 2 months ago #207532

Thank you for notifying the error, we can increase its value to 4.7k or 10k 5 watt..

Reply
pat
May 26, 2026 • 2 months ago #207547

You could and should bring the resistance up over 100K. There is no purpose of having such high currents in the triggering circuit; that’s a main point of using a Triac in the first place, to have a small current controlling a larger current. Resistor could be 1/4 watt.

Reply
SwagatamAdmin
May 26, 2026 • 2 months ago #207549

The current should be sufficient to fulfil the triac minimum gate triggering requirements, so the resistor must be calculated according to that.
https://www.homemade-circuits.com/scr-and-triac-gate-resistor-calculator/

Reply
pat
May 26, 2026 • 2 months ago #207556

That’s correct, but you’re using a BT136, which has a trigger current of only 10ma

Reply
SwagatamAdmin
May 27, 2026 • 2 months ago #207578

Yes, so maybe 30k or 33k is a good value, 100k is too large.
All these diagrams were probably taken from old magazines, therefore they may have some component value errors.

Reply
pat
May 27, 2026 • 2 months ago #207604

For this particular circuit 100K may be too large, but change some components around and it can work, particularly if you’re using a diac or other thyristor to control the circuit. 100K in the trigger circuit cannot sustain 10ma, however, it doesn’t need to sustain it; it just needs a spike. In my experience, when a thyristor opens, there is a good amount of inrush current that should be enough to kick the triac on. I don’t do much analog design, especially power supply circuits. I needed such a design for a project I am doing and thought maybe I’d find something on the web to save me time. I think it would be silly for a circuit that pisses away 5 watts of power, even when the switch is off.

Reply
SwagatamAdmin
May 27, 2026 • 2 months ago #207606

If you have a capacitor before the diac then things can change drastically, then even a 100k or even higher value works, especially when the trigger is not continuous rather very sharp and for a very short duration of time.

Reply
pat
May 27, 2026 • 2 months ago #207608

Well that’s exactly what I mean. When the thyristor’s trigger voltage is reached, the cap will dump its stored energy through it to kick the triac on. The triac, once triggered will stay on for the remainder of the waves half cycle; that’s the way a triac is typically used for current limiting from a 120/240vac source. This allows for efficient energy usage.

Reply
SwagatamAdmin
May 28, 2026 • 2 months ago #207630

The trigger voltage of an SCR/Triac can be as low as 0.6V, so the capacitor trick won’t work, it might work only if a diac is used whose firing voltage is around 30V.
So high value resistor like 100k will not work if the load is supposed to be switched ON continuously by the triac at full power.

Reply
Nitesh Agrawal
December 11, 2025 • 7 months ago #195242

sir
i want to drive Triac BT131 600 with mcu without MOC 3021 & capacitive reactance . kindly check my schematics & guide me it is ok ? gate resistance value proper? suppose mcu pin source 20 ma current then how can i count gate current .give me idea by maths .

regarding triac triggering with bridge rectifier

Reply
Nitesh Agrawal
December 12, 2025 • 7 months ago #195396

Noted
Thanks

Reply
SwagatamAdmin
December 12, 2025 • 7 months ago #195312

Nitesh, I don’t think your circuit is correct.
According to me the following configuration is better and might work correctly…however a capacitive transformerless power supply is NEVER recommended for Arduinos or MCUs:
triac triggering correct way from 220V AC capacitive power supply

Reply
Nitesh Agrawal
December 12, 2025 • 7 months ago #195405

Dear
i change my thought & now fix it for isolated type so i add MOC 3021 & NTC with 1w zener ,kindly request for check & now it ok ?
what happened if we replace 1000 mfd by 470mfd/25v bcz i have my old one ckt in which i run it with only 100mfd/16v with same mcu & same type load connect with negative side. & it work ok with bride ,, Due to size concern i revised same project so 1000/35 is little big in diameter for me & less adjust on kit

Reply
SwagatamAdmin
December 13, 2025 • 7 months ago #195477

Looks ok to me, but the MOC IC must be configured as per the datasheet diagram:
https://www.farnell.com/datasheets/97984.pdf
470uF is also work.

Reply
Nitesh Agrawal
December 13, 2025 • 7 months ago #195506

dear sir
my load is Liquid Vaporizer 3W – 6W Indoor mosquito repellent ( heater coil) , now finely inform me may i connect this heater coil ( as load ) in series with phase & BT MT2 TERMINAL OR or in series with nutural & mt1 terminal side. which one better for long ckt life & less stress on trial .And also explain why ?

i will fix either moc type or whiteout moc bcz it going under thought for price.
mu ic has IOH = -18 ma @5v & IOL = 20ma @ 5v

Reply
SwagatamAdmin
December 14, 2025 • 7 months ago #195591

Nitesh, for standard configurations without MOC IC, you an put the load in series with the MT2 pin, but if MOC is used then please do it as per the datasheet diagram.

Reply
Nitesh Agrawal
December 14, 2025 • 7 months ago #195635

Thanks
check this last one & say does it ok ? 5v1 zener 1/2 w not sufficient ? bcz my mood is to sell ckt too cheap & i am fear now days by clone also. so say zener 1/2 w work or heat?
also pl inform may i choose 5D 5 ntc instead of 5d11 bcz it has 4amp steady current while my ckt operate with very few miliamp .so 5D5 has 1amp current .so it work ?

Reply
SwagatamAdmin
December 14, 2025 • 7 months ago #195663

You did not connect the VSS to the other AC line?
It should be like this:
Arduino capacitive power supply

Reply
Nitesh Agrawal
December 16, 2025 • 7 months ago #195878

Dear
it already connected but due to schematics drawling i give lable & it name is N . so it not shown But anyway thanks for guide.
may i choose finally 1/2 w zener & NTC 5dD5?
request for give answer for finial this two part. so my project will move ahead.

Reply
Nitesh Agrawal
December 18, 2025 • 7 months ago #196171

Dear
ok thanks.
i will add led +4.7k &10k between gate to mt1

Reply
Nitesh Agrawal
December 17, 2025 • 7 months ago #196049

Dear sir
Thanks for attend.
so i finalized 1w Zener & 5D5. i make both type moc & without & give 2 different price to market .
second after lot of depth think again for moc less circuit ,, when ac & BT off while negative voltage at end of MT2 at that time does my mcu pin get damage or not due to high spike pass from MT2 to gate to MCU pin ? so may i connect 4007 diode in series from mcu pin to resistor & resistor to gate ? so after this last answer i will give design for make pcb sir.

Reply
SwagatamAdmin
December 18, 2025 • 7 months ago #196102

Nitesh, It is not recommended to use a capacitive mains power supply with any sensitive electronic circuits like MCU. But technically your circuit will mostly not cause any harm to the circuit, since one of the phases is protected by series 0.39uF capacitor, and NTC. Also the zener diode ensures the MCU does not get any initial surge current.
If you are worried about the triac gate connection with the MCU output, you can put an LED + 4.7k resistor in series with the triac gate and MCU output, also put a 10k between the triac gate and the ground line (MT1).

Reply
SwagatamAdmin
December 17, 2025 • 7 months ago #195975

OK, no problem, but do not use 1/2 watt zener, use 1 watt or higher rated zener diode for better safety.
NTC can be 5dD5, that is ok…

Reply
ridei karim
October 2, 2023 • 3 years ago #145697

hi… very helpful article

so, i tried to build electronic controller using arduino + some relay and electronic circuit for my washing machine
currently, i can say, it almost working perfectly , specially for the washing process, it can turn clock wise and counter clock wise, also i can control the speed

what i did is, i control speed using PWM,
the only problem, i’ve found the motor often produce a weird sound
i though it because i dont implement zero cross
another problem, i believe the original circuit (from the manufacturer) dont use pwm to control the speed, so i think it control the triac like using variable resistor but, controlled electronically
i’ve tried to figure out how it will looks like
can we use transistor to control current as replacement of variable resistor?

Reply
SwagatamAdmin
October 2, 2023 • 3 years ago #145699

Hi, thanks for your question. Glad you liked the post.
If you are using PWM with a triac then yes it might have problems due to incorrect zero switching timing.
A MOSFET or a BJT can be used to control the motor with PWM, that is definitely feasible without the zero crossing issue.

Reply
ridei karim
October 2, 2023 • 3 years ago #145701

using BJT it means using DC
currently the motor using AC,
from googling , since it is a universal motor, it can work well with DC
thank you for the answer

Reply
SwagatamAdmin
October 2, 2023 • 3 years ago #145704

AC motor can be also used by appropriately configuring a bridge rectifier circuit for the BJT. You can see the following example PWM design in which an AC bulb is controlled through a PWM circuit:
elc2Bcircuit

Reply
SwagatamAdmin
October 2, 2023 • 3 years ago #145705

Sorry that is not a correct example because the load is getting DC, the AC load must be connected in series with the AC line of the bridge rectifier.

Reply
Nitesh
June 23, 2023 • 3 years ago #143616

HI .I have Triac operated ( max load < 2w ) ckt & my load is connect in series with Line Nutural of MT1 terminal & MT2 terminal in direct connect with phase & gate is drive from MOC3021 &its works well. Now problem is that without connect load no current pass from gate to MT1. Now i need little bit change inside that is whiteout connect load may i see that Triac is operate or not ? I mean my i give direct Line Nutural to MT1 & give load in series with MT2 ? i want to see on board that triac is work or not? what extra very low consumption load i will place inside ?

Reply
SwagatamAdmin
June 23, 2023 • 3 years ago #143620

Hi, you can connect the load with the MT2 terminal, and connect MT1 directly with the common ground, this will allow the triac to work regardless whether the load is connected or not. For the triac to switch ON, the gate current must flow to the ground via the MT1 terminal, otherwise the triac will not conduct.

Reply
Nitesh
June 23, 2023 • 3 years ago #143621

as per your suggest if i do not connect load then voltmeter shows ac 220v across load? and what about series resistor from phase to MOC transistor ? i mean i connect 1k series resistor from phase to moc pin 6 ?

Reply
SwagatamAdmin
June 23, 2023 • 3 years ago #143624

Yes that’s correct. However, as per the datasheet if an MOC opto coupler is used then the load should be connected to the MT1 side of the external triac. I am not sure how the circuit will behave if the load is connected to the MT2 pin of the triac. The series resistor must be as per the datasheet diagram.
Please check the last circuit on this pdf datasheet

https://www.farnell.com/datasheets/97984.pdf

Reply
Nil Ag
March 12, 2023 • 3 years ago #140959

Dear
i am looking for Triac (BT131-600v) control circuit with direct MCU with non isolated & capacitive reactance method, my inductive load is < 5w & output voltage of power supply is +5v dc. Kindly see attached file & guide atleast for correction.

Reply
SwagatamAdmin
March 13, 2023 • 3 years ago #140969

Hi, my Arduino knowledge is not good, so solving your request can be difficult for me. Also, the link you sent is not opening.

Reply
Nil Ag
March 13, 2023 • 3 years ago #140980

ok

Reply
View Older Comments

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

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

Primary Sidebar



My Youtube Channel

Circuit Simulator

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

  • Arduino Projects (95)
  • Audio and Amplifier Projects (134)
  • Automation Projects (18)
  • Automobile Electronics (103)
  • Battery Charger Circuits (88)
  • Datasheets and Components (109)
  • Electronics Theory (149)
  • Energy from Magnets and Earth (40)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (99)
  • Lamps and Lights (162)
  • Meters and Testers (72)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Security and Alarm (65)
  • Sensors and Detectors (107)
  • SMPS and Converters (45)
  • Solar Controller Circuits (60)
  • Temperature Controllers (43)
  • Timer and Delay Relay (50)
  • Voltage Control and Protection (44)
  • Water Controller (37)
  • Wireless Circuits (31)



Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |



Recent Comments

  • Swagatam on 5 Useful Power Failure Indicator Circuits Explained
  • Swagatam on Simple 20 watt Amplifier Circuits
  • David Lloyd on 5 Useful Power Failure Indicator Circuits Explained
  • Dale on Simple 20 watt Amplifier Circuits
  • Swagatam on Blood Electrification Circuit: Explanation And Working Principle

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin

© 2026 · Swagatam Innovations