You are on page 1of 41

Gettingstartedwithinteractiveprojects

usingtheArduino,MaxandProcessing

Whats a micro-controller?

Whats a micro-controller?
A Micro-controller is an integrated circuit that contains many of the
same items that a desktop computer has, such as CPU, memory,
etc., but does not include any human interface devices like a
monitor, keyboard, or mouse. Micro-controllers are mostly designed
for machine control applications, rather than human interaction.

Whats a micro-controller?
A Micro-controller is an integrated circuit that contains many of the
same items that a desktop computer has, such as CPU, memory,
etc., but does not include any human interface devices like a
monitor, keyboard, or mouse. Micro-controllers are mostly designed
for machine control applications, rather than human interaction.
Micro-controllers paired with all the peripherals they need to be selfsufficient, such as the Arduino Board, are sometimes called singleboard computers.

QuickTime and a
TIFF (Uncompressed) decompressor
are needed to see this picture.

What is Arduino?
Open Source Physical Computing Platform
Open source: free to inspect & modify
physical computing platform for all sorts of projects
A physical board, a programming environment, a development
philosophy
Tiny computer you can program to do all sorts of tasks
Completely stand-alone, or used to communicate with other
devices

What is Arduino?
Arduino is also a standardized bootloader
A tiny program that loads other programs
Its alive during first 5 seconds
After 5 seconds, your program runs
Dont need special programmer board with a bootloader

What is Arduino?
Capabilities
8 kBytes of Flash program memory
1 kByte of RAM
12 MHz (Apple II: 1 MHz)
Inputs and Outputs
13 digital input/output pins
5 analog input pins
Digital I/O can read switches and buttons, control LEDs and motors
Analog input can read knobs or other varying sensors
Analog output can be done with PWM

Arduino is very similar to Basic Stamp (if you know it)


but cheaper, faster, & open source
Uses AVR ATmega8 or Atmega168 microcontroller chip
Basic Stamp uses PIC microcontroller chip.
PICs and AVRs are very comparable, ones not necessarily better than the other
AVRs are a little easier if youre using a language like C (stack-based)
Dont need to worry about the chip particulars for now

QuickTime and a
TIFF (Uncompressed) decompressor
are needed to see this picture.

Edgesareusedas
powerbusessupplying
common+and
chargesacrosstheboard.

QuickTime and a
TIFF (Uncompressed) decompressor
are needed to see this picture.

QuickTime and a
TIFF (Uncompressed) decompressor
are needed to see this picture.

QuickTime and a
TIFF (Uncompressed) decompressor
are needed to see this picture.

QuickTime and a
TIFF (Uncompressed) decompressor
are needed to see this picture.

Change
ledPin
to9

http://www.processing.org

Tryexamplefadingwiththesamecircuit

QuickTime and a
TIFF (Uncompressed) decompressor
are needed to see this picture.

init
setup
QuickTime and a
TIFF (Uncompressed) decompressor
are needed to see this picture.

loop

QuickTime and a
TIFF (Uncompressed) decompressor
are needed to see this picture.

ArduinoDimmer
SimpleMAXpatchtosenddatatothearduino

QuickTime and a
TIFF (Uncompressed) decompressor
are needed to see this picture.

1)QuitMax
2)Inthearduinoenvironmentopen:
arduinoSerialreader_wiring.pde
3)UploadtoArduino
4)startMax
5)openArduino2Max_MaxPatch

QuickTime and a
TIFF (Uncompressed) decompressor
are needed to see this picture.

QuickTime and a
TIFF (Uncompressed) decompressor
are needed to see this picture.

Gas Sensor
Gyro

Accelerometer

Pendulum Resistive
Tilt Sensors

Metal Detector
Piezo Bend Sensor

Gieger-Muller
Radiation Sensor
Pyroelectric Detector
UV Detector

Resistive Bend Sensors

Digital Infrared Ranging

CDS Cell
Resistive Light Sensor

Pressure Switch
Miniature Polaroid Sensor
Limit Switch

Touch Switch
Mechanical Tilt Sensors

IR Pin
Diode

IR Sensor w/lens

Thyristor

IR Reflection
Sensor

Magnetic Sensor

Hall Effect
Magnetic Field
Sensors

Magnetic Reed Switch

IR Amplifier Sensor

Polaroid Sensor Board

IRDA Transceiver

Lite-On IR
Remote Receiver

Radio Shack
Remote Receiver

IR Modulator
Receiver

Solar Cell
Compass

Compass

Piezo Ultrasonic Transducers

Resistive Sensors
Bend Sensors
Resistance = 10k to 35k Ohms (usually)
Force to produce 90deg = 5 grams
www.jameco.com = 12$
Potentiometers
Fixed Rotation Sensors
Easy to find, easy to mount

Resistive Bend Sensor

Potentiometer

Light Sensor
Good for detecting direction/presence of light
Non-linear resistance
Cadmium Sulfide Cell

Force Sensing Resistors


FSRs

Call and ask for pricelist


And Fsr guide

You might also like