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

160,00 DH

Availability:

80 in stock

SKU: 0111-D Categories: ,

Description

8-Channel 5V Solid-State Relay Module

Eight-channel solid-state relay module with active-high inputs: the source says a 5V high input activates a channel. 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 per channel, as listed
  • Output voltage: maximum 240V AC per channel, as listed
  • Output current: maximum 2A per channel, as listed
  • Relay type: solid-state
  • Control signal: active high
  • Opto-isolation between load and control circuits

Basic Arduino example

int relayPins[] = {7, 8, 9, 10, 11, 12, 13, A0}; // Broches de commande des relais

void setup() {
for (int i = 0; i < 8; i++) {
pinMode(relayPins[i], OUTPUT); // Définir chaque broche comme sortie
}
}

void loop() {
for (int i = 0; i < 8; i++) {
digitalWrite(relayPins[i], HIGH); // Activer chaque relais
}
delay(1000); // Attendre 1 seconde
for (int i = 0; i < 8; i++) {
digitalWrite(relayPins[i], LOW); // Désactiver chaque relais
}
delay(1000); // Attendre 1 seconde
}

The source includes a basic example and wiring notes for controlling relay inputs from an Arduino. The example is reproduced unchanged below.

Advanced Arduino example with temperature sensor

#include <DHT.h>

// Brève description du capteur et de sa fonctionnalité
// Le DHT11 est un capteur de température et d'humidité qui mesure
// la température en degrés Celsius et l'humidité en pourcentage.

#define DHTPIN 2 // Broche de signal du DHT11
#define DHTTYPE DHT11 // Type de capteur DHT
#define RELAY1PIN 7 // Broche de commande du relais 1
#define RELAY2PIN 8 // Broche de commande du relais 2
#define RELAY3PIN 9 // Broche de commande du relais 3
#define RELAY4PIN 10 // Broche de commande du relais 4
#define RELAY5PIN 11 // Broche de commande du relais 5
#define RELAY6PIN 12 // Broche de commande du relais 6
#define RELAY7PIN 13 // Broche de commande du relais 7
#define RELAY8PIN A0 // Broche de commande du relais 8

DHT dht(DHTPIN, DHTTYPE);

void setup() {
Serial.begin(9600); // Initialiser la communication série
dht.begin(); // Initialiser le capteur DHT
pinMode(RELAY1PIN, OUTPUT); // Définir la broche comme sortie pour le relais 1
pinMode(RELAY2PIN, OUTPUT); // Définir la broche comme sortie pour le relais 2
pinMode(RELAY3PIN, OUTPUT); // Définir la broche comme sortie pour le relais 3
pinMode(RELAY4PIN, OUTPUT); // Définir la broche comme sortie pour le relais 4
pinMode(RELAY5PIN, OUTPUT); // Définir la broche comme sortie pour le relais 5
pinMode(RELAY6PIN, OUTPUT); // Définir la broche comme sortie pour le relais 6
pinMode(RELAY7PIN, OUTPUT); // Définir la broche comme sortie pour le relais 7
pinMode(RELAY8PIN, OUTPUT); // Définir la broche comme sortie pour le relais 8
}

void loop() {
float currentTemperature = dht.readTemperature(); // Lire la température

if (isnan(currentTemperature)) {
Serial.println(F("Erreur lors de la lecture de la température !"));
return;
}

// Logique de contrôle des relais
int relayStates[] = {
(currentTemperature > 25) ? HIGH : LOW, // Relais 1
(currentTemperature < 20) ? HIGH : LOW, // Relais 2
(currentTemperature > 30) ? HIGH : LOW, // Relais 3
(currentTemperature < 15) ? HIGH : LOW, // Relais 4
(currentTemperature > 35) ? HIGH : LOW, // Relais 5
(currentTemperature < 10) ? HIGH : LOW, // Relais 6
(currentTemperature > 40) ? HIGH : LOW, // Relais 7
(currentTemperature < 5) ? HIGH : LOW // Relais 8
};

for (int i = 0; i < 8; i++) {
digitalWrite(RELAY1PIN + i, relayStates[i]);
}

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

The source also includes a DHT11 temperature-sensor example that controls relay channels at temperature thresholds, plus a multi-channel wiring list.

Safety and setup

The source does not identify the relay output topology or give a certified load category. Its 240V AC/2A figures are seller-listed maximums, not verified continuous ratings. Confirm the exact board documentation, load type and current, heat dissipation and required isolation before connection. Mains wiring should be installed in a suitable enclosure by a qualified person. Do not use this module as a safety disconnect.

For the DHT11 example, the source instructs installing the “DHT sensor library” through the Arduino IDE Library Manager. Price: 160 MAD.

Thank you for your loyalty!

EN