Projects · Arduino / ESP32 / Pico

Discover Arduino Projects

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

Habit Chain: Don't Drop Your 2027 Resolution (Arduino + DS1307 + 8x8 NeoPixel + 2 Buttons)
AR-165Intermediate
Premium

Habit Chain: Don't Drop Your 2027 Resolution (Arduino + DS1307 + 8x8 NeoPixel + 2 Buttons)

The don't break the chain method on your desk: press button A every day, that day's square on the 8x8 matrix lights green and the 64-day chain grows by one link. A day without a press stays red. Button B shows how many days in a row you have kept going. The DS1307 clock counts the days and the chain lives in its battery-backed memory, so it survives unplugging. Counting days from a real-time clock, keeping a record in bits, telling short from long presses.

The Counter That Never Misses: Interrupt or Loop? (Arduino + TM1637)
AR-166Beginner
Premium

The Counter That Never Misses: Interrupt or Loop? (Arduino + TM1637)

An interrupt and the loop both watch the same button: on the TM1637 display the loop's count sits on the left, the interrupt's on the right. While the loop does a slow 300 ms job it misses most fast presses (only 7 of 18 in the video), the interrupt misses none. With the MODE button you set the slow job to 0, 100 or 300 ms and measure the difference yourself. Covers attachInterrupt, volatile and safe reading.

Timer1 Stopwatch That Never Drifts (Arduino + TM1637)
AR-167Intermediate
Premium

Timer1 Stopwatch That Never Drifts (Arduino + TM1637)

The Timer1 hardware counter fires an interrupt every 10 ms and the stopwatch counts hundredths with it; however busy the loop gets, the time does not drift. Next to it a second clock counts with delay(10), and button B lets you compare the two on the TM1637 display. In the video, over 15.36 seconds the delay clock counted only 6.22. Covers CTC mode, the prescaler, the OCR1A maths and the ISR.

A Menu That Never Skips: Rotary Encoder with Interrupts (Arduino + KY-040 + I2C LCD)
AR-168Intermediate
Premium

A Menu That Never Skips: Rotary Encoder with Interrupts (Arduino + KY-040 + I2C LCD)

Both pins of the KY-040 rotary encoder are read with interrupts, and you build a turn-and-press settings menu on an I2C LCD: brightness, volume and timer. Even with a slow 50 ms job in the loop, not a single step is lost. In the Step test, spin the encoder fast: in the video the interrupt counted 50 steps, the loop only 10. Covers direction decoding with a state table and debouncing.

UNO R4 WiFi LED Matrix Text and Animation
AR-169Beginner
Premium

UNO R4 WiFi LED Matrix Text and Animation

The 12x8 LED matrix on the UNO R4 WiFi needs no extra parts at all. In this project a message scrolls across the matrix from right to left, then a heart beats three times and a smiley winks. Type your own message in the Serial Monitor, press Enter and it scrolls instead. You learn text scrolling with ArduinoGraphics and drawing your own animation frames as 8x12 arrays.

UNO R4 WiFi Web Server: Relay and LED
AR-170Intermediate
Premium

UNO R4 WiFi Web Server: Relay and LED

The UNO R4 WiFi joins your home Wi-Fi and serves its own web page. Two big buttons in your phone's browser switch the relay (a lamp LED) and a second LED on and off; no extra app needed. At start-up the board's IP address scrolls on the LED matrix, then the matrix shows the state with two icons: the lamp on the left, the LED on the right. You learn to build a web server with the R4's own WiFiS3 library.

UNO R4 WiFi Internet Clock: NTP and Matrix
AR-171Intermediate
Premium

UNO R4 WiFi Internet Clock: NTP and Matrix

A clock you never have to set: the UNO R4 WiFi joins Wi-Fi, gets the time from an NTP server on the internet and sets the RTC (real-time clock) inside the board. Hours and minutes scroll across the 12x8 LED matrix and the bottom row shows the seconds as a filling bar. The clock is corrected from the internet every 6 hours; unplug it, plug it back in and it finds the right time again by itself. No extra parts.

UNO R4 WiFi DAC Melody and Wave Generator
AR-172Intermediate
Premium

UNO R4 WiFi DAC Melody and Wave Generator

A classic Arduino makes sound only by switching on and off; the UNO R4's 12-bit DAC sends a real waveform to the speaker. In this project a button cycles four modes: a melody (Ode to Joy), a sine, a square and a sawtooth wave. In the melody the pot sets the tempo; for the waves it sets the frequency from 100 to 1000 Hz. The 12x8 LED matrix scrolls the current wave shape or shows the notes like a piano roll.

Arduino Excitement Meter: A Lie Detector Game You Play with Your Fingers (Voltage Divider + 5 LEDs + Buzzer)
AR-173Beginner
Premium

Arduino Excitement Meter: A Lie Detector Game You Play with Your Fingers (Voltage Divider + 5 LEDs + Buzzer)

A lie detector style party game: you put two fingers on two foil electrodes and the Arduino first measures your calm baseline. As excitement grows, skin resistance drops and the voltage divider output rises: the 5-LED bar fills, the buzzer climbs like a heart monitor and a sudden jump sets off a siren. A 100 nF capacitor steadies the reading, and the Serial Plotter shows it as a graph. Just for fun, not a real lie detector.

Arduino Talking Distance Robot: A Robot That Talks When You Come Closer (HC-SR04 + DFPlayer Mini + Speaker)
AR-174Intermediate
Premium

Arduino Talking Distance Robot: A Robot That Talks When You Come Closer (HC-SR04 + DFPlayer Mini + Speaker)

A robot that stays quiet while nobody is around and talks with a real voice when someone comes closer. The HC-SR04 measures the distance and the DFPlayer Mini plays MP3 files from a microSD card through a speaker: "Hello! I'm the BlueGrays robot." at 150 cm, "You're a bit close." at 60 cm, "Too close, step back!" at 20 cm and "See you!" when you leave. Each band has two sentences that take turns. A median filter and hysteresis stop it chattering at a border.

Arduino MP3 Player: A Music Player With Buttons and a Volume Knob (DFPlayer Mini + Potentiometer + Speaker)
AR-175Intermediate
Premium

Arduino MP3 Player: A Music Player With Buttons and a Volume Knob (DFPlayer Mini + Potentiometer + Speaker)

An MP3 player for your own music with three buttons and a volume knob. The DFPlayer Mini plays MP3 files from a microSD card through a speaker. The previous, play/pause and next buttons move between tracks, and the potentiometer sets the volume from 0 to 30. When a track ends the next one starts, and after the last it goes back to the first. A long press on play turns on shuffle. The Serial Monitor shows the track and the volume.

Arduino Aircraft Navigation Lights: Scattered Strobes, a Beacon and Park, Taxi, Flight Modes (7 LEDs + Button)
AR-176Beginner
Premium

Arduino Aircraft Navigation Lights: Scattered Strobes, a Beacon and Park, Taxi, Flight Modes (7 LEDs + Button)

Bring an airliner's exterior lights to your desk: the red position light on the left wingtip and the green one on the right stay on, the red beacon on the fuselage glows and fades slowly, and four white strobes fire short double flashes at a scattered rhythm. Each press of the button steps through the park, taxi and flight modes. Timing runs on millis(), the main loop never waits. The rhythms are close to real but representative.