Arduino Tutorials

Here you will find a growing number of examples and tutorials for accomplishing specific tasks or interfacing to other hardware and software with Arduino. For instructions on getting the board and environment up and running, see the Arduino guide.

Digital Output

Blinking LED

The traditional first task, this tutorial shows you how to turn an LED on and off with your Arduino board.

Knight Rider example

Connect multiple LEDs to your Arduino board using a breadboard, and turn on them on and off.

Digital Input

Read a Pushbutton

The simplest sensor.

Read a Tilt Sensor

These use the same wiring and code as a push-button, but can detect movement and orientation of objects.

Analog Input

Read a Potentiometer

This is a knob, one of the simplest analog sensors, used to detect rotation.

Read a Resistive Sensor?

These include light sensors, temperature sensors and more.

Read a Piezo Sensor

3 LED cross-fades with a potentiometer

3 LED color mixer with 3 potentiometers

Share