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

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

Il s’agit d’un module relais temporisé réglable en DC 12 V pour la temporisation à l’arrêt ou par intervalle dans la domotique ou l’automatisation. Le délai est réglable d’environ 0 à 25 secondes, généralement via un potentiomètre intégré, et il commute une sortie relais que vous pouvez piloter avec un signal de commande externe d’un microcontrôleur.

Largeur: 33.9 mm

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

Broche Signal Description
DC+ power 12 V DC positive supply input for powering the timer relay module.
DC- ground Negative supply return for the 12 V DC input.
IN digital External trigger/control signal input used to start the delay timing action.
GND ground Ground reference for the external trigger/control signal.
NC digital Relay normally-closed contact; connected to COM when the relay is inactive.
COM digital Relay common contact; wire this in series with the switched load circuit.
NO digital Relay normally-open contact; connected to COM when the relay is energized.

Exemple de schéma de câblage — DC 12V adjustable timer delay, time delay relay turn off switch module time relay time switch 0~25sec for smart home, automatic control

De Vers Fil
board:5V x1:DC+ red
board:GND x1:DC- black
board:D4 x1:IN green
board:GND.1 x1:GND black

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

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 beginner example for a 12V adjustable timer delay relay module
// Arduino Uno drives the module's IN pin to start the delay timing action.

const int relayTriggerPin = 4;  // Connected to module IN

void setup() {
  pinMode(relayTriggerPin, OUTPUT);
  Serial.begin(9600);

  // Keep the trigger in its inactive state at startup.
  digitalWrite(relayTriggerPin, LOW);

  Serial.println("Timer delay relay demo started.");
  Serial.println("Module is powered from 5V here for documentation example.");
  Serial.println("Pulsing IN to start the delay timing action...");
}

void loop() {
  // Send a short trigger pulse to the module.
  digitalWrite(relayTriggerPin, HIGH);
  Serial.println("IN = HIGH (trigger pulse)");
  delay(200);

  digitalWrite(relayTriggerPin, LOW);
  Serial.println("IN = LOW (waiting for the delay to run)");

  // Wait long enough to observe the module timing behavior.
  delay(5000);
}

Composants similaires

4-Channel Optoisolator Board

4-Channel Optoisolator Board

AD9850 DDS Signal Generator Module

AD9850 DDS Signal Generator Module

Adjustable Step-down Module 3-40VDC  1.5-35VDC LM2596

Adjustable Step-down Module 3-40VDC 1.5-35VDC LM2596

Breadboard 400 pin

Breadboard 400 pin

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