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

ESP32 Slot Machine Game (OLED Display + Button + Buzzer)
Pull the lever and watch the reels spin! This ESP32 project spins three reels of cherry, bell, BAR and 7 icons on a 0.96 inch OLED with a realistic slow-down, all from one button. The credits are purely virtual, with no real money involved: the goal is to learn the probability and random numbers behind games of chance. If the first two reels match, the third spins longer for suspense, 7-7-7 plays a JACKPOT tune, and Preferences keeps the credits.

ESP32 Mini Music Box (OLED Display + 3 Buttons + Buzzer)
Three buttons, a buzzer and five classic tunes: a pocket music box built with an ESP32! The 0.96 inch OLED shows a playlist, and the previous, play/pause and next buttons move between Ode to Joy, Für Elise, Jingle Bells, Happy Birthday and Twinkle Twinkle. While a tune plays, the note name appears and its key lights up on a two-octave piano keyboard, with elapsed time and a progress bar. All tunes are public domain, played on a passive buzzer.

ESP32 Color Drawing Tablet (ILI9341 + Joystick + Buttons)
Push the joystick and draw! We are building a small drawing tablet with an ESP32 and a 2.8 inch ILI9341 color display. The joystick moves the cursor faster the further you push it, and four buttons lift the pen, change the color (8 colors + eraser) and brush size, and clear the canvas. In mirror mode every stroke is copied to the other side, so hearts and butterflies draw themselves.

ESP32 microSD Temperature and Humidity Logger (DHT22 + ILI9341 Graph)
Log the temperature of a room, greenhouse or fridge all day long! An ESP32 measures temperature and humidity with a DHT22 every 2 s and writes each reading to a CSV file on a microSD card. The ILI9341 color display shows live values, min and max, and a two-color live graph of the last 30 readings. Plug the card into your computer and open the file in Excel.

ESP32 Smart Lamp with Rotary Encoder Menu (KY-040 + OLED + NeoPixel Ring)
One knob, five settings! Turn the KY-040 rotary encoder to scroll the menu on the 0.96 inch OLED, press it to edit the color, brightness, effect, sleep timer or warm-cool white. The 24-LED NeoPixel ring shows every change instantly. Settings live in the ESP32 flash, so after a power cut the lamp comes back exactly as you left it. Interrupt-based encoder reading and a menu UI in one project.

ESP32 Egg Incubator Controller (DHT22 + Relay + Servo + OLED)
Hand the hen's job to an ESP32! The DHT22 measures temperature and humidity, a relay switches the heater with hysteresis, an SG90 servo gently tilts the egg tray every 3 hours, and the 0.96 inch OLED shows the day counter, a temperature graph and alarms. Chicken, quail and duck profiles are built in, and turning stops by itself for the last 3 days. If the sensor fails, the heater switches off for safety.

ESP32 Rhythm Game (8x8 NeoPixel Matrix + 4 Buttons + TM1637)
Notes rain down, and if you hit them on time you're the one playing the song! Colored notes fall down 4 lanes of an 8x8 NeoPixel matrix; press the right button the moment one reaches the bottom row and the buzzer plays that note of the melody. The score is on a TM1637 display and combos multiply your points. Üsküdar'a Gider İken, Ode to Joy and Jingle Bells are built in, with an S/A/B/C grade at the end and fireworks for a new record.

ESP32 Smart Curtain (NEMA 17 + A4988 + LDR + OLED)
The curtain opens by itself when the sun comes up and closes after dark! An LDR measures the light, an A4988 driver turns a NEMA 17 stepper with a soft start and stop, and the 0.96 inch OLED shows a window drawing, how open the curtain is and a sun or moon. Two buttons open and close it by hand, and holding one stops it halfway. The position is saved to flash, so after a power cut the curtain knows where it is.

ESP32 Ambient TV Backlight (ILI9341 TFT + WS2812B LED Strip)
A TV backlight that spills the colors of the screen edges onto the wall! A 2.8 inch ILI9341 display plays the TV with six scenes; the ESP32 averages the color of each edge zone and sends it to a 34-LED WS2812B strip along the left, top and right. Exponential smoothing and gamma correction keep the fades soft, a potentiometer sets the brightness and a button switches between demo, warm white, colors from the computer and off.

ESP32 Virtual Pet (OLED + 3 Buttons + Buzzer)
The pocket toy of the 90s is back on an ESP32! A pixel baby hatches from an egg on the 0.96 inch OLED; with 3 buttons you feed it, play a mini game, clean up after it and switch off the light so it can sleep. Hunger, happiness, energy and cleanliness drop over time, and the passive buzzer beeps when it needs you. It grows into a different adult depending on your care, and since its state lives in NVS, it waits for you even after you unplug it.

ESP32 Weather Needle (Servo + WS2812B LED Ring + OLED)
A gauge that shows the weather with a needle and light instead of text! Over Wi-Fi the ESP32 fetches the current weather of six cities in one request; an SG90 servo needle points at sunny, partly cloudy, cloudy, rain or snow-storm on a card. A 24-LED ring shows the temperature as color and the weather as animation, and a 0.96 inch OLED shows city, temperature and wind. A button changes the city; hold it for a demo.

ESP32 Drumming Robot (2 Servos + OLED + Buzzer)
A little robot that plays the drums on your desk! Two SG90 servo arms become drumsticks and hit a box or a cup, while a passive buzzer adds the bass hits and a click on each bar. There are 6 rhythms, including rock, disco, march, halay, çiftetelli and 9/8; a potentiometer sets the tempo from 60 to 180 BPM and tapping the TAP button in time teaches the robot your speed. A 0.96 inch OLED shows a 16-step grid with a moving cursor.
