Arduino loyihalarini kashf qil
Boshlang‘ichdan yuqori darajagacha, sxemali, kodli va videoli yuzlab loyihalar. Qaysi darajada bo‘lsang, o‘sha yerdan boshla.

Automatic Lighting with the ESP32 PIR Motion Sensor
In this project an HC-SR501 PIR motion sensor detects someone entering the room and turns on an LED automatically. millis() tracks how long the LED stays on: each HIGH reading refreshes the last-motion time, and the LED turns off at least 10 seconds after the last HIGH. The code also waits 50 ms with delay(50) in every loop, so the loop is not fully non-blocking. Great for stairs, hallways, bathrooms or closet lighting.

ESP32 MQ-2 Gas/Smoke Detector Alarm
In this project, combustible gas (LPG, methane, propane) and smoke detection is performed using an MQ-2 gas sensor module, and a siren-like alarm is played through a passive buzzer upon detection. The sensor's digital threshold output (DO) is connected to GPIO 4 on the ESP32; when gas or smoke exceeds the threshold, DO goes LOW and the alarm is triggered. Sensitivity is adjusted via the module's potentiometer. The passive buzzer is driven using tone() to produce a two-frequency siren effect.

ESP32 RFID RC522 Card Reader (with LCD)
In this project, we will connect the MFRC522-based RC522 RFID module to the ESP32 via SPI and read the card/tag UID. This forms the basis for applications such as door locks, membership systems, and access control. We will display the read UID on an LCD screen; this version does not compare it with an authorized card list. WARNING: The RC522 operates only at 3.3V; supplying 5V will burn out the module!

ESP32 Earthquake Shake Alarm (MPU-6050 + OLED Display + Buzzer)
When your desk shakes, this screen notices first! The ESP32 measures vibration with an MPU-6050 accelerometer and draws a live trace that scrolls like a seismograph on a 0.96-inch OLED display. When the shaking passes the threshold, a passive buzzer sounds a siren and the red LED flashes; one button silences and resets it. It is an educational shake meter, not an official earthquake warning.

ESP32 Prayer Time Clock (Wi-Fi + OLED Display + Buzzer)
How long until Maghrib? The ESP32 gets the time from the internet, pulls your city's prayer times using the Diyanet method and shows the next prayer with a big countdown on a 0.96 inch OLED. When the time comes, a passive buzzer plays a short, gentle chime. Press the button to list all of today's times, or hold it to try the alert right away in demo mode.

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 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 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 Did You Drink Water? Smart Cup Coaster (HX711 + Load Cell + 24 LED Ring + Buzzer)
A coaster that counts the water you drink from your cup's weight: lift the cup and put it back, and the difference is what you drank; a refill is not counted. A 24 LED ring fills up in blue towards a daily 2000 ml goal; skip water for 45 minutes and the buzzer sounds while the empty part pulses orange. The HX711 and load cell average readings for a steady weight; a rainbow spins at the goal.

ESP32 Wi-Fi Plant Watering: Waters When the Soil Dries, Tells Your Phone (Soil Moisture Sensor + Relay + Pump + LCD + ntfy)
Automatic plant watering with an ESP32: the soil moisture sensor is turned into a percentage, and when it drops the relay runs the pump in short pulses, waits for the water to soak in and measures again. A float switch locks the pump when the tank is empty, and a daily limit prevents flooding. After every watering your phone gets "Bitki sulandi (nem %28 -> %65)"; watering keeps going even without Wi-Fi.
