SINGLE LED BLINK

 

πŸ’‘ LED Interface with Arduino – Short Note

Overview:

An LED (Light Emitting Diode) is a basic output device used with Arduino to visually indicate status, signals, or logic. It glows when current flows through it in the forward direction.

βš™οΈ Required Components:

  • Arduino Uno (or any board)

  • LED (any color)

  • 220Ξ© resistor (to limit current)

  • Breadboard and jumper wires

πŸ”Œ Circuit Diagram:

 

 

  • LED anode (long leg) β†’ Arduino digital pin (e.g., pin 13)

  • LED cathode (short leg) β†’ 220Ξ© resistor β†’ Arduino GND.

 

πŸ“ Sample Arduino Code:

int ledPin = 13; // LED connected to digital pin 13

void setup() {
pinMode(ledPin, OUTPUT); // Set pin as output
}

void loop() {
digitalWrite(ledPin, HIGH); // Turn ON LED
delay(1000); // Wait 1 second
digitalWrite(ledPin, LOW); // Turn OFF LED
delay(1000); // Wait 1 second
}

🧠 Key Points:

  • Always use a resistor to prevent LED damage.

  • digitalWrite(ledPin, HIGH) turns ON the LED.

  • LEDs are polarity sensitive (must be connected the right way).

  • Multiple LEDs can be connected to different pins for patterns.

 

πŸ“ž For More Details & Project Support:

Power Integrated Solutions
Networks | Electronics | Home Automation | Water Automation | IoT | PLC | Embedded | DBMS

πŸ“ Location:
10A/3, Radhakrishnan Colony,
Sasthri Road, Tennur,
Tiruchirappalli, Tamil Nadu – 620017


πŸ“ View on Google Maps

πŸ“§ Email:

πŸ“± Phone / WhatsApp:
+91 76393 85448
+91 82488 85959

🌐 Let’s Build the Future with Innovation in Education & Technology!