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

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

Dit is een 1-kanaals 12V relaismodule om externe belastingen te schakelen met een laagspanningsstuursignaal. De geschakelde zijde is geschikt voor maximaal AC 250V 10A en de module heeft een LED-indicator voor de status. Deze module wordt vaak gebruikt in Arduino/ESP32-projecten om apparaten op netspanning veilig te bedienen. met high low yello jumper

Breedte: 25.8 mm

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

Pin Signaal Beschrijving
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

Voorbeeld-aansluitschema — Relais Module 12v AC250V 10A Relais 12v 1 relais LED indicator

Van Naar Draad
board:5V x1:DC+ red
board:GND x1:DC- black
board:D7 x1:IN green

Voorbeeld-Arduinocode — Relais Module 12v AC250V 10A Relais 12v 1 relais LED indicator

Dit voorbeeld is geschreven en compile-gecheckt voor de arduino-uno. Codey Online past het voor je aan naar elk ander ondersteund board.

// 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);
}

Vergelijkbare componenten

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

Bouw je Arduino- of ESP32-project met AI

Beschrijf wat je wilt bouwen. Codey Online schrijft de code, tekent het aansluitschema, compileert het en flasht je board rechtstreeks vanuit de browser.

Gratis starten