Discover Arduino Projects
Hundreds of projects from beginner to advanced — schematics, code, and videos.

LED Blink
The very first hello of electronics: switching a single LED on and off. The Arduino keeps the LED on for one second and off for one second, so you can easily follow every blink.

Two LEDs Blinking Alternately
Two LEDs blink quickly in turn: when one lights up the other goes off, as if they were tossing a ball back and forth.

Traffic Light
A tiny copy of the traffic light you see on the road every day. Red stays on for two seconds, yellow flashes for a moment, green stays on for two seconds, then it goes back to red through yellow…

LED Police Lights
Just like the lights on a police car: the red LED flashes three times in quick succession, then the blue LED flashes three times, and the pattern keeps repeating without a break.

LED Control with a Push Button (Push)
Just like a doorbell: the light stays on as long as you press, and goes off when you let go.

Toggle an LED with a Button (On/Off)
Press the button once and the light comes on, press it again and it goes off, just like the light switch in your room.

Measuring Light Intensity with an LDR
Want to see how bright your room is as a number? The LDR, a small part that reacts to light, measures the light around it, and the Arduino writes the value to your computer screen every half second.

Night Light with Ldr
A little night light that turns on by itself when it gets dark and goes off when morning comes.

Control an LED from Your Phone via Bluetooth
A small rehearsal for switching the lights in your room on and off from your phone.

Using an RGB LED
Three colours hide inside a single LED: the RGB LED lights up red, then green, then blue, each colour on for half a second and off for half a second, before the cycle starts again.

Smooth Color Transition with RGB Led
A single RGB LED drifts slowly from red to green, green to blue and back to red, looping through the rainbow without ever stopping.

Arduino Cyclone Game: Stop the Light in the Middle (7 LEDs + Button + Buzzer)
Can you stop it on the red LED? A desktop version of the arcade Cyclone game: a light bounces across 7 LEDs and you score by pressing the button while the red centre LED is lit. Every hit reduces the time per LED by about 15%, down to a minimum of 45 ms, and the buzzer plays a tune. A wrong press costs a life, and the game ends after 3. The best score is kept in EEPROM, so it survives a power cut.
