meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
actor:ssr_moduls [2026/05/14 21:03] – created vamsanactor:ssr_moduls [2026/05/14 22:36] (current) – [lamaPLC: Multi-channel Solid State Relay Module] vamsan
Line 1: Line 1:
 ====== lamaPLC: Multi-channel Solid State Relay Module ====== ====== lamaPLC: Multi-channel Solid State Relay Module ======
-Microcontroller-compatible Solid State Relays (SSRs) connect low-power microcontrollers with high-power AC devices. Unlike traditional mechanical relays, SSRs lack moving partsinstead using light and semiconductors for safe, quiet switching of electricity.+{{ :actor:multi_channel_ssr_1.png?180|Multi-channel Solid State Relay Module}} 
 +Microcontroller-compatible //Solid-State Relays// (**SSR**s) connect low-power microcontrollers to high-power AC devices. Unlike traditional mechanical relays, SSRs lack moving parts and instead use light and semiconductors for safe, quiet switching of electrical power.
  
-A key feature of an SSR is safety via optical isolation. When an Arduino pin outputs a HIGH signal (usually 5V or 3.3V), it activates a small internal Infrared (IR) LED. The chip contains a physical gap that electricity cannot cross, but light can, preventing dangerous high-voltage AC from returning to the microcontroller. A light-sensitive semiconductor, such as a phototriac, is positioned opposite the LED. When it detects the IR light, it becomes conductive, completing the circuit to power the load.+A key feature of an SSR is safety via optical isolation. When an Arduino pin outputs a HIGH signal (usually **5V or 3.3V**), it activates a small internal Infrared (IR) LED. The chip contains a physical gap that prevents high-voltage AC from returning to the microcontroller while allowing light to pass. A light-sensitive semiconductor, such as a phototriac, is positioned opposite the LED. When it detects IR light, it becomes conductive, completing the circuit and powering the load. 
 + 
 +**Crucial Limitations** 
 + 
 +  * <color red>**AC Loads Only:**</color> The SSR uses a TRIAC output and cannot switch DC loads. Attempting to control a DC motor or LED strip will keep the relay in the "ON" position until power is completely disconnected. 
 +  * <color red>**Minimum Load Requirement:**</color> SSRs have a small leakage current of approximately 1.5 mA. If you connect a load that draws very little current, such as a tiny 0.5W LED bulb, the light may glow faintly or flicker even when the relay is off. 
 +  * <color red>**SSR cannot be used for PWM dimming:**</color> A zero-cross SSR like the G3MB-202P cannot be used to dim AC lights or adjust fan speeds through Arduino's //analogWrite()// (**PWM**). This relay waits for the next 0V crossing and ignores fast PWM signals, causing erratic flickering, flashing, or the relay remaining fully on. Conversely, zero-cross switching is optimized for resistive loads, providing clean switching for heating elements such as wires, soldering stations, and small heaters, as well as incandescent bulbs, which helps reduce the initial current spike that can burn out bulbs. 
 + 
 +If you want to switch DC or increase power on AC, consider using a [[relay_moduls|multi-channel (optocoupled) relay module]]. 
 + 
 +{{ :actor:multi_channel_ssr_4.png |Multi-channel Solid State Relay Module}} 
 + 
 +{{page>:tarhal}} 
 + 
 +{{ :actor:multi_channel_ssr_3.png?400 |Multi-channel Solid State Relay Module}} 
 + 
 +==== Zero-Cross function ==== 
 +{{ :actor:zero_cross.png?200|Zero-Cross function}} 
 +A Zero-Cross function is a feature in AC Solid State Relays (SSRs) that synchronizes switching. It ensures the relay opens the circuit precisely when the AC voltage sine wave crosses zero volts, minimizing electrical noise and stress. In typical household outlets, AC voltage oscillates smoothly between positive and negative peaks, such as +325V and -325V, at 50 or 60 Hz. 
 + 
 +If your Arduino sends an "ON" signal at the peak of the wave (+230V) //without a Zero-Cross function//: 
 +  * A massive, instantaneous rush of current enters the load
 +  * This generates Electromagnetic Interference (EMI) and radio noise. 
 +  * It creates severe electrical stress on the component, shortening its lifespan. 
 + 
 +**The Solution: How the Zero-Cross Circuit Works** 
 + 
 +  - **The Trigger:** Arduino outputs a 5V signal to the SSR input.  
 +  - **The Hold:** The internal zero-cross detector captures this signal. If the AC waveform is at a high voltage, the detector keeps the switch open.  
 +  - **The Cross:** The AC waveform drops to 0 volts.  
 +  - **The Action:** The detector immediately triggers the internal TRIAC, turning on the load smoothly with zero initial voltage.
  
 ==== G3MB-202P Multi-Channel Solid State Relay Module ==== ==== G3MB-202P Multi-Channel Solid State Relay Module ====
Line 15: Line 46:
   * **Form Factor:** 4-pin compact SIP (Single In-line Package) layout.   * **Form Factor:** 4-pin compact SIP (Single In-line Package) layout.
  
 +===== Sensor topics on lamaPLC =====
 +{{topic>sensor}}
 +
 +\\
 +\\
 +{{tag>actor SSR G3MB-202P Solid_State Relay Zero-Cross_function}}
 +\\
 +This page has been accessed for: Today: {{counter|today}}, Until now: {{counter|total}}