Back to index
03Hardware

Bench

Where I started with physical electronics: an Arduino Uno, a breadboard, and a handful of small projects that taught me the basics before I touch anything bigger.

RoleCircuits, code
BoardArduino Uno
Started2026
StatusLearning fundamentals

Timeline

Click a stop to open the chapter
2026

Blinking lights

Started with the obvious first project: a single LED blinking on a breadboard, wired to an Arduino Uno — the usual starting point for learning digital output.

First real hands-on with a microcontroller instead of just software
Basics of digitalWrite and timing with delay()
2026

Fading + buzzer

Moved on to PWM-based fading on the LED, and added a buzzer for sound — the first step past simple on/off into analog-style output and basic audio.

PWM fading instead of hard on/off
First time driving a buzzer alongside an LED
Now

Clap control

Wired a microphone/sound sensor to control a bulb: one clap turns it on, three claps turn it off — the first project that reacts to something in the room instead of running on a fixed timer.

First use of a sensor as input rather than just driving outputs
Had to distinguish between one clap and three, not just detect sound

Milestones

What broke

Telling one clap from three reliably
Had to work out sensor sensitivity and a timing window so the circuit could actually count claps instead of just reacting to any loud noise.
Going from blinking an LED to reacting to input
The first two projects were pure output; the clap sensor was the first time input from the room had to drive a decision, which meant thinking in terms of state instead of a fixed sequence.

From the repo

bench/clap_control.ino
// Clap-controlled bulb: 1 clap = on, 3 claps = off
int clapCount = 0;
unsigned long lastClap = 0;

void loop() {
  if (analogRead(MIC_PIN) > THRESHOLD) {
    if (millis() - lastClap < CLAP_WINDOW_MS) clapCount++;
    else clapCount = 1;
    lastClap = millis();

    if (clapCount == 1) digitalWrite(BULB_PIN, HIGH);
    if (clapCount == 3) { digitalWrite(BULB_PIN, LOW); clapCount = 0; }
  }
}
BoardArduino Uno
SensorSound / microphone module
OutputLED, buzzer, relay-driven bulb
Status3 small projects done
Next project
Rig & Web
Open →