Codey Online › Libreria di componenti Arduino ed ESP32 › Relais Module 5v Low
Relais Module 5v Low
Output

Relais Module 5v Low

Modulo relè 5V a trigger basso. Elevata capacità di carico: AC 250V 10A / DC 30V 10A. Controllo relè: 5V. Segnale: trigger basso. Scheda relè a 1 canale con indicatore LED.

Larghezza: 47.5 mm

Pinout — Relais Module 5v Low

Pin Segnale Descrizione
NC Normally-closed relay contact; connected to COM when the relay is not energized.
COM Common relay switch terminal for the external load circuit.
NO Normally-open relay contact; connected to COM when the relay is energized.
IN digital Active-low 5V control input; drive low to energize the relay.
GND ground Logic ground reference for the relay module control input and supply.
VCC power 5V supply input for the relay module coil and control electronics.

Schema di cablaggio di esempio — Relais Module 5v Low

Da A Filo
board:5V x1:VCC red
board:GND x1:GND black
board:D7 x1:IN green

Codice Arduino di esempio — Relais Module 5v Low

Questo esempio è stato scritto e verificato in compilazione per arduino-uno. Codey Online lo adatta a qualsiasi altra scheda supportata.

// Canonical beginner example for a 5V low-level trigger relay module
// Wiring:
// Arduino 5V  -> Relay VCC
// Arduino GND -> Relay GND
// Arduino D7  -> Relay IN

const int relayPin = 7;

void setup() {
  pinMode(relayPin, OUTPUT);

  // Low-level trigger relay modules are often OFF when the input is HIGH
  // and ON when the input is LOW.
  digitalWrite(relayPin, HIGH);

  Serial.begin(9600);
  Serial.println("Relay module example started.");
  Serial.println("Relay will switch ON and OFF every 2 seconds.");
}

void loop() {
  Serial.println("Relay ON");
  digitalWrite(relayPin, LOW);   // active-low: energize relay
  delay(2000);

  Serial.println("Relay OFF");
  digitalWrite(relayPin, HIGH);  // de-energize relay
  delay(2000);
}

Componenti correlati

DC 12V adjustable timer delay, time delay relay turn off switch module time relay time switch 0~25sec for smart home, automatic control

DC 12V adjustable timer delay, time delay relay turn off switch module time relay time switch 0~25sec for smart home, automatic control

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

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

Relais Module 5v High load capacity: AC250V 10A / DC30V 10A Relay control: 5V1-channel relay board

Relais Module 5v High load capacity: AC250V 10A / DC30V 10A Relay control: 5V1-channel relay board

8-Channel Relay Module

8-Channel Relay Module

Crea il tuo progetto Arduino o ESP32 con l'AI

Descrivi cosa vuoi realizzare. Codey Online scrive il codice, disegna lo schema di collegamento, lo compila e programma la tua scheda direttamente dal browser.

Inizia gratis