×

Arduino Eğitimi 1.Gün: LED Yakma (Blink) Projesi

Arduino Eğitimi 1.Gün: LED Yakma (Blink) Projesi

Bu proje, Arduino Nano kullanarak bir LED’in belirli aralıklarla yanıp sönmesini sağlayacaktır.


🛠 Gerekli Malzemeler

  • Arduino Nano
  • 1x LED
  • 1x 220Ω veya 270Ω direnç
  • Bağlantı kabloları
  • Breadboard (isteğe bağlı)

🔌 Bağlantı Şeması

LED’i Arduino Nano’ya şu şekilde bağlayacağız:

LED BacağıArduino Nano
Uzun Bacak (Anot, +)D13 (Direnç üzerinden)
Kısa Bacak (Katot, -)GND

🔹 Direnç (220Ω veya 270Ω), LED’in anot bacağı (uzun bacak) ile D13 pini arasına bağlanmalıdır.
🔹 GND’ye doğrudan bağlantı yapılmalıdır.


📜 Kodlama (Arduino Sketch)

Bu kod, LED’i 1 saniye aralıklarla yanıp sönecek şekilde çalıştırır.

cppKopyalaDüzenleconst int ledPin = 13; // LED’in bağlı olduğu pin

void setup() {
  pinMode(ledPin, OUTPUT); // D13 pinini çıkış olarak ayarla
}

void loop() {
  digitalWrite(ledPin, HIGH); // LED'i yak
  delay(1000); // 1 saniye bekle
  digitalWrite(ledPin, LOW);  // LED'i söndür
  delay(1000); // 1 saniye bekle
}

📖 Çalışma Mantığı

  1. Arduino’nun D13 pinine bir LED bağlanır.
  2. pinMode(ledPin, OUTPUT); komutu, LED’in bağlı olduğu pini çıkış olarak tanımlar.
  3. digitalWrite(ledPin, HIGH); komutu LED’i yakar.
  4. delay(1000); komutu, 1 saniye beklemeyi sağlar.
  5. digitalWrite(ledPin, LOW); komutu LED’i söndürür.
  6. Sonsuz döngü (loop()) içinde bu işlem tekrar eder.

📡 Bağlantı Şeması Açıklaması

      LED           Arduino Nano
--------- -------------
[ + ] Anot ---> D13 (Direnç üzerinden)
[ - ] Katot ---> GND

📌 Geliştirme Önerileri

  • LED Yanma Süresini Değiştir: delay(1000); süresini değiştirerek LED’in yanma hızını artırabilir veya azaltabilirsin.
  • Farklı Pinlerde LED Yak: D13 yerine D9, D7 gibi farklı pinleri kullanabilirsin.
  • Buton ile LED Kontrolü: Buton ekleyerek LED’in butona basınca yanmasını sağlayabilirsin.

Eğer geliştirmek istersen haber ver, projeyi genişletebiliriz!

64 comments

comments user
binance

Your point of view caught my eye and was very interesting. Thanks. I have a question for you.

comments user
Inscription

Thanks for sharing. I read many of your blog posts, cool, your blog is very good.

comments user
zoritoler imol

Good write-up, I¦m normal visitor of one¦s web site, maintain up the nice operate, and It is going to be a regular visitor for a long time.

https://www.zoritolerimol.com

comments user
binance

Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?

comments user
drover sointeru

Someone essentially lend a hand to make severely posts I would state. That is the very first time I frequented your web page and to this point? I amazed with the analysis you made to make this actual put up amazing. Great process!

https://www.droversointeru.com

comments user
jalalive

Really enjoyed this! Your writing style is so engaging.

comments user
jala live

This gave me a lot to think about—thank you for sharing your thoughts!

comments user
jalalive

Clear, concise, and super helpful. Great job!”

comments user
jalalive apk

Always a pleasure reading your blog. Keep the great content coming!

comments user
jalalive

Thanks for the great read! Very informative and well-written.

comments user
spotbet login

Really helpful content — I learned a lot from this!

comments user
jalalive88

Great post! I really enjoyed reading this. Your insights were clear and helpful — thanks for sharing!

comments user
jalalive

Really helpful content – thanks for putting this together!

comments user
jalalive55

This was a great read! I learned something new today.

comments user
jala live 2025

Loved your perspective on this topic. Keep it up!

comments user
jalalive

Thanks for the valuable insights. Looking forward to your next post!

comments user
jalalive

Interesting points! You explained it in a very clear way.

comments user
jala live

Such a well-written piece. It kept me engaged from start to finish.

comments user
jalalive

Great post! I really enjoyed the insights you shared. Looking forward to reading more from you!

comments user
jala live

I’ve been looking for info like this—glad I found your blog.

comments user
spot bet

Well-written and straight to the point. Keep up the good work!

comments user
jala live

Great insights! I really enjoyed how you explained this topic clearly and simply.

comments user
jala live

Interesting perspective. It really made me think differently.

comments user
jala live

Love this post! Especially the part about staying consistent—so true.

comments user
spotbet

Great insights! This really gave me a new perspective. Thanks for sharing.

comments user
Buat Akun Pribadi

Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.

comments user
Lynn1616

https://shorturl.fm/VVzWa

comments user
Tyler4197

https://shorturl.fm/Br4LO

comments user
Evie1326

https://shorturl.fm/0KohA

comments user
Beryl4866

https://shorturl.fm/EY3S0

comments user
Paula823

https://shorturl.fm/nNoWA

comments user
Gracie3993

https://shorturl.fm/yhbc9

comments user
Colt951

https://shorturl.fm/n8JIN

comments user
binance open account

I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.

comments user
Jocelyn3667

https://shorturl.fm/H3VZn

comments user
Leon3285

https://shorturl.fm/3QELb

comments user
binance

I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.

comments user
Dominique2203

https://shorturl.fm/MIe8H

comments user
Sydney2928

https://shorturl.fm/udrP6

comments user
Josh4920

https://shorturl.fm/CZ4At

comments user
profis-vor-ort.de

Great article, thanks for sharing such valuable insights! 🙌 I really appreciate the way you explained the topic so clearly and made it easy to understand. It’s rare to find content that is both informative and practical like this. By the way, I recently came across a helpful platform called profis-vor-ort.de — it connects people quickly with local experts and services in Germany. I think it could be a great resource for anyone interested in finding trustworthy professionals nearby. Keep up the great work, I’ll definitely be following your future posts!

comments user
Priscilla3612

https://shorturl.fm/4Am4Q

comments user
meinestadtkleinanzeigen.de

💡 Excellent work on this ultimate guide! every paragraph is packed with value. It’s obvious a lot of research and love went into this piece. If your readers want to put these 7 steps into action immediately, we’d be honoured to help: 👉 https://meinestadtkleinanzeigen.de/ – Germany’s fastest-growing kleinanzeigen & directory hub. • 100 % free listings • Auto-sync to 50+ local citation partners • Instant push to Google Maps data layer Drop your company profile today and watch the local calls start rolling in. Keep inspiring, and thanks again for raising the bar for German SEO content!

comments user
profis-vor-ort.de

Thank you for sharing such a well-structured and easy-to-digest post. It’s not always easy to find content that strikes the right balance between informative and engaging, but this piece really delivered. I appreciated how each section built on the last without overwhelming the reader. Even though I’ve come across similar topics before, the way you presented the information here made it more approachable. I’ll definitely be returning to this as a reference point. It’s the kind of post that’s genuinely helpful no matter your level of experience with the subject. Looking forward to reading more of your work—keep it up! profis-vor-ort.de

comments user
Abram19

https://shorturl.fm/WkxcG

comments user
Faye2705

https://shorturl.fm/VrJL2

comments user
June2816

https://shorturl.fm/d5djs

comments user
Herbert677

https://shorturl.fm/SaFpV

comments user
Clarence152

https://shorturl.fm/lZ2um

comments user
Lane2934

https://shorturl.fm/HRmOQ

comments user
Charlie106

https://shorturl.fm/AF8k3

comments user
Hank3038

https://shorturl.fm/ESzy8

comments user
Aniya4678

https://shorturl.fm/u3tjq

comments user
Zoe4917

https://shorturl.fm/yaogb

comments user
Harold675

https://shorturl.fm/WbXJ1

comments user
Lorenzo623

https://shorturl.fm/CmN6i

comments user
Raphael2254

https://shorturl.fm/OuSLl

comments user
Isaac825

https://shorturl.fm/7neDC

comments user
Brody4656

https://shorturl.fm/SATRG

comments user
Beverly1252

https://shorturl.fm/x9sTL

comments user
Jenna1724

https://shorturl.fm/mAjqC

comments user
Alden4177

https://shorturl.fm/n3QE8

comments user
Lola332

https://shorturl.fm/IWowe

comments user
Caitlin2817

https://shorturl.fm/91ddX