Projects · Arduino / ESP32 / Pico

Discover Arduino Projects

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

Arduino Smart Thermostat (DHT22 + Relay + I2C LCD)
AR-107Intermediate
Premium

Arduino Smart Thermostat (DHT22 + Relay + I2C LCD)

Room at 19 degrees, target 21: the relay clicks on! The DHT22 measures the temperature, and when it drops below the target the relay turns the heater on. Thanks to hysteresis, the relay does not keep clicking around the target. Two buttons set the target in 0.5 °C steps, and it is kept in EEPROM; the I2C LCD shows temperature, humidity and heater state. The basics of real home automation in one project.

5.0(1)
1
Arduino Tilt Arrow (MPU-6050 + MAX7219 8x8 LED Matrix)
AR-113Intermediate
Premium

Arduino Tilt Arrow (MPU-6050 + MAX7219 8x8 LED Matrix)

Tilt the circuit and the arrow turns to follow! We are building a tilt arrow that points downhill with an Arduino, an MPU-6050 accelerometer and a MAX7219 8x8 LED matrix. The arrow turns in 8 directions, grows as the tilt increases and blinks when it gets very steep. When the circuit is level, a pulsing level sign appears, and the angle and direction are printed to the serial monitor too.

Arduino Smart Car Park (2x HC-SR04 + Servo Barrier + I2C LCD)
AR-119Intermediate
Premium

Arduino Smart Car Park (2x HC-SR04 + Servo Barrier + I2C LCD)

The barrier rises when a car arrives and stays down when the car park is full! An HC-SR04 at the entry and one at the exit detect cars, an SG90 servo lifts the barrier arm smoothly and an I2C LCD shows the free spaces and a fill bar. When it is full, the red LED lights, and a barrier that sees a car under it while lowering goes back up. The counter is kept in EEPROM; perfect for a smart city school project.

Arduino Toy Car Speed Radar (2 HC-SR04 + TM1637 Display)
AR-128Intermediate
Premium

Arduino Toy Car Speed Radar (2 HC-SR04 + TM1637 Display)

A speed radar for toy cars! Two HC-SR04 sensors sit 20 cm apart beside the track and time the car as it passes them with micros(): speed = distance / time. The TM1637 shows the result in cm/s, km/h or as the 1:64 scale real-life speed. Over the limit, a white LED fires like a speed camera flash and a siren sounds; the reverse direction shows a minus sign and the record stays in EEPROM.

Arduino 5-Minute Shower: A Clock That Starts Itself with Steam (DHT22 + TM1637 + Buzzer)
AR-146Beginner
Premium

Arduino 5-Minute Shower: A Clock That Starts Itself with Steam (DHT22 + TM1637 + Buzzer)

End the "who has been in the shower for 20 minutes?" fight at home: a DHT22 notices the humidity rising with the steam and the clock starts by itself, nobody has to press a button. A TM1637 display shows minutes:seconds, and a green, yellow and red LED tell the time by colour. The buzzer sounds at minute 5, then gives a short reminder every minute. When the humidity drops, the timer stops and the final time stays on the display.

Arduino Industrial Sorting Conveyor: Boxes Sorted by Height (NEMA 17 + A4988 + HC-SR04 + Servo + LCD)
AR-147Advanced
Premium

Arduino Industrial Sorting Conveyor: Boxes Sorted by Height (NEMA 17 + A4988 + HC-SR04 + Servo + LCD)

A desktop model of a factory sorting line: a NEMA 17 stepper on an A4988 driver keeps the belt moving, and an HC-SR04 above the belt measures the height of every passing box. Each box is tracked by belt steps from the sensor to the arm; boxes of 6 cm and up are pushed aside by an SG90 servo arm, low ones carry on. The I2C LCD counts short and tall boxes and shows the last reading and how many boxes are on the belt.

Arduino Industrial Mixing Tank: Fill, Mix, Drain with PLC Logic (HC-SR04 + 2 Relays + NEMA 17 + A4988 + LCD + E-Stop)
AR-152Advanced
Premium

Arduino Industrial Mixing Tank: Fill, Mix, Drain with PLC Logic (HC-SR04 + 2 Relays + NEMA 17 + A4988 + LCD + E-Stop)

The classic batch process task from industrial automation classes: fill the tank, mix, drain, count the batch. The code runs step by step with PLC logic (S0 IDLE → S1 FILL → S2 MIX → S3 DRAIN → S4 DONE). Two relays open the inlet and outlet valves, an HC-SR04 measures the level and a NEMA 17 mixer turns and reverses. It has START, STOP, a latching EMERGENCY STOP, a tower lamp and a timeout fault.

Santa Trap: What Time Did He Come? (Arduino + PIR + DS1307 + LCD)
AR-158Intermediate
Premium

Santa Trap: What Time Did He Come? (Arduino + PIR + DS1307 + LCD)

The trap arms itself when the light goes off. If the PIR sees motion, the time is read from the DS1307 and saved, and the servo camera swings left and right; all night the I2C LCD gives nothing away. When the light returns in the morning, the screen shows the time of the first visit and how many visits there were. Night/day sensing with an LDR and hysteresis, PIR rising edge detection and non-blocking servo motion with millis() are in the code.

Homemade Yogurt Maker: 8 Hours at 43 °C (Arduino + DS18B20 + PID)
AR-159Advanced
Premium

Homemade Yogurt Maker: 8 Hours at 43 °C (Arduino + DS18B20 + PID)

A waterproof DS18B20 measures the milk, and a PID loop drives the relay in a time window to hold the heater at 43 °C. Once the temperature reaches the target, an 8-hour countdown starts. The I2C LCD shows the temperature, the PID output and the time left, and the buzzer sounds when time is up. Two buttons set the target (38-46 °C) and the duration (4-12 hours). Active-low relay handling, sensor fault and overheat protection are in the code.

The Counter That Never Misses: Interrupt or Loop? (Arduino + TM1637)
AR-166Beginner
Premium

The Counter That Never Misses: Interrupt or Loop? (Arduino + TM1637)

An interrupt and the loop both watch the same button: on the TM1637 display the loop's count sits on the left, the interrupt's on the right. While the loop does a slow 300 ms job it misses most fast presses (only 7 of 18 in the video), the interrupt misses none. With the MODE button you set the slow job to 0, 100 or 300 ms and measure the difference yourself. Covers attachInterrupt, volatile and safe reading.

Timer1 Stopwatch That Never Drifts (Arduino + TM1637)
AR-167Intermediate
Premium

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 Excitement Meter: A Lie Detector Game You Play with Your Fingers (Voltage Divider + 5 LEDs + Buzzer)
AR-173Beginner
Premium

Arduino Excitement Meter: A Lie Detector Game You Play with Your Fingers (Voltage Divider + 5 LEDs + Buzzer)

A lie detector style party game: you put two fingers on two foil electrodes and the Arduino first measures your calm baseline. As excitement grows, skin resistance drops and the voltage divider output rises: the 5-LED bar fills, the buzzer climbs like a heart monitor and a sudden jump sets off a siren. A 100 nF capacitor steadies the reading, and the Serial Plotter shows it as a graph. Just for fun, not a real lie detector.