{"id":59009,"date":"2024-02-16T10:52:03","date_gmt":"2024-02-16T09:52:03","guid":{"rendered":"https:\/\/www.microplanet.ma\/?post_type=product&#038;p=59009"},"modified":"2026-10-20T17:03:13","modified_gmt":"2026-10-20T17:03:13","slug":"2-channel-5v-solid-state-relay-module","status":"publish","type":"product","link":"https:\/\/www.microplanet.ma\/en\/produit\/2-channel-5v-solid-state-relay-module\/","title":{"rendered":"2-Channel 5V Solid-State Relay Module, Active High"},"content":{"rendered":"<h3>2-Channel 5V Solid-State Relay Module<\/h3>\n<p>Two-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.<\/p>\n<h4>Specifications stated in the listing<\/h4>\n<ul>\n<li>Control supply: 5V DC<\/li>\n<li>Operating current: 12.5mA per channel, as listed<\/li>\n<li>Output voltage: maximum 240V AC per channel, as listed<\/li>\n<li>Output current: maximum 2A per channel, as listed<\/li>\n<li>Relay type: solid-state; active-high control<\/li>\n<li>Opto-isolation between load and control circuits<\/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\n\r\nvoid setup() {\r\npinMode(relay1Pin, OUTPUT); \/\/ D\u00e9finir la broche comme sortie\r\npinMode(relay2Pin, OUTPUT); \/\/ D\u00e9finir la broche comme sortie\r\n}\r\n\r\nvoid loop() {\r\ndigitalWrite(relay1Pin, HIGH); \/\/ Activer le relais 1\r\ndigitalWrite(relay2Pin, HIGH); \/\/ Activer le relais 2\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\ndelay(1000); \/\/ Attendre 1 seconde\r\n}<\/code><\/pre>\n<p>The source includes a basic example and wiring notes. The code is reproduced unchanged.<\/p>\n<h4>Advanced Arduino example with temperature sensor<\/h4>\n<pre class=\"prism undefined-numbers lang-cpp\" data-lang=\"C++\"><code>#include &lt;DHT.h&gt;\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\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\n}\r\n\r\nvoid loop() {\r\nfloat temperature = dht.readTemperature(); \/\/ Lire la temp\u00e9rature\r\n\r\nif (temperature &gt; 25) { \/\/ Activer le relais 1 si la temp\u00e9rature est sup\u00e9rieure \u00e0 25\u00b0C\r\ndigitalWrite(RELAY1PIN, HIGH);\r\n} else {\r\ndigitalWrite(RELAY1PIN, LOW);\r\n}\r\n\r\nif (temperature &lt; 20) { \/\/ Activer le relais 2 si la temp\u00e9rature est inf\u00e9rieure \u00e0 20\u00b0C\r\ndigitalWrite(RELAY2PIN, HIGH);\r\n} else {\r\ndigitalWrite(RELAY2PIN, LOW);\r\n}\r\n\r\ndelay(2000); \/\/ Attendre 2 secondes avant de refaire une lecture\r\n}<\/code><\/pre>\n<p>The source also includes a DHT11 example that controls two relay channels at temperature thresholds.<\/p>\n<p>The source does not specify the relay output topology or a certified load category. Its 240V AC\/2A figures are seller-listed maximums, not verified continuous ratings. Confirm the board documentation, load type\/current, heat dissipation and 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 \u201cDHT sensor library\u201d using Arduino IDE Library Manager. Price: 50 MAD.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Two-channel 5V active-high solid-state relay module with opto-isolated control inputs. Source lists 240V AC and 2A maximum per channel; verify the exact board\/load rating.<\/p>\n","protected":false},"featured_media":59010,"template":"","meta":[],"product_brand":[],"product_cat":[314,316],"product_tag":[],"class_list":["post-59009","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>2-Channel 5V Solid-State Relay Module, Active High | MicroPlanet<\/title>\n<meta name=\"description\" content=\"Two-channel 5V active-high solid-state relay module with opto-isolated control inputs. Source lists 240V AC and 2A maximum per channel; verify the exact board\/load rating.\" \/>\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-2-relais-statique-5v\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"2-Channel 5V Solid-State Relay Module, Active High | MicroPlanet\" \/>\n<meta property=\"og:description\" content=\"Two-channel 5V active-high solid-state relay module with opto-isolated control inputs. Source lists 240V AC and 2A maximum per channel; verify the exact board\/load rating.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.microplanet.ma\/produit\/module-2-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:03:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2024\/02\/0111-B.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=\"5 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-2-relais-statique-5v\\\/\",\"url\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/module-2-relais-statique-5v\\\/\",\"name\":\"2-Channel 5V Solid-State Relay Module, Active High | MicroPlanet\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/module-2-relais-statique-5v\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/module-2-relais-statique-5v\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.microplanet.ma\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/0111-B.png\",\"datePublished\":\"2024-02-16T09:52:03+00:00\",\"dateModified\":\"2026-10-20T17:03:13+00:00\",\"description\":\"Two-channel 5V active-high solid-state relay module with opto-isolated control inputs. Source lists 240V AC and 2A maximum per channel; verify the exact board\\\/load rating.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/module-2-relais-statique-5v\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/module-2-relais-statique-5v\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/module-2-relais-statique-5v\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.microplanet.ma\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/0111-B.png\",\"contentUrl\":\"https:\\\/\\\/www.microplanet.ma\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/0111-B.png\",\"width\":1000,\"height\":1000},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/module-2-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\":\"2-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":"2-Channel 5V Solid-State Relay Module, Active High | MicroPlanet","description":"Two-channel 5V active-high solid-state relay module with opto-isolated control inputs. Source lists 240V AC and 2A maximum per channel; verify the exact board\/load rating.","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-2-relais-statique-5v\/","og_locale":"en_US","og_type":"article","og_title":"2-Channel 5V Solid-State Relay Module, Active High | MicroPlanet","og_description":"Two-channel 5V active-high solid-state relay module with opto-isolated control inputs. Source lists 240V AC and 2A maximum per channel; verify the exact board\/load rating.","og_url":"https:\/\/www.microplanet.ma\/produit\/module-2-relais-statique-5v\/","og_site_name":"MicroPlanet Maroc","article_publisher":"https:\/\/www.facebook.com\/ArduinoPlanet\/","article_modified_time":"2026-10-20T17:03:13+00:00","og_image":[{"width":1000,"height":1000,"url":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2024\/02\/0111-B.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.microplanet.ma\/produit\/module-2-relais-statique-5v\/","url":"https:\/\/www.microplanet.ma\/produit\/module-2-relais-statique-5v\/","name":"2-Channel 5V Solid-State Relay Module, Active High | MicroPlanet","isPartOf":{"@id":"https:\/\/www.microplanet.ma\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.microplanet.ma\/produit\/module-2-relais-statique-5v\/#primaryimage"},"image":{"@id":"https:\/\/www.microplanet.ma\/produit\/module-2-relais-statique-5v\/#primaryimage"},"thumbnailUrl":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2024\/02\/0111-B.png","datePublished":"2024-02-16T09:52:03+00:00","dateModified":"2026-10-20T17:03:13+00:00","description":"Two-channel 5V active-high solid-state relay module with opto-isolated control inputs. Source lists 240V AC and 2A maximum per channel; verify the exact board\/load rating.","breadcrumb":{"@id":"https:\/\/www.microplanet.ma\/produit\/module-2-relais-statique-5v\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.microplanet.ma\/produit\/module-2-relais-statique-5v\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.microplanet.ma\/produit\/module-2-relais-statique-5v\/#primaryimage","url":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2024\/02\/0111-B.png","contentUrl":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2024\/02\/0111-B.png","width":1000,"height":1000},{"@type":"BreadcrumbList","@id":"https:\/\/www.microplanet.ma\/produit\/module-2-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":"2-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\/59009","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\/59010"}],"wp:attachment":[{"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/media?parent=59009"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/product_brand?post=59009"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/product_cat?post=59009"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/product_tag?post=59009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}