សិល្បៈ
សម្រស់ និង សុខុមាលភាព
សិប្បកម្ម
វប្បធម៌ និង ប្រវត្តិសាស្ត្រ
ការកម្សាន្ត
បរិស្ថាន
ម្ហូប និង ភេសជ្ជៈ
អនាគតបៃតង
វិស្វកម្មបញ្ច្រាស
វិទ្យាសាស្ត្រ
កីឡា
បច្ចេកវិទ្យា
ប្រដាប់ដែលស្លៀក
ពន្លឺងីក LED — គម្រោងលើកដំបូងរបស់អ្នក Arduino
مترجم
NFT
Admiral OOM

Created by

Admiral OOM

09. មីនា 2026NO
247
1
2
0
0

ពន្លឺងីក LED — គម្រោងលើកដំបូងរបស់អ្នក Arduino

NFT
គម្រោងអេឡិকត្រូនិចលើកដំបូងដែលបង្ហាញឆ្នាំបង្វិល! សាងសង់សៀគ្វី LED ដែលងីក ដោយប្រើ Arduino ក្តារលាក់ រេស៊ីស្តង់ និង LED តែមួយ។ ល្អឥតខ្ចោះសម្រាប់អ្នកចាប់ផ្តើមដំបូង — មិនចាំបាច់ថែម។

Instructions

1

စုဆည်းရန် သင်၏ အစိတ်အပိုင်းများ

အောက်တွင် စာရင်းပြုစုထားသော အစိတ်အပိုင်းများအားလုံးကို စုဆည်းပါ။ ကြေးဝါချိတ်ဆက်ရန် မလိုအပ်ပါ — အရာအားလုံးသည် breadboard သို့ ချိတ်ဆက်သည်။

Materials for this step:

SparkFun Inventor's Kit - V3.2SparkFun Inventor's Kit - V3.21 kit
Arduino Uno R3Arduino Uno R31 piece
5mm LED (any color)5mm LED (any color)1 piece
220 ohm Resistor (1/4W)220 ohm Resistor (1/4W)1 piece
BreadboardBreadboard1 piece
Jumper Wires (Male-to-Male)Jumper Wires (Male-to-Male)2 pieces
USB-B CableUSB-B Cable1 piece

Tools needed:

Computer with Arduino IDE
2

ដ្យាក្រាម Circuit

សញ្ញាលំហូរពី Arduino Pin 13 → 저항 220Ω (R1) → LED (D1) → GND។ 저항កំដlimit លក្ខណៈចរន្តដើម្បីការពារ LED។

Materials for this step:

Arduino Uno R3Arduino Uno R31 piece
5mm LED (any color)5mm LED (any color)1 piece
220 ohm Resistor (1/4W)220 ohm Resistor (1/4W)1 piece
3

ភ្ជាប់វាឡើង

  1. ដាក់ LED ទៅក្នុង breadboard — ជើងវែង (anode +) នៅក្នុងជួរមួយ ជើងខ្លី (cathode −) នៅក្នុងជួរបន្ទាប់។
  2. ដាក់ជើងមួយនៃ 220Ω resistor ទៅក្នុងជួរដូចគ្នាទៅនឹង LED cathode។ ជើងផ្សេងទៀតនៅក្នុងជួរផ្សេង។
  3. Jumper wire ពី LED anode row → Arduino Pin 13
  4. Jumper wire ពី resistor free row → Arduino GND
ព័ត៌មានដំបូង៖ resistor អាចដាក់ម្ខាង ឬម្ខាងទៀតនៃ LED — វាគ្រាន់តែត្រូវការឱ្យស្ថិតក្នុង series។

Materials for this step:

5mm LED (any color)5mm LED (any color)1 piece
220 ohm Resistor (1/4W)220 ohm Resistor (1/4W)1 piece
BreadboardBreadboard1 piece
Jumper Wires (Male-to-Male)Jumper Wires (Male-to-Male)2 pieces
4

Upload the Blink Code

Connect Arduino via USB. Open Arduino IDE, select Tools → Board → Arduino Uno, paste the code, and click Upload.
blink.inoarduino
// Blinking LED — Your First Arduino Project
// Turns an LED on for one second, then off for one second, repeatedly.

const int LED_PIN = 13;  // Pin connected to the LED

void setup() {
  pinMode(LED_PIN, OUTPUT);  // Set pin 13 as an output
}

void loop() {
  digitalWrite(LED_PIN, HIGH);  // Turn LED ON
  delay(1000);                  // Wait 1 second

  digitalWrite(LED_PIN, LOW);   // Turn LED OFF
  delay(1000);                  // Wait 1 second
}

// EXPERIMENT IDEAS:
// - Change delay(1000) to delay(100) for fast blinking
// - Change delay(1000) to delay(2000) for slow blinking
// - Try delay(50) for a strobe effect
// - Use different values for ON and OFF times:
//   delay(200) ON, delay(800) OFF = short flash
//   delay(800) ON, delay(200) OFF = long flash

Materials for this step:

Arduino Uno R3Arduino Uno R31 piece
USB-B CableUSB-B Cable1 piece

Tools needed:

Computer with Arduino IDE
5

PCB ប្លង់គម្រោង (ឯកសារយោង)

នេះបង្ហាញពីសៀគ្វីជាប្លង់គម្រោង PCB។ មិនចាំបាច់សម្រាប់គម្រោងនេះទេ — ក្តារ breadboard ដំណើរការល្អឥតខ្ចោះ — ប៉ុន្តែបង្ហាញថាវិលដូចគ្នានឹងមើលទៅដូចម្តេចប្រសិនបើផលិតជាក្តារពិតប្រាកដ។
6

សាកល្បង និងការពិសោធន៍

LED ងើប? សូមស្វាគមន៍! អ្នកទើបតែសរសេរកម្មវិធីសម្ភារៈ។

ការដោះស្រាយបញ្ហា:
  • LED មិនឆេះទេ? ដាក់ LED ឡើងវិញ — ជើងវែងឆ្ពោះទៅ Pin 13។
  • LED នៅបើក? ពិនិត្យមើលថាកូដបានផ្ទុកដោយជោគជ័យ។
  • គ្មានអ្វីកើតឡើងទេ? ផ្ទៀងផ្ទាត់ថាការភ្ជាប់ខ្សែស្របគ្នាជាមួយដ្យាក្រាមក្នុងជំហានទី 2។

ការពិសោធន៍បន្ទាប់:
  • ផ្លាស់ប្តូរតម្លៃ delay() ដើម្បីគ្រប់គ្រងល្បឿនងើប
  • បន្ថែម LED ទីពីរលើ Pin 12
  • ជំនួសដោយ RGB LED (មើល SIK Circuit 3)

Materials

7

Tools Required

2
Estimated Total
$105.00

CC0 Public Domain

This blueprint is released under CC0. You are free to copy, modify, distribute, and use this work for any purpose, without asking permission.

Support the Maker by purchasing products through their Blueprint where they earn a Maker Commission set by Vendors, or create a new iteration of this Blueprint and include it as a connection in your own Blueprint to share revenue.

ការពិភាក្សា

(0)

ចូល ដើម្បីចូលរួមពិភាក្សា

កំពុងផ្ទុកមតិ...