Platform

Arduino

The classic. Cheap, simple, and still the right call when you just need a chip to read a sensor.

40 tutorials

beginner 40 min

Arduino: build a line-following robot

A 2WD robot that follows a black electrical-tape line using three IR reflectance sensors. Bang-bang control done honestly, PID optional.

beginner 30 min

Arduino: Simon-says memory game

Build the Simon memory game with 4 buttons, 4 LEDs, and a buzzer. State machines, tone(), and the game loop that scales to any difficulty.

beginner 40 min

Arduino: build a digital clock with DS3231 + OLED

Build a desk clock that never drifts: a DS3231 RTC keeps time, a 0.96 inch SSD1306 OLED shows it big. Two I2C devices on the same two wires, plus a button to set it.

beginner 30 min

Arduino: read water quality with the TDS module

Measure total dissolved solids with the Gravity TDS module on an Arduino: clean wiring, temperature compensation, calibration, and what TDS cannot tell you.

beginner 30 min

Arduino: build a gas alarm with the MQ-2

Build an MQ-2 gas and smoke alarm on an Arduino: wiring, warm-up, calibration, buzzer code, and the honest limits of a DIY detector.

beginner 25 min

Arduino: persist data with EEPROM, the right way

Save a calibration value or a small setting to EEPROM so it survives a power cycle. The 1 KB on the Uno is enough for hundreds of values if you use it carefully.

beginner 25 min

Arduino: read an HC-SR04 ultrasonic distance sensor

Wire an HC-SR04 to an Arduino and read distance in centimeters. The 40 kHz chirp, the trigger pulse, the echo timing, and the math that turns a microsecond count into a number you can use.

intermediate 30 min

Arduino: control relays for home automation

Drive a relay module from an Arduino to switch mains-powered devices. The most common home automation building block, with all the safety stuff included.

beginner 20 min

Arduino: control a servo motor

Drive a hobby servo (SG90, MG996R) from an Arduino. The shortest path from Arduino to 'something moved.'