Projects · Arduino / ESP32 / Pico

Discover Arduino Projects

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

Raspberry Pi Pico Traffic Light with 4-Mode Button Selector (State Machine)
PI-12Intermediate

Raspberry Pi Pico Traffic Light with 4-Mode Button Selector (State Machine)

4 traffic light modes with 1 button! Each press switches the mode: Normal cycle (red → yellow → green), Red Only (stop), Flashing Yellow (caution/night mode) and Off (maintenance). You'll learn the state machine (the mode variable decides which behavior runs) and cycling through the modes with (mode + 1) % 4.

5.0(1)
16
Raspberry Pi Pico Button Debounce: IRQ vs Software Polling
PI-13Intermediate
Premium

Raspberry Pi Pico Button Debounce: IRQ vs Software Polling

If one press of a button made your code count 3-4 times, the culprit is contact bounce: the button's metal contacts open and close many times within microseconds as they touch! In this project we count the same button in 2 different ways and compare them side by side in Serial: RAW polling (catches the bounce and miscounts) and IRQ + software debounce (counts correctly).

12
Arduino Tilt-Controlled Digital Sand (MPU-6050 + 8x8 NeoPixel Matrix)
AR-99Intermediate
Premium

Arduino Tilt-Controlled Digital Sand (MPU-6050 + 8x8 NeoPixel Matrix)

LED sand that flows whichever way you tilt the circuit! The MPU-6050 accelerometer measures the tilt, and 24 grains on the 8x8 NeoPixel matrix fall toward gravity and pile up at the edges like real sand. A theme button switches between sand, water, lava and rainbow colors. Library-free I2C reading, turning tilt into a gravity direction and a simple falling-sand algorithm in one project.

Arduino Ultrasonic Theremin (HC-SR04 + NeoPixel Ring + Buzzer)
AR-101Intermediate
Premium

Arduino Ultrasonic Theremin (HC-SR04 + NeoPixel Ring + Buzzer)

A musical instrument you play without touching it, just by moving your hand in the air! As your hand gets closer to the HC-SR04, the passive buzzer plays higher notes and the 24-LED NeoPixel ring shows each note with color and fill level. A button switches between two modes: in SCALE mode every distance snaps to a note of a pentatonic scale, and in GLIDE mode the sound slides smoothly like an old sci-fi movie. Your hand writes the melody, not the code.

Raspberry Pi Pico LED Tug of War Game (NeoPixel Strip + 2 Buttons + Buzzer)
PI-16Intermediate

Raspberry Pi Pico LED Tug of War Game (NeoPixel Strip + 2 Buttons + Buzzer)

A two-player button duel! The Raspberry Pi Pico turns a 30-LED WS2812B NeoPixel strip into a rope: red player on the left, blue player on the right. Every press pushes your color one LED forward; fill the whole strip to win the round, and take 3 rounds to win the match. Press too early in the countdown and you lose ground, the passive buzzer gives each player a different click, and the match ends in a rainbow. neopixel, debouncing and non-blocking sound in MicroPython.

3
Raspberry Pi Pico LED Campfire (8x8 NeoPixel Matrix + Potentiometer + Buzzer)
PI-17Intermediate

Raspberry Pi Pico LED Campfire (8x8 NeoPixel Matrix + Potentiometer + Buzzer)

A campfire that doesn't burn or warm anything, but still crackles! The Raspberry Pi Pico draws a realistic flame on an 8x8 NeoPixel matrix, recalculated every frame: sparks appear at the base, heat cools as it rises and glows from red to white. A potentiometer sets the flame height, a button switches between Fire, Gas, Magic and Amethyst themes, and a buzzer adds the crackle of burning wood. Procedural animation, ADC, PWM and MicroPython in one project.

2
Raspberry Pi Pico Memory Game (4 LEDs + 4 Buttons + Buzzer)
PI-22Intermediate
Premium

Raspberry Pi Pico Memory Game (4 LEDs + 4 Buttons + Buzzer)

How many rounds can you last? The classic color and sound memory game comes to your desk with a Raspberry Pi Pico. The Pico plays a random color sequence, each color with its own LED and its own note. Repeat it in the same order on 4 buttons and one more color joins every round. Press a wrong one and the buzzer plays a game over tune while the right color blinks. Lists, random numbers and button reading in one game.

Arduino Tetris (MAX7219 8x32 LED Matrix + 4 Buttons + Buzzer)
AR-108Intermediate
Premium

Arduino Tetris (MAX7219 8x32 LED Matrix + 4 Buttons + Buzzer)

No screen, just 256 LEDs: Tetris with music on an Arduino! A MAX7219 8x32 LED matrix standing upright becomes an 8 wide, 32 tall playfield, and 4 buttons move, rotate and drop the pieces. A passive buzzer plays the Tetris theme, full rows flash away and the game speeds up every 2 rows. The matrix is driven without a library, and the best score is kept in EEPROM.

Arduino Whack-a-Mole Game (4 LEDs + 4 Buttons + TM1637 Display)
AR-110Intermediate
Premium

Arduino Whack-a-Mole Game (4 LEDs + 4 Buttons + TM1637 Display)

Hit it the moment it lights up! The arcade classic whack-a-mole on your desk: one of 4 LEDs lights up at random, and if you press the button of the same colour before it goes out, you score. Every 5 hits is a new level and the moles stay up for less time. A wrong button costs 1 point and 3 seconds. Time and score show on the TM1637, the record lives in EEPROM, and a passive buzzer gives each hole its own sound.

1
Raspberry Pi Pico Whack-a-Mole (4 LEDs + 4 Buttons + Buzzer)
PI-29Intermediate
Premium

Raspberry Pi Pico Whack-a-Mole (4 LEDs + 4 Buttons + Buzzer)

Hit it when it lights up! The arcade classic Whack-a-Mole on your desk with a Raspberry Pi Pico. Four LEDs are four holes; a lit LED is a mole popping up, so press the button on the same row before the light goes out. Every 5 hits you level up and the moles stay up for less time. You get 3 misses, and a buzzer announces every hit, miss and new record.

Arduino Tilt Arrow (MPU-6050 + MAX7219 8x8 LED Matrix)
AR-113Intermediate
Premium

Arduino Tilt Arrow (MPU-6050 + MAX7219 8x8 LED Matrix)

Tilt the circuit and the arrow turns to follow! We are building a tilt arrow that points downhill with an Arduino, an MPU-6050 accelerometer and a MAX7219 8x8 LED matrix. The arrow turns in 8 directions, grows as the tilt increases and blinks when it gets very steep. When the circuit is level, a pulsing level sign appears, and the angle and direction are printed to the serial monitor too.

Arduino Hourglass (2x MAX7219 8x8 LED Matrix + MPU-6050)
AR-114Intermediate
Premium

Arduino Hourglass (2x MAX7219 8x8 LED Matrix + MPU-6050)

The sand is not real, but flip it and it runs back! We are building a digital hourglass with an Arduino, two MAX7219 8x8 LED matrices and an MPU-6050. Grains in the upper bulb drop one by one through a narrow neck and pile up below. Flip it and the sand flows back, lay it flat and it pauses; when time is up, the lower bulb blinks.