Tag

#arduino

43 tutorials

arduino 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.

arduino 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.

arduino 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.

esp32 beginner 15 min

ESP32: install the toolchain the right way

Set up the Arduino IDE for ESP32 the way that does not break six months from now. Boards manager URLs, USB drivers, and the port detection traps.

arduino 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.

arduino 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.'