{"id":1079,"date":"2026-06-21T15:10:44","date_gmt":"2026-06-21T07:10:44","guid":{"rendered":"https:\/\/projectleon.net\/make\/blog\/flight-controller-wiring-uart-i2c-spi-farsi\/"},"modified":"2026-06-21T16:10:22","modified_gmt":"2026-06-21T08:10:22","slug":"flight-controller-wiring-uart-i2c-spi-farsi","status":"publish","type":"post","link":"https:\/\/projectleon.net\/make\/blog\/flight-controller-wiring-uart-i2c-spi-farsi\/","title":{"rendered":"\u0633\u06cc\u0645\u200c\u06a9\u0634\u06cc \u0641\u0644\u0627\u06cc\u062a \u06a9\u0646\u062a\u0631\u0644\u0631 \u2014 UART\u060c I2C \u0648 SPI (\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\/post239-hero-electronics.jpg' alt='\u0633\u06cc\u0645\u200c\u06a9\u0634\u06cc \u0641\u0644\u0627\u06cc\u062a \u06a9\u0646\u062a\u0631\u0644\u0631 UART I2C SPI' 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'>\u0628\u0627\u0633\u200c\u0647\u0627\u06cc \u0627\u0631\u062a\u0628\u0627\u0637\u06cc \u0641\u0644\u0627\u06cc\u062a \u06a9\u0646\u062a\u0631\u0644\u0631<\/h2>\n<p>\u0641\u0644\u0627\u06cc\u062a \u06a9\u0646\u062a\u0631\u0644\u0631 \u0628\u0627 \u062f\u0633\u062a\u06af\u0627\u0647\u200c\u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u0633\u0647 \u0646\u0648\u0639 \u0628\u0627\u0633 \u0627\u0631\u062a\u0628\u0627\u0637\u06cc \u0627\u0635\u0644\u06cc \u0635\u062d\u0628\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f: <strong>UART<\/strong> (\u0633\u0631\u06cc\u0627\u0644\u060c \u0628\u0631\u0627\u06cc GPS\u060c \u06af\u06cc\u0631\u0646\u062f\u0647\u060c \u062a\u0644\u0647\u200c\u0645\u062a\u0631\u06cc)\u060c <strong>I2C<\/strong> (\u0628\u0631\u0627\u06cc \u0642\u0637\u0628\u200c\u0646\u0645\u0627\u060c \u0628\u0627\u0631\u0648\u0645\u062a\u0631 \u062e\u0627\u0631\u062c\u06cc) \u0648 <strong>SPI<\/strong> (\u0633\u0631\u06cc\u0639\u060c \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u062f\u0627\u062e\u0644\u06cc \u0628\u0631\u0627\u06cc \u0698\u06cc\u0631\u0648 \u0648 OSD). \u0634\u0646\u0627\u062e\u062a \u0627\u06cc\u0646 \u0628\u0627\u0633\u200c\u0647\u0627 \u0628\u0631\u0627\u06cc \u0633\u06cc\u0645\u200c\u06a9\u0634\u06cc \u062f\u0631\u0633\u062a \u0636\u0631\u0648\u0631\u06cc \u0627\u0633\u062a.<\/p>\n<p>\u0645\u0647\u0645\u200c\u062a\u0631\u06cc\u0646 \u0642\u0627\u0646\u0648\u0646 UART: \u0633\u06cc\u0645 <strong>TX<\/strong> \u06cc\u06a9 \u0637\u0631\u0641 \u0628\u0647 <strong>RX<\/strong> \u0637\u0631\u0641 \u062f\u06cc\u06af\u0631 \u0648\u0635\u0644 \u0645\u06cc\u200c\u0634\u0648\u062f (\u0648 \u0628\u0631\u0639\u06a9\u0633). \u0627\u0634\u062a\u0628\u0627\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0648\u0631\u062f \u0631\u0627\u06cc\u062c\u200c\u062a\u0631\u06cc\u0646 \u0639\u0644\u062a \u06a9\u0627\u0631 \u0646\u06a9\u0631\u062f\u0646 GPS \u06cc\u0627 \u06af\u06cc\u0631\u0646\u062f\u0647 \u0627\u0633\u062a.<\/p>\n<\/div>\n<div style='background:#fff8e1;border:1px solid #ffd54f;border-radius:10px;padding:16px;margin-bottom:22px'>\n<h3 style='margin-top:0'>&#x1f6e0;&#xfe0f; \u06a9\u0627\u0631\u062a \u067e\u0631\u0648\u0698\u0647<\/h3>\n<table style='width:100%;border-collapse:collapse'>\n<tr>\n<td style='padding:6px;font-weight:bold;width:40%'>\u0627\u0628\u0632\u0627\u0631<\/td>\n<td style='padding:6px'>\u0647\u0648\u06cc\u0647\u060c \u0633\u06cc\u0645 \u0646\u0627\u0632\u06a9\u060c \u0645\u0648\u0644\u062a\u06cc\u200c\u0645\u062a\u0631<\/td>\n<\/tr>\n<tr style='background:#fffde7'>\n<td style='padding:6px;font-weight:bold'>\u0646\u06a9\u062a\u0647 \u06a9\u0644\u06cc\u062f\u06cc<\/td>\n<td style='padding:6px'>TX&#x2194;RX \u0648 GND \u0645\u0634\u062a\u0631\u06a9<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<h2>\u06a9\u0627\u0631\u0628\u0631\u062f \u0647\u0631 \u0628\u0627\u0633<\/h2>\n<table style='width:100%;border-collapse:collapse;margin-bottom:18px'>\n<tr style='background:#2e5fb6;color:#fff'>\n<th style='padding:8px'>\u0628\u0627\u0633<\/th>\n<th style='padding:8px'>\u062f\u0633\u062a\u06af\u0627\u0647\u200c\u0647\u0627<\/th>\n<th style='padding:8px'>\u0633\u06cc\u0645\u200c\u0647\u0627<\/th>\n<\/tr>\n<tr>\n<td style='padding:8px;border:1px solid #ddd'>UART<\/td>\n<td style='padding:8px;border:1px solid #ddd'>GPS\u060c \u06af\u06cc\u0631\u0646\u062f\u0647\u060c \u062a\u0644\u0647\u200c\u0645\u062a\u0631\u06cc\u060c VTX<\/td>\n<td style='padding:8px;border:1px solid #ddd'>TX\u060c RX\u060c 5V\u060c GND<\/td>\n<\/tr>\n<tr style='background:#f5f8ff'>\n<td style='padding:8px;border:1px solid #ddd'>I2C<\/td>\n<td style='padding:8px;border:1px solid #ddd'>\u0642\u0637\u0628\u200c\u0646\u0645\u0627\u060c \u0628\u0627\u0631\u0648\u0645\u062a\u0631 \u062e\u0627\u0631\u062c\u06cc<\/td>\n<td style='padding:8px;border:1px solid #ddd'>SDA\u060c SCL\u060c 5V\u060c GND<\/td>\n<\/tr>\n<tr>\n<td style='padding:8px;border:1px solid #ddd'>SPI<\/td>\n<td style='padding:8px;border:1px solid #ddd'>\u0698\u06cc\u0631\u0648\u060c OSD (\u062f\u0627\u062e\u0644\u06cc)<\/td>\n<td style='padding:8px;border:1px solid #ddd'>MOSI\u060c MISO\u060c SCK\u060c CS<\/td>\n<\/tr>\n<\/table>\n<h2>\u0627\u062a\u0635\u0627\u0644 \u06cc\u06a9 \u0645\u0627\u0698\u0648\u0644 GPS+Compass<\/h2>\n<pre style='background:#1e1e1e;color:#d4d4d4;padding:12px;border-radius:8px;font-size:12px;margin-bottom:14px'><code>GPS:\n  GPS TX  \u2192 FC RX (\u0631\u0648\u06cc UART \u0627\u0646\u062a\u062e\u0627\u0628\u06cc)\n  GPS RX  \u2192 FC TX\n  5V\u060c GND \u2192 \u0628\u0631\u0642\n\nCompass (\u062f\u0631 \u0647\u0645\u0627\u0646 \u0645\u0627\u0698\u0648\u0644\u060c \u0628\u0627\u0633 I2C):\n  SDA \u2192 FC SDA\n  SCL \u2192 FC SCL<\/code><\/pre>\n<h2>SVG: \u0646\u0642\u0634\u0647 \u0627\u062a\u0635\u0627\u0644 UART<\/h2>\n<p><svg viewBox='0 0 600 130' style='width:100%;max-width:600px;background:#f5f8ff;border-radius:10px;margin-bottom:18px'>\n<rect x='30' y='40' width='150' height='50' rx='6' fill='#2e5fb6'\/><text x='105' y='70' fill='#fff' font-size='13' text-anchor='middle'>\u0641\u0644\u0627\u06cc\u062a \u06a9\u0646\u062a\u0631\u0644\u0631<\/text>\n<rect x='420' y='40' width='150' height='50' rx='6' fill='#43a047'\/><text x='495' y='70' fill='#fff' font-size='13' text-anchor='middle'>GPS Module<\/text>\n<line x1='180' y1='55' x2='420' y2='55' stroke='#c62828' stroke-width='2'\/><text x='300' y='48' fill='#c62828' font-size='11' text-anchor='middle'>FC TX \u2192 GPS RX<\/text>\n<line x1='180' y1='78' x2='420' y2='78' stroke='#1565c0' stroke-width='2'\/><text x='300' y='95' fill='#1565c0' font-size='11' text-anchor='middle'>FC RX \u2190 GPS TX<\/text>\n<\/svg><\/p>\n<div style='background:#ffebee;border-right:4px solid #c62828;padding:14px 18px;border-radius:10px;margin-bottom:20px'>\n<strong>\u0627\u0634\u062a\u0628\u0627\u0647\u0627\u062a \u0631\u0627\u06cc\u062c:<\/strong> \u0648\u0635\u0644 \u06a9\u0631\u062f\u0646 TX \u0628\u0647 TX (\u0628\u0647\u200c\u062c\u0627\u06cc RX)\u060c \u0641\u0631\u0627\u0645\u0648\u0634 \u06a9\u0631\u062f\u0646 GND \u0645\u0634\u062a\u0631\u06a9\u060c \u0648 \u062a\u063a\u0630\u06cc\u0647 \u062f\u0633\u062a\u06af\u0627\u0647 \u06f5V \u0628\u0627 \u06f3.\u06f3V. \u0647\u0645\u06cc\u0634\u0647 \u0648\u0644\u062a\u0627\u0698 \u062a\u063a\u0630\u06cc\u0647 \u062f\u0633\u062a\u06af\u0627\u0647 \u0631\u0627 \u0628\u0627 \u062f\u06cc\u062a\u0627\u0634\u06cc\u062a \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f.\n<\/div>\n<div style='display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:18px;margin:20px 0'>\n<iframe width='100%' height='280' src='https:\/\/www.youtube.com\/embed\/Lc1d2tHEKBE' title='Flight Controller Wiring Guide' frameborder='0' allowfullscreen><\/iframe><br \/>\n<iframe width='100%' height='280' src='https:\/\/www.youtube.com\/embed\/qULIJpqf9Sw' title='UART I2C SPI Explained' frameborder='0' allowfullscreen><\/iframe>\n<\/div>\n<h2>\u0645\u0646\u0627\u0628\u0639 \u06cc\u0627\u062f\u06af\u06cc\u0631\u06cc \u0628\u06cc\u0634\u062a\u0631<\/h2>\n<ul>\n<li><a href='https:\/\/ardupilot.org\/copter\/docs\/common-pixhawk-wiring-and-quick-start.html' target='_blank'>\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0631\u0633\u0645\u06cc \u0633\u06cc\u0645\u200c\u06a9\u0634\u06cc<\/a><\/li>\n<li><a href='https:\/\/www.aparat.com\/result\/%D8%B3%DB%8C%D9%85+%DA%A9%D8%B4%DB%8C+%D9%81%D9%84%D8%A7%DB%8C%D8%AA+%DA%A9%D9%86%D8%AA%D8%B1%D9%84%D8%B1' target='_blank'>\u0622\u067e\u0627\u0631\u0627\u062a: \u0633\u06cc\u0645\u200c\u06a9\u0634\u06cc \u0641\u0644\u0627\u06cc\u062a \u06a9\u0646\u062a\u0631\u0644\u0631<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u0631\u0627\u0647\u0646\u0645\u0627\u06cc \u0633\u06cc\u0645\u200c\u06a9\u0634\u06cc \u0641\u0644\u0627\u06cc\u062a \u06a9\u0646\u062a\u0631\u0644\u0631: \u062a\u0641\u0627\u0648\u062a \u0628\u0627\u0633\u200c\u0647\u0627\u06cc UART\u060c I2C \u0648 SPI\u060c \u0646\u062d\u0648\u0647 \u0627\u062a\u0635\u0627\u0644 GPS\u060c \u06af\u06cc\u0631\u0646\u062f\u0647\u060c \u0642\u0637\u0628\u200c\u0646\u0645\u0627 \u0648 VTX\u060c \u0642\u0627\u0646\u0648\u0646 TX&#x2194;RX\u060c \u062a\u063a\u0630\u06cc\u0647 \u0635\u062d\u06cc\u062d \u0648 \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u0627\u0634\u062a\u0628\u0627\u0647\u0627\u062a \u0631\u0627\u06cc\u062c.<\/p>\n","protected":false},"author":1,"featured_media":1326,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"pagelayer_contact_templates":[],"_pagelayer_content":"","footnotes":""},"categories":[17,20],"tags":[838,839,309,50,840,837,591,32],"class_list":["post-1079","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uav","category-projects-2","tag-i2c","tag-spi","tag-uart","tag-50","tag-840","tag-837","tag-591","tag-beginner"],"_links":{"self":[{"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/posts\/1079","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=1079"}],"version-history":[{"count":2,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/posts\/1079\/revisions"}],"predecessor-version":[{"id":1327,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/posts\/1079\/revisions\/1327"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/media\/1326"}],"wp:attachment":[{"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/media?parent=1079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/categories?post=1079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/projectleon.net\/make\/wp-json\/wp\/v2\/tags?post=1079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}