{"id":71482,"date":"2024-11-11T14:18:12","date_gmt":"2024-11-11T14:18:12","guid":{"rendered":"https:\/\/www.twinscience.com\/programming-with-arduino\/"},"modified":"2025-10-16T14:39:02","modified_gmt":"2025-10-16T14:39:02","slug":"arduino-ile-programlama","status":"publish","type":"page","link":"https:\/\/www.twinscience.com\/tr\/arduino-ile-programlama\/","title":{"rendered":"Arduino ile Programlama"},"content":{"rendered":"<div style=\"font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #1a1a1a; background: #ffffff;\">\n<p>    <!-- Hero Section --><\/p>\n<div style=\"background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 80px 20px; text-align: center; color: white; position: relative; overflow: hidden;\">\n<div style=\"max-width: 900px; margin: 0 auto; position: relative; z-index: 2;\">\n<h1 style=\"font-size: 3.5rem; font-weight: 800; margin: 0 0 20px; line-height: 1.2;\">ARDUINO KODLAMAYA BA\u015eLAYIN<\/h1>\n<p style=\"font-size: 1.3rem; font-weight: 300; margin: 0; max-width: 700px; margin: 0 auto; line-height: 1.6; opacity: 0.95;\">Ad\u0131m ad\u0131m rehberle, Twin Coding Mod\u00fcl\u00fcn\u00fcz\u00fc veya ESP32 kart\u0131n\u0131z\u0131 Arduino IDE ile kodlamaya ba\u015flay\u0131n. Projelerinizi hayata ge\u00e7irmeye haz\u0131r m\u0131s\u0131n\u0131z?<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<p>    <!-- Board Selection Cards --><\/p>\n<div style=\"max-width: 1200px; margin: -80px auto 0; padding: 0 20px; position: relative; z-index: 10;\">\n<div style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-bottom: 60px;\">\n<div style=\"background: white; border-radius: 16px; padding: 40px 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); text-align: center; transition: all 0.3s ease; border-top: 4px solid #3498db; cursor: pointer;\" onclick=\"document.getElementById('leonardo-rehber').scrollIntoView({behavior: 'smooth'});\">\n                <img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/09\/yazilim-modulu-v2.png\" alt=\"Arduino Leonardo Kart\u0131\" style=\"width: 100%; max-width: 180px; height: 110px; object-fit: contain; margin-bottom: 25px;\"><\/p>\n<h3 style=\"font-size: 1.5rem; font-weight: 700; margin: 0 0 12px; color: #1a1a1a;\">Arduino Leonardo<\/h3>\n<p style=\"font-size: 0.95rem; color: #666; margin: 0; line-height: 1.6;\">Twin Coding Mod\u00fcl\u00fc ile ba\u015flang\u0131\u00e7<\/p>\n<\/p><\/div>\n<div style=\"background: white; border-radius: 16px; padding: 40px 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); text-align: center; transition: all 0.3s ease; border-top: 4px solid #e67e22; cursor: pointer;\" onclick=\"document.getElementById('esp32-rehber').scrollIntoView({behavior: 'smooth'});\">\n                <img decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/09\/AIoT-module-2-1.png\" alt=\"ESP32 Geli\u015ftirme Kart\u0131\" style=\"width: 100%; max-width: 180px; height: 110px; object-fit: contain; margin-bottom: 25px;\"><\/p>\n<h3 style=\"font-size: 1.5rem; font-weight: 700; margin: 0 0 12px; color: #1a1a1a;\">ESP32 Mod\u00fcl\u00fc<\/h3>\n<p style=\"font-size: 0.95rem; color: #666; margin: 0; line-height: 1.6;\">Wi-Fi\/Bluetooth \u00f6zellikleri ile geli\u015fmi\u015f projeler<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<p>    <!-- Main Content Container --><\/p>\n<div style=\"background: #f9f9fb; padding: 80px 20px;\">\n<div style=\"max-width: 900px; margin: 0 auto;\">\n<p>            <!-- LEONARDO SECTION --><\/p>\n<div id=\"leonardo-rehber\" style=\"margin-bottom: 100px; scroll-margin-top: 100px;\">\n<div style=\"background: white; padding: 60px 50px; border-radius: 16px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border-left: 5px solid #3498db;\">\n<h2 style=\"font-size: 2.5rem; font-weight: 800; margin: 0 0 15px; color: #1a1a1a;\">Twin Coding Mod\u00fcl\u00fc Rehberi<\/h2>\n<p style=\"font-size: 1rem; color: #666; margin: 0 0 40px; line-height: 1.7;\">Arduino Leonardo tabanl\u0131 Twin Coding Mod\u00fcl\u00fcn\u00fcz\u00fc Arduino IDE ile kodlamaya ba\u015flamak i\u00e7in ad\u0131m ad\u0131m talimatlar\u0131 izleyin.<\/p>\n<p>                    <!-- Steps --><\/p>\n<div style=\"margin-top: 50px;\">\n<div style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-bottom: 50px;\">\n<div style=\"background: #f0f4ff; padding: 30px; border-radius: 12px; border-left: 4px solid #3498db;\">\n<div style=\"font-size: 2.5rem; font-weight: 700; color: #3498db; margin-bottom: 15px;\">1<\/div>\n<h4 style=\"font-size: 1.1rem; font-weight: 700; margin: 0 0 10px; color: #1a1a1a;\">Arduino \u0130ndir<\/h4>\n<p style=\"font-size: 0.95rem; color: #666; margin: 0; line-height: 1.6;\"><a href=\"https:\/\/www.arduino.cc\/en\/Main\/Software\" target=\"_blank\" rel=\"noopener\" style=\"color: #3498db; text-decoration: none; font-weight: 600;\">Arduino IDE&#8217;yi<\/a> bilgisayar\u0131n\u0131za y\u00fckleyin.<\/p>\n<\/p><\/div>\n<div style=\"background: #f0f4ff; padding: 30px; border-radius: 12px; border-left: 4px solid #3498db;\">\n<div style=\"font-size: 2.5rem; font-weight: 700; color: #3498db; margin-bottom: 15px;\">2<\/div>\n<h4 style=\"font-size: 1.1rem; font-weight: 700; margin: 0 0 10px; color: #1a1a1a;\">Kart Se\u00e7<\/h4>\n<p style=\"font-size: 0.95rem; color: #666; margin: 0; line-height: 1.6;\"><code style=\"background: #dde4ff; padding: 4px 8px; border-radius: 4px; color: #3498db; font-weight: 600;\">Ara\u00e7lar \u2192 Kart \u2192 Arduino Leonardo<\/code><\/p>\n<\/p><\/div>\n<div style=\"background: #f0f4ff; padding: 30px; border-radius: 12px; border-left: 4px solid #3498db;\">\n<div style=\"font-size: 2.5rem; font-weight: 700; color: #3498db; margin-bottom: 15px;\">3<\/div>\n<h4 style=\"font-size: 1.1rem; font-weight: 700; margin: 0 0 10px; color: #1a1a1a;\">Port Se\u00e7<\/h4>\n<p style=\"font-size: 0.95rem; color: #666; margin: 0; line-height: 1.6;\">Mod\u00fcl\u00fc ba\u011flay\u0131p do\u011fru portu <code style=\"background: #dde4ff; padding: 4px 8px; border-radius: 4px; color: #3498db; font-weight: 600;\">Ara\u00e7lar \u2192 Port<\/code>&#8216;tan se\u00e7in.<\/p>\n<\/p><\/div>\n<div style=\"background: #f0f4ff; padding: 30px; border-radius: 12px; border-left: 4px solid #3498db;\">\n<div style=\"font-size: 2.5rem; font-weight: 700; color: #3498db; margin-bottom: 15px;\">4<\/div>\n<h4 style=\"font-size: 1.1rem; font-weight: 700; margin: 0 0 10px; color: #1a1a1a;\">Y\u00fckle<\/h4>\n<p style=\"font-size: 0.95rem; color: #666; margin: 0; line-height: 1.6;\">Kodunuzu yaz\u0131p <strong>&#8220;Y\u00fckle&#8221;<\/strong> butonuna bas\u0131n.<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<p>                    <!-- Divider --><\/p>\n<div style=\"height: 1px; background: #e0e0e0; margin: 60px 0;\"><\/div>\n<p>                    <!-- Return to Twin Coding --><\/p>\n<div style=\"margin-top: 60px;\">\n<h3 style=\"font-size: 1.8rem; font-weight: 700; margin: 0 0 30px; color: #1a1a1a;\">Twin Coding&#8217;e Geri D\u00f6nme<\/h3>\n<p style=\"font-size: 1rem; color: #666; margin: 0 0 40px; line-height: 1.7;\">Arduino IDE&#8217;de kodlamadan sonra, Twin Coding uygulamas\u0131n\u0131 tekrar kullanmak i\u00e7in k\u00fct\u00fcphaneyi yeniden y\u00fckleyin.<\/p>\n<div style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px;\">\n<div style=\"background: #f5f5f7; padding: 30px; border-radius: 12px;\">\n<div style=\"font-size: 2rem; font-weight: 700; color: #3498db; margin-bottom: 15px;\">5<\/div>\n<h4 style=\"font-size: 1.1rem; font-weight: 700; margin: 0 0 12px; color: #1a1a1a;\">K\u00fct\u00fcphaneyi \u0130ndir<\/h4>\n<p>                                <a href=\"\/wp-content\/uploads\/2025\/10\/twinner-arduino-fw2.4.2.zip\" style=\"display: inline-block; margin-top: 15px; padding: 12px 24px; background: #3498db; color: white; text-decoration: none; border-radius: 8px; font-weight: 600; font-size: 0.95rem; transition: all 0.3s;\">\ud83d\udce5 \u0130ndir<\/a>\n                            <\/div>\n<div style=\"background: #f5f5f7; padding: 30px; border-radius: 12px;\">\n<div style=\"font-size: 2rem; font-weight: 700; color: #3498db; margin-bottom: 15px;\">6<\/div>\n<h4 style=\"font-size: 1.1rem; font-weight: 700; margin: 0 0 12px; color: #1a1a1a;\">Klas\u00f6re Ekle<\/h4>\n<p style=\"font-size: 0.9rem; color: #666; margin: 0; line-height: 1.6;\"><code style=\"background: #dde4ff; padding: 4px 6px; border-radius: 3px; font-size: 0.85rem;\">Belgeler \u2192 Arduino \u2192 libraries<\/code><\/p>\n<\/p><\/div>\n<div style=\"background: #f5f5f7; padding: 30px; border-radius: 12px;\">\n<div style=\"font-size: 2rem; font-weight: 700; color: #3498db; margin-bottom: 15px;\">7<\/div>\n<h4 style=\"font-size: 1.1rem; font-weight: 700; margin: 0 0 12px; color: #1a1a1a;\">Y\u00fckle<\/h4>\n<p style=\"font-size: 0.9rem; color: #666; margin: 0; line-height: 1.6;\">IDE&#8217;yi yeniden ba\u015flat\u0131p y\u00fckleyin.<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<p>                    <!-- Bonus --><\/p>\n<div style=\"background: linear-gradient(135deg, #27ae60 0%, #229954 100%); padding: 40px; border-radius: 12px; margin-top: 60px; text-align: center; color: white;\">\n<h4 style=\"font-size: 1.4rem; font-weight: 700; margin: 0 0 15px;\">\ud83d\ude97 Bonus: \u00c7izgi \u0130zleyen Ara\u00e7<\/h4>\n<p style=\"font-size: 0.95rem; margin: 0 0 20px; opacity: 0.95;\">Line-Follower projesine ba\u015flamak i\u00e7in haz\u0131r \u00f6rnek kodu indirin:<\/p>\n<p>                        <a href=\"\/wp-content\/uploads\/2024\/11\/Twin_Line_Tracker.ino_.zip\" style=\"display: inline-block; padding: 12px 28px; background: rgba(255,255,255,0.2); color: white; text-decoration: none; border-radius: 8px; font-weight: 600; border: 2px solid rgba(255,255,255,0.3); transition: all 0.3s;\">\ud83d\udce5 \u00d6rnek Kodu \u0130ndir<\/a>\n                    <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<p>            <!-- ESP32 SECTION --><\/p>\n<div id=\"esp32-rehber\" style=\"margin-bottom: 50px; scroll-margin-top: 100px;\">\n<div style=\"background: white; padding: 60px 50px; border-radius: 16px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border-left: 5px solid #e67e22;\">\n<h2 style=\"font-size: 2.5rem; font-weight: 800; margin: 0 0 15px; color: #1a1a1a;\">ESP32 Geli\u015ftirme Kartlar\u0131<\/h2>\n<p style=\"font-size: 1rem; color: #666; margin: 0 0 40px; line-height: 1.7;\">Wi-Fi ve Bluetooth \u00f6zellikleri ile ESP32 kart\u0131n\u0131z\u0131 kullanmaya ba\u015flay\u0131n. Ekstra kurulum ad\u0131mlar\u0131 gereklidir.<\/p>\n<p>                    <!-- Steps Grid --><\/p>\n<div style=\"margin-top: 50px;\">\n<div style=\"background: #fef9f0; padding: 35px; border-radius: 12px; border-left: 4px solid #e67e22; margin-bottom: 25px;\">\n<div style=\"display: flex; align-items: flex-start; gap: 20px;\">\n<div style=\"font-size: 2.5rem; font-weight: 700; color: #e67e22; flex-shrink: 0;\">1<\/div>\n<div style=\"flex: 1;\">\n<h4 style=\"font-size: 1.1rem; font-weight: 700; margin: 0 0 12px; color: #1a1a1a;\">ESP32 Deste\u011fini Ekle<\/h4>\n<p style=\"font-size: 0.95rem; color: #666; margin: 0 0 15px; line-height: 1.6;\">Dosya \u2192 Tercihler men\u00fcs\u00fcnden a\u015fa\u011f\u0131daki linki yap\u0131\u015ft\u0131r\u0131n:<\/p>\n<div style=\"background: #2d3748; color: #e2e8f0; padding: 15px; border-radius: 6px; font-family: 'Courier New', monospace; font-size: 0.85rem; overflow-x: auto; line-height: 1.5;\">https:\/\/raw.githubusercontent.com\/espressif\/arduino-esp32\/gh-pages\/package_esp32_index.json<\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div style=\"background: #fef9f0; padding: 35px; border-radius: 12px; border-left: 4px solid #e67e22; margin-bottom: 25px;\">\n<div style=\"display: flex; align-items: flex-start; gap: 20px;\">\n<div style=\"font-size: 2.5rem; font-weight: 700; color: #e67e22; flex-shrink: 0;\">2<\/div>\n<div style=\"flex: 1;\">\n<h4 style=\"font-size: 1.1rem; font-weight: 700; margin: 0 0 12px; color: #1a1a1a;\">Paketi Kur<\/h4>\n<p style=\"font-size: 0.95rem; color: #666; margin: 0; line-height: 1.6;\"><code style=\"background: #dde4ff; padding: 4px 8px; border-radius: 4px; color: #e67e22; font-weight: 600;\">Ara\u00e7lar \u2192 Kart \u2192 Kart Y\u00f6neticisi<\/code> a\u00e7\u0131p &#8220;esp32&#8221; yaz\u0131n ve <strong>ESP32 by Espressif Systems<\/strong>&#8216;i kurun.<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div style=\"background: #fef9f0; padding: 35px; border-radius: 12px; border-left: 4px solid #e67e22;\">\n<div style=\"display: flex; align-items: flex-start; gap: 20px;\">\n<div style=\"font-size: 2.5rem; font-weight: 700; color: #e67e22; flex-shrink: 0;\">3<\/div>\n<div style=\"flex: 1;\">\n<h4 style=\"font-size: 1.1rem; font-weight: 700; margin: 0 0 12px; color: #1a1a1a;\">Kart Se\u00e7 ve Test Et<\/h4>\n<p style=\"font-size: 0.95rem; color: #666; margin: 0 0 20px; line-height: 1.6;\"><code style=\"background: #dde4ff; padding: 4px 8px; border-radius: 4px; color: #e67e22; font-weight: 600;\">Ara\u00e7lar \u2192 Kart<\/code>&#8216;tan &#8220;ESP32 Dev Module&#8221; ve <code style=\"background: #dde4ff; padding: 4px 8px; border-radius: 4px; color: #e67e22; font-weight: 600;\">Ara\u00e7lar \u2192 Port<\/code>&#8216;tan do\u011fru portu se\u00e7in.<\/p>\n<p style=\"font-size: 0.95rem; font-weight: 600; color: #1a1a1a; margin: 0 0 15px;\">Test Kodu:<\/p>\n<div style=\"background: #2d3748; color: #e2e8f0; padding: 20px; border-radius: 6px; font-family: 'Courier New', monospace; font-size: 0.85rem; overflow-x: auto; line-height: 1.5;\">\n<pre style=\"margin: 0;\">const int ledPin = 2;\r\n\r\nvoid setup() {\r\n  Serial.begin(115200);\r\n  pinMode(ledPin, OUTPUT);\r\n}\r\n\r\nvoid loop() {\r\n  digitalWrite(ledPin, HIGH);\r\n  delay(1000);\r\n  digitalWrite(ledPin, LOW);\r\n  delay(1000);\r\n}<\/pre>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<p>                    <!-- Warning Box --><\/p>\n<div style=\"background: #fff3cd; border-left: 4px solid #ffc107; padding: 25px; border-radius: 8px; margin-top: 50px;\">\n<h4 style=\"font-size: 1.1rem; font-weight: 700; margin: 0 0 10px; color: #856404;\">\u26a0\ufe0f \u00d6nemli Not<\/h4>\n<p style=\"font-size: 0.95rem; color: #856404; margin: 0; line-height: 1.6;\">ESP32&#8217;de baz\u0131 pinler \u00f6zel ama\u00e7l\u0131 oldu\u011fu i\u00e7in her pin kullan\u0131lamaz. Projelerinizde pin diyagram\u0131n\u0131 kontrol etmeyi unutmay\u0131n!<\/p>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/div>\n<style>\n    @media (max-width: 768px) {\n        h1 { font-size: 2.5rem !important; }\n        h2 { font-size: 1.8rem !important; }\n        div[style*=\"padding: 80px 20px\"] { padding: 60px 20px !important; }\n        div[style*=\"padding: 60px 50px\"] { padding: 30px 20px !important; }\n    }\n<\/style>\n","protected":false},"excerpt":{"rendered":"<p>Ad\u0131mlar\u0131 takip edin, Arduino kullanarak Twin Kodlama Mod\u00fcl\u00fc&#8217;n\u00fc Programlamaya Ba\u015flay\u0131n!<\/p>\n","protected":false},"author":4,"featured_media":73293,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"class_list":["post-71482","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.twinscience.com\/tr\/wp-json\/wp\/v2\/pages\/71482","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.twinscience.com\/tr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.twinscience.com\/tr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.twinscience.com\/tr\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.twinscience.com\/tr\/wp-json\/wp\/v2\/comments?post=71482"}],"version-history":[{"count":9,"href":"https:\/\/www.twinscience.com\/tr\/wp-json\/wp\/v2\/pages\/71482\/revisions"}],"predecessor-version":[{"id":78733,"href":"https:\/\/www.twinscience.com\/tr\/wp-json\/wp\/v2\/pages\/71482\/revisions\/78733"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.twinscience.com\/tr\/wp-json\/wp\/v2\/media\/73293"}],"wp:attachment":[{"href":"https:\/\/www.twinscience.com\/tr\/wp-json\/wp\/v2\/media?parent=71482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}