Projects · Arduino / ESP32 / Pico

Discover Arduino Projects

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

Raspberry Pi Pico Button Controlled LED (Push)
PI-9Beginner
Premium

Raspberry Pi Pico Button Controlled LED (Push)

First input project with Pico — button read! LED lights while button is pressed, off when released. This is the big step after LED animations: signal input from the world to Pico. Learn Pin.IN (input mode), Pin.PULL_UP (internal pull-up resistor — standard for buttons), button.value() reading. GP14 LED, GP2 button (internal PULL_UP). Pressed = LOW (0), released = HIGH (1) — reverse logic seems confusing at first but is industry standard.

11
Raspberry Pi Pico Button Toggle LED
PI-10Beginner

Raspberry Pi Pico Button Toggle LED

Button + LED — next level! Unlike the basic button project, there is no need to hold the button. Press and release → LED on. Press and release again → LED off (toggle). Same circuit (LED GP14, Button GP2), but big code difference. Learn edge detection (capturing the 1→0 falling moment), state tracking, debounce (mechanical bounce filter). MicroPython's led.toggle() swaps state in one line. Foundation of all interactive button projects (mode switcher, IRQ, double-click).

13
Raspberry Pi Pico: Independent Control of 2 LEDs Using 2 Buttons
PI-11Beginner
Premium

Raspberry Pi Pico: Independent Control of 2 LEDs Using 2 Buttons

2 buttons, 2 LEDs, completely independent of each other! Each button controls its own LED: press BTN1 and the red LED lights up, press BTN2 and the green one does. Press both at once and both LEDs light up (parallel operation). You'll learn to manage several Pin objects together, the ternary operator, Python's compact if-else (1 if x else 0), and a GPIO map (GP12/13 LED outputs, GP4/5 button inputs).

7
Raspberry Pi Pico PWM LED Fade (Breathing Effect)
PI-14Beginner

Raspberry Pi Pico PWM LED Fade (Breathing Effect)

The LED doesn't just blink anymore, it breathes! With the Raspberry Pi Pico's PWM (Pulse Width Modulation), the LED's brightness slowly rises and then slowly fades, a calm "breathing" effect like a sleeping laptop's light. You'll learn the machine.PWM class, the 16-bit brightness value from 0–65535 with duty_u16() and the PWM frequency.

4
Raspberry Pi Pico RGB LED Color Cycle (3-Channel PWM)
PI-15Beginner

Raspberry Pi Pico RGB LED Color Cycle (3-Channel PWM)

One LED, millions of colors! An RGB LED actually holds 3 separate LEDs: red, green and blue. Set the brightness of each one separately with the Pico's 3 PWM channels and the colors mix: red + green = yellow, green + blue = cyan, all three = white. In this project the LED cycles through 8 colors.

6
Arduino Magic Drawing Tablet (2 Potentiometers + OLED Display)
AR-100Beginner
Premium

Arduino Magic Drawing Tablet (2 Potentiometers + OLED Display)

We are rebuilding the classic magic drawing tablet with an Arduino! The left potentiometer moves the pen horizontally, the right one vertically, and the 0.96 inch OLED keeps a continuous line. The PEN button lifts and lowers the pen, while the CLEAR button wipes the screen with an eraser animation and a buzzer sound. A fun beginner project about analog input, jitter filtering and drawing on a display.

ESP32 Pomodoro Timer (NeoPixel Ring + Button + Buzzer)
ES-43Beginner
Premium

ESP32 Pomodoro Timer (NeoPixel Ring + Button + Buzzer)

A glowing desk timer that keeps you off your phone while you study! The 24-LED NeoPixel ring shows the time left like a clock face: work is red, short breaks are green and the long break after every four sessions is blue. In the last 5 seconds the ring flashes and the passive buzzer ticks, then a rainbow celebrates the finished phase. One button starts, pauses and resets, all on an ESP32 without a single delay().

Raspberry Pi Pico Parking Sensor (HC-SR04 + 3 LEDs + Buzzer)
PI-18Beginner

Raspberry Pi Pico Parking Sensor (HC-SR04 + 3 LEDs + Buzzer)

Bring your car's reverse parking sensor to your desk! The Raspberry Pi Pico uses an HC-SR04 ultrasonic sensor to measure the distance to an obstacle about 16 times a second. As it gets closer, the green, yellow and red LEDs light up in turn and the buzzer beeps faster; under 10 cm the tone turns continuous and the red LED flashes. Ultrasonic ranging, PWM sound and non-blocking timing in one project.

2
Raspberry Pi Pico Button Piano (5 Buttons + Buzzer + Melody Recorder)
PI-19Beginner

Raspberry Pi Pico Button Piano (5 Buttons + Buzzer + Melody Recorder)

A five-key mini piano that remembers what you play! The Raspberry Pi Pico plays DO, RE, MI, FA and SOL on a passive buzzer from five buttons, and a note lasts as long as you hold its key. Hold DO for a second, play your tune, then hold DO again: the Pico plays it back, shortening silences longer than 1.5 seconds between notes to 1.5 seconds. The record indicator is the LED already on the board, so no extra parts. PWM notes, debouncing and non-blocking timing in one project.

Raspberry Pi Pico Parking Barrier (SG90 Servo + 2 LEDs + Button + Buzzer)
PI-20Beginner
Premium

Raspberry Pi Pico Parking Barrier (SG90 Servo + 2 LEDs + Button + Buzzer)

A small model of the boom barrier at a car park entrance! Press the button and the Raspberry Pi Pico raises the arm smoothly with an SG90 servo as the green LED comes on. It stays open for 3 seconds, then lowers slowly with a flashing red LED and warning beeps from the buzzer. Press again while it is lowering and the arm rises at once for safety. Servo control, a state machine and non-blocking timing in one project.

Arduino Cyclone Game: Stop the Light in the Middle (7 LEDs + Button + Buzzer)
AR-102Beginner
Premium

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.

Arduino Touchless Trash Can (HC-SR04 + SG90 Servo + LED)
AR-104Beginner
Premium

Arduino Touchless Trash Can (HC-SR04 + SG90 Servo + LED)

Wave your hand and the lid opens by itself! When the HC-SR04 ultrasonic sensor sees your hand closer than 15 cm, an SG90 servo lifts the lid in half a second and an LED lights up. Once the hand is gone, the lid waits 3 s and closes slowly. If the sensor detects a hand while the lid is closing, it reopens; contact is still possible because of measurement delays or an undetected hand. A school project favourite that is genuinely useful at home.

1