Files
Maison/MOC3041.md
2026-04-21 12:19:15 +02:00

50 lines
2.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
To test an MOC3041 optoisolator (a zero-crossing triac driver) with low voltage, you can use a simple circuit with a low-voltage AC source (like 12V AC) and a small load (such as a low-wattage lamp or resistor). Heres how you can do it safely:
1. Input Side (LED):
- Connect a current-limiting resistor (typically 220470Ω for 5V logic) in series with the input LED (pins 1 and 2).
- Apply a DC voltage (e.g., 5V) across the input side to turn on the LED.
2. Output Side (Triac):
- Connect the output pins (pins 4 and 6) in series with your low-voltage AC source and the load.
- For example: AC Live → Pin 6, Pin 4 → Load → AC Neutral.
3. Test Procedure:
- When you apply voltage to the input side, the internal LED turns on, triggering the triac.
- The load should turn on (lamp lights up or resistor shows voltage drop).
- Remove the input voltage; the load should turn off.
**Precautions**:
- Use a low-voltage AC source (like 12V AC) for safety.
- Never connect directly to mains voltage for testing.
- Double-check pinout: Pin 1 (anode), Pin 2 (cathode), Pin 4 and 6 (triac output).
**Optional**:
- You can use a multimeter in AC mode across the load to verify switching.
---
## Schematic Diagram
```mermaid
graph TD
A[5V DC] -- 220r --|Pin 1| B(MOC3041 LED Anode)
B --|Pin 2| C(GND)
subgraph Output Side (Triac)
D(AC Live 12V) --|Pin 6| E(MOC3041 Triac MT2)
E --|Pin 4| F(MOC3041 Triac MT1)
F -- Load --> G(AC Neutral)
end
style B fill:#f9f,stroke:#333,stroke-width:2px
style E fill:#bbf,stroke:#333,stroke-width:2px
style F fill:#bbf,stroke:#333,stroke-width:2px
style D fill:#fff,stroke:#333,stroke-width:2px
style G fill:#fff,stroke:#333,stroke-width:2px
style A fill:#fff,stroke:#333,stroke-width:2px
style C fill:#fff,stroke:#333,stroke-width:2px
style F fill:#bbf,stroke:#333,stroke-width:2px
style G fill:#fff,stroke:#333,stroke-width:2px
style D fill:#fff,stroke:#333,stroke-width:2px
style E fill:#bbf,stroke:#333,stroke-width:2px
style Load fill:#ff9,stroke:#333,stroke-width:2px
```