{"id":675,"date":"2026-06-11T13:54:55","date_gmt":"2026-06-11T05:54:55","guid":{"rendered":"https:\/\/projectleon.net\/make\/blog\/w5500-ethernet-arduino-ugv-network-control-farsi\/"},"modified":"2026-06-11T13:54:56","modified_gmt":"2026-06-11T05:54:56","slug":"w5500-ethernet-arduino-ugv-network-control-farsi","status":"publish","type":"post","link":"https:\/\/projectleon.net\/make\/blog\/w5500-ethernet-arduino-ugv-network-control-farsi\/","title":{"rendered":"\u0645\u0627\u0698\u0648\u0644 WIZ820io W5200 \u06cc\u0627 W5500: \u0627\u062a\u0635\u0627\u0644 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0628\u0647 \u0634\u0628\u06a9\u0647 \u0627\u062a\u0631\u0646\u062a \u0628\u0631\u0627\u06cc \u06a9\u0646\u062a\u0631\u0644 UGV (\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\/post124-w5500-ethernet.jpg' alt='W5500 \u0627\u062a\u0631\u0646\u062a \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u06a9\u0646\u062a\u0631\u0644 UGV \u0634\u0628\u06a9\u0647' 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'>\u0645\u0627\u0698\u0648\u0644 \u0627\u062a\u0631\u0646\u062a W5500 \u0686\u06cc\u0633\u062a\u061f (\u0645\u0628\u062a\u062f\u06cc)<\/h2>\n<p>\u0686\u06cc\u067e <strong>W5500<\/strong> \u0627\u0632 WIZnet \u06cc\u06a9 \u06a9\u0646\u062a\u0631\u0644\u0631 \u0627\u062a\u0631\u0646\u062a SPI \u0627\u0633\u062a \u06a9\u0647 \u067e\u0631\u0648\u062a\u06a9\u0644\u200c\u0647\u0627\u06cc TCP\/IP\u060c UDP\u060c HTTP\u060c \u0648 DHCP \u0631\u0627 \u062f\u0631 Hardware \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f. \u06cc\u0639\u0646\u06cc \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0641\u0642\u0637 \u0628\u0627\u06cc\u062f \u0627\u0632 \u0637\u0631\u06cc\u0642 SPI \u062f\u0627\u062f\u0647\u200c\u0647\u0627 \u0631\u0627 \u0628\u0641\u0631\u0633\u062a\u062f \u0648 W5500 \u06a9\u0627\u0631 \u0634\u0628\u06a9\u0647 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u062f\u0647\u062f \u2014 \u0628\u062f\u0648\u0646 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0633\u0646\u06af\u06cc\u0646!<\/p>\n<p>\u062f\u0631 \u0645\u062d\u06cc\u0637\u200c\u0647\u0627\u06cc \u0627\u0646\u0628\u0627\u0631 \u06cc\u0627 \u06a9\u0627\u0631\u062e\u0627\u0646\u0647 \u06a9\u0647 WiFi \u0642\u0627\u0628\u0644 \u0627\u0639\u062a\u0645\u0627\u062f \u0646\u06cc\u0633\u062a \u06cc\u0627 AGV\/UGV \u0628\u0627\u06cc\u062f \u0627\u0631\u062a\u0628\u0627\u0637 \u067e\u0627\u06cc\u062f\u0627\u0631\u06cc \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f\u060c \u0627\u062a\u0631\u0646\u062a \u0633\u06cc\u0645\u06cc (\u0628\u0627 \u06a9\u0627\u0628\u0644 \u0641\u0644\u06a9\u0633\u06cc\u0628\u0644 \u0631\u0648\u06cc \u0632\u0645\u06cc\u0646) \u0627\u06cc\u062f\u0647\u200c\u0622\u0644 \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0645\u0627\u0698\u0648\u0644 \u0641\u0642\u0637 \u06f5 \u062f\u0644\u0627\u0631 \u0627\u0633\u062a \u0648 \u06a9\u062a\u0627\u0628\u062e\u0627\u0646\u0647 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 Ethernet \u0627\u0632 \u0622\u0646 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/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>\u06a9\u0646\u062a\u0631\u0644 UGV \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0634\u0628\u06a9\u0647 \u0627\u062a\u0631\u0646\u062a \u2014 \u067e\u0627\u06cc\u062f\u0627\u0631\u062a\u0631 \u0627\u0632 WiFi \u062f\u0631 \u0627\u0646\u0628\u0627\u0631.<\/p>\n<ul>\n<li><strong>\u0647\u0632\u06cc\u0646\u0647 \u0645\u0627\u0698\u0648\u0644:<\/strong> W5500 Module \u2248 \u06f5 \u062f\u0644\u0627\u0631<\/li>\n<li><strong>\u062a\u0623\u062e\u06cc\u0631:<\/strong> \u06a9\u0645\u062a\u0631 \u0627\u0632 \u06f1ms \u062f\u0631 LAN<\/li>\n<li><strong>\u06a9\u0646\u062a\u0631\u0644:<\/strong> \u0627\u0632 \u0645\u0631\u0648\u0631\u06af\u0631 \u06cc\u0627 \u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631 \u0633\u0641\u0627\u0631\u0634\u06cc<\/li>\n<\/ul>\n<\/div>\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='20' y='55' width='180' height='110' rx='14' fill='#b7e4a0' stroke='#3a7a1e' stroke-width='2'\/>\n<text x='110' y='90' text-anchor='middle' font-size='12' font-family='Tahoma'>\u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631 GCS<\/text>\n<text x='110' y='108' text-anchor='middle' font-size='11' font-family='Tahoma'>\u0645\u0631\u0648\u0631\u06af\u0631\/\u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631<\/text>\n<text x='110' y='125' text-anchor='middle' font-size='11' font-family='Tahoma'>TCP Socket<\/text>\n<line x1='200' y1='110' x2='300' y2='110' stroke='#555' stroke-width='3'\/>\n<text x='250' y='103' text-anchor='middle' font-size='10' font-family='Tahoma'>\u06a9\u0627\u0628\u0644 Cat5e<\/text>\n<rect x='300' y='65' width='60' height='80' rx='8' fill='#546e7a' stroke='#37474f' stroke-width='2'\/>\n<text x='330' y='100' text-anchor='middle' font-size='10' font-family='Tahoma' fill='#fff'>Switch<\/text>\n<line x1='360' y1='110' x2='460' y2='110' stroke='#555' stroke-width='3'\/>\n<rect x='460' y='55' width='200' height='110' rx='14' fill='#e8f4ff' stroke='#3a60c0' stroke-width='2'\/>\n<text x='560' y='90' text-anchor='middle' font-size='12' font-family='Tahoma'>UGV \u0631\u0648\u06cc \u0686\u0631\u062e<\/text>\n<text x='560' y='108' text-anchor='middle' font-size='11' font-family='Tahoma'>Arduino + W5500<\/text>\n<text x='560' y='125' text-anchor='middle' font-size='11' font-family='Tahoma'>L298N \u0645\u0648\u062a\u0648\u0631<\/text>\n<text x='430' y='185' text-anchor='middle' font-size='13' font-family='Tahoma' fill='#888'>UGV \u0627\u062a\u0631\u0646\u062a \u2014 TCP\u060c \u06a9\u0645\u062a\u0631 \u0627\u0632 \u06f1ms\u060c \u0628\u062f\u0648\u0646 \u062a\u062f\u0627\u062e\u0644 WiFi<\/text>\n<\/svg><\/p>\n<h2>\u06a9\u062f \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u2014 HTTP Server \u0628\u0631\u0627\u06cc \u06a9\u0646\u062a\u0631\u0644 UGV<\/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;Ethernet.h&gt;\n#include &lt;SPI.h&gt;\n\nbyte mac[] = {0xDE,0xAD,0xBE,0xEF,0xFE,0x01};\nIPAddress ip(192,168,1,200);  \/\/ IP \u062b\u0627\u0628\u062a UGV\nEthernetServer server(80);\n\nconst int L_F=6,L_B=7,R_F=8,R_B=9;\n\nvoid motors(int lf,int lb,int rf,int rb){\n  digitalWrite(L_F,lf); digitalWrite(L_B,lb);\n  digitalWrite(R_F,rf); digitalWrite(R_B,rb);\n}\n\nvoid setup() {\n  Ethernet.begin(mac, ip);\n  server.begin();\n  int pins[]={L_F,L_B,R_F,R_B};\n  for(int p:pins) pinMode(p,OUTPUT);\n}\n\nvoid loop() {\n  EthernetClient client = server.available();\n  if(client) {\n    String req = \"\";\n    while(client.available()) req += (char)client.read();\n\n    \/\/ \u067e\u0631\u062f\u0627\u0632\u0634 \u062f\u0631\u062e\u0648\u0627\u0633\u062a HTTP GET:\n    if(req.indexOf(\"GET \/F\") >= 0) motors(1,0,1,0);  \/\/ \u062c\u0644\u0648\n    else if(req.indexOf(\"GET \/B\") >= 0) motors(0,1,0,1);  \/\/ \u0639\u0642\u0628\n    else if(req.indexOf(\"GET \/L\") >= 0) motors(0,1,1,0);  \/\/ \u0686\u067e\n    else if(req.indexOf(\"GET \/R\") >= 0) motors(1,0,0,1);  \/\/ \u0631\u0627\u0633\u062a\n    else if(req.indexOf(\"GET \/S\") >= 0) motors(0,0,0,0);  \/\/ \u062a\u0648\u0642\u0641\n\n    \/\/ \u067e\u0627\u0633\u062e HTML \u0628\u0627 \u062f\u06a9\u0645\u0647\u200c\u0647\u0627:\n    client.println(\"HTTP\/1.1 200 OK\");\n    client.println(\"Content-Type: text\/html\");\n    client.println();\n    client.println(\"<html><body style='background:#111;color:#fff'>\");\n    client.println(\"<h2>UGV Control<\/h2>\");\n    client.println(\"<a href='\/F'><button>\u2191<\/button><\/a>\");\n    client.println(\"<a href='\/L'><button>\u2190<\/button><\/a>\");\n    client.println(\"<a href='\/S'><button>Stop<\/button><\/a>\");\n    client.println(\"<a href='\/R'><button>\u2192<\/button><\/a>\");\n    client.println(\"<a href='\/B'><button>\u2193<\/button><\/a>\");\n    client.println(\"<\/body><\/html>\");\n    delay(1);\n    client.stop();\n  }\n}\n<\/code><\/pre>\n<h2>\u0686\u06a9\u200c\u0644\u06cc\u0633\u062a \u0627\u062a\u0631\u0646\u062a<\/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'>W5500 \u0628\u0627 ping \u062c\u0648\u0627\u0628 \u0645\u06cc\u200c\u062f\u0647\u062f\u061f<\/td>\n<td style='padding:8px;border:1px solid #ddd'>ping 192.168.1.200<\/td>\n<\/tr>\n<tr style='background:#fafafa'>\n<td style='padding:8px;border:1px solid #ddd'>\u0645\u0631\u0648\u0631\u06af\u0631 \u0635\u0641\u062d\u0647 \u06a9\u0646\u062a\u0631\u0644 \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u062f\u061f<\/td>\n<td style='padding:8px;border:1px solid #ddd'>http:\/\/192.168.1.200<\/td>\n<\/tr>\n<tr>\n<td style='padding:8px;border:1px solid #ddd'>\u062a\u0623\u062e\u06cc\u0631 \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u06f5ms\u061f<\/td>\n<td style='padding:8px;border:1px solid #ddd'>\u0628\u0627 Wireshark \u0627\u0646\u062f\u0627\u0632\u0647<\/td>\n<\/tr>\n<tr style='background:#fafafa'>\n<td style='padding:8px;border:1px solid #ddd'>Failsafe (timeout) \u062f\u0631 \u0639\u062f\u0645 \u0627\u0631\u062a\u0628\u0627\u0637\u061f<\/td>\n<td style='padding:8px;border:1px solid #ddd'>motors(0,0,0,0) \u062f\u0631 \u06f5\u06f0\u06f0ms<\/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='#b7e4a0' stroke='#3a7a1e' 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='#e8f4ff' stroke='#3a60c0' stroke-width='2'\/>\n<rect x='655' y='75' width='165' height='60' rx='12' fill='#f7c6c6' stroke='#a03030' 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'\/>\n<text x='117' y='100' text-anchor='middle' font-size='12' font-family='Tahoma'>\u0645\u0631\u0648\u0631\u06af\u0631 GCS<\/text>\n<text x='117' y='115' text-anchor='middle' font-size='11' font-family='Tahoma'>HTTP GET<\/text>\n<text x='322' y='100' text-anchor='middle' font-size='12' font-family='Tahoma'>W5500<\/text>\n<text x='322' y='115' text-anchor='middle' font-size='11' font-family='Tahoma'>TCP\/IP SPI<\/text>\n<text x='527' y='100' text-anchor='middle' font-size='12' font-family='Tahoma'>Arduino<\/text>\n<text x='527' y='115' text-anchor='middle' font-size='11' font-family='Tahoma'>\u0641\u0631\u0645\u0627\u0646 \u0645\u0648\u062a\u0648\u0631<\/text>\n<text x='737' y='100' text-anchor='middle' font-size='12' font-family='Tahoma'>UGV L298N<\/text>\n<text x='737' y='115' text-anchor='middle' font-size='11' font-family='Tahoma'>\u062d\u0631\u06a9\u062a<\/text>\n<text x='430' y='175' text-anchor='middle' font-size='13' font-family='Tahoma' fill='#666'>W5500 \u0627\u062a\u0631\u0646\u062a \u2014 \u06f5 \u062f\u0644\u0627\u0631\u060c TCP\u060c \u0628\u062f\u0648\u0646 \u062a\u062f\u0627\u062e\u0644\u060c \u06a9\u0646\u062a\u0631\u0644 UGV<\/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\/E1pMCDzGnXA' title='W5500 Ethernet Arduino Tutorial TCP Server' 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\/KzR-MUP5kQ8' title='Arduino Ethernet Robot Control Web Server' 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\/W5500_%D8%A7%D8%AA%D8%B1%D9%86%D8%AA_%D8%A2%D8%B1%D8%AF%D9%88%DB%8C%D9%86%D9%88' target='_blank'>\u0622\u067e\u0627\u0631\u0627\u062a: W5500 \u0627\u062a\u0631\u0646\u062a \u0622\u0631\u062f\u0648\u06cc\u0646\u0648 \u0641\u0627\u0631\u0633\u06cc<\/a><\/li>\n<li><a href='https:\/\/www.arduino.cc\/reference\/en\/libraries\/ethernet\/' target='_blank'>Arduino: Ethernet Library Reference<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u0627\u0698\u0648\u0644 \u0627\u062a\u0631\u0646\u062a W5500 \u0628\u0627 \u0622\u0631\u062f\u0648\u06cc\u0646\u0648\u061b \u0627\u0631\u0633\u0627\u0644 \u0641\u0631\u0645\u0627\u0646 UGV \u0627\u0632 \u0637\u0631\u06cc\u0642 TCP\/IP\u060c \u0633\u0631\u0648\u0631 HTTP \u0633\u0627\u062f\u0647\u060c UDP telemetry\u060c \u0648 \u06a9\u0646\u062a\u0631\u0644 \u0627\u0632 \u0645\u0631\u0648\u0631\u06af\u0631 \u062f\u0631 \u0634\u0628\u06a9\u0647 \u0645\u062d\u0644\u06cc.<\/p>\n","protected":false},"author":1,"featured_media":674,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"pagelayer_contact_templates":[],"_pagelayer_content":"","footnotes":""},"categories":[16,20],"tags":[80,465,464,48,462,50,463,330],"class_list":["post-675","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ugv","category-projects-2","tag-arduino-2","tag-http","tag-tcp-ip","tag-ugv","tag-w5500","tag-50","tag-463","tag-330"],"_links":{"self":[{"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/posts\/675","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=675"}],"version-history":[{"count":1,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/posts\/675\/revisions"}],"predecessor-version":[{"id":676,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/posts\/675\/revisions\/676"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/media\/674"}],"wp:attachment":[{"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/media?parent=675"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/categories?post=675"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/tags?post=675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}