Codey OnlineBibliothèque de composants Arduino & ESP32 › 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
Sortie

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

Il s’agit d’un module relais 5V à 1 canal, utilisé pour commuter des charges à tension ou courant plus élevés avec un signal de commande basse tension. La partie charge est donnée pour jusqu’à AC250V 10A ou DC30V 10A, ce qui le rend adapté à des projets simples de domotique et de commande.

Largeur: 41.2 mm

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

Broche Signal Description
NC Normally-closed relay contact, connected to COM when relay is not energized
COM Common relay contact for the switched load circuit
NO Normally-open relay contact, connected to COM when relay is energized
GND ground 0V ground reference for the 5V control input side
VCC power 5V supply input for the relay module coil and control circuitry
IN digital Active-low logic control input; drive low to energize the relay

Exemple de schéma de câblage — Relais Module 5v High load capacity: AC250V 10A / DC30V 10A Relay control: 5V1-channel relay board

De Vers Fil
board:5V x1:VCC red
board:GND x1:GND black
board:D7 x1:IN green

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

Cet exemple a été écrit et vérifié à la compilation pour le arduino-uno. Codey Online l'adapte pour vous à toute autre carte prise en charge.

// Canonical example for a 5V 1-channel relay module
// The relay input is active-low:
//   LOW  = relay ON
//   HIGH = relay OFF

const int RELAY_PIN = 7;

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

  Serial.begin(9600);
  while (!Serial) {
    ;
  }

  // Start with the relay turned off.
  digitalWrite(RELAY_PIN, HIGH);
  Serial.println("Relay module example started.");
  Serial.println("Sending LOW turns the relay ON, HIGH turns it OFF.");
}

void loop() {
  Serial.println("Relay ON");
  digitalWrite(RELAY_PIN, LOW);
  delay(1000);

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

Composants similaires

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

Construisez votre projet Arduino ou ESP32 avec l'IA

Décrivez ce que vous voulez créer. Codey Online écrit le code, dessine le schéma de câblage, le compile et flashe votre carte directement depuis le navigateur.

Commencez gratuitement