Arduino Uno Simple Project with Code for Beginners
Getting started with Arduino Uno is easier than you think. In this beginner-friendly guide, we’ll build the classic “Blinking LED Project.” This is the most common first project in the world of microcontrollers, teaching you how to control outputs with code. By the end of this tutorial, you will know how to connect an LED to Arduino and program it to blink at regular intervals.
Components Needed
- 1 × Arduino Uno board
- 1 × LED (any color)
- 1 × 220Ω resistor
- Breadboard and jumper wires
- USB cable to connect Arduino to your computer
Arduino Uno LED Blink Circuit
Connect the components as follows:
- LED Anode (+) → Arduino Pin 13
- LED Cathode (–) → Resistor → Arduino GND
This simple wiring will allow your Arduino Uno to power the LED and blink it using code.
Arduino Code for LED Blink
// Simple LED Blink Program
// Board: Arduino Uno
int ledPin = 13; // LED connected to digital pin 13
void setup() {
pinMode(ledPin, OUTPUT); // Set pin 13 as output
}
void loop() {
digitalWrite(ledPin, HIGH); // Turn LED on
delay(1000); // Wait 1 second
digitalWrite(ledPin, LOW); // Turn LED off
delay(1000); // Wait 1 second
}
How the Code Works
1. We declare ledPin
as pin 13.
2. In the setup()
function, we set the pin as an output.
3. Inside loop()
, the LED turns ON, waits 1 second, then turns OFF for 1 second.
4. The cycle repeats infinitely.
Why This Project is Important
This project demonstrates the fundamental concept of digital output. Once you understand this, you can move to advanced Arduino projects such as controlling multiple LEDs, sensors, motors, and even building smart home systems.
Top Affordable Arduino Alternatives: Discover ELEGOO Boards & Kits
Getting started in electronics often leads you to Arduino, but the official boards can be pricey. That’s where ELEGOO shines. Known for their budget-friendly yet high-quality components, ELEGOO provides fully Arduino IDE-compatible boards and kits that are perfect for beginners and advanced users alike. Here's an in-depth look at four standout ELEGOO options, their benefits, downsides, and how they compare to official Arduino products.
1. ELEGOO MEGA R3 Board (ATmega2560)

Price: $22.99
Rating: 4.7 ★ (3,157 reviews)
Recent Sales: 400+ in the past month
- Fully Arduino IDE and shield compatible
- Equipped with ATmega2560-16AU and 16u2 chips
- Enhanced pin layout with IOREF and stronger RESET
- Best suited for high-I/O, memory-heavy projects
2. ELEGOO UNO R3 Controller (ATmega328P)

Price: $13.99
Rating: 4.7 ★ (56 reviews)
- Full Arduino IDE compatibility
- ATmega328P + CH340C chips for faster transfer
- Clear labeling for easier wiring
3. ELEGOO Basic UNO Starter Kit

Discount Price: $19.54 (was $22.99)
Rating: 4.6 ★ (1,973 reviews)
Recent Sales: 50+ in the past month
- Includes UNO R3 board and essential components
- Comprehensive PDF tutorials with code samples
- Compatible with UNO, MEGA 2560, and NANO
4. ELEGOO Most Complete Starter Kit V2.0

Price: $65.99
Rating: 4.6 ★ (156 reviews)
Recent Sales: 50+ in the past month
- Includes UNO R3, sensor shield, and 200+ components
- Features tutorials for projects like Snake Game, Dice, Alarm Clock
- Great for hands-on learners and ambitious beginners
How ELEGOO Compares to Official Arduino Boards
Feature | ELEGOO | Official Arduino |
---|---|---|
Compatibility | 100% IDE and shield compatible | Native IDE support |
Price | $13.99–$65.99 | $20–$80+ |
Build Quality | Very good, slight variation | Standardized, premium |
Chipset | Equivalent microcontrollers | Genuine AVR chips |
Best Use Case | Learning and personal projects | Professional and educational use |
Conclusion
The Arduino Uno LED Blink Project is the perfect starting point for anyone stepping into electronics. With just an LED and a few wires, you learn the foundation of coding and hardware control. And if you’re looking for affordable Arduino alternatives, ELEGOO boards and kits provide excellent value without compromising on compatibility or quality.
Start small, learn fast, and build big. Happy tinkering!
0 Comments