Arduino LED projects for beginners
Every LED build on this site — the first blink, the fade, the chaser and the traffic lights — with the parts, the wiring and the code written out.
An LED is the first thing that proves the board is alive and the first thing that proves the wiring is right. If the current is too high the LED burns out, and if the resistor is missing the current is far too high — which is exactly the mistake the simulator is built to let a student make safely, on screen, before touching a bag of components.
The projects here are ordered so that each one adds a single idea to the last: an output pin drives a LED, then a PWM duty cycle dims it, then a loop moves it, then a second and third LED turn it into a display. A class that works down the list ends the unit able to read a datasheet and pick their own resistor.
What you need
The parts below are the ones the most of these projects share. Each project page lists the full set for that build.
| Part | Used by | Why |
|---|---|---|
| 1× breadboard | 16 | Holds the circuit together without solder |
| 1× 220Ω resistor | 16 | Limits the current through an LED or a pin |
| 1× Arduino Uno R3 | 16 | The board that runs the sketch |
| Breadboard | 15 | Holds the circuit together without solder |
| 1× red LED | 9 | The output you can see working |
| 1× 9V battery | 9 | The supply the circuit runs on |
All 36 arduino led projects
Easiest first. Each card links to the project's own page with the wiring, the parts and the code written out.
Switching a 50 mA lamp from a 20 mA pin
Use millis() instead of delay() — the right way to blink
analogWrite on D9 — the smoothest way to dim an LED
Read the room temperature every 2 seconds and print it
LDR + LED — the LED turns on automatically when it gets dark
5 LEDs that light up in sequence, like KITT from Knight Rider
The room gets dark, the LED turns on
Walk past, the light turns on. Stand still, it goes off.
LED brightness follows the sound · quiet keeps it off
Detect motion with the PIR sensor and sound the buzzer
How the first internet worked — one click at a time
Four LEDs, sixteen numbers — counting in twos
Ultrasonic sensor detects when the bin is full
Three buttons, three options, instant democracy
Count objects on a moving line — like a real factory sensor
How fast can you press the button? Built in a tiny form factor.
Light up an LED "bar" that grows with the analog input
Two players, two buttons — fastest finger wins
Alternating red + blue LEDs with a wailing 600–1500 Hz buzzer
Hot day, fan on. Cool day, fan off.
Beep faster as you get closer
Repeat the pattern, level by level
Too hot, too cold, or just right
Motion + armed switch = loud alarm. Disarm first.
A guest walks up to the door — chime + welcome LED
The louder the sound, the more LEDs light up
When the sun rises, the room wakes up with a soft glow
Count things as they pass — like a door sensor or factory line
Three pots, one RGB LED — mix any color of the rainbow
A full intersection with pedestrian crossing — and a buzzer
Which material keeps heat in best?
A light sensor that tells the time of day
Limit switches and motor control — the basics of elevator design
Read distance with HC-SR04 and print the cm on Serial Monitor
Only blows when it is hot AND someone is within 100 cm
When the pet is near, drop food
How to use these with a class
These 36 projects run from about 15 minutes to 60 minutes each, and 6 of them are Tier 1 — one component and one idea, which is what a class can finish in a single period.
Each project page carries the full build — the concept, the parts, the wiring one step at a time and the sketch — so a class can work through it without the teacher having to explain every wire.
Every one of them can be practised in the browser simulator first, with the real sketch and a real circuit solver behind it, and the first 15 projects are free with no account.
Common questions
Why does every LED need a resistor?
An LED does not limit its own current. Without a resistor in series the pin drives as much current as the LED will take, and the LED destroys itself. 220 Ω is the value used on almost every project here, because it works with the 5 V pin on every Arduino board. The simulator shows the current so a student can see what the resistor is doing.
Do I need to know C++ to build these?
No. Every project carries the sketch it runs, and the first ones use four lines of it. A student can read a sketch, change the pin number or the delay and see what happens — that is the whole skill the first term needs.
How long does the first one take?
About twenty minutes, including reading the concept. One LED, one resistor, one pin. The point of starting here is not the LED; it is that the class finds out who is good at wiring.
Related
Try the full simulator with your class
103 guided circuit projects, 21 lessons and an in-browser Arduino simulator. The first 15 projects are free, no account needed. One licence covers a whole school.