ESP-01 SSR AC-Relais-Modul, AC 4A-600V — für Smart Home und DIY-Projekte
Überblick
Halbleiterrelais (SSR) für AC mit integriertem ESP-01-Sockel — schaltet AC-Lasten bis 600V/4A via TRIAC + Optoisolator. Keine mechanischen Teile: lautlos, schnell (<20 ms), bis zu 10 Millionen Zyklen. Stecken Sie ein ESP-01-Modul (ESP8266) ein und erhalten Sie WiFi-Steuerung über Tasmota, ESPHome oder eigenen Arduino-Code.
Galerie
Spezifikationen
| Spezifikation | Wert |
|---|---|
| Switching Element | Thyristor BT136-600B (TRIAC) |
| Optoisolator | MOC3042 (zero-cross + isolation) |
| Max AC Voltage | 600 V AC |
| Max AC Current | 4 A |
| AC Frequency | 50/60 Hz |
| Control Voltage | 3.3 V (ESP-01) |
| Signal Current | ~10 mA |
| ESP-01 Socket | Yes (8-pin) |
| External Switch Input | Dry contact (button/switch) |
| Turn-On Time | 20 ms (0.5 AC cycle) |
| Isolation | ≥4170 VRMS (UL1577) |
| Operating Temperature | −20 °C to +80 °C |
Typische Anwendungen
- WiFi-gesteuerte Lampen (Schlafzimmer, lautloser Betrieb)
- Intelligente Ventilatoren / Pumpen mit Web-Steuerung
- Burst-Mode-Heizungssteuerung (PWM mit ~1 Hz)
- Home Assistant / Tasmota / ESPHome-Geräte
- Ferngesteuerte AC-Steckdosen
Programmierung
#include <ESP8266WiFi.h>
const char* ssid = "YourWiFi";
const char* password = "YourPassword";
const int relayPin = 0; // GPIO0
WiFiServer server(80);
void setup() {
pinMode(relayPin, OUTPUT);
digitalWrite(relayPin, LOW); // relay off
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) delay(500);
server.begin();
}
void loop() {
WiFiClient client = server.available();
if (!client) return;
String req = client.readStringUntil('\r');
if (req.indexOf("/on") != -1) digitalWrite(relayPin, HIGH);
if (req.indexOf("/off") != -1) digitalWrite(relayPin, LOW);
client.print("HTTP/1.1 200 OK\r\n\r\nOK");
client.stop();
}
