Emerging Interfaces

Getting Started With Arduino Sensors: Build Your First Interactive Installation

This beginner tutorial covers physical computing from the first blink — wiring a sensor to an Arduino Uno, reading its values, and using them to drive light, sound, or motion so an artwork responds to the people in front of it.

Camera-based interaction, like the MediaPipe hand tracking covered in this site’s other emerging-interfaces tutorial, is one path to responsive art. Physical computing is the other: real sensors wired to a microcontroller, reacting to touch, distance, light, and motion in the physical world. Arduino for Artists — Interactive Art Tutorial using Arduino Uno walks through that path from the very beginning, aimed at artists with no electronics background who want an object, not a screen, to do the responding.

Sensor in, actuator out — the whole mental model

Every interactive installation is the same loop: read the world, decide, change something. On an Arduino that’s digitalRead/analogRead from a sensor, an if statement, and a write to an actuator — an LED, a servo, a speaker. The tutorial’s value is making that loop concrete with real hardware, because the conceptual leap for artists isn’t the code (it’s a few lines) but the wiring: understanding that a sensor returns a number, that the number has a range, and that your art is the mapping from that range to a response.

Analog values are where the expression lives

A switch is on or off, but the sensors that make installations feel alive — ultrasonic distance, light, pressure, potentiometers — return a continuous range. Learning to read those analog values and map() them to something expressive (distance controls volume, light level controls color, pressure controls a motor’s speed) is the core craft. Get comfortable printing sensor values to the serial monitor and watching them change as you move; that habit of seeing the data is what turns guesswork into deliberate design.

Where to go next

Once a single sensor drives a single actuator, everything scales from there: multiple sensors, smoothing noisy readings, and eventually sending values out of the Arduino to software. That last step is the bridge to the rest of this site’s coverage — an Arduino can pipe sensor data over serial into TouchDesigner, Processing, or a p5.js sketch, letting a physical sensor drive generative visuals or sound. Start with one sensor and one light; the installation grows one wire at a time.