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

ESP32 Hangman Game (OLED + KY-040 Rotary Encoder + Buzzer)
The classic notebook game hangman on an ESP32 and a 0.96 inch OLED! Turning the KY-040 rotary encoder slides the alphabet strip, pressing it guesses the selected letter. A correct letter flies into place and the green LED lights up; a wrong one adds a piece to the gallows while the red LED and the buzzer complain. Turkish and English words, three categories, a best streak and a two-player mode.

ESP32 8-Bit Sound Effects Box (6 Buttons + OLED + Buzzer + Potentiometer)
Every button is a retro game sound! The ESP32 gives six buttons a coin, jump, power-up, laser, explosion and extra-life sound; none of them is a sound file, each one is generated live on a passive buzzer with PWM duty cycle and frequency slides. The 0.96 inch OLED draws a pixel animation for every sound. A potentiometer shifts the pitch from giant to squirrel, and buttons 1 and 6 together record a short beat.

ESP32 Automatic Cat Toy (PIR + 2 Servos + LDR + Buzzer)
Keep your cat busy while it is home alone! When the PIR sensor spots the cat, the buzzer chirps like a bird and a feather wand on two SG90 servos moves like prey: mouse dash, hide and seek, zigzag, circle and bug jitter. A game lasts one minute, then the toy rests; when the LDR sees darkness it never plays at night. The moves come from the ESP32's hardware randomness, so the cat cannot learn them.

ESP32 Camera Gimbal (MPU-6050 + 2 Servos + OLED)
Discover the secret of phone gimbals yourself! As the handle tilts, the MPU-6050 measures the angle and two SG90 servos turn the opposite way to keep the platform on top level. The angle is worked out 200 times a second with a complementary filter that blends gyroscope and accelerometer. The 0.96 inch OLED draws an artificial horizon like an aircraft gauge, and one button switches between LOCK, FOLLOW and CENTER.

ESP32 Retro Push-Button Phone (Keypad + I2C LCD + Buzzer)
An 80s and 90s payphone on your desk! Lift the handset for a 425 Hz dial tone, dial on the 4x4 keypad, and the other end either rings and answers or gives you the busy signal. Credit runs down while you talk, and the line drops when it is gone. There is A–D speed dial, redial and a credit card too, and the I2C LCD shows every step. A fun first look at state machines and timing that never waits.

ESP32 Arcade Basketball Machine (LDR + TM1637 + 24 LED Ring)
The fairground basketball machine, now on your desk! As the ball drops through the cardboard hoop it cuts the light on the LDR light gate, and the ESP32 counts a basket. Time left is a shrinking arc on the 24 LED ring and the score sits on the TM1637; baskets are worth 3 in the final 10 seconds, and 3 baskets within 2 seconds set the ring on fire. The threshold follows a slow average of the light, so drawing the curtains never scores a basket.

ESP32 Coin Counting Piggy Bank (3 LDR + I2C LCD + Servo Lock)
A piggy bank that tells you how much you have saved! Coins slide down a slanted ramp and drop through the first hole they fit; an LDR light gate under each hole sees the shadow and the ESP32 adds that coin. It is set up for Turkish coins (25 kuruş, 50 kuruş, 1 lira) and easy to switch to yours. The I2C LCD fills a goal bar, a fanfare plays at the goal and the servo lock opens; before that, only a parent can open the lid.

ESP32 Card Dealing Robot (2 Servos + I2C LCD + Buzzer)
Let a robot deal the cards on game night! A turntable servo turns to the next player, a pusher arm servo slides the top card off the deck, and the buzzer clicks for every card. It knows Pişti and Batak, two classic Turkish card games, plus a colour-matching card game with 7 cards each and one face-up card, for 2–4 players with a random first player and pause, cancel and speed control. The I2C LCD shows who gets which card and what is left in the deck.

ESP32 Snack Vending Machine (Keypad + I2C LCD + 3 Servos + Buzzer)
A mini school canteen vending machine on your desk! The 1 and 5 lira buttons add credit, you pick a snack on the 4x4 keypad, and with enough credit that shelf's servo swings a pusher arm and drops it. Change comes in the fewest coins on the I2C LCD, with a jingle per coin. It counts in Turkish lira and is easy to switch to your own coins; a service code opens refill, sales report and prices.

ESP32 Light-Up Piano Teacher (8 LED Strip + 10 Buttons + Buzzer)
Never played the piano? You will play your first song in minutes: the 8 LED strip above the keys lights up the next note in white. The right key plays the note and turns its LED green, a wrong key glows red with a short buzz, and wait 3 seconds for a hint note. TEACH and LISTEN modes, a rainbow play mode, three traditional tunes and an accuracy score with 1-3 stars at the end. Notes play from their frequencies and songs live in two arrays.

ESP32 PID Ball and Beam (HC-SR04 + Servo + I2C LCD + 3 Potentiometers)
The classic control engineering experiment on your desk: a servo tilts a beam and PID holds the ball on target. Three potentiometers change Kp, Ki and Kd live: with P alone the ball swings, D damps it and I cancels the beam's slight lean so the ball lands right on target. The I2C LCD shows the beam, ball and target, plus settling time and overshoot. In SIM mode a physics model rolls the ball; in REAL mode an HC-SR04 measures it.

ESP32 Drawing Robot Arm (3 Servos + ILI9341 TFT Display + 2 Buttons)
A two-joint robot arm draws a heart, a star, a house, a spiral and the word MERHABA on paper, while a third servo lifts and lowers the pen. The ESP32 turns every point into shoulder and elbow angles with inverse kinematics and moves the arm in 0.5 mm steps; if a point is out of reach, it shows OUT OF REACH. The ILI9341 display shows the faint target, the arm moving live and a trace that shifts from red to blue. Two buttons: shape, pause, cancel and speed.
