iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
Yes—an MOC3022 can trigger a BTA06 to switch a 3 A AC load, but the devices have different jobs. The BTA06 carries the load current; the optotriac only supplies isolated gate-trigger current. A reliable design still depends on the exact BTA06 suffix, load inrush, thermal dissipation, fuse, transient protection and mains-rated construction.
What the circuit actually does
The MOC3022 is a random-phase optotriac driver. Its LED is driven by the low-voltage controller, while its output triggers a separate power triac. The BTA06 then conducts the AC load current between MT1 and MT2. The MOC3022 must never be treated as a 3 A load switch; its output surge rating is only about 1 A under specified pulse conditions.
onsemi’s reference documentation shows this separate-power-triac arrangement: MOC3010M–MOC3023M datasheet.
Conceptual topology
LOW-VOLTAGE SIDE
MCU GPIO ── RLED ── MOC3022 LED ── GPIO return
|| isolation barrier ||
MAINS SIDE
Line ── fuse ── load ── MT2 BTA06 MT1 ── Neutral
│
MOC3022 output and gate-drive resistors
Verify the exact MOC3022 and BTA06 package pinouts before wiring. BTA06 suffixes do not all have the same gate sensitivity or electrical behavior.
#1 Best Overall
- MOC3022 is an enhanced random-phase triac driver with improved performance
- Enhanced random-phase AC control applications requiring better performance
- Improved noise immunity with enhanced random-phase switching characteristics
- Enhanced random-phase triac driver with better performance parameters
- Improved AC power controls and enhanced random-phase switching applications
Is 3 A within the BTA06 rating?
Usually, a 3 A AC resistive load is within the BTA06 family’s 6 A RMS datasheet rating, but that rating applies under specified case-temperature and full-sine conditions. It is not a promise of 6 A operation without cooling.
| Supply | Nominal power at 3 A resistive current |
|---|---|
| 120 V AC | Approximately 360 W |
| 230 V AC | Approximately 690 W |
| 240 V AC | Approximately 720 W |
Check RMS current, power factor, startup current, ambient temperature, switching waveform and required duty cycle. ST lists 600 V and 800 V BTA06 versions, gate-trigger-current classes of roughly 5–50 mA, and nonrepetitive one-cycle surge capability of about 60–63 A under specified conditions. Consult the ST BTA06/BTB06 datasheet and product page.
Select the exact BTA06 variant
“BTA06” is a family name, not one complete specification. Standard parts, snubberless parts and logic-level parts can have materially different maximum gate-trigger currents.
The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →- Standard variants: suitable starting points for many resistive loads.
- W or SW/TW snubberless variants: worth evaluating for inductive commutation and lower gate-current requirements.
- 600 V or 800 V versions: select for the mains system and transient margin, not merely nominal voltage.
Design for the selected part’s maximum IGT in the required trigger quadrant, not its typical value. A BTA06 suffix requiring 50 mA may not be reliably driven by the same network used for a 5 mA logic-level variant.
Rank #2
- DIP Optocoupler Kit hjxrhgal 10valuex5PCS=50PCS 4N25 4N35 MOC3021 MOC3022 MOC3023 MOC3041 MOC3043 MOC3052 MOC3061 MOC3063 DIP
Choose the MOC3022 LED resistor
Calculate the input resistor from guaranteed controller voltage and the optocoupler’s specified maximum trigger current:
RLED ≤ (VGPIO − VFLED − VOUT,CONTROL) / IFT(design)
For 5 V logic, a design target around 10–15 mA often produces starting values such as:
Recommended Free Tools
- 330 Ω: roughly 10–12 mA, depending on LED forward voltage and GPIO voltage.
- 220 Ω: roughly 15–17 mA under similar assumptions.
These are illustrative values, not universal answers. Check the exact MOC3022 variant’s maximum IFT, LED-current and power limits, the controller’s guaranteed output-high voltage and its maximum source current. A GPIO that can only source a few milliamps may not trigger the optotriac reliably.
Rank #3
- 10PCS MOC3023 DIP6 DIP-6 DIP MOC3010 MOC3011 MOC3020 MOC3021 MOC3022 MOC3031 MOC3041 MOC3042 MOC3043 optocoupler
Design the mains-side gate network
A typical network uses the MOC3022 output, a trigger-current resistor from a BTA06 main terminal, and a gate resistor between the optotriac output and the BTA06 gate. An optional gate-to-MT1 resistor can help prevent a floating gate.
Values such as 180 Ω, 220 Ω, 330 Ω or 360 Ω are only starting points from common reference arrangements. The correct value must satisfy all of these conditions:
- At least the BTA06’s maximum IGT in both required AC polarities.
- Less than the MOC3022 output-current and dissipation limits.
- Within the BTA06 gate-current and gate-power limits.
- Acceptable resistor pulse voltage, repetitive pulse power and continuous RMS power.
- Choose the exact BTA06 suffix.
- Use its maximum IGT and required trigger quadrants.
- Calculate worst-case gate current at the highest line voltage, including optotriac voltage drop.
- Check resistor voltage and pulse-power ratings.
- Test both half-cycles with the actual load and at expected temperature.
Thermal design: the 6 A label is not a heatsink
A conducting triac drops significant voltage. A conservative first estimate using 1.55 V at 3 A is:
P ≈ VT × I ≈ 1.55 V × 3 A ≈ 4.65 W
Actual dissipation depends on the waveform and on-state characteristic, but several watts can raise junction temperature quickly. The ST datasheet gives junction-to-case thermal resistance of approximately 1.8 °C/W for the non-insulated package and 2.7 °C/W for the insulated BTA package.
Rank #4
- DIP Optocoupler Kit hjxrhgal 10valuex5PCS=50PCS 4N25 4N35 MOC3021 MOC3022 MOC3023 MOC3041 MOC3043 MOC3052 MOC3061 MOC3063 DIP
Calculate junction temperature from ambient temperature, dissipation and the complete thermal path. Provide a heatsink or adequate copper and airflow where necessary. The insulated tab’s approximately 2,500 VRMS isolation rating simplifies mounting, but it does not remove thermal or creepage requirements.
Resistive, inductive and electronic loads are not equivalent
Heaters
A 3 A resistive heater is the most predictable case: current follows the mains waveform and inrush is usually modest. Fuse the circuit for the wiring and expected operating current, then verify triac temperature.
Lamps and capacitor-input supplies
Incandescent lamps can have a cold-filament surge. LED lamps and switch-mode supplies can present capacitor-charging inrush and may flicker if the triac current falls below its latching or holding requirements.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallCrashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteMotors, transformers and solenoids
A “3 A motor” can draw several times its running current and has poor power factor, back-EMF and commutation stress. Evaluate a snubberless or logic-level triac, surge protection and overload protection; a relay, contactor or suitably rated SSR may be safer.
Best Value
- 10PCS/LOT MOC3022 moc3022 DIP6 DIP Photoelectric Coupler Optocoupler DIP-6
DC loads
A triac normally turns off only when AC current passes through zero. It is therefore not a conventional DC switch. Use a MOSFET, IGBT, relay or DC-rated solid-state switch instead.
Random-phase versus zero-cross operation
The MOC3022 is random-phase: it can trigger at any point after its LED is driven. That is required for phase-angle dimming or heater power control and also works for ordinary on/off switching.
For simple on/off control where lower EMI and switching stress matter more than phase control, a zero-cross optotriac is often preferable. It is not interchangeable when arbitrary phase-angle triggering is required.
Snubber, MOV and overcurrent protection
RC snubber
A snubber is load- and triac-dependent, not automatic. Motors, transformers, solenoids, long wiring and high dV/dt environments are more likely to need one. onsemi shows 33 Ω with 0.01 µF as a noisy-environment example in its reference circuit; similar 33–39 Ω and 10 nF values appear in older application material. Treat these as starting points, and use a suitably safety-rated capacitor when connected to mains.
MOV
An MOV can clamp line transients that exceed the triac’s off-state rating. Select its voltage for the actual mains system and coordinate it with the fuse. It may be placed across line and neutral or across the triac as dictated by the transient environment and protection strategy.
Fuse
Fit a fuse or circuit breaker appropriate for the load, wiring and inrush. A power triac commonly fails shorted, so the protection must prevent a fault from leaving the load permanently energized or overheating the wiring.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.PCB and enclosure safety
- Separate low-voltage and mains copper with a clearly defined isolation barrier.
- Maintain creepage and clearance for the applicable mains category; do not treat a component’s isolation number as the complete product requirement.
- Keep low-voltage traces out from under the barrier and add slots where needed.
- Use mains-rated terminals, wire, PCB material, fuse holders and enclosure.
- Control access to line, load and heatsink parts that may be live.
onsemi lists device-level external creepage and clearance of at least 7 mm for a relevant insulation option, with a 10 mm clearance option for a wider-lead-spacing package. Final spacing must follow the applicable safety standard and pollution category.
Quick Recap
Safe commissioning sequence
- Document voltage, RMS current, inrush, load type, switching frequency and ambient temperature.
- Confirm the complete BTA06 suffix and package pinout from ST’s datasheet.
- Calculate RLED from guaranteed GPIO voltage and MOC3022 IFT.
- Calculate gate-network current for both AC polarities and rate every resistor for voltage and pulse power.
- Add fuse, and where justified, MOV, snubber and thermal protection.
- Build on a properly isolated PCB or enclosed test fixture—not on exposed breadboard wiring.
- Use protected, current-limited test equipment and measure triac, resistor and enclosure temperatures under worst-case load.
Troubleshooting symptoms
| Symptom | Likely causes |
|---|---|
| Triac never turns on | Insufficient MOC3022 LED current, excessive BTA06 IGT, wrong pinout, oversized gate resistor or load current below latching current. |
| Only one half-cycle works | Insufficient current in one polarity, unsuitable quadrant sensitivity or incorrect gate/MT1 wiring. |
| Triac overheats | No heatsink, inadequate thermal path, high inrush, high ambient, phase-control losses or partial triggering. |
| Turns on without command | Excessive dV/dt, line surge, inductive transient, damaged triac, leakage path or inadequate snubber. |
| Fuse blows at startup | Load inrush, shorted triac, undersized surge margin or incorrect wiring. |
| Load flickers | Marginal LED current, low load holding current, unsuitable PWM, noise or inductive commutation. |
When another switch is better
| Choice | Best fit | Main limitation |
|---|---|---|
| MOC3022 + BTA06 | Discrete isolated AC control, including phase control. | Heat, EMI, mains layout and inductive-load analysis. |
| Zero-cross optotriac | Simple AC on/off with lower switching EMI. | No arbitrary phase control. |
| Packaged AC SSR | Convenient, packaged isolation and installation. | Leakage, heat, surge rating and counterfeit risk must be checked. |
| Relay or contactor | DC loads, low switching frequency, very difficult inrush or normally-closed operation. | Contact wear, noise and limited cycle life. |
| MOSFET or IGBT | DC, PWM or low-loss high-frequency switching. | Not a direct replacement for an AC triac circuit. |
Final design checklist
- Is the load definitely AC, and is its inrush documented?
- Is the exact BTA06 suffix selected for voltage, IGT, quadrant and load type?
- Does the controller guarantee enough MOC3022 LED current?
- Does the gate network meet worst-case trigger current in both polarities?
- Has approximately 4.65 W of possible triac heat at 3 A been addressed?
- Are fuse, MOV, snubber and resistor pulse ratings appropriate?
- Are creepage, clearance, enclosure and test methods suitable for mains voltage?
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

