While this Triac can technically function in either a high-side or low-side configuration, high-side switching is strongly recommended—especially for applications involving mains-voltage outlets.
The Low-Side Risk: In a low-side configuration, switching occurs on the neutral side after the load. This means that even when the Triac is turned off and the circuit is idle, the hot mains voltage (120Vrms) remains present at the load or outlet terminals, presenting a significant shock hazard.
The High-Side Benefit: Placing the Triac on the high side ensures that the hot line is disconnected immediately at the switch. When the Triac is off, the downstream load or outlet is completely isolated from live power, ensuring a safer state for the end user.
For any project where the load interfaces with standard AC mains outlets, high-side configuration should always be used as a standard safety practice.
1. Optoisolator: MOC3063
Purpose: Galvanic isolation and zero-cross triggering.
Selection Logic: The MOC3063 isolates the dangerous 120Vrms mains voltage from the low-voltage +5V logic side, keeping microcontrollers and users safe. The "63" variant features integrated zero-cross detection circuitry. This ensures the Triac only turns on when the AC voltage passes through 0V, drastically minimizing electromagnetic interference (EMI) and current inrush spikes. (Note: The simulation graphic shows a standard phototransistor symbol, but the real-world component uses a bilateral triac driver for full-wave AC).
2. Main Switching Triac: BTA24-600BW
Purpose: High-power solid-state AC switching.
Selection Logic: * "BTA" (Insulated Tab): Chosen because the internal tab is isolated from the active silicon terminals. This allows it to be bolted directly to a shared metal heatsink without needing external mica or sil-pad isolation washers.
24A / 600V Rating: A 600V rating provides a massive safety ceiling against transient voltage spikes on a 120V mains line, while the 24A rating provides excellent thermal headroom.
"BW" (Snubberless/High Dv/Dt): Indicates a snubberless Triac with incredibly high dv/dt immunity. It resists accidental turn-on caused by rapidly changing voltage, making it inherently robust when driving difficult inductive loads like motors or transformers.
3. Gate Resistors: 330Ω (1/2W min) & 330Ω (1/4W)
The Upper 330Ω (1/2W min): Limits the peak triggering current passing through the MOC3063 optotriac when it fires. Because it can briefly see the full peak of the AC line (approx. 170V peak), it is rated for 1/2W (or a flameproof metal film) to handle the brief energy pulse before the main Triac latches on and shunts the current.
The Lower 330Ω (1/4W): Tied between the Gate and MT1. This prevents false triggering from noise or leakage current from the optoisolator by anchoring the gate voltage down when the optocoupler is off.
4. Snubber Resistor: RSMF2JT100R (100Ω, 2W Metal Oxide)
Purpose: Snubber network energy dissipation.
Selection Logic: When switching inductive loads, the inductive collapse at turn-off can create a massive voltage spike. This 100Ω resistor dampens that spike. A 2W Metal Oxide Film (RSMF series) resistor is selected for its excellent pulse-handling capabilities and flameproof construction under continuous AC stress.
5. Snubber Capacitor: R46KI24700001M (47nF X2 Safety Rated)
Purpose: AC voltage spike suppression.
Selection Logic: The KEMET R46 series is an X2 safety-rated polypropylene film capacitor, strictly rated for direct connection across an AC mains line. They are designed with "self-healing" properties, meaning if a massive voltage spike punches a microscopic hole in the dielectric, the capacitor isolates the damage rather than failing as a dangerous short circuit.
6. Logic Input Resistor: 220Ω (1/4W)
Purpose: LED forward current limiting.
Selection Logic: Limits current from the +5V logic pin through the internal infrared LED of the MOC3063. At 220Ω, it targets roughly 15mA of forward current, perfectly hitting the MOC3063’s rated trigger threshold to guarantee crisp, reliable switching.
Obviously, the larger the load you plan on switching, the more heat will be generated by the triac. The selected triac is beefy and can handle quite a bit of current without issue, but it's not invincible. Once you exceed 1.5A, you are going to have to consider cooling options.
≤ 1.5A Continuous: Safe to run in open air without external cooling.
1.5A to 15A Continuous: Requires the 530002B02500G extruded aluminum heatsink (taking advantage of the insulated BTA tab).
> 15A Continuous: Reaches the upper thermal limit of passive dissipation for this footprint; active cooling (forced air/fan) or a massive chassis mount is required.
There are a few things that I want to note before I wrap up this section. You may see variations of this circuit throughout my past projects that are created in a similar fashion, but may not necessarily work the same. The snubber portion of this circuit is considered a load snubber. It is very useful if you've opted to use the bypass switch arrangement as it helps lengthen the life of the contacts in the switch. The snubber is optional of course, but it's not a bad thing to use if you have room for it on your build.
Because the BTA24-600BW has an isolated tab, the heatsink that you mount it to can be tapped to ground for safety. This is especially useful if there is even the slightest chance that a person could come in contact with the heatsink.
I'd also like to note that the 1/4W 220R resistor that triggers the MOC3063 diode does not need to be 1/4W, it will work fine as an 1/8W.
It should also be noted that the resistor chosen for the snubber circuit should be flameproof or carbon composition / ceramic composition rather than standard thin-film so it doesn't open-circuit from repetitive inductive spikes.
Finally, if you choose to use a bypass switch, please ensure that it's rated for the current you intend to run. For example, if you are planning on pushing up to 15A, you should probably choose a 20A rated switch to ensure that repetitive cycling doesn't damage the contacts, but this is really up to your discretion.
One more thing before I wrap this up, and it should go without saying, but if you're designing a PCB for this circuit, double check your traces. It's pretty difficult to design a simple circuit board that could handle the large currents that this triac is capable of switching. You could get around this by ensuring you use 2oz copper or you can mask off your AC traces and build solder up on them for additional current carrying capability. You could even solder solid wire directly to the traces if you needed an extreme amount of current, but you've got to be careful not to let things overheat as this could cause your board to de-laminate. If you decide to use terminal blocks on the board instead of soldering the wires directly to it, make sure you're using blocks that are rated for your maximum current.
I'll be adding some photos and talking points once I have some time to manufacture the circuit board for this project. In the mean time, here's a random picture of a project on a breadboard.