{"id":584,"date":"2026-06-11T13:16:16","date_gmt":"2026-06-11T05:16:16","guid":{"rendered":"https:\/\/projectleon.net\/make\/blog\/rov-submarine-esp32-wifi-underwater-5m-farsi\/"},"modified":"2026-06-11T13:16:17","modified_gmt":"2026-06-11T05:16:17","slug":"rov-submarine-esp32-wifi-underwater-5m-farsi","status":"publish","type":"post","link":"https:\/\/projectleon.net\/make\/blog\/rov-submarine-esp32-wifi-underwater-5m-farsi\/","title":{"rendered":"\u0633\u0627\u062e\u062a RC \u0632\u06cc\u0631\u062f\u0631\u06cc\u0627\u06cc\u06cc (ROV) \u0628\u0627 ESP32 \u0648 \u067e\u0645\u067e \u0622\u0628: \u06a9\u0646\u062a\u0631\u0644 WiFi \u062f\u0631 \u0639\u0645\u0642 \u06f5 \u0645\u062a\u0631\u06cc (\u0641\u0627\u0631\u0633\u06cc)"},"content":{"rendered":"<div class='hero-image-container' style='margin-bottom:28px;border-radius:14px;overflow:hidden;box-shadow:0 4px 18px rgba(0,0,0,0.08)'>\n<img src='https:\/\/projectleon.net\/make\/wp-content\/uploads\/2026\/06\/post93-rov-submarine.jpg' alt='ROV \u0632\u06cc\u0631\u062f\u0631\u06cc\u0627\u06cc\u06cc ESP32-CAM WiFi \u06a9\u0646\u062a\u0631\u0644' style='width:100%;height:auto;display:block' loading='eager'\/>\n<\/div>\n<div class='beginner-intro' style='background:#f0f7ff;border-right:4px solid #2e5fb6;padding:16px 20px;border-radius:10px;margin-bottom:22px'>\n<h2 style='margin-top:0'>ROV \u0632\u06cc\u0631\u062f\u0631\u06cc\u0627\u06cc\u06cc \u0686\u06cc\u0633\u062a\u061f (\u0645\u0628\u062a\u062f\u06cc)<\/h2>\n<p>\u06cc\u06a9 <strong>ROV<\/strong> (Remotely Operated Vehicle) \u06cc\u06a9 \u0632\u06cc\u0631\u062f\u0631\u06cc\u0627\u06cc\u06cc \u0627\u0632 \u0631\u0627\u0647 \u062f\u0648\u0631 \u0627\u0633\u062a \u06a9\u0647 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u06a9\u0627\u0628\u0644 \u06cc\u0627 \u0627\u0645\u0648\u0627\u062c RF \u06a9\u0646\u062a\u0631\u0644 \u0645\u06cc\u200c\u0634\u0648\u062f. ROV\u0647\u0627\u06cc \u062d\u0631\u0641\u0647\u200c\u0627\u06cc \u0647\u0632\u0627\u0631\u0627\u0646 \u062f\u0644\u0627\u0631 \u0642\u06cc\u0645\u062a \u062f\u0627\u0631\u0646\u062f\u060c \u0627\u0645\u0627 \u0628\u0627 <strong>ESP32-CAM<\/strong>\u060c \u067e\u0645\u067e\u200c\u0647\u0627\u06cc \u0622\u0628 DC\u060c \u0648 \u0644\u0648\u0644\u0647 PVC \u0622\u0628\u200c\u0628\u0646\u062f\u06cc\u200c\u0634\u062f\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u06cc\u06a9 ROV DIY \u0633\u0627\u062e\u062a \u06a9\u0647 \u062f\u0631 \u0639\u0645\u0642 \u06f5 \u0645\u062a\u0631\u06cc \u06a9\u0627\u0631 \u06a9\u0646\u062f.<\/p>\n<p>\u067e\u0645\u067e\u200c\u0647\u0627\u06cc \u0622\u0628 \u062e\u0627\u0635\u06cc\u062a \u062f\u0648\u06af\u0627\u0646\u0647 \u062f\u0627\u0631\u0646\u062f: \u0648\u0642\u062a\u06cc \u0631\u0648\u0634\u0646 \u0647\u0633\u062a\u0646\u062f \u0631\u0627\u0646\u0634 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f\u060c \u0648\u0642\u062a\u06cc \u062c\u0647\u062a\u0634\u0627\u0646 \u0628\u0631\u0639\u06a9\u0633 \u0645\u06cc\u200c\u0634\u0648\u062f\u060c \u0631\u0628\u0627\u062a \u0628\u0647 \u0639\u0642\u0628 \u062d\u0631\u06a9\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0628\u0627 \u06f3 \u067e\u0645\u067e (\u062c\u0644\u0648\/\u0639\u0642\u0628\u060c \u0686\u067e\/\u0631\u0627\u0633\u062a\u060c \u0628\u0627\u0644\u0627\/\u067e\u0627\u06cc\u06cc\u0646) \u062d\u0631\u06a9\u062a \u06f3D \u062f\u0631 \u0622\u0628 \u0627\u0645\u06a9\u0627\u0646\u200c\u067e\u0630\u06cc\u0631 \u0627\u0633\u062a.<\/p>\n<\/div>\n<div style='border:1px solid #d8d8d8;padding:18px 20px;border-radius:12px;background:#fafafa;margin-bottom:22px'>\n<h2 style='margin-top:0'>\u0645\u062d\u0635\u0648\u0644\u06cc \u06a9\u0647 \u0645\u06cc\u200c\u0633\u0627\u0632\u06cc\u062f<\/h2>\n<p>\u06cc\u06a9 ROV \u0632\u06cc\u0631\u062f\u0631\u06cc\u0627\u06cc\u06cc DIY \u0628\u0627 \u062f\u0648\u0631\u0628\u06cc\u0646 \u0632\u0646\u062f\u0647 \u0648 \u06a9\u0646\u062a\u0631\u0644 WiFi \u0627\u0632 \u0645\u0631\u0648\u0631\u06af\u0631.<\/p>\n<ul>\n<li><strong>\u0647\u0632\u06cc\u0646\u0647:<\/strong> \u06f1 \u062a\u0627 \u06f2 \u0645\u06cc\u0644\u06cc\u0648\u0646 \u062a\u0648\u0645\u0627\u0646<\/li>\n<li><strong>\u0639\u0645\u0642:<\/strong> \u062a\u0627 \u06f5 \u0645\u062a\u0631<\/li>\n<li><strong>\u06a9\u0646\u062a\u0631\u0644:<\/strong> \u0627\u0632 \u0645\u0631\u0648\u0631\u06af\u0631 \u0645\u0648\u0628\u0627\u06cc\u0644\/\u0644\u067e\u200c\u062a\u0627\u067e<\/li>\n<\/ul>\n<\/div>\n<p><svg viewBox='0 0 860 200' width='100%' xmlns='http:\/\/www.w3.org\/2000\/svg' style='background:#b3d9f5;border:1px solid #3a60c0;border-radius:12px;margin-bottom:22px'>\n<ellipse cx='430' cy='140' rx='400' ry='55' fill='#2196f3' opacity='0.3'\/>\n<ellipse cx='430' cy='200' rx='420' ry='60' fill='#1565c0' opacity='0.2'\/>\n<rect x='300' y='70' width='260' height='90' rx='20' fill='#78909c' stroke='#37474f' stroke-width='2'\/>\n<text x='430' y='110' text-anchor='middle' font-size='12' font-family='Tahoma' fill='#fff'>ROV \u0628\u062f\u0646\u0647 PVC<\/text>\n<text x='430' y='128' text-anchor='middle' font-size='10' font-family='Tahoma' fill='#fff'>ESP32-CAM + \u06f3 \u067e\u0645\u067e<\/text>\n<circle cx='310' cy='115' r='18' fill='#90a4ae' stroke='#37474f'\/>\n<text x='310' y='119' text-anchor='middle' font-size='9' font-family='Tahoma'>\u062f\u0648\u0631\u0628\u06cc\u0646<\/text>\n<circle cx='290' cy='145' r='12' fill='#1976d2'\/><text x='290' y='149' text-anchor='middle' font-size='8' font-family='Tahoma' fill='#fff'>P1<\/text>\n<circle cx='570' cy='145' r='12' fill='#1976d2'\/><text x='570' y='149' text-anchor='middle' font-size='8' font-family='Tahoma' fill='#fff'>P2<\/text>\n<circle cx='430' cy='82' r='12' fill='#1976d2'\/><text x='430' y='86' text-anchor='middle' font-size='8' font-family='Tahoma' fill='#fff'>P3<\/text>\n<line x1='430' y1='50' x2='430' y2='5' stroke='#555' stroke-width='2'\/>\n<text x='460' y='20' font-size='11' font-family='Tahoma'>\u06a9\u0627\u0628\u0644 \u06f5m<\/text>\n<text x='430' y='188' text-anchor='middle' font-size='12' font-family='Tahoma' fill='#1a237e'>ROV \u0632\u06cc\u0631\u062f\u0631\u06cc\u0627\u06cc\u06cc \u2014 PVC + ESP32-CAM + \u06f3 \u067e\u0645\u067e<\/text>\n<\/svg><\/p>\n<h2>\u06a9\u062f ESP32 \u2014 \u06a9\u0646\u062a\u0631\u0644 ROV \u0627\u0632 \u0645\u0631\u0648\u0631\u06af\u0631<\/h2>\n<pre style='background:#1e1e1e;color:#d4d4d4;padding:14px;border-radius:10px;overflow-x:auto;font-size:13px'><code class='language-cpp'>\n#include &lt;WiFi.h&gt;\n#include &lt;WebServer.h&gt;\n#include \"esp_camera.h\"\n\nWebServer server(80);\nconst int PUMP1_F=12, PUMP1_B=13;  \/\/ \u062c\u0644\u0648\/\u0639\u0642\u0628\nconst int PUMP2_L=14, PUMP2_R=15;  \/\/ \u0686\u067e\/\u0631\u0627\u0633\u062a\nconst int PUMP3_U=2,  PUMP3_D=4;   \/\/ \u0628\u0627\u0644\u0627\/\u067e\u0627\u06cc\u06cc\u0646\n\nvoid handleRoot() {\n  server.send(200,\"text\/html\",R\"(\n    &lt;html&gt;&lt;body style='text-align:center;background:#111;color:#fff'&gt;\n    &lt;h2&gt;ROV Control&lt;\/h2&gt;\n    &lt;img src='\/stream' style='width:100%;max-width:640px'&gt;&lt;br&gt;\n    &lt;button onclick='fetch(\"\/cmd?f=1\")'&gt;\u062c\u0644\u0648&lt;\/button&gt;\n    &lt;button onclick='fetch(\"\/cmd?b=1\")'&gt;\u0639\u0642\u0628&lt;\/button&gt;\n    &lt;button onclick='fetch(\"\/cmd?u=1\")'&gt;\u0628\u0627\u0644\u0627&lt;\/button&gt;\n    &lt;button onclick='fetch(\"\/cmd?d=1\")'&gt;\u067e\u0627\u06cc\u06cc\u0646&lt;\/button&gt;\n    &lt;\/body&gt;&lt;\/html&gt;\n  )\");\n}\n\nvoid handleCmd() {\n  if(server.hasArg(\"f\")) { digitalWrite(PUMP1_F,HIGH); delay(500); digitalWrite(PUMP1_F,LOW); }\n  if(server.hasArg(\"b\")) { digitalWrite(PUMP1_B,HIGH); delay(500); digitalWrite(PUMP1_B,LOW); }\n  if(server.hasArg(\"u\")) { digitalWrite(PUMP3_U,HIGH); delay(300); digitalWrite(PUMP3_U,LOW); }\n  if(server.hasArg(\"d\")) { digitalWrite(PUMP3_D,HIGH); delay(300); digitalWrite(PUMP3_D,LOW); }\n  server.send(200,\"text\/plain\",\"OK\");\n}\n\nvoid setup() {\n  WiFi.softAP(\"ROV-Control\",\"rov12345\");\n  server.on(\"\/\",handleRoot);\n  server.on(\"\/cmd\",handleCmd);\n  server.begin();\n  int pins[]={PUMP1_F,PUMP1_B,PUMP2_L,PUMP2_R,PUMP3_U,PUMP3_D};\n  for(int p:pins) { pinMode(p,OUTPUT); digitalWrite(p,LOW); }\n}\n\nvoid loop() { server.handleClient(); }\n<\/code><\/pre>\n<h2>\u0686\u06a9\u200c\u0644\u06cc\u0633\u062a \u0622\u0628\u200c\u0628\u0646\u062f\u06cc<\/h2>\n<table style='width:100%;border-collapse:collapse;margin-bottom:18px'>\n<thead>\n<tr style='background:#e8f0fe'>\n<th style='padding:9px;border:1px solid #ddd;text-align:right'>\u0628\u0631\u0631\u0633\u06cc<\/th>\n<th style='padding:9px;border:1px solid #ddd;text-align:right'>\u0631\u0648\u0634<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style='padding:8px;border:1px solid #ddd'>\u062f\u0631\u067e\u0648\u0634 PVC \u06a9\u0627\u0645\u0644\u0627\u064b \u0622\u0628\u200c\u0628\u0646\u062f \u0627\u0633\u062a\u061f<\/td>\n<td style='padding:8px;border:1px solid #ddd'>O-ring + \u0633\u06cc\u0644\u06cc\u06a9\u0648\u0646<\/td>\n<\/tr>\n<tr style='background:#fafafa'>\n<td style='padding:8px;border:1px solid #ddd'>\u06a9\u0627\u0628\u0644 \u0648\u0631\u0648\u062f\u06cc \u0622\u0628\u200c\u0628\u0646\u062f \u0634\u062f\u0647\u061f<\/td>\n<td style='padding:8px;border:1px solid #ddd'>\u06a9\u0627\u0628\u0644\u200c\u06af\u0644\u0646\u062f IP68<\/td>\n<\/tr>\n<tr>\n<td style='padding:8px;border:1px solid #ddd'>\u062a\u0633\u062a \u062f\u0631 \u06f0.\u06f5 \u0645\u062a\u0631 \u0639\u0645\u0642 \u06f1\u06f0 \u062f\u0642\u06cc\u0642\u0647\u061f<\/td>\n<td style='padding:8px;border:1px solid #ddd'>\u2610 \u0642\u0628\u0644 \u0627\u0632 \u06f5 \u0645\u062a\u0631<\/td>\n<\/tr>\n<tr style='background:#fafafa'>\n<td style='padding:8px;border:1px solid #ddd'>\u0634\u0646\u0627\u0648\u0631\u06cc \u062e\u0646\u062b\u06cc \u062a\u0646\u0638\u06cc\u0645 \u0634\u062f\u0647\u061f<\/td>\n<td style='padding:8px;border:1px solid #ddd'>\u0648\u0632\u0646\u200c\u0647\u0627\u06cc \u0641\u0648\u0644\u0627\u062f\u06cc<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><svg viewBox='0 0 860 200' width='100%' xmlns='http:\/\/www.w3.org\/2000\/svg' style='background:#fff;border:1px solid #e0e0e0;border-radius:12px;margin-bottom:22px'>\n<rect x='40' y='75' width='155' height='60' rx='12' fill='#8bd3dd' stroke='#1f6f78' stroke-width='2'\/>\n<rect x='245' y='75' width='155' height='60' rx='12' fill='#f7d794' stroke='#a06d00' stroke-width='2'\/>\n<rect x='450' y='75' width='155' height='60' rx='12' fill='#b7e4a0' stroke='#3a7a1e' stroke-width='2'\/>\n<rect x='655' y='75' width='165' height='60' rx='12' fill='#e8f4ff' stroke='#3a60c0' stroke-width='2'\/>\n<line x1='195' y1='105' x2='245' y2='105' stroke='#555' stroke-width='2.5'\/>\n<line x1='400' y1='105' x2='450' y2='105' stroke='#555' stroke-width='2.5'\/>\n<line x1='605' y1='105' x2='655' y2='105' stroke='#555' stroke-width='2.5' stroke-dasharray='6,3'\/>\n<text x='117' y='100' text-anchor='middle' font-size='12' font-family='Tahoma'>\u0645\u0631\u0648\u0631\u06af\u0631 \u0645\u0648\u0628\u0627\u06cc\u0644<\/text>\n<text x='117' y='115' text-anchor='middle' font-size='11' font-family='Tahoma'>\u062f\u06a9\u0645\u0647 \u06a9\u0646\u062a\u0631\u0644<\/text>\n<text x='322' y='100' text-anchor='middle' font-size='12' font-family='Tahoma'>\u06a9\u0627\u0628\u0644 \u06f5m<\/text>\n<text x='322' y='115' text-anchor='middle' font-size='11' font-family='Tahoma'>WiFi AP<\/text>\n<text x='527' y='100' text-anchor='middle' font-size='12' font-family='Tahoma'>ESP32-CAM<\/text>\n<text x='527' y='115' text-anchor='middle' font-size='11' font-family='Tahoma'>\u06f3 \u067e\u0645\u067e DC<\/text>\n<text x='737' y='100' text-anchor='middle' font-size='12' font-family='Tahoma'>ROV \u0632\u06cc\u0631 \u0622\u0628<\/text>\n<text x='737' y='115' text-anchor='middle' font-size='11' font-family='Tahoma'>\u06f5m \u0639\u0645\u0642<\/text>\n<text x='430' y='175' text-anchor='middle' font-size='13' font-family='Tahoma' fill='#666'>ROV \u2014 WiFi \u2192 \u06a9\u0627\u0628\u0644 \u2192 ESP32 \u2192 \u067e\u0645\u067e \u2192 \u062d\u0631\u06a9\u062a \u0632\u06cc\u0631 \u0622\u0628<\/text>\n<\/svg><\/p>\n<h2>\u0648\u06cc\u062f\u0626\u0648\u0647\u0627\u06cc \u0622\u0645\u0648\u0632\u0634\u06cc<\/h2>\n<div style='display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px;margin:20px 0'>\n<iframe width='100%' height='315' src='https:\/\/www.youtube.com\/embed\/KGDNuKqRHaE' title='DIY ROV Underwater Robot Build PVC' frameborder='0' allow='accelerometer;autoplay;clipboard-write;encrypted-media;gyroscope;picture-in-picture' allowfullscreen><\/iframe><br \/>\n<iframe width='100%' height='315' src='https:\/\/www.youtube.com\/embed\/4pPcI3LZIoA' title='ESP32 CAM Underwater ROV WiFi Control' frameborder='0' allow='accelerometer;autoplay;clipboard-write;encrypted-media;gyroscope;picture-in-picture' allowfullscreen><\/iframe>\n<\/div>\n<h2>\u0645\u0646\u0627\u0628\u0639 \u0628\u06cc\u0634\u062a\u0631<\/h2>\n<ul>\n<li><a href='https:\/\/www.aparat.com\/result\/ROV_%D8%B2%DB%8C%D8%B1%D8%AF%D8%B1%DB%8C%D8%A7%DB%8C%DB%8C_%D8%B3%D8%A7%D8%AE%D8%AA' target='_blank'>\u0622\u067e\u0627\u0631\u0627\u062a: ROV \u0632\u06cc\u0631\u062f\u0631\u06cc\u0627\u06cc\u06cc \u0633\u0627\u062e\u062a \u0641\u0627\u0631\u0633\u06cc<\/a><\/li>\n<li><a href='https:\/\/openrov.com\/' target='_blank'>OpenROV: Open Source Underwater Robot<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u0622\u0645\u0648\u0632\u0634 \u0633\u0627\u062e\u062a ROV (\u0632\u06cc\u0631\u062f\u0631\u06cc\u0627\u06cc\u06cc RC) \u0628\u0627 ESP32-CAM\u060c \u067e\u0645\u067e \u0622\u0628 \u0628\u0631\u0627\u06cc \u0631\u0627\u0646\u0634\u060c \u0648 \u06a9\u0646\u062a\u0631\u0644 WiFi \u0627\u0632 \u0635\u0641\u062d\u0647 \u0645\u0631\u0648\u0631\u06af\u0631\u061b \u0622\u0628\u200c\u0628\u0646\u062f\u06cc \u0628\u0627 \u0644\u0648\u0644\u0647 PVC\u060c \u062a\u0646\u0638\u06cc\u0645 \u0634\u0646\u0627\u0648\u0631\u06cc \u062e\u0646\u062b\u06cc.<\/p>\n","protected":false},"author":1,"featured_media":583,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"pagelayer_contact_templates":[],"_pagelayer_content":"","footnotes":""},"categories":[16,20],"tags":[63,144,146,373,50,145,372,374],"class_list":["post-584","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ugv","category-projects-2","tag-esp32-cam","tag-rov","tag-wifi","tag-373","tag-50","tag-145","tag-372","tag-374"],"_links":{"self":[{"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/posts\/584","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/comments?post=584"}],"version-history":[{"count":1,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/posts\/584\/revisions"}],"predecessor-version":[{"id":585,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/posts\/584\/revisions\/585"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/media\/583"}],"wp:attachment":[{"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/media?parent=584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/categories?post=584"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/tags?post=584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}