Teroka Projek Arduino
Ratusan projek dari pemula hingga mahir: gambar rajah litar, kod dan video. Mulakan di tahap mana pun kamu berada.

ESP32 Police Strobe Light Effect
Simulate the strobe lights of a police car by rapidly flashing red and blue LED groups. Using 2 LEDs in each group makes the effect more dramatic. A classic example of fast toggle pattern and group control.

ESP32 Night Light with LDR
Night light where the LED automatically turns on in the dark and off in the light. The D0 (digital out) pin of the LDR Sensor Module is used - the dark threshold is set with the small potentiometer on the module, the module itself generates the HIGH/LOW output. ESP32 just reads this signal with digitalRead(), the code is very simple.

ESP32 Melody Playback with Buzzer
Playing a simple melody (Twinkle Twinkle Little Star) with a passive buzzer. We play notes with tone() and noTone() functions like in Arduino - ESP32 works with the same syntax as Arduino Core 3.0+. Passive buzzer must be used (active buzzer does not play melody).

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().

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 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 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 Robot Dog That Sees You: Wags Its Tail and Barks (HC-SR04 + 2 Servos + Buzzer)
A robot dog that sleeps and snores when nobody is around, then wakes up when you reach out and tilts its head to say hello. The HC-SR04 is its eyes: the closer you get, the faster the tail servo wags, and under 15 cm it barks "woof woof". Walk away and it waits, then sulks: the head servo turns away and the buzzer sighs. Come back and it can't contain its joy. All built on a state machine, a median filter and non-blocking timing.

ESP32 Baby Cradle Rocker (Servo + I2C LCD + 2 Buttons + Buzzer)
A helper for tired parents: an SG90 servo rocks a toy cradle with a soft, sine-like swing while a buzzer quietly plays Brahms' Lullaby. Two buttons give you 3 speeds (SLOW, MEDIUM, FAST), lullaby on/off and a 10, 20 or 30 minute timer, and the I2C LCD shows the mode and the time left. When time is up the cradle never stops dead: the swing fades out slowly and the lullaby slows to its end.

ESP32 Ear Age Test: Can You Hear This Sound? (Speaker + Pot + I2C LCD + Button)
A desk version of the social media "can you hear this sound?" test: a speaker plays beeps that climb step by step from 8 kHz to 20 kHz, and you press the button the moment you stop hearing them. The I2C LCD shows the last frequency you heard and a rough ear age, and a pot sets the volume. It is for fun, not a medical hearing test; start with the volume low.

ESP32 Blooming Tulip Lamp: Opens at a Touch (Servo + 24 LED Ring + TTP223)
The maker world's favourite blooming flower lamp, with a Tulip Era twist: touch the TTP223 sensor and an SG90 servo slowly opens the petals on a soft speed curve while a 24 LED ring fades in from darkness. While it is open, every touch changes the colour: red, purple, yellow, warm white and a tulip garden that drifts around the ring. Hold it and the tulip closes as the light fades out.
