Codey OnlineArduino- & ESP32-Komponentenbibliothek › Relais Module 12v AC250V 10A Relais 12v 1 relais LED indicator
Relais Module 12v AC250V 10A Relais  12v 1 relais  LED indicator
Ausgabe

Relais Module 12v AC250V 10A Relais 12v 1 relais LED indicator

Dies ist ein 1-Kanal-12V-Relaismodul zum Schalten externer Lasten mit einem Niederspannungs-Steuersignal. Die geschaltete Seite ist für bis zu AC 250V 10A ausgelegt und das Modul hat eine LED-Anzeige für den Status. Das Modul wird häufig in Arduino-/ESP32-Projekten verwendet, um netzbetriebene Geräte sicher zu steuern. mit high low yello jumper

Breite: 25.8 mm

Pinbelegung — Relais Module 12v AC250V 10A Relais 12v 1 relais LED indicator

Pin Signal Beschreibung
DC+ power 12V positive supply input for the relay module coil and driver circuit
DC- ground 0V supply ground for the relay module control side
IN digital Relay control input from MCU or switch; trigger level is selectable by jumper
NC digital Normally-closed relay contact; connected to COM when relay is off
COM digital Common relay contact for the external load circuit
NO digital Normally-open relay contact; connected to COM when relay is energized

Beispielschaltplan — Relais Module 12v AC250V 10A Relais 12v 1 relais LED indicator

Von Nach Kabel
board:5V x1:DC+ red
board:GND x1:DC- black
board:D7 x1:IN green

Arduino-Beispielcode — Relais Module 12v AC250V 10A Relais 12v 1 relais LED indicator

Dieses Beispiel wurde für das arduino-uno geschrieben und kompiliergeprüft. Codey Online passt es für jedes andere unterstützte Board an.

// Canonical example for a 12V relay module with indicator LED
// Wiring:
// Arduino 5V  -> DC+
// Arduino GND -> DC-
// Arduino D7  -> IN

const int RELAY_PIN = 7;

void setup() {
  pinMode(RELAY_PIN, OUTPUT);
  Serial.begin(9600);
  Serial.println("12V relay module example starting...");
}

void loop() {
  // Many relay modules are active LOW, but some are active HIGH.
  // This example toggles both states with delays so you can observe the relay.

  Serial.println("Relay ON");
  digitalWrite(RELAY_PIN, LOW);   // common active-LOW trigger
  delay(2000);

  Serial.println("Relay OFF");
  digitalWrite(RELAY_PIN, HIGH);
  delay(2000);
}

Ähnliche Komponenten

3W amplifier MAX98357A I2S DAC

3W amplifier MAX98357A I2S DAC

Active Buzzer Module

Active Buzzer Module

⚙️

LED

LED Matrix Module MAX7219

LED Matrix Module MAX7219

Bau dein Arduino- oder ESP32-Projekt mit AI

Beschreib einfach, was du bauen willst. Codey Online schreibt den Code, zeichnet den Schaltplan, kompiliert alles und flasht dein Board direkt aus dem Browser.

Kostenlos starten