Foundations · arduino-introduction

What Arduino is, and what it can control

Question: How can a small board respond to something happening in the physical world?

Understand the idea

Arduino is an ecosystem of boards, software, and libraries for building devices that interact with the physical world. A microcontroller board can read a button or sensor, run a program, and change an output such as an LED or a motor driver. Some boards also provide networking features, but the exact capabilities depend on the board.

A typical sketch has setup work that runs once and a loop that repeats. The program reads inputs, makes a decision, and commands outputs. For example, a light sensor can provide a measurement; the sketch compares it with a threshold; then a transistor or driver switches a lamp. The board's GPIO is only the control signal, not a safe power source for every load.

Arduino is useful for learning electronics, making prototypes, and controlling modest real-time tasks. Choose the board and framework against the job: voltage levels, current, memory, timing, connectivity, and support all matter. A Raspberry Pi or another small computer is a better fit when the application needs a full operating system, desktop software, or heavier computing.

Worked example

For an automatic night light, the sensor is the input, the threshold comparison is the decision, and an LED plus resistor is the output. Test it by printing the raw sensor value first, then set a threshold based on readings in both bright and dim conditions.

Try it at the bench

  1. Name one input and one output in a device you use every day.
  2. Draw a simple path: input → microcontroller decision → output. Draw the power path separately.
  3. Choose a board for a small sensor project and look up its logic voltage, analog inputs, and supported programming environment before wiring it.

Check your understanding

Does every Arduino-branded or Arduino-compatible board have the same pin voltage and capabilities?

Show the answer

No. Boards differ in processor, logic voltage, pin functions, current limits, memory, and connectivity. Check the exact board's documentation before wiring a circuit.

Browse all course lessons