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

Pico Sleep Tracker: How Many Times Did You Turn Last Night? (MPU-6050 + OLED)
An MPU-6050 under your pillow watches the pillow's tilt all night. If the sensor shakes and comes back to the same posture it counts a move; if it settles at a new tilt it counts a turn. Events are logged hour by hour, and in the morning the OLED screen shows an hourly bar chart of the night and a sleep score from 0 to 100. One button starts the night, flips the report pages and ends the night when you hold it. The screen switches itself off while you sleep.

ESP32 IoT Room Station (Relay + DHT22)
Turn your lamp on from your phone and watch your room's temperature and humidity live, wherever you are. This project is the step-by-step guide to the Room station IoT template in the app, built with an ESP32, a relay module and a DHT22. Go to Workshop › Devices › Add a device and pick Room station; Ohmi prepares the code with your own device key. The code on this page is an example: the key and Wi-Fi details are placeholders.

ESP32 IoT Plant Watering (Soil Sensor + Pump)
Let the pump start by itself when the soil in your pot dries out, and watch the soil moisture live on your phone. This project is the step-by-step guide to the Soil moisture + pump IoT template in the app, built with an ESP32, a soil moisture sensor, a relay and a mini water pump. Go to Workshop › Devices › Add a device; Ohmi prepares the code with your own device key. The code on this page is an example: the key and Wi-Fi details are placeholders.

Timer1 Stopwatch That Never Drifts (Arduino + TM1637)
The Timer1 hardware counter fires an interrupt every 10 ms and the stopwatch counts hundredths with it; however busy the loop gets, the time does not drift. Next to it a second clock counts with delay(10), and button B lets you compare the two on the TM1637 display. In the video, over 15.36 seconds the delay clock counted only 6.22. Covers CTC mode, the prescaler, the OCR1A maths and the ISR.

Arduino Talking Distance Robot: A Robot That Talks When You Come Closer (HC-SR04 + DFPlayer Mini + Speaker)
A robot that stays quiet while nobody is around and talks with a real voice when someone comes closer. The HC-SR04 measures the distance and the DFPlayer Mini plays MP3 files from a microSD card through a speaker: "Hello! I'm the BlueGrays robot." at 150 cm, "You're a bit close." at 60 cm, "Too close, step back!" at 20 cm and "See you!" when you leave. Each band has two sentences that take turns. A median filter and hysteresis stop it chattering at a border.

ESP32 Power Outage Alert: A Telegram Message to Your Phone When the Power Goes Out (Voltage Divider + OLED + Power Bank)
When the power goes out at home, a Telegram message reaches your phone with the time, and when it comes back you get the outage length. The 5 V of an adapter in the wall socket is read by the ESP32 through a voltage divider; the ESP32 runs from a power bank, so it keeps working during the outage. The OLED shows the state, voltage and duration, and a buzzer beeps. There is no connection to the 230 V mains, only the 5 V side of the adapter is measured.

Arduino Talking Thermometer: A Device That Says the Temperature at the Push of a Button (DS18B20 + DFPlayer Mini + Speaker)
Press the button and hear the room temperature in a real voice: "Temperature, twenty-three degrees." The DS18B20 measures it, the DFPlayer Mini plays an MP3 file from the microSD card through the speaker. Every degree has its own sound file (-20 to 50) and the code finds the right one by its number. Above 35 degrees it warns "Too hot!", and it says so when the sensor is missing.
