![Page 1: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/1.jpg)
Getting started with interactive projects
using the Arduino, Max and Processing
![Page 2: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/2.jpg)
What’s a micro-controller?
![Page 3: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/3.jpg)
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.
What’s a micro-controller?
![Page 4: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/4.jpg)
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 self-sufficient, such as the Arduino Board, are sometimes called “single-board computers.”
What’s a micro-controller?
![Page 5: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/5.jpg)
QuickTime™ and aTIFF (Uncompressed) decompressor
are needed to see this picture.
![Page 6: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/6.jpg)
![Page 7: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/7.jpg)
![Page 8: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/8.jpg)
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
![Page 9: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/9.jpg)
What is Arduino?
Arduino is also a standardized “bootloader”• A tiny program that loads other programs• It’s alive during first 5 seconds
After 5 seconds, your program runsDon’t need special programmer board with a bootloader
![Page 10: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/10.jpg)
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 motorsAnalog input can read knobs or other varying sensorsAnalog output can be done with PWM
![Page 11: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/11.jpg)
• 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, one’s not necessarily better than the otherAVRs are a little easier if you’re using a language like C (stack-based)Don’t need to worry about the chip particulars for now
![Page 12: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/12.jpg)
![Page 13: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/13.jpg)
![Page 14: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/14.jpg)
QuickTime™ and aTIFF (Uncompressed) decompressor
are needed to see this picture.
![Page 15: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/15.jpg)
![Page 16: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/16.jpg)
![Page 17: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/17.jpg)
![Page 18: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/18.jpg)
![Page 19: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/19.jpg)
![Page 20: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/20.jpg)
![Page 21: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/21.jpg)
QuickTime™ and aTIFF (Uncompressed) decompressor
are needed to see this picture.
Edges are used as power “buses” supplyingcommon + and - charges across the board.
![Page 22: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/22.jpg)
QuickTime™ and aTIFF (Uncompressed) decompressor
are needed to see this picture.
![Page 23: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/23.jpg)
QuickTime™ and aTIFF (Uncompressed) decompressor
are needed to see this picture.
![Page 24: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/24.jpg)
QuickTime™ and aTIFF (Uncompressed) decompressor
are needed to see this picture.
![Page 25: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/25.jpg)
![Page 26: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/26.jpg)
Change
ledPin
to 9
![Page 27: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/27.jpg)
![Page 28: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/28.jpg)
http://www.processing.org
![Page 29: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/29.jpg)
![Page 30: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/30.jpg)
QuickTime™ and aTIFF (Uncompressed) decompressor
are needed to see this picture.
Try example “fading” with the same circuit
![Page 31: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/31.jpg)
QuickTime™ and aTIFF (Uncompressed) decompressor
are needed to see this picture.
init
setup
loop
![Page 32: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/32.jpg)
![Page 33: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/33.jpg)
QuickTime™ and aTIFF (Uncompressed) decompressor
are needed to see this picture.
![Page 34: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/34.jpg)
QuickTime™ and aTIFF (Uncompressed) decompressor
are needed to see this picture.
“ArduinoDimmer” Simple MAX patch to send data to the arduino
![Page 35: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/35.jpg)
![Page 36: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/36.jpg)
1) Quit Max
2) In the arduino environment open: arduinoSerialreader_wiring.pde
4) start Max
3) Upload to Arduino
5) open Arduino2Max_MaxPatch
![Page 37: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/37.jpg)
QuickTime™ and aTIFF (Uncompressed) decompressor
are needed to see this picture.
![Page 38: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/38.jpg)
QuickTime™ and aTIFF (Uncompressed) decompressor
are needed to see this picture.
![Page 39: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/39.jpg)
Solar Cell
Digital Infrared Ranging
Compass
Touch Switch
Pressure Switch
Limit Switch
Magnetic Reed Switch
Magnetic Sensor
Miniature Polaroid Sensor
Polaroid Sensor Board
Piezo Ultrasonic Transducers
Pyroelectric Detector
Thyristor
Gas Sensor
Gieger-MullerRadiation Sensor
Piezo Bend Sensor
Resistive Bend Sensors
Mechanical Tilt Sensors
Pendulum Resistive Tilt Sensors
CDS Cell Resistive Light Sensor
Hall EffectMagnetic Field
Sensors
Compass
IRDA Transceiver
IR Amplifier Sensor
IR ModulatorReceiverLite-On IR
Remote Receiver
Radio ShackRemote Receiver
IR Sensor w/lens
GyroAccelerometer
IR Reflection Sensor
IR Pin Diode
UV Detector
Metal Detector
![Page 40: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/40.jpg)
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
Light Sensor• Good for detecting direction/presence of light • Non-linear resistance
Resistive Sensors
Resistive Bend Sensor
Cadmium Sulfide Cell
Potentiometer
![Page 41: Getting started with interactive projects using the Arduino, Max and Processing](https://reader035.vdocument.in/reader035/viewer/2022062408/56649e015503460f94aeaee6/html5/thumbnails/41.jpg)
Call and ask for pricelistAnd Fsr guide
Force Sensing ResistorsFSRs