Loading Abhiram Reddy Palle

→The labLab 09 / 10 · Microcontroller

ExperimentArduino Uno · ATmega328P

Arduino

The fastest route from idea to blinking LED.

The story, in 3 stages

  1. 01Blink
  2. 02Read
  3. 03React

(01)The instrument

Uno · pin 13Simulated
D13 · LOW
void loop() {
  digitalWrite(13, HIGH);
  delay(500);
  digitalWrite(13, LOW);
  delay(500);
}

Serial monitor · 9600 baud

  1. waiting…

A simulation of how the part behaves — not a recording of mine. Bench photos go in the evidence below.

  1. 01 · Blink

    Hello, world

    An ATmega328P at 16 MHz with 5 V logic. The first program on any of them is the same one: make the LED on pin 13 blink.

  2. 02 · Read

    See what it sees

    Then read something — a button, a sensor — and print it over serial, so you're looking at the same numbers the board is.

  3. 03 · React■

    Close the loop

    Then act on it: when the reading crosses a line, do something. Every prototype after that is a bigger version of this loop.

(03)On my bench

What I actually did with it

  • 01On the bench — the fastest route from idea to blinking LED

[ADD — your first Arduino builds]

(04)Evidence

The UnoFig. 01
Next on the bench — 10 / 10Output experimentLEDs & buzzer→The cheapest user interface there is — and the loudest.