Single-Channel 5V Solid-State Relay Module, Active High

35,00 DH

Availability:

150 in stock

SKU: 0111-A Categories: ,

Description

Single-Channel 5V Solid-State Relay Module

Single-channel solid-state relay module with active-high input: the source says a 5V high input activates the relay. It describes opto-isolation between the control and load circuits and use for switching AC loads.

Specifications stated in the listing

  • Control supply: 5V DC
  • Operating current: 12.5mA
  • Output voltage: maximum 240V AC, as listed
  • Output current: maximum 2A, as listed
  • Relay type: solid-state
  • Control signal: active high
  • Opto-isolation between load and control circuits

Pinout stated in the listing

  1. VCC: 5V supply
  2. GND: ground
  3. IN: active-high control input
  4. NO: normally open load contact
  5. COM: common load contact

Basic Arduino example

int relayPin = 7; // Broche de commande du relais

void setup() {
pinMode(relayPin, OUTPUT); // Définir la broche comme sortie
}

void loop() {
digitalWrite(relayPin, HIGH); // Activer le relais
delay(1000); // Attendre 1 seconde
digitalWrite(relayPin, LOW); // Désactiver le relais
delay(1000); // Attendre 1 seconde
}

The source includes a basic example and wiring notes for controlling the input from an Arduino. The code is reproduced unchanged.

Advanced Arduino example with temperature sensor

#include <DHT.h>

#define DHTPIN 2 // Broche de signal du DHT11
#define DHTTYPE DHT11 // Type de capteur DHT
#define RELAYPIN 7 // Broche de commande du relais

DHT dht(DHTPIN, DHTTYPE);

void setup() {
Serial.begin(9600);
dht.begin();
pinMode(RELAYPIN, OUTPUT);
}

void loop() {
float temperature = dht.readTemperature();

if (temperature > 25) { // Activer le relais si la température est supérieure à 25°C
digitalWrite(RELAYPIN, HIGH);
} else {
digitalWrite(RELAYPIN, LOW);
}

delay(2000); // Attendre 2 secondes avant de refaire une lecture
}

The source also includes a DHT11 example that activates the relay above a temperature threshold.

Safety and setup

The source does not identify the output topology or a certified load category. Its 240V AC/2A figures are seller-listed maximums, not verified continuous ratings. Confirm the exact board documentation, load type/current, heat dissipation and required isolation before connection. Install mains wiring in a suitable enclosure through a qualified person. Do not use this module as a safety disconnect. The source instructs installing “DHT sensor library” through the Arduino IDE Library Manager. Price: 35 MAD.

Thank you for your loyalty!

EN