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

ESP32 Deep Sleep — Battery Saving (OLED + RTC RAM Counter)
The ESP32's Deep Sleep mode shuts down the CPU and most peripherals, cutting current draw to about 10µA, which is vital for battery-powered IoT devices. This project uses three wake-up sources: a timer (15 s), an external pin (EXT0, the button on GPIO 33) and a touch pin (T0/GPIO 4). Counters marked with RTC_DATA_ATTR survive deep sleep.

ESP32 Prayer Rakat Counter (HC-SR04 + SSD1306 OLED + 2 Buttons)
Do you sometimes lose track of which rakat you are on during prayer? This project is a rakat counter that sits next to your prayer mat and counts your prostrations when you bring your hand close. The HC-SR04 ultrasonic distance sensor detects your hand, the SSD1306 OLED display shows the count, and two buttons let you choose 2, 3 or 4 rakats and reset. A 2.5-second debounce and a "hand-away" check make sure no prostration is counted twice.

ESP32 Color Mixer Light (3 Potentiometers + RGB LED + OLED)
A smart color-mixer lamp: turn 3 potentiometers on the ESP32 and mix any color you like! As you turn the red, green and blue potentiometers, the common-cathode RGB LED changes color instantly. The SSD1306 OLED display shows each channel's 0-255 value, fill bars and the HEX web color code (like #FF8040) live.

ESP32 Temperature Data Logger (DHT22 + DS1307 RTC + microSD + OLED)
Build a timed temperature and humidity logger with the ESP32! A DHT22 sensor reads temperature and humidity once a minute, and each reading is saved to a microSD card in CSV format with a real-time stamp from the DS1307 RTC module. The OLED display shows the latest temperature, humidity, timestamp and total number of records live, in large text.

Raspberry Pi Pico Mini Oscilloscope (ILI9341 TFT Display + Potentiometer + PWM Test Signal)
A student version of the lab oscilloscope: the Raspberry Pi Pico's ADC takes thousands of samples a second and the ILI9341 colour screen draws the signal on a grid. A trigger holds the wave still while frequency, duty cycle and peak-to-peak voltage are measured. GP15 makes its own PWM test signal, ROLL mode scrolls both channels like a chart recorder and HOLD freezes the picture. It measures 0–3.3 V only.

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.

Raspberry Pi Pico Maze Hunter: Eat the Dots, Dodge the Ghosts (OLED + Joystick + Buzzer)
The maze chase of the 80s arcades, now on a Raspberry Pi Pico: a hero with a chomping mouth eats the dots in a maze on a 0.96 inch OLED while two ghosts hunt it, each in its own way. You steer with a joystick, and a buzzer plays the chomp, the siren and the intro tune. A power dot scares the ghosts for 6 seconds, and suddenly you are the hunter. 3 lives, ghosts that speed up every level and a high score that survives a power cut.

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.

Raspberry Pi Pico W Moon Landing: Touch Down Before the Fuel Runs Out (OLED + Pot + 2 Buttons + Buzzer)
A moon landing in the style of a 1979 arcade classic, now on a Raspberry Pi Pico W: a potentiometer is the engine throttle, two buttons turn the module. Moon gravity keeps pulling it down while a 0.96 inch OLED shows fuel, vertical and sideways speed. Touch down upright on a pad below 2 m/s to score; when the single tank is empty, the game is over. A game and a physics lesson: at exactly half throttle the module hovers.

Raspberry Pi Pico W Solar System Simulator: Gravity (OLED + 2 Pots + Button)
Mercury, Venus, Earth and Mars start from their real places on the 21 December 2026 solstice and orbit by Newton's gravity on a 0.96 inch OLED. A potentiometer sets the Sun's mass from 0 to 2 times: lighter, the orbits open and the planets escape; heavier, the orbits shrink. The second pot speeds up time, the button sends a comet and a long press resets the system.

Pico Pocket Game Console: 3 Games in One (OLED + 5 Buttons + Buzzer)
Build your own handheld console with a 0.96 inch OLED, four direction buttons, an A button and a buzzer. The menu offers three games: in Peg Jump pegs jump over each other, in Lights Off the cell you press and its four neighbours flip, and in Tunnel you dodge the walls of a cave that narrows and speeds up. The menu shows the record of every game; a new record blinks "NEW BEST!" and plays a tune. Holding the A button returns to the menu from anywhere.

ESP32 Tank Duel: Two Player Retro Game (ILI9341 TFT + 2 Joysticks + Buzzer)
A two player tank duel on a color TFT screen, in the style of the two player tank games of the 80s. Each player drives a tank in 8 directions with a joystick and fires by pressing the stick down. Bullets bounce 3 times off the walls: you can hit a rival hiding behind a corner with a bank shot, but your own bullet can come back and hit you too. A tank that is hit explodes and the rival scores 1 point; first to 5 points wins. Score at the top, sounds from the buzzer.
