0% found this document useful (0 votes)
26 views

Arduino - Getting Started

This document provides an introduction to using Arduino for interactive digital multimedia projects. It discusses how Arduino is used by digital artists and designers for physical input and output. The Arduino platform includes inexpensive hardware and easy-to-use software. The document guides the reader through downloading the Arduino IDE, connecting an Arduino board to their computer, and running their first program to blink an LED. It introduces some key Arduino concepts and functions. The learning objectives are to download and install the Arduino software, connect and program an Arduino board, modify example programs, and learn to use the Arduino IDE.

Uploaded by

Asma Ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Arduino - Getting Started

This document provides an introduction to using Arduino for interactive digital multimedia projects. It discusses how Arduino is used by digital artists and designers for physical input and output. The Arduino platform includes inexpensive hardware and easy-to-use software. The document guides the reader through downloading the Arduino IDE, connecting an Arduino board to their computer, and running their first program to blink an LED. It introduces some key Arduino concepts and functions. The learning objectives are to download and install the Arduino software, connect and program an Arduino board, modify example programs, and learn to use the Arduino IDE.

Uploaded by

Asma Ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

IDMT

Arduino: Getting Started

Prof. Nick Bryan-Kinns


Interactive Digital Multimedia Techniques
Interactive Digital Multimedia Techniques
Interactive Digital Multimedia Techniques
Interactive
Human interactionDigital
/ Multimedia
Graphics Techniques
Audio & Video
Interfacing with the physical world

HumanInteraction/
Human interaction /
Human interaction / world Graphics
Graphics AudioAudio
& Video
Interfacing
Interacting with the physical Graphics Audio & Video
Interfacingwith
withthe
thephysical
physicalworld
world Max/MSP & Jitter

Max/MSP & Jitter


Processing Max/MSP & Jitter

PureData
Processing
Processing
Bela OpenFrameworks
PureData
PureData
Bela OpenFrameworks SuperCollider
Bela OpenFrameworks

SuperCollider
SuperCollider
Arduino
Many Digital Artists and Interaction Designers use it: “an open-
source electronics platform based on easy-to-use hardware
and software”

Good for physical input and output in creative projects


Can run as stand-alone or connected to a computer
Low power, low cost
As well as the hardware there is a flexible software sketchbook
similar to the Processing IDE

https://www.arduino.cc
Learning objectives
Download Arduino
Connect Arduino to your computer
Install and run programs on Arduino
Modify programs on Arduino
Learn to use Arduino IDE
15 projects
We don’t go through
these in class
Good to try to practice
your skills

Good background on
electronics p. 22-25
What’s in your kit
Arduino Breadboard USB cable
Battery Snap

Light sensors Diodes MOSFETs


LEDs Wires
Temperature Transistors
sensor

Motor

Resistors Buttons Potentiometers LCD Display

Motor
Driver
Capacitors Piezo Speaker Servo Motor
Arduino
Digital inputs/ outputs

USB

Power & Analog inputs


ground
Download the Arduino IDE
https://www.arduino.cc/en/Main/Software
Arduino IDE
First project
1. Plug in Arduino to computer (USB)
2. Launch Arduino software

3. Open Blink example


First project
4. Select Arduino Uno board

(not “Leonardo” unless your board says so)

5. Select correct serial port: /dev/cu.usbmodem...


First project
6. Upload sketch onto your Arduino

Watch here!
This runs once,
at the beginning:

This runs in a loop,


forever:
This is a function call
What goes inside the ()
are the arguments

Lines starting with //


are comments

Don’t forget the


semicolons!!!
pinMode() sets the pin
as an output, rather
than an input

digitalWrite() sets the


value of the pin (HIGH
= 5V, LOW = 0V)

delay(), well, delays...

How do you make the


LED blink faster?
Learning objectives
Download Arduino
Connect Arduino to your computer
Install and run programs on Arduino
Modify programs on Arduino
Learn to use Arduino IDE

You might also like