กลับไปหน้ารวมไฟล์
blink-led-project-with-arduino-90f185-en.md

WATCH MY YOUTUBE VIDEO

This project is made for beginners and made with Arduino Uno. In this project, we will interface Arduino Uno with LED to make it blink with a time delay.

The Genesis: Blink LED Project

Every programmer must start with "Hello World." In the hardware world, "Hello World" is the Blink LED project. It proves that your computer can successfully compile code and upload it to the microprocessor.

The Anatomy of a Sketch

This 10-line project contains the entire foundation of C++ hardware programming:

  1. void setup(): This code runs exactly once. Here, you use pinMode(13, OUTPUT) to tell the Arduino that pin 13 is going to send out electricity.
  2. void loop(): This runs forever. You use digitalWrite(13, HIGH) to turn the light on.
  3. delay(1000): You stop the processor for exactly 1,000 milliseconds (1 second).
  4. digitalWrite(13, LOW) to turn it off, and delay(1000) again, creating the blink.

No Extra Hardware Needed!

  • Arduino Uno/Nano: The board itself!
  • USB Cable: For programming and power.

Every Arduino board (except a few highly specialized ones) has a tiny surface-mount LED soldered directly onto pin 13 (usually marked 'L'). This means you can complete your very first project without even unboxing a breadboard or reaching for a resistor.

MATERIALS REQUIRED

1.) Arduino UNO 2.) LED 3.) Jumper wires

PROCEDURE

ข้อมูล Frontmatter ดั้งเดิม

apps:
  - "1x Arduino IDE"
author: "arduino_world"
category: "Basic Electronics"
components:
  - "1x Arduino UNO"
  - "1x 5 mm LED: Red"
  - "2x Male/Female Jumper Wires"
description: "The mandatory first step! Learn the structure of an Arduino sketch by writing the simplest program possible: turning an onboard LED on and off."
difficulty: "Easy"
documentationLinks: []
downloadableFiles: []
encryptedPayload: "U2FsdGVkX1+HuLKiHiqxxPR0yM4U9i9VMQqZxyDMSaEQ7yFwHL7tOI+Cr3WGJztEF6ilipYB3pqVLp9/KaMvcA=="
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/blink-led-project-with-arduino-90f185_cover.jpg"
lang: "en"
likes: 2
passwordHash: "0ee104c4ab97511f40f8f08808b1be78de243f9aa9477ff8de9801f0c479ff78"
price: 299
seoDescription: "Learn how to make an LED blink using Arduino Uno with a simple time delay code. Perfect for beginners starting with Arduino programming."
tags:
  - "communication"
title: "Blink LED project with arduino"
tools: []
videoLinks:
  - "https://www.youtube.com/embed/wyylLJ0wUCQ"
views: 21810