LED এর সাথে Resistor কেন লাগেArduino LED with Resistor (220Ω)
Resistor ছাড়া LED অনেক বেশি কারেন্ট টানে। Pin 13 এ 220Ω দিলে প্রায় ১২ mA পায় — উজ্জ্বল আর নিরাপদ।
Without a resistor an LED draws too much current. With 220Ω on pin 13 it gets about 12 mA — bright and safe.
যা যা লাগবে · Parts you need
- 1 × Arduino Uno Arduino Uno
- 1 × Resistor 220Ω Resistor
- 1 × LED (red) LED বাতি
- 3 × Jumper wires জাম্পার তার
তার লাগানো · Wiring
| Arduino Uno D13 | → | Resistor a |
| Resistor b | → | LED A |
| LED K | → | Arduino Uno GND.3 |
Code (Arduino C++)
void setup() {
pinMode(13, OUTPUT);
}
void loop() {
digitalWrite(13, HIGH); // LED on
delay(1000); // wait 1 second
digitalWrite(13, LOW); // LED off
delay(1000);
}
ভিডিও · Videos
How To Calculate Resistor Value For LED | NS Basic Electronics 10 | এলইডি এর জন্য রেজিস্ট…
Why does an LED need a RESISTOR? The Simplest Explanation.