{"id":52679,"date":"2025-05-21T14:58:34","date_gmt":"2025-05-21T13:58:34","guid":{"rendered":"https:\/\/www.microplanet.ma\/?post_type=product&#038;p=52679"},"modified":"2026-10-19T16:52:54","modified_gmt":"2026-10-19T16:52:54","slug":"esp8266-esp01-relay-shield","status":"publish","type":"product","link":"https:\/\/www.microplanet.ma\/en\/produit\/esp8266-esp01-relay-shield\/","title":{"rendered":"ESP8266 ESP-01 Relay Shield (ESP-01 Module Not Included)"},"content":{"rendered":"<h3>ESP8266 ESP-01 Relay Shield (ESP-01 module not included)<\/h3>\n<p>This intelligent relay shield is based on the ESP-01\/ESP-01S Wi-Fi module. It lets you control a load remotely over Wi-Fi, up to 10 A AC or DC, and can be configured with AT commands or Lua firmware.<\/p>\n<p><strong>Note:<\/strong> The shield is sold without the ESP-01 module. You can purchase it separately <a href=\"https:\/\/www.microplanet.ma\/en\/produit\/esp-01-wifi-module-esp8266\/\">here<\/a>.<\/p>\n<h4>Technical specifications<\/h4>\n<ul>\n<li><strong>Operating voltage:<\/strong> 5\u201312 V DC<\/li>\n<li><strong>Operating current:<\/strong> \u2265 250 mA<\/li>\n<li><strong>Supported Wi-Fi module:<\/strong> ESP-01 \/ ESP-01S<\/li>\n<li><strong>Wi-Fi transmission range:<\/strong> up to 400 m in an open area<\/li>\n<li><strong>Switchable AC load:<\/strong> 10 A \/ 250 VAC<\/li>\n<li><strong>Switchable DC load:<\/strong> 10 A \/ 30 VDC<\/li>\n<li><strong>Control:<\/strong> ESP-01 GPIO0 (LOW activates the relay)<\/li>\n<li><strong>LED indicators:<\/strong> power, Wi-Fi, and relay<\/li>\n<li><strong>Dimensions:<\/strong> 37 \u00d7 25 mm<\/li>\n<\/ul>\n<h4>Typical applications<\/h4>\n<ul>\n<li>Home automation: control lamps, shutters, and outlets<\/li>\n<li>IoT and smart-home projects<\/li>\n<li>Remote control and automation<\/li>\n<li>Prototyping with Arduino, Raspberry Pi, or ESP8266<\/li>\n<\/ul>\n<h4>Compatibility<\/h4>\n<ul>\n<li>Works with any microcontroller or host that supports 3.3 V UART<\/li>\n<li>Can be programmed\/configured using AT commands or Lua scripts<\/li>\n<li>Can be used with the Arduino IDE through the ESP-01<\/li>\n<\/ul>\n<p>Here is a minimal Arduino IDE example to upload directly to your <strong>ESP-01<\/strong> module (with the Relay Shield). It switches the relay ON and OFF every second:<\/p>\n<pre class=\"prism undefined-numbers lang-cpp\" data-lang=\"C++\"><code>#include &lt;ESP8266WiFi.h&gt;\r\n\r\n\/\/ Remplacez par vos identifiants Wi-Fi\r\nconst char* ssid = \"VOTRE_SSID\";\r\nconst char* password = \"VOTRE_MDP\";\r\n\r\n\/\/ Broche de contr\u00f4le du relais sur l'ESP-01\r\n\/\/ (sur le Relay Shield, GPIO0 pilote le relais : LOW = ON, HIGH = OFF)\r\nconst uint8_t relayPin = 0;\r\n\r\nvoid setup() {\r\n\/\/ Console S\u00e9rie pour debug\r\nSerial.begin(115200);\r\ndelay(10);\r\n\r\n\/\/ Initialisation de la broche relais\r\npinMode(relayPin, OUTPUT);\r\ndigitalWrite(relayPin, HIGH); \/\/ \u00c9tat OFF au d\u00e9marrage\r\n\r\n\/\/ Connexion Wi-Fi (facultative, mais souvent utile)\r\nSerial.print(\"Connexion au Wi-Fi \");\r\nSerial.print(ssid);\r\nWiFi.begin(ssid, password);\r\nwhile (WiFi.status() != WL_CONNECTED) {\r\ndelay(500);\r\nSerial.print('.');\r\n}\r\nSerial.println(\"nConnect\u00e9 au r\u00e9seau Wi-Fi !\");\r\n}\r\n\r\nvoid loop() {\r\n\/\/ Active le relais\r\nSerial.println(\"Relais ON\");\r\ndigitalWrite(relayPin, LOW);\r\ndelay(1000);\r\n\r\n\/\/ D\u00e9sactive le relais\r\nSerial.println(\"Relais OFF\");\r\ndigitalWrite(relayPin, HIGH);\r\ndelay(1000);\r\n}<\/code><\/pre>\n<h4>Upload steps<\/h4>\n<ol>\n<li>Install ESP8266 board support in the Arduino IDE using <strong>Tools &gt; Board &gt; Boards Manager &gt; esp8266<\/strong>.<\/li>\n<li>Open <strong>File &gt; Preferences<\/strong>.<\/li>\n<li>Under <strong>Additional Boards Manager URLs<\/strong>, add this address:\n<pre class=\"prism undefined-numbers lang-bash\" data-lang=\"Bash\"><code>https:\/\/raw.githubusercontent.com\/esp8266\/Arduino\/gh-pages\/package_esp8266_index.json<\/code><\/pre>\n<\/li>\n<li>Select the ESP-01 board.<\/li>\n<\/ol>\n<ul>\n<li><strong>Tools &gt; Board &gt; Generic ESP8266 Module<\/strong><\/li>\n<li><strong>Tools &gt; ESP8266 Module &gt; Module:<\/strong> select <strong>ESP-01<\/strong>.<\/li>\n<li>Set the flash speed (usually <strong>115200<\/strong>) and Flash Size to <strong>1M (no SPIFFS)<\/strong>, as appropriate.<\/li>\n<li>Select the correct COM port.<\/li>\n<li>Connect the ESP-01 to the Relay Shield and a 3.3 V USB-to-TTL adapter, then upload the sketch.<\/li>\n<\/ul>\n<p>Once powered, the relay will activate and deactivate every second.<\/p>\n<p><small>Keywords: relay, Wi-Fi, smart home, IoT, home automation.<\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Smart relay shield for ESP-01\/ESP-01S, with Wi-Fi remote control and a 10 A AC\/DC switching capacity.<\/p>\n","protected":false},"featured_media":52680,"template":"","meta":[],"product_brand":[],"product_cat":[314,316],"product_tag":[],"class_list":["post-52679","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>ESP8266 ESP-01 Relay Shield (ESP-01 Module Not Included) | MicroPlanet<\/title>\n<meta name=\"description\" content=\"Smart relay shield for ESP-01\/ESP-01S, with Wi-Fi remote control and a 10 A AC\/DC switching capacity.\" \/>\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\/shield-relais-a-esp8266-esp01\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ESP8266 ESP-01 Relay Shield (ESP-01 Module Not Included) | MicroPlanet\" \/>\n<meta property=\"og:description\" content=\"Smart relay shield for ESP-01\/ESP-01S, with Wi-Fi remote control and a 10 A AC\/DC switching capacity.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.microplanet.ma\/produit\/shield-relais-a-esp8266-esp01\/\" \/>\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-19T16:52:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2025\/05\/110-a-1.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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/shield-relais-a-esp8266-esp01\\\/\",\"url\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/shield-relais-a-esp8266-esp01\\\/\",\"name\":\"ESP8266 ESP-01 Relay Shield (ESP-01 Module Not Included) | MicroPlanet\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/shield-relais-a-esp8266-esp01\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/shield-relais-a-esp8266-esp01\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.microplanet.ma\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/110-a-1.png\",\"datePublished\":\"2025-05-21T13:58:34+00:00\",\"dateModified\":\"2026-10-19T16:52:54+00:00\",\"description\":\"Smart relay shield for ESP-01\\\/ESP-01S, with Wi-Fi remote control and a 10 A AC\\\/DC switching capacity.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/shield-relais-a-esp8266-esp01\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/shield-relais-a-esp8266-esp01\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/shield-relais-a-esp8266-esp01\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.microplanet.ma\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/110-a-1.png\",\"contentUrl\":\"https:\\\/\\\/www.microplanet.ma\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/110-a-1.png\",\"width\":1000,\"height\":1000},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.microplanet.ma\\\/produit\\\/shield-relais-a-esp8266-esp01\\\/#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\":\"ESP8266 ESP-01 Relay Shield (ESP-01 Module Not Included)\"}]},{\"@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":"ESP8266 ESP-01 Relay Shield (ESP-01 Module Not Included) | MicroPlanet","description":"Smart relay shield for ESP-01\/ESP-01S, with Wi-Fi remote control and a 10 A AC\/DC switching capacity.","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\/shield-relais-a-esp8266-esp01\/","og_locale":"en_US","og_type":"article","og_title":"ESP8266 ESP-01 Relay Shield (ESP-01 Module Not Included) | MicroPlanet","og_description":"Smart relay shield for ESP-01\/ESP-01S, with Wi-Fi remote control and a 10 A AC\/DC switching capacity.","og_url":"https:\/\/www.microplanet.ma\/produit\/shield-relais-a-esp8266-esp01\/","og_site_name":"MicroPlanet Maroc","article_publisher":"https:\/\/www.facebook.com\/ArduinoPlanet\/","article_modified_time":"2026-10-19T16:52:54+00:00","og_image":[{"width":1000,"height":1000,"url":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2025\/05\/110-a-1.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.microplanet.ma\/produit\/shield-relais-a-esp8266-esp01\/","url":"https:\/\/www.microplanet.ma\/produit\/shield-relais-a-esp8266-esp01\/","name":"ESP8266 ESP-01 Relay Shield (ESP-01 Module Not Included) | MicroPlanet","isPartOf":{"@id":"https:\/\/www.microplanet.ma\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.microplanet.ma\/produit\/shield-relais-a-esp8266-esp01\/#primaryimage"},"image":{"@id":"https:\/\/www.microplanet.ma\/produit\/shield-relais-a-esp8266-esp01\/#primaryimage"},"thumbnailUrl":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2025\/05\/110-a-1.png","datePublished":"2025-05-21T13:58:34+00:00","dateModified":"2026-10-19T16:52:54+00:00","description":"Smart relay shield for ESP-01\/ESP-01S, with Wi-Fi remote control and a 10 A AC\/DC switching capacity.","breadcrumb":{"@id":"https:\/\/www.microplanet.ma\/produit\/shield-relais-a-esp8266-esp01\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.microplanet.ma\/produit\/shield-relais-a-esp8266-esp01\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.microplanet.ma\/produit\/shield-relais-a-esp8266-esp01\/#primaryimage","url":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2025\/05\/110-a-1.png","contentUrl":"https:\/\/www.microplanet.ma\/wp-content\/uploads\/2025\/05\/110-a-1.png","width":1000,"height":1000},{"@type":"BreadcrumbList","@id":"https:\/\/www.microplanet.ma\/produit\/shield-relais-a-esp8266-esp01\/#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":"ESP8266 ESP-01 Relay Shield (ESP-01 Module Not Included)"}]},{"@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\/52679","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\/52680"}],"wp:attachment":[{"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/media?parent=52679"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/product_brand?post=52679"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/product_cat?post=52679"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.microplanet.ma\/en\/wp-json\/wp\/v2\/product_tag?post=52679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}