{"id":59003,"date":"2024-02-16T10:40:49","date_gmt":"2024-02-16T09:40:49","guid":{"rendered":"https:\/\/www.microplanet.ma\/?post_type=product&#038;p=59003"},"modified":"2026-10-20T17:14:23","modified_gmt":"2026-10-20T17:14:23","slug":"4-channel-5v-solid-state-relay-module","status":"publish","type":"product","link":"https:\/\/www.microplanet.ma\/en\/produit\/4-channel-5v-solid-state-relay-module\/","title":{"rendered":"4-Channel 5V Solid-State Relay Module, Active High"},"content":{"rendered":"<h3>4-Channel 5V Solid-State Relay Module<\/h3>\n<p>Four-channel solid-state relay board. The listing describes active-high control inputs: a 5V high signal activates the corresponding channel. It also states that the control and load sides are optically isolated.<\/p>\n<h4>Listing specifications<\/h4>\n<ul>\n<li>Control supply: 5V DC<\/li>\n<li>Operating current: 12.5mA per channel (as listed)<\/li>\n<li>Output: up to 240V AC and 2A per channel (seller stated)<\/li>\n<li>Four channels; active-high control<\/li>\n<\/ul>\n<h4>Basic Arduino example<\/h4>\n<pre class=\"prism undefined-numbers lang-cpp\" data-lang=\"C++\"><code>int relay1Pin = 7; \/\/ Broche de commande du relais 1\r\nint relay2Pin = 8; \/\/ Broche de commande du relais 2\r\nint relay3Pin = 9; \/\/ Broche de commande du relais 3\r\nint relay4Pin = 10; \/\/ Broche de commande du relais 4\r\n\r\nvoid setup() {\r\npinMode(relay1Pin, OUTPUT); \/\/ D\u00e9finir la broche comme sortie pour le relais 1\r\npinMode(relay2Pin, OUTPUT); \/\/ D\u00e9finir la broche comme sortie pour le relais 2\r\npinMode(relay3Pin, OUTPUT); \/\/ D\u00e9finir la broche comme sortie pour le relais 3\r\npinMode(relay4Pin, OUTPUT); \/\/ D\u00e9finir la broche comme sortie pour le relais 4\r\n}\r\n\r\nvoid loop() {\r\ndigitalWrite(relay1Pin, HIGH); \/\/ Activer le relais 1\r\ndigitalWrite(relay2Pin, HIGH); \/\/ Activer le relais 2\r\ndigitalWrite(relay3Pin, HIGH); \/\/ Activer le relais 3\r\ndigitalWrite(relay4Pin, HIGH); \/\/ Activer le relais 4\r\ndelay(1000); \/\/ Attendre 1 seconde\r\ndigitalWrite(relay1Pin, LOW); \/\/ D\u00e9sactiver le relais 1\r\ndigitalWrite(relay2Pin, LOW); \/\/ D\u00e9sactiver le relais 2\r\ndigitalWrite(relay3Pin, LOW); \/\/ D\u00e9sactiver le relais 3\r\ndigitalWrite(relay4Pin, LOW); \/\/ D\u00e9sactiver le relais 4\r\ndelay(1000); \/\/ Attendre 1 seconde\r\n}<\/code><\/pre>\n<h4>Temperature-control example (DHT11)<\/h4>\n<pre class=\"prism undefined-numbers lang-cpp\" data-lang=\"C++\"><code>#include &lt;DHT.h&gt;\r\n\r\n\/\/ Br\u00e8ve description du capteur et de sa fonctionnalit\u00e9\r\n\/\/ Le DHT11 est un capteur de temp\u00e9rature et d'humidit\u00e9 qui mesure\r\n\/\/ la temp\u00e9rature en degr\u00e9s Celsius et l'humidit\u00e9 en pourcentage.\r\n\r\n#define DHTPIN 2 \/\/ Broche de signal du DHT11\r\n#define DHTTYPE DHT11 \/\/ Type de capteur DHT\r\n#define RELAY1PIN 7 \/\/ Broche de commande du relais 1\r\n#define RELAY2PIN 8 \/\/ Broche de commande du relais 2\r\n#define RELAY3PIN 9 \/\/ Broche de commande du relais 3\r\n#define RELAY4PIN 10 \/\/ Broche de commande du relais 4\r\n\r\nDHT dht(DHTPIN, DHTTYPE);\r\n\r\nvoid setup() {\r\nSerial.begin(9600); \/\/ Initialiser la communication s\u00e9rie\r\ndht.begin(); \/\/ Initialiser le capteur DHT\r\npinMode(RELAY1PIN, OUTPUT); \/\/ D\u00e9finir la broche comme sortie pour le relais 1\r\npinMode(RELAY2PIN, OUTPUT); \/\/ D\u00e9finir la broche comme sortie pour le relais 2\r\npinMode(RELAY3PIN, OUTPUT); \/\/ D\u00e9finir la broche comme sortie pour le relais 3\r\npinMode(RELAY4PIN, OUTPUT); \/\/ D\u00e9finir la broche comme sortie pour le relais 4\r\n}\r\n\r\nvoid loop() {\r\nfloat currentTemperature = dht.readTemperature(); \/\/ Lire la temp\u00e9rature\r\n\r\nif (isnan(currentTemperature)) {\r\nSerial.println(F(\"Erreur lors de la lecture de la temp\u00e9rature !\"));\r\nreturn;\r\n}\r\n\r\n\/\/ Logique de contr\u00f4le des relais\r\nint relayStates[] = {\r\n(currentTemperature &gt; 25) ? HIGH : LOW, \/\/ Relais 1\r\n(currentTemperature &lt; 20) ? HIGH : LOW, \/\/ Relais 2\r\n(currentTemperature &gt; 30) ? HIGH : LOW, \/\/ Relais 3\r\n(currentTemperature &lt; 15) ? HIGH : LOW \/\/ Relais 4\r\n};\r\n\r\nfor (int i = 0; i &lt; 4; i++) {\r\ndigitalWrite(RELAY1PIN + i, relayStates[i]);\r\n}\r\n\r\ndelay(2000); \/\/ Attendre 2 secondes avant de refaire une lecture\r\n}<\/code><\/pre>\n<p>The source examples and wiring comments below are reproduced without changes.<\/p>\n<h4>Safety<\/h4>\n<p>The listing does not identify the output topology or a certified load category. Treat 240V AC\/2A as unverified seller maximums, not confirmed continuous ratings. Confirm the exact board documentation and suitability for the load. Use a suitable enclosure and have mains wiring done by a qualified person. This module is not a safety disconnect.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Four-channel 5V active-high solid-state relay module with opto-isolated control inputs. Seller-listed output limits require verification.<\/p>\n","protected":false},"featured_media":59004,"template":"","meta":[],"product_brand":[],"product_cat":[314,316],"product_tag":[],"class_list":["post-59003","product","type-product","status-publish","has-post-thumbnail","product_cat-developpement-en","product_cat-modules-capteurs-en","first","instock","taxable","shipping-taxable","purchasable","product-type-simple"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v29.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>4-Channel 5V Solid-State Relay Module | MicroPlanet<\/title>\n<meta name=\"description\" content=\"Four-channel 5V active-high SSR module. Verify output limits for the intended load.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.microplanet.ma\/produit\/module-4-relais-statique-5v\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"4-Channel 5V Solid-State Relay Module | MicroPlanet\" \/>\n<meta property=\"og:description\" content=\"Four-channel 5V active-high SSR module. Verify output limits for the intended load.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.microplanet.ma\/produit\/module-4-relais-statique-5v\/\" \/>\n<meta property=\"og:site_name\" content=\"MicroPlanet Maroc\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ArduinoPlanet\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-20T17:14:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2024\/02\/0111-C.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"1000\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/module-4-relais-statique-5v\\\/\",\"url\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/module-4-relais-statique-5v\\\/\",\"name\":\"4-Channel 5V Solid-State Relay Module | MicroPlanet\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/module-4-relais-statique-5v\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/module-4-relais-statique-5v\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.microplanet.ma\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/0111-C.png\",\"datePublished\":\"2024-02-16T09:40:49+00:00\",\"dateModified\":\"2026-10-20T17:14:23+00:00\",\"description\":\"Four-channel 5V active-high SSR module. Verify output limits for the intended load.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/module-4-relais-statique-5v\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/module-4-relais-statique-5v\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/module-4-relais-statique-5v\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.microplanet.ma\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/0111-C.png\",\"contentUrl\":\"https:\\\/\\\/www.microplanet.ma\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/0111-C.png\",\"width\":1000,\"height\":1000},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/module-4-relais-statique-5v\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.microplanet.ma\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shop\",\"item\":\"https:\\\/\\\/www.microplanet.ma\\\/shop\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"4-Channel 5V Solid-State Relay Module, Active High\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/#website\",\"url\":\"https:\\\/\\\/www.microplanet.ma\\\/\",\"name\":\"MicroPlanet Maroc\",\"description\":\"Arduino, Electronique DIY, Modules, Composants, Raspberry PI\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.microplanet.ma\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/#organization\",\"name\":\"MicroPlanet\",\"url\":\"https:\\\/\\\/www.microplanet.ma\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.microplanet.ma\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/logo5.png\",\"contentUrl\":\"https:\\\/\\\/www.microplanet.ma\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/logo5.png\",\"width\":400,\"height\":133,\"caption\":\"MicroPlanet\"},\"image\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/ArduinoPlanet\\\/\"],\"hasMerchantReturnPolicy\":{\"@type\":\"MerchantReturnPolicy\",\"merchantReturnLink\":\"https:\\\/\\\/www.microplanet.ma\\\/conditions-generales-de-vente\\\/\"},\"hasShippingService\":{\"@type\":\"ShippingService\",\"name\":\"Ozon Express\",\"url\":\"https:\\\/\\\/www.microplanet.ma\\\/livraison-et-paiement\\\/\",\"fulfillmentType\":\"https:\\\/\\\/schema.org\\\/FulfillmentTypeDelivery\",\"shippingConditions\":[{\"@type\":\"ShippingConditions\",\"shippingDestination\":{\"@type\":\"DefinedRegion\",\"addressCountry\":\"MA\"},\"orderValue\":{\"@type\":\"MonetaryAmount\",\"minValue\":0,\"currency\":\"MAD\",\"maxValue\":999.99},\"shippingRate\":{\"@type\":\"MonetaryAmount\",\"value\":35,\"currency\":\"MAD\"},\"transitTime\":{\"@type\":\"ServicePeriod\",\"duration\":{\"@type\":\"QuantitativeValue\",\"minValue\":1,\"maxValue\":3,\"unitCode\":\"DAY\"}}},{\"@type\":\"ShippingConditions\",\"shippingDestination\":{\"@type\":\"DefinedRegion\",\"addressCountry\":\"MA\"},\"orderValue\":{\"@type\":\"MonetaryAmount\",\"minValue\":1000,\"currency\":\"MAD\"},\"shippingRate\":{\"@type\":\"MonetaryAmount\",\"value\":0,\"currency\":\"MAD\"},\"transitTime\":{\"@type\":\"ServicePeriod\",\"duration\":{\"@type\":\"QuantitativeValue\",\"minValue\":1,\"maxValue\":3,\"unitCode\":\"DAY\"}}}]}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"4-Channel 5V Solid-State Relay Module | MicroPlanet","description":"Four-channel 5V active-high SSR module. Verify output limits for the intended load.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.microplanet.ma\/produit\/module-4-relais-statique-5v\/","og_locale":"en_US","og_type":"article","og_title":"4-Channel 5V Solid-State Relay Module | MicroPlanet","og_description":"Four-channel 5V active-high SSR module. Verify output limits for the intended load.","og_url":"https:\/\/www.microplanet.ma\/produit\/module-4-relais-statique-5v\/","og_site_name":"MicroPlanet Maroc","article_publisher":"https:\/\/www.facebook.com\/ArduinoPlanet\/","article_modified_time":"2026-10-20T17:14:23+00:00","og_image":[{"width":1000,"height":1000,"url":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2024\/02\/0111-C.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.microplanet.ma\/produit\/module-4-relais-statique-5v\/","url":"https:\/\/www.microplanet.ma\/produit\/module-4-relais-statique-5v\/","name":"4-Channel 5V Solid-State Relay Module | MicroPlanet","isPartOf":{"@id":"https:\/\/www.microplanet.ma\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.microplanet.ma\/produit\/module-4-relais-statique-5v\/#primaryimage"},"image":{"@id":"https:\/\/www.microplanet.ma\/produit\/module-4-relais-statique-5v\/#primaryimage"},"thumbnailUrl":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2024\/02\/0111-C.png","datePublished":"2024-02-16T09:40:49+00:00","dateModified":"2026-10-20T17:14:23+00:00","description":"Four-channel 5V active-high SSR module. Verify output limits for the intended load.","breadcrumb":{"@id":"https:\/\/www.microplanet.ma\/produit\/module-4-relais-statique-5v\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.microplanet.ma\/produit\/module-4-relais-statique-5v\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.microplanet.ma\/produit\/module-4-relais-statique-5v\/#primaryimage","url":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2024\/02\/0111-C.png","contentUrl":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2024\/02\/0111-C.png","width":1000,"height":1000},{"@type":"BreadcrumbList","@id":"https:\/\/www.microplanet.ma\/produit\/module-4-relais-statique-5v\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.microplanet.ma\/"},{"@type":"ListItem","position":2,"name":"Shop","item":"https:\/\/www.microplanet.ma\/shop\/"},{"@type":"ListItem","position":3,"name":"4-Channel 5V Solid-State Relay Module, Active High"}]},{"@type":"WebSite","@id":"https:\/\/www.microplanet.ma\/#website","url":"https:\/\/www.microplanet.ma\/","name":"MicroPlanet Maroc","description":"Arduino, Electronique DIY, Modules, Composants, Raspberry PI","publisher":{"@id":"https:\/\/www.microplanet.ma\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.microplanet.ma\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.microplanet.ma\/#organization","name":"MicroPlanet","url":"https:\/\/www.microplanet.ma\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.microplanet.ma\/#\/schema\/logo\/image\/","url":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2023\/05\/logo5.png","contentUrl":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2023\/05\/logo5.png","width":400,"height":133,"caption":"MicroPlanet"},"image":{"@id":"https:\/\/www.microplanet.ma\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ArduinoPlanet\/"],"hasMerchantReturnPolicy":{"@type":"MerchantReturnPolicy","merchantReturnLink":"https:\/\/www.microplanet.ma\/conditions-generales-de-vente\/"},"hasShippingService":{"@type":"ShippingService","name":"Ozon Express","url":"https:\/\/www.microplanet.ma\/livraison-et-paiement\/","fulfillmentType":"https:\/\/schema.org\/FulfillmentTypeDelivery","shippingConditions":[{"@type":"ShippingConditions","shippingDestination":{"@type":"DefinedRegion","addressCountry":"MA"},"orderValue":{"@type":"MonetaryAmount","minValue":0,"currency":"MAD","maxValue":999.99},"shippingRate":{"@type":"MonetaryAmount","value":35,"currency":"MAD"},"transitTime":{"@type":"ServicePeriod","duration":{"@type":"QuantitativeValue","minValue":1,"maxValue":3,"unitCode":"DAY"}}},{"@type":"ShippingConditions","shippingDestination":{"@type":"DefinedRegion","addressCountry":"MA"},"orderValue":{"@type":"MonetaryAmount","minValue":1000,"currency":"MAD"},"shippingRate":{"@type":"MonetaryAmount","value":0,"currency":"MAD"},"transitTime":{"@type":"ServicePeriod","duration":{"@type":"QuantitativeValue","minValue":1,"maxValue":3,"unitCode":"DAY"}}}]}}]}},"_links":{"self":[{"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/product\/59003","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/media\/59004"}],"wp:attachment":[{"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/media?parent=59003"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/product_brand?post=59003"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/product_cat?post=59003"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/product_tag?post=59003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}