{"id":21224,"date":"2023-07-13T10:41:47","date_gmt":"2023-07-13T11:41:47","guid":{"rendered":"https:\/\/roboeq.ir\/blog\/?p=21224"},"modified":"2023-12-16T06:40:03","modified_gmt":"2023-12-16T07:40:03","slug":"%da%a9%d9%86%d8%aa%d8%b1%d9%84-%d8%b1%d9%86%da%af-led-%d9%86%d9%88%d8%a7%d8%b1%db%8c-rgb-%d8%a7%d8%b2-%d8%b1%d8%a7%d9%87-%d8%af%d9%88%d8%b1-%d8%a8%d8%a7-%d9%85%d8%a7%da%98%d9%88%d9%84-esp32-esp8266","status":"publish","type":"post","link":"https:\/\/roboeq.ir\/blog\/%da%a9%d9%86%d8%aa%d8%b1%d9%84-%d8%b1%d9%86%da%af-led-%d9%86%d9%88%d8%a7%d8%b1%db%8c-rgb-%d8%a7%d8%b2-%d8%b1%d8%a7%d9%87-%d8%af%d9%88%d8%b1-%d8%a8%d8%a7-%d9%85%d8%a7%da%98%d9%88%d9%84-esp32-esp8266\/","title":{"rendered":"\u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af LED \u0646\u0648\u0627\u0631\u06cc RGB \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0628\u0627 \u0645\u0627\u0698\u0648\u0644 ESP32\/ESP8266"},"content":{"rendered":"\n<p>\u0628\u0627 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0646\u062d\u0648\u0647 \u062a\u0646\u0638\u06cc\u0645 \u0648 \u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af LED \u0646\u0648\u0627\u0631\u06cc RGB \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u0631\u0646\u06af \u062f\u0644\u062e\u0648\u0627\u0647 \u062e\u0648\u062f\u060c \u0641\u0631\u0627\u062a\u0631 \u0627\u0632 \u0646\u0648\u0631\u067e\u0631\u062f\u0627\u0632\u06cc \u0645\u062d\u062f\u0648\u062f \u0627\u06cc\u0646 \u0627\u0644 \u0627\u06cc \u062f\u06cc \u0647\u0627 \u0631\u0627 \u0628\u0631\u0627\u06cc \u06cc\u06a9 \u0645\u062d\u06cc\u0637 \u0641\u0631\u0627\u0647\u0645 \u06a9\u0646\u06cc\u062f. \u0627\u062d\u062a\u0645\u0627\u0644\u0627\u064b \u062a\u0627\u0628\u0647\u200c\u062d\u0627\u0644 \u0628\u0627 \u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627\u06cc \u0627\u0644 \u0627\u06cc \u062f\u06cc \u0646\u0648\u0627\u0631\u06cc \u0622\u0631 \u062c\u06cc \u0628\u06cc \u062f\u0631 \u062f\u06a9\u0648\u0631\u0627\u0633\u06cc\u0648\u0646 \u0645\u0646\u0632\u0644 \u06cc\u0627 \u0645\u062d\u0644 \u06a9\u0627\u0631 \u0622\u0634\u0646\u0627 \u0634\u062f\u0647\u200c\u0627\u06cc\u062f\u061b  \u06a9\u0647 \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u067e\u0634\u062a \u062a\u0644\u0648\u0632\u06cc\u0648\u0646\u060c \u0633\u0642\u0641\u060c \u062f\u0648\u0631 \u0622\u06cc\u0646\u0647\u060c \u0632\u06cc\u0631 \u06a9\u0627\u0628\u06cc\u0646\u062a \u0622\u0634\u067e\u0632\u062e\u0627\u0646\u0647 \u0648 &#8230; \u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u06af\u06cc\u0631\u0646\u062f. \u0628\u0631\u062e\u06cc \u0627\u0632 \u0627\u06cc\u0646 LED \u0647\u0627\u06cc RGB \u0647\u0648\u0634\u0645\u0646\u062f \u0628\u0648\u062f\u0647 \u0648 \u062f\u0627\u0631\u0627\u06cc \u06cc\u06a9 \u0631\u06cc\u0645\u0648\u062a \u062c\u0647\u062a \u062a\u063a\u06cc\u06cc\u0631 \u0631\u0646\u06af \u0647\u0633\u062a\u0646\u062f (\u062a\u0639\u062f\u0627\u062f \u0631\u0646\u06af \u0645\u0634\u062e\u0635)\u060c \u0646\u0648\u0639 \u062f\u06cc\u06af\u0631 \u0627\u06cc\u0646 \u0627\u0644 \u0627\u06cc \u062f\u06cc \u0647\u0627\u06cc RGB \u0628\u062f\u0648\u0646 \u0631\u06cc\u0645\u0648\u062a \u0647\u0633\u062a\u0646\u062f \u0648 \u0628\u0631\u0627\u06cc \u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af \u0627\u06cc\u0646 \u0645\u062f\u0644 \u0645\u0627 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0633\u0627\u062e\u062a \u06cc\u06a9 \u0645\u062f\u0627\u0631 \u06a9\u0646\u062a\u0631\u0644 \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u062f\u0627\u0631\u06cc\u0645.  <\/p>\n\n\n\n<div class=\"wp-block-group has-background\" style=\"background-color:#f1f70e52\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<p>\u0628\u0647\u200c\u0637\u0648\u0631 \u062e\u0644\u0627\u0635\u0647\u060c \u0645\u0627 \u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0628\u0647 \u0634\u0645\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645 \u06a9\u0647 \u0686\u06af\u0648\u0646\u0647 \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u062d\u062a\u06cc \u0628\u0627 \u06af\u0648\u0634\u06cc \u0645\u0648\u0628\u0627\u06cc\u0644 \u062e\u0648\u062f\u060c \u0631\u0646\u06af \u0627\u06cc\u0646 \u0646\u0648\u0627\u0631\u0647\u0627\u06cc \u0627\u0644\u200c \u0627\u06cc \u200c\u062f\u06cc \u0631\u0627 \u062a\u0648\u0633\u0637 \u06cc\u06a9 \u0645\u0627\u0698\u0648\u0644 \u0648\u0627\u06cc \u0641\u0627\u06cc (ESP8266 \u06cc\u0627 ESP32) \u06a9\u0646\u062a\u0631\u0644 \u06a9\u0646\u06cc\u062f \u0648 \u0631\u0646\u06af \u062f\u0644\u062e\u0648\u0627\u0647 \u062e\u0648\u062f \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u06cc\u06a9 \u0648\u0628\u200c \u0633\u0631\u0648\u0631 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f.<\/p>\n<\/div><\/div>\n\n\n\n<div style=\"height:45px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-background\" style=\"background-color:#faee0c70\">\u0645\u0627 \u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0627\u0632 \u06cc\u06a9 \u0627\u0644\u200c \u0627\u06cc\u200c \u062f\u06cc \u0646\u0648\u0627\u0631\u06cc 5 \u0648\u0644\u062a RGB \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u0648 \u06a9\u062f \u0645\u0648\u0631\u062f\u0646\u06cc\u0627\u0632 \u0631\u0627 \u062f\u0631 Arduino IDE \u062e\u0648\u0627\u0647\u06cc\u0645 \u0646\u0648\u0634\u062a.<\/p>\n\n\n\n<div style=\"height:47px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-\u0645\u0631\u0648\u0631\u06cc-\u0628\u0631-\u067e\u0631\u0648\u0698\u0647-\u06a9\u0646\u062a\u0631\u0644-\u0631\u0646\u06af-led-\u0646\u0648\u0627\u0631\u06cc\"><strong>\u0645\u0631\u0648\u0631\u06cc\u200c\u0628\u0631 \u067e\u0631\u0648\u0698\u0647<\/strong> \u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af LED \u0646\u0648\u0627\u0631\u06cc<\/h3>\n\n\n\n<p>&nbsp;\u0642\u0628\u0644 \u0627\u0632 \u0634\u0631\u0648\u0639 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634\u060c \u0628\u06cc\u0627\u06cc\u06cc\u062f \u0646\u06af\u0627\u0647\u06cc \u06a9\u0648\u062a\u0627\u0647 \u0628\u0647 \u0646\u062d\u0648\u0647 \u0639\u0645\u0644\u06a9\u0631\u062f \u0627\u06cc\u0646 \u067e\u0631\u0648\u0698\u0647 \u0628\u06cc\u0646\u062f\u0627\u0632\u06cc\u0645.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"290\" src=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/ESP8266-RGB-LED-strips-with-color-picker-web-server-project-overview.webp\" alt=\"\u0646\u062d\u0648\u0647 \u0639\u0645\u0644\u06a9\u0631\u062f \u067e\u0631\u0648\u0698\u0647 \u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af LED \u0646\u0648\u0627\u0631\u06cc \u062a\u0648\u0633\u0637 \u0648\u0628\u200c\u0633\u0631\u0648\u0631 \u0645\u0627\u0698\u0648\u0644 \u0648\u0627\u06cc\u200c\u0641\u0627\u06cc\" class=\"wp-image-22118\" srcset=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/ESP8266-RGB-LED-strips-with-color-picker-web-server-project-overview.webp 750w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/ESP8266-RGB-LED-strips-with-color-picker-web-server-project-overview-300x116.webp 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure><\/div>\n\n\n<div style=\"height:42px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0645\u0631\u062d\u0644\u0647 \u0627\u0648\u0644: \u0648\u0628 \u0633\u0631\u0648\u0631 esp32\/esp8266 \u0645\u062c\u0645\u0648\u0639\u0647\u200c\u0627\u06cc \u0627\u0632 \u0631\u0646\u06af\u200c\u0647\u0627 \u0631\u0627 \u0628\u0647 \u0634\u0645\u0627 \u0646\u0645\u0627\u06cc\u0634 \u0645\u06cc\u200c\u062f\u0647\u062f.<\/li>\n\n\n\n<li>\u0645\u0631\u062d\u0644\u0647 \u062f\u0648\u0645: \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0631\u0646\u06af\u06cc \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0631\u062f\u06cc\u062f\u060c \u0645\u0631\u0648\u0631\u06af\u0631 \u0634\u0645\u0627 \u06cc\u06a9 \u062f\u0631\u062e\u0648\u0627\u0633\u062a HTTP \u0645\u06cc\u200c\u062f\u0647\u062f \u06a9\u0647 \u0634\u0627\u0645\u0644 \u0633\u0647 \u067e\u0627\u0631\u0627\u0645\u062a\u0631 R \u060cG \u0648 B \u0631\u0646\u06af \u0645\u0648\u0631\u062f\u200c\u0646\u0638\u0631 \u0627\u0633\u062a.<\/li>\n\n\n\n<li>\u0645\u0631\u062d\u0644\u0647 \u0633\u0648\u0645: \u0645\u0627\u0698\u0648\u0644 ESP32\/ESP8266 \u0627\u06cc\u0646 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0631\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u0648 \u0645\u0642\u0627\u062f\u06cc\u0631 R \u0648 G \u0648 B \u0631\u0627 \u062a\u0641\u06a9\u06cc\u06a9 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/li>\n\n\n\n<li>\u0645\u0631\u062d\u0644\u0647 \u0622\u062e\u0631: \u0645\u0627\u0698\u0648\u0644 ESP \u06cc\u06a9 \u0633\u06cc\u06af\u0646\u0627\u0644 PWM (\u0645\u06cc\u0632\u0627\u0646 \u0631\u0648\u0634\u0646\u0627\u06cc\u06cc) \u0645\u062a\u0646\u0627\u0633\u0628 \u0628\u0627 \u0631\u0646\u06af \u0645\u06cc\u200c\u0633\u0627\u0632\u062f \u0648 \u0622\u0646 \u0631\u0627 \u0628\u0647 \u067e\u0627\u06cc\u0647\u200c\u0647\u0627\u06cc GPIO \u06a9\u0646\u062a\u0631\u0644\u200c \u06a9\u0646\u0646\u062f\u0647 \u0646\u0648\u0627\u0631 \u0627\u0644\u200c \u0627\u06cc \u200c\u062f\u06cc \u0627\u0631\u0633\u0627\u0644 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/li>\n<\/ul>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group has-background\" style=\"background-color:#fee7eb3b\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h3 class=\"wp-block-heading\"><strong>\u0642\u0637\u0639\u0627\u062a <\/strong>\u0645\u0648\u0631\u062f\u200c\u0646\u06cc\u0627\u0632<\/h3>\n\n\n\n<p>\u0628\u0631\u0627\u06cc \u0627\u06cc\u062c\u0627\u062f \u06cc\u06a9 \u0645\u062f\u0627\u0631 \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0648 \u062f\u0631\u0646\u0647\u0627\u06cc\u062a \u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af \u0647\u0627\u06cc \u06cc\u06a9 LED \u0646\u0648\u0627\u0631\u06cc\u060c \u0645\u0627 \u062f\u0631 \u06af\u0627\u0645 \u0627\u0628\u062a\u062f\u0627\u06cc\u06cc\u060c \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0686\u0646\u062f \u0642\u0637\u0639\u0647 \u0633\u0627\u062f\u0647 \u062f\u0627\u0631\u06cc\u0645 \u06a9\u0647 \u0639\u0628\u0627\u0631\u062a\u0646\u062f\u0627\u0632:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/roboeq.ir\/products\/detail\/0501103\/%D9%85%D8%A7%DA%98%D9%88%D9%84-ESP32-%D8%AF%D8%A7%D8%B1%D8%A7%DB%8C-wifi-%D9%88-%D8%A8%D9%84%D9%88%D8%AA%D9%88%D8%AB-%D8%A8%D8%A7-%D9%85%D8%A8%D8%AF%D9%84-CH340G\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u0645\u0627\u0698\u0648\u0644 ESP32<\/a> \u06cc\u0627 <a href=\"https:\/\/roboeq.ir\/products\/detail\/0501078\/%D8%A8%D8%B1%D8%AF-%D8%AA%D9%88%D8%B3%D8%B9%D9%87-NodeMCU-%D8%A8%D8%A7-%D9%85%D8%A7%DA%98%D9%88%D9%84-%D9%88%D8%A7%DB%8C-%D9%81%D8%A7%DB%8C-ESP8266-%D9%88-%D9%85%D8%A8%D8%AF%D9%84-CP2102\/\" target=\"_blank\" rel=\"noreferrer noopener\">ESP8266<\/a><\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0633\u0647 \u0639\u062f\u062f <a href=\"https:\/\/roboeq.ir\/products\/detail\/0305033\/%D8%AA%D8%B1%D8%A7%D9%86%D8%B2%DB%8C%D8%B3%D8%AA%D9%88%D8%B1-S8050\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u062a\u0631\u0627\u0646\u0632\u06cc\u0633\u062a\u0648\u0631 NPN<\/a><\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0633\u0647 \u0639\u062f\u062f <a href=\"https:\/\/roboeq.ir\/products\/detail\/0302039\/%D9%85%D9%82%D8%A7%D9%88%D9%85%D8%AA-1-%DA%A9%DB%8C%D9%84%D9%88-%D8%A7%D9%87%D9%85-1-4-%D9%88%D8%A7%D8%AA-5-%D8%AF%D8%B1%D8%B5%D8%AF\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u0645\u0642\u0627\u0648\u0645\u062a 1 \u06a9\u06cc\u0644\u0648 \u0627\u0647\u0645<\/a><\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/roboeq.ir\/search\/category\/956\/%D8%B3%DB%8C%D9%85-%D8%A8%D8%B1%D8%AF%D8%A8%D9%88%D8%B1%D8%AF%DB%8C-%D9%88-%D8%AC%D8%A7%D9%85%D9%BE%D8%B1\/order\/desc\/snum\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u0633\u06cc\u0645 \u062c\u0627\u0645\u067e\u0631 \u0648 \u0628\u0631\u062f\u0628\u0648\u0631\u062f<\/a><\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0646\u0648\u0627\u0631 \u0627\u0644\u200c \u0627\u06cc\u200c \u062f\u06cc RGB (5 \u0648\u0644\u062a)<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<div style=\"height:47px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0634\u0645\u0627\u062a\u06cc\u06a9 \u067e\u0631\u0648\u0698\u0647<\/strong><\/h2>\n\n\n\n<p>\u0645\u0627 \u0628\u0631\u0627\u06cc \u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af LED RGB \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0648\u0628 \u0633\u0631\u0648\u0631 \u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0627\u0632 \u06cc\u06a9 \u0646\u0648\u0627\u0631 \u0627\u0644 \u0627\u06cc \u062f\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0628\u0627 \u0648\u0644\u062a\u0627\u0698 5 \u0648\u0644\u062a \u0631\u0648\u0634\u0646 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"421\" src=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/5v-led-strip.webp\" alt=\"\u06cc\u06a9 \u0631\u0648\u0644 \u0646\u0648\u0627\u0631 \u0627\u0644 \u0627\u06cc \u062f\u06cc RGB\" class=\"wp-image-22120\" srcset=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/5v-led-strip.webp 750w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/5v-led-strip-300x168.webp 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure><\/div>\n\n\n<div style=\"height:71px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>\u062a\u0648\u062c\u0647<\/strong>: \u0627\u06a9\u062b\u0631 \u0646\u0648\u0627\u0631 \u0647\u0627\u06cc \u0627\u0644 \u0627\u06cc \u062f\u06cc RGB \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u0628\u0627\u0632\u0627\u0631 \u0628\u0631\u0627\u06cc \u0646\u0635\u0628\u060c \u0628\u0647 \u0648\u0644\u062a\u0627\u0698 12 \u0648\u0644\u062a \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u0646\u062f. \u0634\u0645\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0628\u0631\u0627\u06cc \u0631\u0627\u0647 \u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0648 \u06a9\u0646\u062a\u0631\u0644 \u0622\u0646\u200c\u0647\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f \u0648 \u0641\u0642\u0637 \u06a9\u0627\u0641\u06cc \u0627\u0633\u062a \u0648\u0644\u062a\u0627\u0698 \u062a\u063a\u0630\u06cc\u0647 \u0622\u0646\u200c\u0647\u0627 \u0631\u0627 \u06f1\u06f2 \u0648\u0644\u062a \u0628\u062f\u0647\u06cc\u062f.<\/p>\n\n\n\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u062b\u0627\u0644\u060c \u0647\u0631 \u062f\u0648 \u0645\u0648\u0631\u062f \u0646\u0648\u0627\u0631 LED \u0648 \u0645\u0627\u0698\u0648\u0644 \u0648\u0627\u06cc \u0641\u0627\u06cc \u0631\u0627 \u0628\u0627 \u0648\u0644\u062a\u0627\u0698 5 \u0648\u0644\u062a \u0631\u0648\u0634\u0646 \u062e\u0648\u0627\u0647\u06cc\u0645 \u06a9\u0631\u062f. \u062f\u0631 \u0628\u062e\u0634 \u0632\u06cc\u0631 \u0628\u0627 \u0628\u0631\u0631\u0633\u06cc \u0634\u0645\u0627\u062a\u06cc\u06a9\u200c\u0647\u0627\u06cc \u0627\u06cc\u0646 \u0645\u062f\u0627\u0631 \u0628\u0631\u0627\u06cc \u0645\u0627\u0698\u0648\u0644\u200c\u0647\u0627\u06cc ESP32 \u06cc\u0627 ESP8266\u060c \u0627\u062a\u0635\u0627\u0644\u0627\u062a \u0644\u0627\u0632\u0645 \u0631\u0627 \u0628\u0627 \u062f\u0642\u062a \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u0627\u0644\u0641) <strong>\u0634\u0645\u0627\u062a\u06cc\u06a9 \u0645\u062f\u0627\u0631 \u0628\u0627 \u0645\u0627\u0698\u0648\u0644 ESP32<\/strong><\/h3>\n\n\n\n<p>\u0686\u0646\u0627\u0646\u0686\u0647 \u06cc\u06a9 \u0645\u0627\u0698\u0648\u0644 \u0648\u0627\u06cc \u0641\u0627\u06cc \u0645\u062f\u0644 ESP32 \u0631\u0627 \u062f\u0631\u0627\u062e\u062a\u06cc\u0627\u0631 \u062f\u0627\u0631\u06cc\u062f\u060c \u0637\u0628\u0642 \u0645\u062f\u0627\u0631 \u0632\u06cc\u0631 \u0646\u0648\u0627\u0631 \u0627\u0644 \u200c\u0627\u06cc \u200c\u062f\u06cc\u200c \u0631\u0627 \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u0628\u0631\u062f \u0645\u062a\u0635\u0644 \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"445\" height=\"589\" src=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/ESP32-LED-strip-schematic_f.webp\" alt=\"\u0646\u062d\u0648\u0647 \u0627\u062a\u0635\u0627\u0644\u0627\u062a \u0645\u062f\u0627\u0631 \u06a9\u0646\u062a\u0631\u0644 \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0627\u0644 \u0627\u06cc \u062f\u06cc \u0646\u0648\u0627\u0631\u06cc \u0628\u0627 \u0645\u0627\u0698\u0648\u0644 ESP32 \" class=\"wp-image-22122\" srcset=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/ESP32-LED-strip-schematic_f.webp 445w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/ESP32-LED-strip-schematic_f-227x300.webp 227w\" sizes=\"auto, (max-width: 445px) 100vw, 445px\" \/><\/figure><\/div>\n\n\n<div style=\"height:60px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u0628) <strong>\u0634\u0645\u0627\u062a\u06cc\u06a9 \u0645\u062f\u0627\u0631 \u0628\u0627 \u0645\u0627\u0698\u0648\u0644 ESP8266<\/strong><\/h3>\n\n\n\n<p>\u0686\u0646\u0627\u0646\u0686\u0647 \u06cc\u06a9 \u0645\u0627\u0698\u0648\u0644 ESP8266 \u062f\u0631\u0627\u062e\u062a\u06cc\u0627\u0631 \u062f\u0627\u0631\u06cc\u062f\u060c \u0637\u0628\u0642 \u0645\u062f\u0627\u0631 \u0632\u06cc\u0631 \u0646\u0648\u0627\u0631 LED \u0631\u0627 \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u0645\u062a\u0635\u0644 \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"485\" height=\"617\" src=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/ESP8266-LED-strip.webp\" alt=\"\u0646\u062d\u0648\u0647 \u0627\u062a\u0635\u0627\u0644\u0627\u062a \u0645\u062f\u0627\u0631 \u06a9\u0646\u062a\u0631\u0644 \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 LED \u0646\u0648\u0627\u0631\u06cc RGB \u0628\u0627 \u0645\u0627\u0698\u0648\u0644 ESP8266\" class=\"wp-image-22123\" srcset=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/ESP8266-LED-strip.webp 485w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/ESP8266-LED-strip-236x300.webp 236w\" sizes=\"auto, (max-width: 485px) 100vw, 485px\" \/><\/figure><\/div>\n\n\n<div style=\"height:53px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u062a\u0631\u0627\u0646\u0632\u06cc\u0633\u062a\u0648\u0631\u0647\u0627\u06cc <\/strong><strong>NPN<\/strong><\/h4>\n\n\n\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u062f\u0627\u0631 \u0627\u0632 \u062a\u0631\u0627\u0646\u0632\u06cc\u0633\u062a\u0648\u0631 S8050 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u0645. \u0628\u0627 \u0627\u06cc\u0646 \u0648\u062c\u0648\u062f\u060c \u0628\u0633\u062a\u0647 \u0628\u0647 \u0627\u06cc\u0646\u06a9\u0647 \u0646\u0648\u0627\u0631 \u0627\u0644\u200c \u0627\u06cc\u200c \u062f\u06cc\u200c \u0634\u0645\u0627 \u0686\u0646\u062f LED \u062f\u0627\u0631\u062f\u060c \u0628\u0647 \u062a\u0631\u0627\u0646\u0632\u06cc\u0633\u062a\u0648\u0631\u06cc \u0646\u06cc\u0627\u0632 \u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0627\u0634\u062a \u06a9\u0647 \u0628\u062a\u0648\u0627\u0646\u062f \u062c\u0631\u06cc\u0627\u0646 \u067e\u06cc\u0648\u0633\u062a\u0647 \u0628\u06cc\u0634\u062a\u0631\u06cc \u0631\u0627 \u062f\u0631 \u067e\u06cc\u0646 \u06a9\u0644\u06a9\u062a\u0648\u0631 \u062e\u0648\u062f \u062a\u062d\u0645\u0644 \u06a9\u0646\u062f.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"421\" src=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/circuit-transistors.webp\" alt=\"\u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 3 \u062a\u0631\u0627\u0646\u0632\u06cc\u0633\u062a\u0648\u0631 S8050 \u0628\u0631\u0627\u06cc \u067e\u06cc\u0648\u0633\u062a\u06af\u06cc \u062c\u0631\u06cc\u0627\u0646 \u0628\u06cc\u0634\u062a\u0631 12 LED \u0631\u0648\u06cc \u0646\u0648\u0627\u0631\" class=\"wp-image-22126\" srcset=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/circuit-transistors.webp 750w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/circuit-transistors-300x168.webp 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure><\/div>\n\n\n<div style=\"height:56px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u0628\u0631\u0627\u06cc \u0645\u062d\u0627\u0633\u0628\u0647 \u062d\u062f\u0627\u06a9\u062b\u0631 \u062c\u0631\u06cc\u0627\u0646 \u0645\u0635\u0631\u0641\u06cc \u0646\u0648\u0627\u0631 \u0627\u0644\u200c \u0627\u06cc \u200c\u062f\u06cc \u062e\u0648\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0647\u0645\u0647 LED \u200c\u0647\u0627 \u062f\u0631 \u062d\u062f\u0627\u06a9\u062b\u0631 \u0631\u0648\u0634\u0646\u0627\u06cc\u06cc \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u0646\u062f (\u0646\u0648\u0631 \u0633\u0641\u06cc\u062f)\u060c \u0627\u06cc\u0646 \u0645\u0642\u062f\u0627\u0631 \u0631\u0627 \u0627\u0646\u062f\u0627\u0632\u0647\u200c\u06af\u06cc\u0631\u06cc \u06a9\u0646\u06cc\u062f. \u0628\u0631\u0627\u06cc \u0645\u062b\u0627\u0644 \u0631\u0648\u06cc \u0627\u06cc\u0646 \u0646\u0648\u0627\u0631 \u062f\u0631 \u062f\u0633\u062a \u0645\u0627 12 \u0639\u062f\u062f \u0627\u0644 \u200c\u0627\u06cc \u200c\u062f\u06cc \u0645\u0648\u062c\u0648\u062f \u0627\u0633\u062a \u06a9\u0647 \u0645\u0634\u062e\u0635 \u0634\u062f \u062d\u062f\u0627\u06a9\u062b\u0631 \u062c\u0631\u06cc\u0627\u0646 \u0645\u0648\u0631\u062f\u0646\u06cc\u0627\u0632 \u062f\u0631 \u0631\u0648\u0634\u0646\u0627\u06cc\u06cc \u06a9\u0627\u0645\u0644 \u0628\u0627 \u0646\u0648\u0631 \u0633\u0641\u06cc\u062f\u060c \u062d\u062f\u0648\u062f 630 \u0645\u06cc\u0644\u06cc\u200c\u0622\u0645\u067e\u0631 \u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f. \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0627\u0632 \u062a\u0631\u0627\u0646\u0632\u06cc\u0633\u062a\u0648\u0631 S8050 NPN \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u062d\u062f\u0627\u06a9\u062b\u0631 700 \u0645\u06cc\u0644\u06cc\u200c\u0622\u0645\u067e\u0631 \u0631\u0627 \u062a\u062d\u0645\u0644 \u06a9\u0646\u062f\u060c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u0634\u0645\u0627 \u0628\u0631\u0627\u06cc \u062f\u0627\u0646\u0633\u062a\u0646 \u062d\u062f\u0627\u06a9\u062b\u0631 \u062c\u0631\u06cc\u0627\u0646 \u0642\u0627\u0628\u0644 \u062a\u062d\u0645\u0644 \u0647\u0631 \u062a\u0631\u0627\u0646\u0632\u06cc\u0633\u062a\u0648\u0631 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u06cc\u062a\u0627\u0634\u06cc\u062a \u0622\u0646 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u0646\u0645\u0627\u06cc\u06cc\u062f.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"421\" src=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/rgb-led-strip-current-comsumption.webp\" alt=\"\u0627\u0646\u062f\u0627\u0632\u0647\u200c\u06af\u06cc\u0631\u06cc \u062d\u062f\u0627\u06a9\u062b\u0631 \u062c\u0631\u06cc\u0627\u0646 \u0645\u0648\u0631\u062f\u0646\u06cc\u0627\u0632 \u0646\u0648\u0627\u0631 \u0627\u0644 \u0627\u06cc \u062f\u06cc \u0628\u0627 \u0645\u0648\u0644\u062a\u06cc\u200c\u0645\u062a\u0631\" class=\"wp-image-22128\" srcset=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/rgb-led-strip-current-comsumption.webp 750w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/rgb-led-strip-current-comsumption-300x168.webp 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure><\/div>\n\n\n<div style=\"height:43px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group has-background\" style=\"background-color:#fcfc2163\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h5 class=\"wp-block-heading\">\u0646\u06a9\u062a\u0647:<\/h5>\n\n\n\n<p>&nbsp;\u0646\u0648\u0627\u0631 \u200cLED \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0628\u0631 \u0631\u0648\u06cc \u0646\u0648\u0631 \u0633\u0641\u06cc\u062f \u062a\u0646\u0638\u06cc\u0645 \u0645\u06cc\u200c\u0634\u0648\u062f\u060c \u0645\u0627\u0646\u0646\u062f \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0647\u0631 \u0633\u0647 \u0631\u0646\u06af \u062f\u0631 \u062d\u062f\u0627\u06a9\u062b\u0631 \u0631\u0648\u0634\u0646\u0627\u06cc\u06cc \u062e\u0648\u062f \u0628\u0627\u0634\u0646\u062f \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u062d\u062f\u0627\u06a9\u062b\u0631 \u062c\u0631\u06cc\u0627\u0646 \u0645\u0635\u0631\u0641\u06cc \u0631\u0627 \u062e\u0648\u0627\u0647\u062f \u062f\u0627\u0634\u062a. \u0633\u0627\u06cc\u0631 \u0631\u0646\u06af\u200c\u0647\u0627 \u062c\u0631\u06cc\u0627\u0646 \u0645\u0635\u0631\u0641\u06cc \u06a9\u0645\u062a\u0631\u06cc \u062f\u0627\u0631\u0646\u062f \u062f\u0631 \u0646\u062a\u06cc\u062c\u0647 \u0646\u0648\u0627\u0631 \u0634\u0645\u0627 \u0627\u0632 \u062d\u062f\u0627\u06a9\u062b\u0631 \u062c\u0631\u06cc\u0627\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0646\u062e\u0648\u0627\u0647\u062f \u06a9\u0631\u062f.<\/p>\n<\/div><\/div>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading has-text-align-center has-text-color has-background\" style=\"color:#66ceff;background-color:#304e6d\"><strong>\u06a9\u062f \u0622\u0631\u062f\u0648\u06cc\u0646\u0648<\/strong><\/h3>\n\n\n\n<p>\u0627\u0632 \u0622\u0646\u062c\u0627 \u06a9\u0647 \u0627\u06cc\u0646 \u067e\u0631\u0648\u0698\u0647 \u0628\u0631\u0627\u06cc \u0647\u0631 \u062f\u0648 \u0645\u0627\u0698\u0648\u0644 ESP32  \u0648 ESP8266  \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u062a\u06a9\u0647\u200c\u06a9\u062f \u0645\u062e\u0635\u0648\u0635 \u0647\u0631 \u0645\u0627\u0698\u0648\u0644 \u0646\u06cc\u0632 \u0628\u0647\u200c\u0635\u0648\u0631\u062a \u062c\u062f\u0627\u06af\u0627\u0646\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0628\u0631\u0627\u06cc \u0634\u0645\u0627 \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u0627\u0644\u0641) <strong>\u06a9\u062f \u0622\u0631\u062f\u0648\u06cc\u0646\u0648: \u06a9\u0646\u062a\u0631\u0644 LED \u0646\u0648\u0627\u0631\u06cc \u0628\u0627 ESP32<\/strong><\/h3>\n\n\n\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u0645\u0627\u0698\u0648\u0644 ESP32 \u0631\u0627 \u0628\u0627 \u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u067e\u0631\u0648\u06af\u0631\u0627\u0645 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0628\u0627\u06cc\u062f \u0628\u0631\u062f ESP32 \u0631\u0627 \u0627\u0632 \u0642\u0628\u0644 \u0628\u0647 \u0645\u062c\u0645\u0648\u0639\u0647 \u0628\u0631\u062f\u0647\u0627\u06cc \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0647 \u0628\u0627\u0634\u06cc\u062f \u0648 \u067e\u0633 \u0627\u0632 \u0628\u0633\u062a\u0646 \u0645\u062f\u0627\u0631 \u0645\u0648\u0631\u062f\u0646\u0638\u0631\u060c \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631 Arduino IDE \u06a9\u067e\u06cc \u0648 \u0633\u067e\u0633 ESP32 \u062e\u0648\u062f \u0631\u0627 \u067e\u0631\u0648\u06af\u0631\u0627\u0645 \u0646\u0645\u0627\u06cc\u06cc\u062f.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\n\/*********\n  Rui Santos\n  Complete project details at https:\/\/randomnerdtutorials.com  \n*********\/\n\n\/\/ Load Wi-Fi library\n#include &lt;WiFi.h&gt;\n\n\/\/ Replace with your network credentials\nconst char* ssid     = &quot;REPLACE_WITH_YOUR_SSID&quot;;\nconst char* password = &quot;REPLACE_WITH_YOUR_PASSWORD&quot;;\n\n\/\/ Set web server port number to 80\nWiFiServer server(80);\n\n\/\/ Decode HTTP GET value\nString redString = &quot;0&quot;;\nString greenString = &quot;0&quot;;\nString blueString = &quot;0&quot;;\nint pos1 = 0;\nint pos2 = 0;\nint pos3 = 0;\nint pos4 = 0;\n\n\/\/ Variable to store the HTTP req  uest\nString header;\n\n\/\/ Red, green, and blue pins for PWM control\nconst int redPin = 13;     \/\/ 13 corresponds to GPIO13\nconst int greenPin = 12;   \/\/ 12 corresponds to GPIO12\nconst int bluePin = 14;    \/\/ 14 corresponds to GPIO14\n\n\/\/ Setting PWM frequency, channels and bit resolution\nconst int freq = 5000;\nconst int redChannel = 0;\nconst int greenChannel = 1;\nconst int blueChannel = 2;\n\/\/ Bit resolution 2^8 = 256\nconst int resolution = 8;\n\n\/\/ Current time\nunsigned long currentTime = millis();\n\/\/ Previous time\nunsigned long previousTime = 0; \n\/\/ Define timeout time in milliseconds (example: 2000ms = 2s)\nconst long timeoutTime = 2000;\n\nvoid setup() {\n  Serial.begin(115200);\n  \/\/ configure LED PWM functionalitites\n  ledcSetup(redChannel, freq, resolution);\n  ledcSetup(greenChannel, freq, resolution);\n  ledcSetup(blueChannel, freq, resolution);\n  \n  \/\/ attach the channel to the GPIO to be controlled\n  ledcAttachPin(redPin, redChannel);\n  ledcAttachPin(greenPin, greenChannel);\n  ledcAttachPin(bluePin, blueChannel);\n  \n  \/\/ Connect to Wi-Fi network with SSID and password\n  Serial.print(&quot;Connecting to &quot;);\n  Serial.println(ssid);\n  WiFi.begin(ssid, password);\n  while (WiFi.status() != WL_CONNECTED) {\n    delay(500);\n    Serial.print(&quot;.&quot;);\n  }\n  \/\/ Print local IP address and start web server\n  Serial.println(&quot;&quot;);\n  Serial.println(&quot;WiFi connected.&quot;);\n  Serial.println(&quot;IP address: &quot;);\n  Serial.println(WiFi.localIP());\n  server.begin();\n}\n\nvoid loop(){\n  WiFiClient client = server.available();   \/\/ Listen for incoming clients\n\n  if (client) {                             \/\/ If a new client connects,\n    currentTime = millis();\n    previousTime = currentTime;\n    Serial.println(&quot;New Client.&quot;);          \/\/ print a message out in the serial port\n    String currentLine = &quot;&quot;;                \/\/ make a String to hold incoming data from the client\n    while (client.connected() &amp;&amp; currentTime - previousTime &lt;= timeoutTime) {            \/\/ loop while the client&#039;s connected\n      currentTime = millis();\n      if (client.available()) {             \/\/ if there&#039;s bytes to read from the client,\n        char c = client.read();             \/\/ read a byte, then\n        Serial.write(c);                    \/\/ print it out the serial monitor\n        header += c;\n        if (c == &#039;\\n&#039;) {                    \/\/ if the byte is a newline character\n          \/\/ if the current line is blank, you got two newline characters in a row.\n          \/\/ that&#039;s the end of the client HTTP request, so send a response:\n          if (currentLine.length() == 0) {\n            \/\/ HTTP headers always start with a response code (e.g. HTTP\/1.1 200 OK)\n            \/\/ and a content-type so the client knows what&#039;s coming, then a blank line:\n            client.println(&quot;HTTP\/1.1 200 OK&quot;);\n            client.println(&quot;Content-type:text\/html&quot;);\n            client.println(&quot;Connection: close&quot;);\n            client.println();\n                   \n            \/\/ Display the HTML web page\n            client.println(&quot;&lt;!DOCTYPE html&gt;&lt;html&gt;&quot;);\n            client.println(&quot;&lt;head&gt;&lt;meta name=\\&quot;viewport\\&quot; content=\\&quot;width=device-width, initial-scale=1\\&quot;&gt;&quot;);\n            client.println(&quot;&lt;link rel=\\&quot;icon\\&quot; href=\\&quot;data:,\\&quot;&gt;&quot;);\n            client.println(&quot;&lt;link rel=\\&quot;stylesheet\\&quot; href=\\&quot;https:\/\/stackpath.bootstrapcdn.com\/bootstrap\/4.3.1\/css\/bootstrap.min.css\\&quot;&gt;&quot;);\n            client.println(&quot;&lt;script src=\\&quot;https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jscolor\/2.0.4\/jscolor.min.js\\&quot;&gt;&lt;\/script&gt;&quot;);\n            client.println(&quot;&lt;\/head&gt;&lt;body&gt;&lt;div class=\\&quot;container\\&quot;&gt;&lt;div class=\\&quot;row\\&quot;&gt;&lt;h1&gt;ESP Color Picker&lt;\/h1&gt;&lt;\/div&gt;&quot;);\n            client.println(&quot;&lt;a class=\\&quot;btn btn-primary btn-lg\\&quot; href=\\&quot;#\\&quot; id=\\&quot;change_color\\&quot; role=\\&quot;button\\&quot;&gt;Change Color&lt;\/a&gt; &quot;);\n            client.println(&quot;&lt;input class=\\&quot;jscolor {onFineChange:&#039;update(this)&#039;}\\&quot; id=\\&quot;rgb\\&quot;&gt;&lt;\/div&gt;&quot;);\n            client.println(&quot;&lt;script&gt;function update(picker) {document.getElementById(&#039;rgb&#039;).innerHTML = Math.round(picker.rgb&#x5B;0]) + &#039;, &#039; +  Math.round(picker.rgb&#x5B;1]) + &#039;, &#039; + Math.round(picker.rgb&#x5B;2]);&quot;);\n            client.println(&quot;document.getElementById(\\&quot;change_color\\&quot;).href=\\&quot;?r\\&quot; + Math.round(picker.rgb&#x5B;0]) + \\&quot;g\\&quot; +  Math.round(picker.rgb&#x5B;1]) + \\&quot;b\\&quot; + Math.round(picker.rgb&#x5B;2]) + \\&quot;&amp;\\&quot;;}&lt;\/script&gt;&lt;\/body&gt;&lt;\/html&gt;&quot;);\n            \/\/ The HTTP response ends with another blank line\n            client.println();\n\n            \/\/ Request sample: \/?r201g32b255&amp;\n            \/\/ Red = 201 | Green = 32 | Blue = 255\n            if(header.indexOf(&quot;GET \/?r&quot;) &gt;= 0) {\n              pos1 = header.indexOf(&#039;r&#039;);\n              pos2 = header.indexOf(&#039;g&#039;);\n              pos3 = header.indexOf(&#039;b&#039;);\n              pos4 = header.indexOf(&#039;&amp;&#039;);\n              redString = header.substring(pos1+1, pos2);\n              greenString = header.substring(pos2+1, pos3);\n              blueString = header.substring(pos3+1, pos4);\n              \/*Serial.println(redString.toInt());\n              Serial.println(greenString.toInt());\n              Serial.println(blueString.toInt());*\/\n              ledcWrite(redChannel, redString.toInt());\n              ledcWrite(greenChannel, greenString.toInt());\n              ledcWrite(blueChannel, blueString.toInt());\n            }\n            \/\/ Break out of the while loop\n            break;\n          } else { \/\/ if you got a newline, then clear currentLine\n            currentLine = &quot;&quot;;\n          }\n        } else if (c != &#039;\\r&#039;) {  \/\/ if you got anything else but a carriage return character,\n          currentLine += c;      \/\/ add it to the end of the currentLine\n        }\n      }\n    }\n    \/\/ Clear the header variable\n    header = &quot;&quot;;\n    \/\/ Close the connection\n    client.stop();\n    Serial.println(&quot;Client disconnected.&quot;);\n    Serial.println(&quot;&quot;);\n  }\n}\n<\/pre><\/div>\n\n\n<div style=\"height:65px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u0642\u0628\u0644 \u0627\u0632 \u0622\u067e\u0644\u0648\u062f \u0628\u0631\u0646\u0627\u0645\u0647\u060c \u0628\u0627\u06cc\u062f \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a\u06cc \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u062f \u062a\u0627 \u0628\u0631\u0646\u0627\u0645\u0647 \u0628\u0631\u0627\u06cc \u0634\u0645\u0627 \u06a9\u0627\u0631 \u06a9\u0646\u062f. \u06cc\u0639\u0646\u06cc \u0634\u0645\u0627 \u0628\u0627\u06cc\u062f \u062f\u0648 \u0645\u062a\u063a\u06cc\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0631\u0627\u0633\u0627\u0633 \u0645\u0634\u062e\u0635\u0627\u062a \u0634\u0628\u06a9\u0647 \u062e\u0648\u062f \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f \u062a\u0627 \u0645\u0627\u0698\u0648\u0644 ESP8266 \u0628\u062a\u0648\u0627\u0646\u062f \u0628\u0647 \u0634\u0628\u06a9\u0647 \u0645\u0648\u062c\u0648\u062f \u0645\u062a\u0635\u0644 \u0634\u0648\u062f.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\nconst char* ssid     = &quot;&quot;;\nconst char* password = &quot;&quot;;\n<\/pre><\/div>\n\n\n<div style=\"height:61px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u0627\u0644\u0628\u062a\u0647 \u0627\u06af\u0631 \u062f\u0631 \u06af\u0630\u0634\u062a\u0647 \u06cc\u06a9 \u0648\u0628 \u0633\u0631\u0648\u0631 \u0628\u0627 ESP32 \u0633\u0627\u062e\u062a\u0647\u200c\u0627\u06cc\u062f\u060c \u0627\u06cc\u0646 \u06a9\u062f \u062a\u0641\u0627\u0648\u062a \u0632\u06cc\u0627\u062f\u06cc \u0646\u062f\u0627\u0631\u062f. \u062a\u0646\u0647\u0627 \u06cc\u06a9 \u0627\u0646\u062a\u062e\u0627\u0628\u06af\u0631 \u0631\u0646\u06af \u0628\u0647 \u0635\u0641\u062d\u0647 \u0648\u0628 \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0628\u0631\u0627\u06cc \u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af \u0646\u0648\u0627\u0631 LED \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0631\u0627 \u062f\u06cc\u06a9\u062f \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/p>\n\n\n\n<p class=\"has-background\" style=\"background:radial-gradient(rgba(227,7,21,0.01) 0%,rgba(155,81,224,0.11) 97%)\">&nbsp;\u0627\u06af\u0631 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0631 \u0645\u0648\u0631\u062f \u0633\u0627\u062e\u062a \u0648\u0628 \u0633\u0631\u0648\u0631 \u0628\u0627 ESP8266 NodeMCU &nbsp;\u062f\u0631 \u0645\u062f\u0647\u0627\u06cc AP \u0648 STA \u0628\u06cc\u0634\u062a\u0631 \u0628\u062f\u0627\u0646\u06cc\u062f\u060c \u0622\u0645\u0648\u0632\u0634 &nbsp;&#8221; <a href=\"https:\/\/roboeq.ir\/blog\/%D8%A2%D9%85%D9%88%D8%B2%D8%B4-%D8%B3%D8%A7%D8%AE%D8%AA-%D9%88%D8%A8-%D8%B3%D8%B1%D9%88%D8%B1-%D8%A8%D8%A7-%D9%85%D8%A7%DA%98%D9%88%D9%84-esp8266\/\">\u0633\u0627\u062e\u062a \u0648\u0628 \u0633\u0631\u0648\u0631 \u0628\u0627 \u0645\u0627\u0698\u0648\u0644 ESP8266 \u062f\u0631 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648<\/a>&#8221; \u0631\u0627 \u062f\u0646\u0628\u0627\u0644 \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n\n<div style=\"height:66px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u0628) <strong>\u06a9\u062f \u0622\u0631\u062f\u0648\u06cc\u0646\u0648<\/strong>: \u06a9\u0646\u062a\u0631\u0644 LED \u0646\u0648\u0627\u0631\u06cc \u0628\u0627 ESP8266<\/h3>\n\n\n\n<p>\u0645\u0634\u0627\u0628\u0647 \u0645\u0627\u0698\u0648\u0644 ESP32\u060c \u0628\u0631\u0627\u06cc \u067e\u0631\u0648\u06af\u0631\u0627\u0645 \u06a9\u0631\u062f\u0646 \u0645\u0627\u0698\u0648\u0644 ESP8266 \u0628\u0627 \u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0627\u0628\u062a\u062f\u0627 \u0628\u0627\u06cc\u062f \u0622\u0646 \u0631\u0627 \u0628\u0647 \u0645\u062c\u0645\u0648\u0639\u0647 \u0628\u0631\u062f\u0647\u0627\u06cc \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f. \u067e\u0633 \u0627\u0632 \u0622\u0646 \u06a9\u062f \u0632\u06cc\u0631 \u0631\u0627 \u0631\u0627 \u062f\u0631 \u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631 \u062e\u0648\u062f \u06a9\u067e\u06cc \u0648 \u0645\u0627\u0698\u0648\u0644 \u0631\u0627 \u067e\u0631\u0648\u06af\u0631\u0627\u0645 \u0646\u0645\u0627\u06cc\u06cc\u062f.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\n\/*********\n  Rui Santos\n  Complete project details at https:\/\/randomnerdtutorials.com  \n*********\/\n\n\/\/ Load Wi-Fi library\n#include &lt;ESP8266WiFi.h&gt;\n\n\/\/ Replace with your network credentials\nconst char* ssid     = &quot;REPLACE_WITH_YOUR_SSID&quot;;\nconst char* password = &quot;REPLACE_WITH_YOUR_PASSWORD&quot;;\n\n\/\/ Set web server port number to 80\nWiFiServer server(80);\n\n\/\/ Decode HTTP GET value\nString redString = &quot;0&quot;;\nString greenString = &quot;0&quot;;\nString blueString = &quot;0&quot;;\nint pos1 = 0;\nint pos2 = 0;\nint pos3 = 0;\nint pos4 = 0;\n\n\/\/ Variable to store the HTTP req  uest\nString header;\n\n\/\/ Red, green, and blue pins for PWM control\nconst int redPin = 13;     \/\/ 13 corresponds to GPIO13\nconst int greenPin = 12;   \/\/ 12 corresponds to GPIO12\nconst int bluePin = 14;    \/\/ 14 corresponds to GPIO14\n\n\/\/ Setting PWM bit resolution\nconst int resolution = 256;\n\n\/\/ Current time\nunsigned long currentTime = millis();\n\/\/ Previous time\nunsigned long previousTime = 0; \n\/\/ Define timeout time in milliseconds (example: 2000ms = 2s)\nconst long timeoutTime = 2000;\n\nvoid setup() {\n  Serial.begin(115200);\n  \n  \/\/ configure LED PWM resolution\/range and set pins to LOW\n  analogWriteRange(resolution);\n  analogWrite(redPin, 0);\n  analogWrite(greenPin, 0);\n  analogWrite(bluePin, 0);\n  \n  \/\/ Connect to Wi-Fi network with SSID and password\n  Serial.print(&quot;Connecting to &quot;);\n  Serial.println(ssid);\n  WiFi.begin(ssid, password);\n  while (WiFi.status() != WL_CONNECTED) {\n    delay(500);\n    Serial.print(&quot;.&quot;);\n  }\n  \/\/ Print local IP address and start web server\n  Serial.println(&quot;&quot;);\n  Serial.println(&quot;WiFi connected.&quot;);\n  Serial.println(&quot;IP address: &quot;);\n  Serial.println(WiFi.localIP());\n  server.begin();\n}\n\nvoid loop(){\n  WiFiClient client = server.available();   \/\/ Listen for incoming clients\n\n  if (client) {                             \/\/ If a new client connects,\n    currentTime = millis();\n    previousTime = currentTime;\n    Serial.println(&quot;New Client.&quot;);          \/\/ print a message out in the serial port\n    String currentLine = &quot;&quot;;                \/\/ make a String to hold incoming data from the client\n    while (client.connected() &amp;&amp; currentTime - previousTime &lt;= timeoutTime) {            \/\/ loop while the client&#039;s connected\n      currentTime = millis();\n      if (client.available()) {             \/\/ if there&#039;s bytes to read from the client,\n        char c = client.read();             \/\/ read a byte, then\n        Serial.write(c);                    \/\/ print it out the serial monitor\n        header += c;\n        if (c == &#039;\\n&#039;) {                    \/\/ if the byte is a newline character\n          \/\/ if the current line is blank, you got two newline characters in a row.\n          \/\/ that&#039;s the end of the client HTTP request, so send a response:\n          if (currentLine.length() == 0) {\n            \/\/ HTTP headers always start with a response code (e.g. HTTP\/1.1 200 OK)\n            \/\/ and a content-type so the client knows what&#039;s coming, then a blank line:\n            client.println(&quot;HTTP\/1.1 200 OK&quot;);\n            client.println(&quot;Content-type:text\/html&quot;);\n            client.println(&quot;Connection: close&quot;);\n            client.println();\n                   \n            \/\/ Display the HTML web page\n            client.println(&quot;&lt;!DOCTYPE html&gt;&lt;html&gt;&quot;);\n            client.println(&quot;&lt;head&gt;&lt;meta name=\\&quot;viewport\\&quot; content=\\&quot;width=device-width, initial-scale=1\\&quot;&gt;&quot;);\n            client.println(&quot;&lt;link rel=\\&quot;icon\\&quot; href=\\&quot;data:,\\&quot;&gt;&quot;);\n            client.println(&quot;&lt;link rel=\\&quot;stylesheet\\&quot; href=\\&quot;https:\/\/stackpath.bootstrapcdn.com\/bootstrap\/4.3.1\/css\/bootstrap.min.css\\&quot;&gt;&quot;);\n            client.println(&quot;&lt;script src=\\&quot;https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jscolor\/2.0.4\/jscolor.min.js\\&quot;&gt;&lt;\/script&gt;&quot;);\n            client.println(&quot;&lt;\/head&gt;&lt;body&gt;&lt;div class=\\&quot;container\\&quot;&gt;&lt;div class=\\&quot;row\\&quot;&gt;&lt;h1&gt;ESP Color Picker&lt;\/h1&gt;&lt;\/div&gt;&quot;);\n            client.println(&quot;&lt;a class=\\&quot;btn btn-primary btn-lg\\&quot; href=\\&quot;#\\&quot; id=\\&quot;change_color\\&quot; role=\\&quot;button\\&quot;&gt;Change Color&lt;\/a&gt; &quot;);\n            client.println(&quot;&lt;input class=\\&quot;jscolor {onFineChange:&#039;update(this)&#039;}\\&quot; id=\\&quot;rgb\\&quot;&gt;&lt;\/div&gt;&quot;);\n            client.println(&quot;&lt;script&gt;function update(picker) {document.getElementById(&#039;rgb&#039;).innerHTML = Math.round(picker.rgb&#x5B;0]) + &#039;, &#039; +  Math.round(picker.rgb&#x5B;1]) + &#039;, &#039; + Math.round(picker.rgb&#x5B;2]);&quot;);\n            client.println(&quot;document.getElementById(\\&quot;change_color\\&quot;).href=\\&quot;?r\\&quot; + Math.round(picker.rgb&#x5B;0]) + \\&quot;g\\&quot; +  Math.round(picker.rgb&#x5B;1]) + \\&quot;b\\&quot; + Math.round(picker.rgb&#x5B;2]) + \\&quot;&amp;\\&quot;;}&lt;\/script&gt;&lt;\/body&gt;&lt;\/html&gt;&quot;);\n            \/\/ The HTTP response ends with another blank line\n            client.println();\n\n            \/\/ Request sample: \/?r201g32b255&amp;\n            \/\/ Red = 201 | Green = 32 | Blue = 255\n            if(header.indexOf(&quot;GET \/?r&quot;) &gt;= 0) {\n              pos1 = header.indexOf(&#039;r&#039;);\n              pos2 = header.indexOf(&#039;g&#039;);\n              pos3 = header.indexOf(&#039;b&#039;);\n              pos4 = header.indexOf(&#039;&amp;&#039;);\n              redString = header.substring(pos1+1, pos2);\n              greenString = header.substring(pos2+1, pos3);\n              blueString = header.substring(pos3+1, pos4);\n              \/*Serial.println(redString.toInt());\n              Serial.println(greenString.toInt());\n              Serial.println(blueString.toInt());*\/\n              analogWrite(redPin, redString.toInt());\n              analogWrite(greenPin, greenString.toInt());\n              analogWrite(bluePin, blueString.toInt());\n            }\n            \/\/ Break out of the while loop\n            break;\n          } else { \/\/ if you got a newline, then clear currentLine\n            currentLine = &quot;&quot;;\n          }\n        } else if (c != &#039;\\r&#039;) {  \/\/ if you got anything else but a carriage return character,\n          currentLine += c;      \/\/ add it to the end of the currentLine\n        }\n      }\n    }\n    \/\/ Clear the header variable\n    header = &quot;&quot;;\n    \/\/ Close the connection\n    client.stop();\n    Serial.println(&quot;Client disconnected.&quot;);\n    Serial.println(&quot;&quot;);\n  }\n}\n<\/pre><\/div>\n\n\n<div style=\"height:49px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f\u060c \u067e\u06cc\u0634 \u0627\u0632 \u0622\u067e\u0644\u0648\u062f \u06a9\u062f \u0644\u0627\u0632\u0645 \u0627\u0633\u062a \u062f\u0648 \u0645\u062a\u063a\u06cc\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0631\u0627\u0633\u0627\u0633 \u0645\u0634\u062e\u0635\u0627\u062a \u0634\u0628\u06a9\u0647 \u062e\u0648\u062f \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f \u062a\u0627 \u0645\u0627\u0698\u0648\u0644 ESP8266 \u0628\u062a\u0648\u0627\u0646\u062f \u0628\u0647 \u0634\u0628\u06a9\u0647 \u0645\u062d\u0644\u06cc \u0645\u0648\u062c\u0648\u062f \u0645\u062a\u0635\u0644 \u0634\u0648\u062f.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\nconst char* ssid     = &quot;&quot;;\nconst char* password = &quot;&quot;;\n<\/pre><\/div>\n\n\n<div style=\"height:73px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group has-background\" style=\"background-color:#e0f3f9\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h4 class=\"wp-block-heading\"><strong>\u062a\u0648\u0636\u06cc\u062d\u0627\u062a \u06a9\u062f<\/strong><strong><\/strong><\/h4>\n\n\n\n<p>\u06a9\u062f \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0628\u0631\u0627\u06cc \u0645\u0627\u0698\u0648\u0644\u200c\u0647\u0627\u06ccESP32 &nbsp;\u0648 ESP8266 \u0628\u0633\u06cc\u0627\u0631 \u0645\u0634\u0627\u0628\u0647 \u0627\u0633\u062a \u0648 \u062a\u0646\u0647\u0627 \u0686\u0646\u062f\u06cc\u0646 \u062a\u0641\u0627\u0648\u062a \u062c\u0632\u0626\u06cc \u0647\u0646\u06af\u0627\u0645 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 Wi-Fi \u0648 \u0646\u062d\u0648\u0647 \u0633\u0627\u062e\u062a \u0633\u06cc\u06af\u0646\u0627\u0644 PWM \u062f\u0627\u0631\u0646\u062f.<\/p>\n\n\n\n<p>\u0628\u0631\u0646\u0627\u0645\u0647 ESP32 \u0627\u0632 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 WiFi.h \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\n#include &lt;WiFi.h&gt;\n<\/pre><\/div>\n\n\n<p>\u0628\u0631\u0646\u0627\u0645\u0647 ESP8266 \u0627\u0632 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 ESP8266WiFi.h \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\n#include &lt;ESP8266WiFi.h&gt;\n<\/pre><\/div>\n\n\n<div style=\"height:77px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u0633\u0647 \u0645\u062a\u063a\u06cc\u0631 \u0627\u0632 \u0646\u0648\u0639 \u0631\u0634\u062a\u0647 \u062d\u0631\u0641\u06cc (string) \u0628\u0631\u0627\u06cc \u0630\u062e\u06cc\u0631\u0647 \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc R\u060c G \u0648 B \u062f\u0631\u06cc\u0627\u0641\u062a\u06cc \u0627\u0632 \u062f\u0631\u062e\u0648\u0627\u0633\u062a\u200c\u0647\u0627 \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\nString redString = &quot;0&quot;;\nString greenString = &quot;0&quot;;\nString blueString = &quot;0&quot;;\n<\/pre><\/div>\n\n\n<div style=\"height:56px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u0633\u067e\u0633 4 \u0645\u062a\u063a\u06cc\u0631 \u0628\u0631\u0627\u06cc \u062f\u06cc\u06a9\u062f \u06a9\u0631\u062f\u0646 \u062f\u0631\u062e\u0648\u0627\u0633\u062a HTTP \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\nint pos1 = 0;\nint pos2 = 0;\nint pos3 = 0;\nint pos4 = 0;\n<\/pre><\/div>\n\n\n<div style=\"height:70px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u062f\u0631 \u0627\u06cc\u0646\u062c\u0627\u060c 3 \u0645\u062a\u063a\u06cc\u0631 \u0628\u0631\u0627\u06cc \u067e\u06cc\u0646\u200c\u0647\u0627\u06cc GPIO \u06a9\u0647 \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc R\u060c G \u0648 B \u0646\u0648\u0627\u0631 \u0627\u0644\u200c\u0627\u06cc\u200c\u062f\u06cc\u200c \u0631\u0627 \u06a9\u0646\u062a\u0631\u0644 \u062e\u0648\u0627\u0647\u0646\u062f \u06a9\u0631\u062f\u060c \u062a\u0639\u0631\u06cc\u0641 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\nconst int redPin = 13;     \nconst int greenPin = 12;  \nconst int bluePin = 14;\n<\/pre><\/div>\n\n\n<div style=\"height:67px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u0628\u0647 \u062f\u0644\u06cc\u0644 \u0627\u06cc\u0646\u200c\u06a9\u0647 \u062e\u0631\u0648\u062c\u06cc \u067e\u06cc\u0646\u200c\u0647\u0627\u06cc GPIO\u060c \u0633\u06cc\u06af\u0646\u0627\u0644\u200c\u0647\u0627\u06cc PWM \u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f\u060c \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u0645 \u0627\u0628\u062a\u062f\u0627 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0645\u0631\u0628\u0648\u0637 \u0628\u0647 PWM \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u0645. \u0628\u062f\u06cc\u0646 \u0645\u0646\u0638\u0648\u0631 \u0641\u0631\u06a9\u0627\u0646\u0633 \u0633\u06cc\u06af\u0646\u0627\u0644 PWM \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc 5000 \u0647\u0631\u062a\u0632 \u062a\u0646\u0638\u06cc\u0645 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645. \u0633\u067e\u0633 \u0628\u0631\u0627\u06cc \u0647\u0631 \u0631\u0646\u06af \u06cc\u06a9 \u06a9\u0627\u0646\u0627\u0644 PWM \u0627\u062e\u062a\u0635\u0627\u0635 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645 (\u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 ESP8266 \u0628\u0647 \u0627\u06cc\u0646 \u0642\u0633\u0645\u062a \u0646\u06cc\u0627\u0632\u06cc \u0646\u062f\u0627\u0631\u06cc\u0645).<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\nconst int freq = 5000;\nconst int redChannel = 0;\nconst int greenChannel = 1;\nconst int blueChannel = 2;\n<\/pre><\/div>\n\n\n<div style=\"height:71px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u0633\u067e\u0633 \u0631\u0632\u0648\u0644\u0648\u0634\u0646 \u06a9\u0627\u0646\u0627\u0644\u200c\u0647\u0627\u06cc PWM \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc 8 \u0628\u06cc\u062a \u062a\u0646\u0638\u06cc\u0645 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 (\u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 ESP8266 \u0628\u0647 \u0627\u06cc\u0646 \u0642\u0633\u0645\u062a \u0646\u06cc\u0627\u0632\u06cc \u0646\u062f\u0627\u0631\u06cc\u0645).<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\nconst int resolution = 8;\n<\/pre><\/div>\n\n\n<div style=\"height:64px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u062f\u0631 \u062a\u0627\u0628\u0639 ()setup\u060c \u0645\u0634\u062e\u0635\u0627\u062a PWM \u0631\u0627 \u0628\u0647 \u06a9\u0627\u0646\u0627\u0644\u200c\u0647\u0627\u06cc PWM \u0627\u062e\u062a\u0635\u0627\u0635 \u0645\u06cc\u200c\u062f\u0647\u06cc\u0645 (\u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 ESP8266 \u0628\u0647 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0646\u06cc\u0627\u0632\u06cc \u0646\u062f\u0627\u0631\u06cc\u0645).<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\nledcSetup(redChannel, freq, resolution);\nledcSetup(greenChannel, freq, resolution);\nledcSetup(blueChannel, freq, resolution);\n<\/pre><\/div>\n\n\n<div style=\"height:68px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647\u060c \u06a9\u0627\u0646\u0627\u0644\u200c\u0647\u0627\u06cc PWM \u0628\u0647 \u067e\u06cc\u0646\u200c\u0647\u0627\u06cc GPIO \u0645\u0631\u0628\u0648\u0637\u0647 \u062a\u062e\u0635\u06cc\u0635 \u062f\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f (\u062f\u0631 \u0628\u0631\u0646\u0627\u0645\u0647 ESP8266 \u0628\u0647 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0646\u06cc\u0627\u0632\u06cc \u0646\u062f\u0627\u0631\u06cc\u0645).<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\nledcAttachPin(redPin, redChannel);\nledcAttachPin(greenPin, greenChannel);\nledcAttachPin(bluePin, blueChannel);\n<\/pre><\/div>\n\n\n<div style=\"height:74px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u062e\u0637\u0648\u0637 \u0632\u06cc\u0631 \u0627\u0632 \u0628\u0631\u0646\u0627\u0645\u0647\u060c \u06cc\u06a9 \u0627\u0646\u062a\u062e\u0627\u0628\u200c \u06a9\u0646\u0646\u062f\u0647 \u0631\u0646\u06af \u0631\u0627 \u062f\u0631 \u0635\u0641\u062d\u0647 \u0648\u0628 \u0634\u0645\u0627 \u0646\u0645\u0627\u06cc\u0634 \u0645\u06cc\u200c\u062f\u0647\u0646\u062f \u0648 \u0628\u0631\u0627\u0633\u0627\u0633 \u0631\u0646\u06af\u06cc \u06a9\u0647 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f\u060c \u06cc\u06a9 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0645\u06cc\u200c\u0633\u0627\u0632\u062f.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\nclient.println(&quot;&lt;!DOCTYPE html&gt;&lt;html&gt;&quot;);\nclient.println(&quot;&lt;head&gt;&lt;meta name=\\&quot;viewport\\&quot; content=\\&quot;width=device-width, initial-scale=1\\&quot;&gt;&quot;);\nclient.println(&quot;&lt;link rel=\\&quot;icon\\&quot; href=\\&quot;data:,\\&quot;&gt;&quot;);\nclient.println(&quot;&lt;link rel=\\&quot;stylesheet\\&quot; href=\\&quot;https:\/\/stackpath.bootstrapcdn.com\/bootstrap\/4.3.1\/css\/bootstrap.min.css\\&quot;&gt;&quot;);\nclient.println(&quot;&lt;script src=\\&quot;https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jscolor\/2.0.4\/jscolor.min.js\\&quot;&gt;&lt;\/script&gt;&quot;);\nclient.println(&quot;&lt;\/head&gt;&lt;body&gt;&lt;div class=\\&quot;container\\&quot;&gt;&lt;div class=\\&quot;row\\&quot;&gt;&lt;h1&gt;ESP Color Picker&lt;\/h1&gt;&lt;\/div&gt;&quot;);\nclient.println(&quot;&lt;a class=\\&quot;btn btn-primary btn-lg\\&quot; href=\\&quot;#\\&quot; id=\\&quot;change_color\\&quot; role=\\&quot;button\\&quot;&gt;Change Color&lt;\/a&gt; &quot;);\nclient.println(&quot;&lt;input class=\\&quot;jscolor {onFineChange:&#039;update(this)&#039;}\\&quot; id=\\&quot;rgb\\&quot;&gt;&lt;\/div&gt;&quot;);\nclient.println(&quot;&lt;script&gt;function update(picker) {document.getElementById(&#039;rgb&#039;).innerHTML = Math.round(picker.rgb&#x5B;0]) + &#039;, &#039; +  Math.round(picker.rgb&#x5B;1]) + &#039;, &#039; + Math.round(picker.rgb&#x5B;2]);&quot;);        client.println(&quot;document.getElementById(\\&quot;change_color\\&quot;).href=\\&quot;?r\\&quot; + Math.round(picker.rgb&#x5B;0]) + \\&quot;g\\&quot; +  Math.round(picker.rgb&#x5B;1]) + \\&quot;b\\&quot; + Math.round(picker.rgb&#x5B;2]) + \\&quot;&amp;\\&quot;;}&lt;\/script&gt;&lt;\/body&gt;&lt;\/html&gt;&quot;);\n\/\/ The HTTP response ends with another blank line\nclient.println();\n<\/pre><\/div>\n\n\n<div style=\"height:66px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u067e\u0633 \u0627\u0632 \u0627\u0646\u062a\u062e\u0627\u0628 \u0631\u0646\u06af \u0645\u0648\u0631\u062f\u0646\u0638\u0631\u060c \u062f\u0631\u062e\u0648\u0627\u0633\u062a\u06cc \u0628\u0647 \u0641\u0631\u0645\u062a \u0632\u06cc\u0631 \u062f\u0631\u06cc\u0627\u0641\u062a \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\n\/?r201g32b255&amp;\n<\/pre><\/div>\n\n\n<div style=\"height:82px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u0627\u06a9\u0646\u0648\u0646 \u0628\u0627\u06cc\u062f \u0627\u06cc\u0646 \u0631\u0634\u062a\u0647 \u0631\u0627 \u0628\u0631\u0627\u06cc \u0628\u0647 \u062f\u0633\u062a\u200c \u0622\u0648\u0631\u062f\u0646 \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u200c\u0647\u0627\u06cc R\u060c G \u0648 B \u062a\u0641\u06a9\u06cc\u06a9 \u06a9\u0646\u06cc\u0645. \u0627\u06cc\u0646 \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627 \u062f\u0631 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627\u06cc redString\u060c&nbsp; greenString \u0648 blueString \u0630\u062e\u06cc\u0631\u0647 \u0634\u062f\u0647 \u0648 \u0645\u0642\u0627\u062f\u06cc\u0631\u06cc \u0628\u06cc\u0646 0 \u062a\u0627 255 \u062e\u0648\u0627\u0647\u0646\u062f \u062f\u0627\u0634\u062a.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\npos1 = header.indexOf(&#039;r&#039;);\npos2 = header.indexOf(&#039;g&#039;);\npos3 = header.indexOf(&#039;b&#039;);\npos4 = header.indexOf(&#039;&amp;&#039;);\nredString = header.substring(pos1+1, pos2);\ngreenString = header.substring(pos2+1, pos3);\nblueString = header.substring(pos3+1, pos4);\n<\/pre><\/div>\n\n\n<div style=\"height:59px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u0628\u0647 \u0645\u0646\u0638\u0648\u0631 \u06a9\u0646\u062a\u0631\u0644 \u0627\u0644 \u0627\u06cc \u062f\u06cc \u0646\u0648\u0627\u0631\u06cc \u0628\u0627 \u0645\u0627\u0698\u0648\u0644 ESP32\u060c \u0627\u0632 \u062a\u0627\u0628\u0639 ()ledcWrite \u0628\u0631\u0627\u06cc \u062a\u0648\u0644\u06cc\u062f \u0633\u06cc\u06af\u0646\u0627\u0644\u200c\u0647\u0627\u06cc PWM \u0628\u0631 \u0627\u0633\u0627\u0633 \u0645\u0642\u0627\u062f\u06cc\u0631 \u062d\u0627\u0635\u0644 \u0627\u0632 \u062f\u0631\u062e\u0648\u0627\u0633\u062a HTTP \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\nledcWrite(redChannel, redString.toInt());\nledcWrite(greenChannel, greenString.toInt());\nledcWrite(blueChannel, blueString.toInt());\n<\/pre><\/div>\n\n\n<div style=\"height:66px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u0628\u0647 \u0647\u0645\u06cc\u0646\u200c\u062a\u0631\u062a\u06cc\u0628 \u0628\u0631\u0627\u06cc \u06a9\u0646\u062a\u0631\u0644 \u0646\u0648\u0627\u0631 \u0627\u0644\u200c \u0627\u06cc\u200c \u062f\u06cc \u0628\u0627 \u0645\u0627\u0698\u0648\u0644 ESP8266\u060c \u0627\u0632 \u062a\u0627\u0628\u0639 ()analogWrite \u0628\u0631\u0627\u06cc \u062a\u0648\u0644\u06cc\u062f \u0633\u06cc\u06af\u0646\u0627\u0644\u200c\u0647\u0627\u06cc PWM \u0628\u0631\u0627\u0633\u0627\u0633 \u0645\u0642\u0627\u062f\u06cc\u0631 \u062d\u0627\u0635\u0644 \u0627\u0632 \u062f\u0631\u062e\u0648\u0627\u0633\u062a HTTP \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: arduino; title: ; notranslate\" title=\"\">\nanalogWrite(redPin, redString.toInt());\nanalogWrite(greenPin, greenString.toInt());\nanalogWrite(bluePin, blueString.toInt())\n<\/pre><\/div>\n\n\n<div style=\"height:71px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u0628\u0627 \u062a\u0648\u062c\u0647 \u0628\u0647 \u0627\u06cc\u0646\u06a9\u0647 \u0645\u0642\u0627\u062f\u06cc\u0631 \u0631\u0627 \u0627\u0632 \u0645\u062a\u063a\u06cc\u0631\u0647\u0627\u06cc \u0646\u0648\u0639 \u0631\u0634\u062a\u0647 \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645\u060c \u0644\u0627\u0632\u0645 \u0627\u0633\u062a \u0622\u0646\u200c\u0647\u0627 \u0631\u0627 \u0628\u0627 \u06a9\u0645\u06a9 \u062a\u0627\u0628\u0639 ()toInt \u0628\u0647 \u0639\u062f\u062f \u0635\u062d\u06cc\u062d \u062a\u0628\u062f\u06cc\u0644 \u06a9\u0646\u06cc\u0645.<\/p>\n<\/div><\/div>\n\n\n\n<div style=\"height:77px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p> \u062f\u0631 \u0627\u06cc\u0646 \u0632\u0645\u0627\u0646 \u0628\u0639\u062f \u0627\u0632 \u062a\u0646\u0638\u06cc\u0645 \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc \u0634\u0628\u06a9\u0647 \u062e\u0648\u062f\u060c \u0628\u0631\u062f \u0648 \u067e\u0648\u0631\u062a COM \u0635\u062d\u06cc\u062d\u06cc \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u0648 \u0628\u0631\u0646\u0627\u0645\u0647 \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc \u0645\u0627\u0698\u0648\u0644 ESP32 \u06cc\u0627 ESP8266 \u062e\u0648\u062f \u0622\u067e\u0644\u0648\u062f \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n\n<p>\u0633\u067e\u0633 \u0633\u0631\u06cc\u0627\u0644 \u0645\u0627\u0646\u06cc\u062a\u0648\u0631 \u0631\u0627 \u0628\u0627\u0632 \u0648 \u0628\u0627\u062f\u0631\u06cc\u062a \u0631\u0627 \u0628\u0631 \u0631\u0648\u06cc 115200 \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f \u0648 \u0628\u0627 \u0641\u0634\u0631\u062f\u0646 \u06a9\u0644\u06cc\u062f RST \u0631\u0648\u06cc \u0628\u0631\u062f\u060c \u0622\u0646 \u0631\u0627 \u0631\u06cc\u0633\u062a \u06a9\u0646\u06cc\u062f. \u0627\u06a9\u0646\u0648\u0646 \u0622\u062f\u0631\u0633 \u0622\u06cc\u200c\u067e\u06cc \u067e\u0648\u06cc\u0627\u06cc\u06cc \u06a9\u0647 \u0627\u0632 \u0631\u0648\u062a\u0631 \u0634\u0645\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u0634\u062f\u0647 \u0631\u0627 \u0645\u0634\u0627\u0647\u062f\u0647 \u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f \u06a9\u0647 \u0628\u0627\u06cc\u062f \u0622\u0646 \u0631\u0627 \u06cc\u0627\u062f\u062f\u0627\u0634\u062a \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"736\" height=\"356\" src=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/esp32-ip-address.webp\" alt=\"\u0646\u0645\u0627\u06cc\u0634 \u0622\u06cc\u200c\u067e\u06cc \u0622\u062f\u0631\u0633 \u0645\u0627\u0698\u0648\u0644 \u0648\u0627\u06cc \u0641\u0627\u06cc \u0628\u0631\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0628\u0627 \u0645\u0648\u0628\u0627\u06cc\u0644\" class=\"wp-image-22130\" srcset=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/esp32-ip-address.webp 736w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/esp32-ip-address-300x145.webp 300w\" sizes=\"auto, (max-width: 736px) 100vw, 736px\" \/><\/figure><\/div>\n\n\n<div style=\"height:74px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u0645\u0631\u0648\u0631\u06af\u0631 \u062e\u0648\u062f \u0631\u0627 \u0628\u0627\u0632 \u0648 \u0627\u06cc\u0646 \u0622\u062f\u0631\u0633 \u0622\u06cc \u067e\u06cc \u0631\u0627 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f. \u0627\u06a9\u0646\u0648\u0646 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0627\u0646\u062a\u062e\u0627\u0628\u200c\u06af\u0631 \u0631\u0646\u06af \u0628\u0631\u0627\u06cc \u0627\u0646\u062a\u062e\u0627\u0628 \u0631\u0646\u06af \u0646\u0648\u0627\u0631 \u0627\u0644\u200c \u0627\u06cc \u200c\u062f\u06cc\u200c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"672\" height=\"352\" src=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/color-picker-browser.webp\" alt=\"\u0648\u0627\u0631\u062f \u06a9\u0631\u062f\u0646 \u0622\u062f\u0631\u0633 \u0622\u06cc\u200c\u067e\u06cc \u062f\u0631 \u06cc\u06a9 \u0645\u0648\u0628\u0627\u06cc\u0644 \u06cc\u0627 \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631 \u0648 \u0627\u0646\u062a\u062e\u0627\u0628 \u0631\u0646\u06af \u062f\u0631 ESP Color Picker\" class=\"wp-image-22132\" style=\"aspect-ratio:1;width:466px;height:auto\" srcset=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/color-picker-browser.webp 672w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/color-picker-browser-300x157.webp 300w\" sizes=\"auto, (max-width: 672px) 100vw, 672px\" \/><\/figure><\/div>\n\n\n<div style=\"height:58px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u0633\u067e\u0633\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0631\u0627\u06cc \u062a\u063a\u06cc\u06cc\u0631 \u0631\u0646\u06af \u0648 \u06a9\u0646\u062a\u0631\u0644 LED \u0646\u0648\u0627\u0631\u06cc RGB \u0628\u0627 \u0645\u0648\u0628\u0627\u06cc\u0644 \u06cc\u0627 \u06a9\u0627\u067e\u06cc\u0648\u062a\u0631 \u062e\u0648\u062f \u0628\u0631\u0631\u0648\u06cc \u06af\u0632\u06cc\u0646\u0647 &#8220;Change Color&#8221; \u06a9\u0644\u06cc\u06a9 \u06a9\u0646\u06cc\u062f.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"421\" src=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/esp32-color-picker-demo.webp\" alt=\"\u0627\u0646\u062a\u062e\u0627\u0628 \u0648 \u062a\u063a\u06cc\u06cc\u0631 \u0631\u0646\u06af LED \u0646\u0648\u0627\u0631\u06cc \u0628\u0627 \u0645\u0648\u0628\u0627\u06cc\u0644\" class=\"wp-image-22134\" style=\"aspect-ratio:1;width:459px;height:auto\" srcset=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/esp32-color-picker-demo.webp 750w, https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/esp32-color-picker-demo-300x168.webp 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure><\/div>\n\n\n<div style=\"height:62px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0628\u0631\u0627\u06cc \u062e\u0627\u0645\u0648\u0634 \u06a9\u0631\u062f\u0646 \u0646\u0648\u0627\u0631 LED \u0646\u06cc\u0632 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0631\u0646\u06af \u0633\u06cc\u0627\u0647 \u0631\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f.<\/li>\n<\/ul>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group has-background\" style=\"background-color:#e5f3ed\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<p>\u062f\u0631 \u0627\u06cc\u0646 \u0622\u0645\u0648\u0632\u0634 \u06cc\u0627\u062f \u06af\u0631\u0641\u062a\u06cc\u0645 \u0686\u06af\u0648\u0646\u0647 \u06cc\u06a9 \u0646\u0648\u0627\u0631 RGB LED \u0631\u0627 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u06cc\u06a9 \u0648\u0628 \u0633\u0631\u0648\u0631 \u0628\u0627 \u0645\u0627\u0698\u0648\u0644 (ESP32\/ESP8266) \u062a\u062d\u062a \u0634\u0628\u06a9\u0647 \u0645\u062d\u0644\u06cc \u062e\u0648\u062f \u0648 \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u06a9\u0646\u062a\u0631\u0644 \u06a9\u0646\u06cc\u0645. \u0627\u0645\u06cc\u062f\u0648\u0627\u0631\u06cc\u0645 \u0627\u0632 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0645\u0637\u0627\u0644\u0628 \u0648 \u0646\u06a9\u0627\u062a \u062c\u0645\u0639\u200c\u0622\u0648\u0631\u06cc \u0634\u062f\u0647\u060c \u0644\u0630\u062a \u0628\u0631\u062f\u0647 \u0628\u0627\u0634\u06cc\u062f. \u0686\u0646\u0627\u0646\u0686\u0647 \u0633\u0624\u0627\u0644\u06cc \u0630\u0647\u0646 \u0634\u0645\u0627 \u0631\u0627 \u062f\u0631\u06af\u06cc\u0631 \u06a9\u0631\u062f\u0647 \u0648 \u062f\u0631\u062d\u06cc\u0646 \u0627\u062c\u0631\u0627\u06cc \u067e\u0631\u0648\u0698\u0647 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc\u06cc \u0628\u06cc\u0634\u062a\u0631\u06cc \u062f\u0627\u0631\u06cc\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062f\u0631 \u0628\u062e\u0634 \u062f\u06cc\u062f\u06af\u0627\u0647 \u0647\u0645\u06cc\u0646 \u0635\u0641\u062d\u0647 \u067e\u0631\u0633\u0634 \u062e\u0648\u062f \u0631\u0627 \u0628\u0631\u0627\u06cc \u062a\u06cc\u0645 \u06a9\u0627\u0631\u0634\u0646\u0627\u0633 \u0631\u0648\u0628\u0648\u0627\u06cc\u06a9\u06cc\u0648 \u0627\u0631\u0633\u0627\u0644 \u0648 \u067e\u0627\u0633\u062e \u062e\u0648\u062f \u0631\u0627 \u062f\u0631 \u0627\u0633\u0631\u0639 \u0648\u0642\u062a \u0627\u0632 \u0645\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u06a9\u0646\u06cc\u062f. \u0627\u06af\u0631 \u062a\u0627\u06a9\u0646\u0648\u0646 \u0645\u0648\u0641\u0642 \u0628\u0647 \u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af LED \u0646\u0648\u0627\u0631\u06cc \u0628\u0627 \u06af\u0648\u0634\u06cc \u0645\u0648\u0628\u0627\u06cc\u0644 \u0634\u062f\u0647\u200c\u0627\u06cc\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u062a\u062c\u0631\u0628\u06cc\u0627\u062a \u062e\u0648\u062f \u0631\u0627 \u0628\u0627 \u0645\u0627 \u0628\u0647 \u0627\u0634\u062a\u0631\u0627\u06a9 \u0628\u06af\u0630\u0627\u0631\u06cc\u062f. <\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0628\u0627 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0646\u062d\u0648\u0647 \u062a\u0646\u0638\u06cc\u0645 \u0648 \u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af LED \u0646\u0648\u0627\u0631\u06cc RGB \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u0631\u0646\u06af \u062f\u0644\u062e\u0648\u0627\u0647 \u062e\u0648\u062f\u060c \u0641\u0631\u0627\u062a\u0631 \u0627\u0632 \u0646\u0648\u0631\u067e\u0631\u062f\u0627\u0632\u06cc \u0645\u062d\u062f\u0648\u062f \u0627\u06cc\u0646 \u0627\u0644 \u0627\u06cc \u062f\u06cc \u0647\u0627 \u0631\u0627 \u0628\u0631\u0627\u06cc \u06cc\u06a9 \u0645\u062d\u06cc\u0637 \u0641\u0631\u0627\u0647\u0645 \u06a9\u0646\u06cc\u062f. \u0627\u062d\u062a\u0645\u0627\u0644\u0627\u064b \u062a\u0627\u0628\u0647\u200c\u062d\u0627\u0644 \u0628\u0627 \u06a9\u0627\u0631\u0628\u0631\u062f\u0647\u0627\u06cc \u0627\u0644 \u0627\u06cc \u062f\u06cc \u0646\u0648\u0627\u0631\u06cc \u0622\u0631 \u062c\u06cc \u0628\u06cc \u062f\u0631 \u062f\u06a9\u0648\u0631\u0627\u0633\u06cc\u0648\u0646 \u0645\u0646\u0632\u0644 \u06cc\u0627 \u0645\u062d\u0644 \u06a9\u0627\u0631 \u0622\u0634\u0646\u0627 \u0634\u062f\u0647\u200c\u0627\u06cc\u062f\u061b \u06a9\u0647 \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u067e\u0634\u062a \u062a\u0644\u0648\u0632\u06cc\u0648\u0646\u060c \u0633\u0642\u0641\u060c&#8230;<\/p>\n","protected":false},"author":15,"featured_media":21249,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,30,29],"tags":[],"class_list":["post-21224","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-4","category-30","category-29"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.2 (Yoast SEO v25.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af LED \u0646\u0648\u0627\u0631\u06cc RGB \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0628\u0627 \u0645\u0627\u0698\u0648\u0644 ESP32\/ESP8266 - \u0648\u0628\u0644\u0627\u06af \u0631\u0648\u0628\u0648\u0627\u06cc\u06a9\u06cc\u0648<\/title>\n<meta name=\"description\" content=\"\u0628\u0627 \u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af LED \u0646\u0648\u0627\u0631\u06cc RGB \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631\u060c \u062a\u0646\u0647\u0627 \u0628\u0627 \u06cc\u06a9 \u06af\u0648\u0634\u06cc \u0645\u0648\u0628\u0627\u06cc\u0644 \u0646\u0648\u0631\u067e\u0631\u062f\u0627\u0632\u06cc \u062f\u06a9\u0648\u0631\u0627\u0633\u06cc\u0648\u0646 \u062e\u0648\u062f \u0631\u0627 \u0628\u0627 \u0631\u0646\u06af \u062f\u0644\u062e\u0648\u0627\u0647 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/roboeq.ir\/blog\/\u06a9\u0646\u062a\u0631\u0644-\u0631\u0646\u06af-led-\u0646\u0648\u0627\u0631\u06cc-rgb-\u0627\u0632-\u0631\u0627\u0647-\u062f\u0648\u0631-\u0628\u0627-\u0645\u0627\u0698\u0648\u0644-esp32-esp8266\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af LED \u0646\u0648\u0627\u0631\u06cc RGB \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0628\u0627 \u0645\u0627\u0698\u0648\u0644 ESP32\/ESP8266\" \/>\n<meta property=\"og:description\" content=\"\u0628\u0627 \u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af LED \u0646\u0648\u0627\u0631\u06cc RGB \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631\u060c \u062a\u0646\u0647\u0627 \u0628\u0627 \u06cc\u06a9 \u06af\u0648\u0634\u06cc \u0645\u0648\u0628\u0627\u06cc\u0644 \u0646\u0648\u0631\u067e\u0631\u062f\u0627\u0632\u06cc \u062f\u06a9\u0648\u0631\u0627\u0633\u06cc\u0648\u0646 \u062e\u0648\u062f \u0631\u0627 \u0628\u0627 \u0631\u0646\u06af \u062f\u0644\u062e\u0648\u0627\u0647 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/roboeq.ir\/blog\/\u06a9\u0646\u062a\u0631\u0644-\u0631\u0646\u06af-led-\u0646\u0648\u0627\u0631\u06cc-rgb-\u0627\u0632-\u0631\u0627\u0647-\u062f\u0648\u0631-\u0628\u0627-\u0645\u0627\u0698\u0648\u0644-esp32-esp8266\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0648\u0628\u0644\u0627\u06af \u0631\u0648\u0628\u0648\u0627\u06cc\u06a9\u06cc\u0648\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-13T11:41:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-16T07:40:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/45.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"\u0645\u062f\u06cc\u0631 4\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u062a\u0648\u0633\u0637\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u0645\u062f\u06cc\u0631 4\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u062e\u0645\u06cc\u0646\u06cc \u0645\u0637\u0627\u0644\u0639\u0647\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af LED \u0646\u0648\u0627\u0631\u06cc RGB \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0628\u0627 \u0645\u0627\u0698\u0648\u0644 ESP32\/ESP8266 - \u0648\u0628\u0644\u0627\u06af \u0631\u0648\u0628\u0648\u0627\u06cc\u06a9\u06cc\u0648","description":"\u0628\u0627 \u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af LED \u0646\u0648\u0627\u0631\u06cc RGB \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631\u060c \u062a\u0646\u0647\u0627 \u0628\u0627 \u06cc\u06a9 \u06af\u0648\u0634\u06cc \u0645\u0648\u0628\u0627\u06cc\u0644 \u0646\u0648\u0631\u067e\u0631\u062f\u0627\u0632\u06cc \u062f\u06a9\u0648\u0631\u0627\u0633\u06cc\u0648\u0646 \u062e\u0648\u062f \u0631\u0627 \u0628\u0627 \u0631\u0646\u06af \u062f\u0644\u062e\u0648\u0627\u0647 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f.","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:\/\/roboeq.ir\/blog\/\u06a9\u0646\u062a\u0631\u0644-\u0631\u0646\u06af-led-\u0646\u0648\u0627\u0631\u06cc-rgb-\u0627\u0632-\u0631\u0627\u0647-\u062f\u0648\u0631-\u0628\u0627-\u0645\u0627\u0698\u0648\u0644-esp32-esp8266\/","og_locale":"fa_IR","og_type":"article","og_title":"\u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af LED \u0646\u0648\u0627\u0631\u06cc RGB \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0628\u0627 \u0645\u0627\u0698\u0648\u0644 ESP32\/ESP8266","og_description":"\u0628\u0627 \u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af LED \u0646\u0648\u0627\u0631\u06cc RGB \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631\u060c \u062a\u0646\u0647\u0627 \u0628\u0627 \u06cc\u06a9 \u06af\u0648\u0634\u06cc \u0645\u0648\u0628\u0627\u06cc\u0644 \u0646\u0648\u0631\u067e\u0631\u062f\u0627\u0632\u06cc \u062f\u06a9\u0648\u0631\u0627\u0633\u06cc\u0648\u0646 \u062e\u0648\u062f \u0631\u0627 \u0628\u0627 \u0631\u0646\u06af \u062f\u0644\u062e\u0648\u0627\u0647 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f.","og_url":"https:\/\/roboeq.ir\/blog\/\u06a9\u0646\u062a\u0631\u0644-\u0631\u0646\u06af-led-\u0646\u0648\u0627\u0631\u06cc-rgb-\u0627\u0632-\u0631\u0627\u0647-\u062f\u0648\u0631-\u0628\u0627-\u0645\u0627\u0698\u0648\u0644-esp32-esp8266\/","og_site_name":"\u0648\u0628\u0644\u0627\u06af \u0631\u0648\u0628\u0648\u0627\u06cc\u06a9\u06cc\u0648","article_published_time":"2023-07-13T11:41:47+00:00","article_modified_time":"2023-12-16T07:40:03+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/45.webp","type":"image\/webp"}],"author":"\u0645\u062f\u06cc\u0631 4","twitter_card":"summary_large_image","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647 \u0634\u062f\u0647 \u062a\u0648\u0633\u0637":"\u0645\u062f\u06cc\u0631 4","\u0632\u0645\u0627\u0646 \u062a\u062e\u0645\u06cc\u0646\u06cc \u0645\u0637\u0627\u0644\u0639\u0647":"11 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"ScholarlyArticle","@id":"https:\/\/roboeq.ir\/blog\/%da%a9%d9%86%d8%aa%d8%b1%d9%84-%d8%b1%d9%86%da%af-led-%d9%86%d9%88%d8%a7%d8%b1%db%8c-rgb-%d8%a7%d8%b2-%d8%b1%d8%a7%d9%87-%d8%af%d9%88%d8%b1-%d8%a8%d8%a7-%d9%85%d8%a7%da%98%d9%88%d9%84-esp32-esp8266\/#article","isPartOf":{"@id":"https:\/\/roboeq.ir\/blog\/%da%a9%d9%86%d8%aa%d8%b1%d9%84-%d8%b1%d9%86%da%af-led-%d9%86%d9%88%d8%a7%d8%b1%db%8c-rgb-%d8%a7%d8%b2-%d8%b1%d8%a7%d9%87-%d8%af%d9%88%d8%b1-%d8%a8%d8%a7-%d9%85%d8%a7%da%98%d9%88%d9%84-esp32-esp8266\/"},"author":{"name":"\u0645\u062f\u06cc\u0631 4","@id":"https:\/\/roboeq.ir\/blog\/#\/schema\/person\/c26478f22cd11975e1ae8558460aeb57"},"headline":"\u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af LED \u0646\u0648\u0627\u0631\u06cc RGB \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0628\u0627 \u0645\u0627\u0698\u0648\u0644 ESP32\/ESP8266","datePublished":"2023-07-13T11:41:47+00:00","dateModified":"2023-12-16T07:40:03+00:00","mainEntityOfPage":{"@id":"https:\/\/roboeq.ir\/blog\/%da%a9%d9%86%d8%aa%d8%b1%d9%84-%d8%b1%d9%86%da%af-led-%d9%86%d9%88%d8%a7%d8%b1%db%8c-rgb-%d8%a7%d8%b2-%d8%b1%d8%a7%d9%87-%d8%af%d9%88%d8%b1-%d8%a8%d8%a7-%d9%85%d8%a7%da%98%d9%88%d9%84-esp32-esp8266\/"},"wordCount":145,"commentCount":2,"publisher":{"@id":"https:\/\/roboeq.ir\/blog\/#organization"},"image":{"@id":"https:\/\/roboeq.ir\/blog\/%da%a9%d9%86%d8%aa%d8%b1%d9%84-%d8%b1%d9%86%da%af-led-%d9%86%d9%88%d8%a7%d8%b1%db%8c-rgb-%d8%a7%d8%b2-%d8%b1%d8%a7%d9%87-%d8%af%d9%88%d8%b1-%d8%a8%d8%a7-%d9%85%d8%a7%da%98%d9%88%d9%84-esp32-esp8266\/#primaryimage"},"thumbnailUrl":"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/45.webp","articleSection":["\u0622\u0645\u0648\u0632\u0634 \u0627\u0644\u06a9\u062a\u0631\u0648\u0646\u06cc\u06a9","\u0645\u062f\u0627\u0631 \u06a9\u0646\u062a\u0631\u0644 \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631","\u0645\u062f\u0627\u0631 \u0647\u0627\u06cc \u0646\u0648\u0631\u06cc"],"inLanguage":"fa-IR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/roboeq.ir\/blog\/%da%a9%d9%86%d8%aa%d8%b1%d9%84-%d8%b1%d9%86%da%af-led-%d9%86%d9%88%d8%a7%d8%b1%db%8c-rgb-%d8%a7%d8%b2-%d8%b1%d8%a7%d9%87-%d8%af%d9%88%d8%b1-%d8%a8%d8%a7-%d9%85%d8%a7%da%98%d9%88%d9%84-esp32-esp8266\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/roboeq.ir\/blog\/%da%a9%d9%86%d8%aa%d8%b1%d9%84-%d8%b1%d9%86%da%af-led-%d9%86%d9%88%d8%a7%d8%b1%db%8c-rgb-%d8%a7%d8%b2-%d8%b1%d8%a7%d9%87-%d8%af%d9%88%d8%b1-%d8%a8%d8%a7-%d9%85%d8%a7%da%98%d9%88%d9%84-esp32-esp8266\/","url":"https:\/\/roboeq.ir\/blog\/%da%a9%d9%86%d8%aa%d8%b1%d9%84-%d8%b1%d9%86%da%af-led-%d9%86%d9%88%d8%a7%d8%b1%db%8c-rgb-%d8%a7%d8%b2-%d8%b1%d8%a7%d9%87-%d8%af%d9%88%d8%b1-%d8%a8%d8%a7-%d9%85%d8%a7%da%98%d9%88%d9%84-esp32-esp8266\/","name":"\u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af LED \u0646\u0648\u0627\u0631\u06cc RGB \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0628\u0627 \u0645\u0627\u0698\u0648\u0644 ESP32\/ESP8266 - \u0648\u0628\u0644\u0627\u06af \u0631\u0648\u0628\u0648\u0627\u06cc\u06a9\u06cc\u0648","isPartOf":{"@id":"https:\/\/roboeq.ir\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/roboeq.ir\/blog\/%da%a9%d9%86%d8%aa%d8%b1%d9%84-%d8%b1%d9%86%da%af-led-%d9%86%d9%88%d8%a7%d8%b1%db%8c-rgb-%d8%a7%d8%b2-%d8%b1%d8%a7%d9%87-%d8%af%d9%88%d8%b1-%d8%a8%d8%a7-%d9%85%d8%a7%da%98%d9%88%d9%84-esp32-esp8266\/#primaryimage"},"image":{"@id":"https:\/\/roboeq.ir\/blog\/%da%a9%d9%86%d8%aa%d8%b1%d9%84-%d8%b1%d9%86%da%af-led-%d9%86%d9%88%d8%a7%d8%b1%db%8c-rgb-%d8%a7%d8%b2-%d8%b1%d8%a7%d9%87-%d8%af%d9%88%d8%b1-%d8%a8%d8%a7-%d9%85%d8%a7%da%98%d9%88%d9%84-esp32-esp8266\/#primaryimage"},"thumbnailUrl":"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/45.webp","datePublished":"2023-07-13T11:41:47+00:00","dateModified":"2023-12-16T07:40:03+00:00","description":"\u0628\u0627 \u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af LED \u0646\u0648\u0627\u0631\u06cc RGB \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631\u060c \u062a\u0646\u0647\u0627 \u0628\u0627 \u06cc\u06a9 \u06af\u0648\u0634\u06cc \u0645\u0648\u0628\u0627\u06cc\u0644 \u0646\u0648\u0631\u067e\u0631\u062f\u0627\u0632\u06cc \u062f\u06a9\u0648\u0631\u0627\u0633\u06cc\u0648\u0646 \u062e\u0648\u062f \u0631\u0627 \u0628\u0627 \u0631\u0646\u06af \u062f\u0644\u062e\u0648\u0627\u0647 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f.","breadcrumb":{"@id":"https:\/\/roboeq.ir\/blog\/%da%a9%d9%86%d8%aa%d8%b1%d9%84-%d8%b1%d9%86%da%af-led-%d9%86%d9%88%d8%a7%d8%b1%db%8c-rgb-%d8%a7%d8%b2-%d8%b1%d8%a7%d9%87-%d8%af%d9%88%d8%b1-%d8%a8%d8%a7-%d9%85%d8%a7%da%98%d9%88%d9%84-esp32-esp8266\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/roboeq.ir\/blog\/%da%a9%d9%86%d8%aa%d8%b1%d9%84-%d8%b1%d9%86%da%af-led-%d9%86%d9%88%d8%a7%d8%b1%db%8c-rgb-%d8%a7%d8%b2-%d8%b1%d8%a7%d9%87-%d8%af%d9%88%d8%b1-%d8%a8%d8%a7-%d9%85%d8%a7%da%98%d9%88%d9%84-esp32-esp8266\/"]}]},{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/roboeq.ir\/blog\/%da%a9%d9%86%d8%aa%d8%b1%d9%84-%d8%b1%d9%86%da%af-led-%d9%86%d9%88%d8%a7%d8%b1%db%8c-rgb-%d8%a7%d8%b2-%d8%b1%d8%a7%d9%87-%d8%af%d9%88%d8%b1-%d8%a8%d8%a7-%d9%85%d8%a7%da%98%d9%88%d9%84-esp32-esp8266\/#primaryimage","url":"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/45.webp","contentUrl":"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2023\/07\/45.webp","width":1200,"height":628,"caption":"\u0622\u0645\u0648\u0632\u0634 \u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af LED \u0646\u0648\u0627\u0631\u06cc RGB \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631"},{"@type":"BreadcrumbList","@id":"https:\/\/roboeq.ir\/blog\/%da%a9%d9%86%d8%aa%d8%b1%d9%84-%d8%b1%d9%86%da%af-led-%d9%86%d9%88%d8%a7%d8%b1%db%8c-rgb-%d8%a7%d8%b2-%d8%b1%d8%a7%d9%87-%d8%af%d9%88%d8%b1-%d8%a8%d8%a7-%d9%85%d8%a7%da%98%d9%88%d9%84-esp32-esp8266\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/roboeq.ir\/blog\/"},{"@type":"ListItem","position":2,"name":"\u06a9\u0646\u062a\u0631\u0644 \u0631\u0646\u06af LED \u0646\u0648\u0627\u0631\u06cc RGB \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0628\u0627 \u0645\u0627\u0698\u0648\u0644 ESP32\/ESP8266"}]},{"@type":"WebSite","@id":"https:\/\/roboeq.ir\/blog\/#website","url":"https:\/\/roboeq.ir\/blog\/","name":"\u0648\u0628\u0644\u0627\u06af \u0631\u0648\u0628\u0648\u0627\u06cc\u06a9\u06cc\u0648","description":"\u0648\u0628\u0644\u0627\u06af \u062a\u062e\u0635\u0635\u06cc \u0627\u0644\u06a9\u062a\u0631\u0648\u0646\u06cc\u06a9 \u0648 \u0631\u0628\u0627\u062a\u06cc\u06a9 \u0631\u0648\u0628\u0648\u0627\u06cc\u06a9\u06cc\u0648","publisher":{"@id":"https:\/\/roboeq.ir\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/roboeq.ir\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fa-IR"},{"@type":"Organization","@id":"https:\/\/roboeq.ir\/blog\/#organization","name":"\u0631\u0648\u0628\u0648\u0627\u06cc\u06a9\u06cc\u0648","url":"https:\/\/roboeq.ir\/blog\/","logo":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/roboeq.ir\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2022\/01\/logo280.png","contentUrl":"https:\/\/roboeq.ir\/blog\/wp-content\/uploads\/2022\/01\/logo280.png","width":280,"height":55,"caption":"\u0631\u0648\u0628\u0648\u0627\u06cc\u06a9\u06cc\u0648"},"image":{"@id":"https:\/\/roboeq.ir\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/roboeq.ir\/blog\/#\/schema\/person\/c26478f22cd11975e1ae8558460aeb57","name":"\u0645\u062f\u06cc\u0631 4","image":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/roboeq.ir\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d3c147929ecc2b1a0551832a693cda0ec4a33ffead5070c7d4bc027baa65290e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d3c147929ecc2b1a0551832a693cda0ec4a33ffead5070c7d4bc027baa65290e?s=96&d=mm&r=g","caption":"\u0645\u062f\u06cc\u0631 4"},"url":"https:\/\/roboeq.ir\/blog\/author\/m-jafari\/"}]}},"_links":{"self":[{"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/posts\/21224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/comments?post=21224"}],"version-history":[{"count":33,"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/posts\/21224\/revisions"}],"predecessor-version":[{"id":22137,"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/posts\/21224\/revisions\/22137"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/media\/21249"}],"wp:attachment":[{"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/media?parent=21224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/categories?post=21224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/roboeq.ir\/blog\/wp-json\/wp\/v2\/tags?post=21224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}