Download presentation
Presentation is loading. Please wait.
Published byMaude Della Anthony Modified over 9 years ago
1
How to Build a Digital-Physical System-Lab Assegid Kidané Fall 2012
2
Outline Week 1- Introduction, overview, breadboard, safety, rules, Fritzing, LED demo Week 2 - Basic electronics, components, ohms law, conventions, test equipment, Wire stripping and soldering Week 3 - Arduino hardware and software Week 4 and on - Various functions and combination setups
3
The Big Picture
4
Steps Define problem and goals clearly Develop flowchart and algorithm Select main components Develop hardware and software Put it together and test Iterate until goals are met
5
Outline Electricity/Water analogy Electrical/Electronic circuit elements Basic formulae Reading and drawing schematics Using datasheets Microcontrollers, Arduino, Sensors, Actuators, Media Software environments Experiential media integration
6
Goal Basic electronics Use of Arduino environment Interactive environment design
7
Circuit Elements Resisitors, Capacitors, Diodes, Transistors Integrated Circuits Subgroup of ICs Microcontrollers (pic, Atmega etc.) Microcontroller development boards Arduino
8
Breadboarding Provides connectivity Allows reconfiguration
9
Connectivity Under the Hood
10
Breadboard in Kit
11
Wiring Pattern
12
Soldering Make permanent connections on the PCB
13
Test Equipment Multimeter Oscilloscope Signal Generator Power Supply Logic Analyzer Hand tools
14
Multimeter Use to measure Voltage, Current and Resistance Some measure frequency, capacitance, temperature and more *** Caution*** Take extra care when measuring current Start with a selection higher than the highest expected value
15
Oscilloscope Provides detailed graphic representation of signals Essential for signals with ac components Usefull for monitoring noise
16
Datasheets Your crucial companion Consult the manufacturer's datasheet if unsure of a device's specific behaviour Of special interest Pinouts Absolute maximum ratings Typical application circuit
17
PCB Design Eagle software
18
Eagle 6.02 Details Easy to use Output files compatible with and accepted by most PCB fabs IDE available for Windows, Mac and Linux Frequently updated library Freeware version available limited to 100 x 80 mm boards, 2 signal layers and 1 sheet
19
Fabrication!
20
General Architecture Participatory Environment ( Installation, Performance) Sensing Data Processing Actuation and Feedback
21
environment sensing Computing Feedback & Actuators
22
Sensors Motion Position, Acceleration, Rotation Pressure Light Sound Temperature Biometric sensors
23
Some Sensors
24
Data Processing Desktop, Laptop Single Board Computer (SBC, Raspberry pi, Beagleboard) Physical Computing Platform (Arduino, Parallax, mbed) Develop using a microcontroller (Pic, Atmega, 8051)
25
Some Processors
26
Introduction to the Arduino Environment Arduino Uno Arduino mini (Stamp) Arduino mini pro (5V, 3.3V, 8Mhz, 16Mhz) Arduino Mega Arduino Nano Arduino Lilypad ATmega Micro controllers Bootloader Installed Open Source IDE for Windows, OSx and Linux
27
Arduino Uno 14 Digital I/Os 6 Analog Inputs 6 PWM Outputs USB Connectivity and Programming USB bus or External Power 16MHz Clock and 32KB Flash Memory
28
Arduino Uno Cont’d USB Port External Power Digital I/Os, PWM, Serial Port Analog Inputs Power and Reset
29
Arduino Mini Pro Small footprint 16k Flash Program ROM 14 Digital and 6 Analog I/Os All UNO features except it needs external hardware for programming
30
Arduino Nano Most Versatile Arduino Arduino Mini(stamp) with built-in USB interface and ICSP header All desirable features of Atmega 328 controller All analog inputs available in standard DIP layout
31
Other Hardware Include ArduinoBT ArduinoXBee Wee Various Sheilds
32
Arduino Programming Simple Fast No programming hardware needed*
33
Sample Code Read a sensor Data = analogRead(pin) Control analog devices(motor, light, etc) analogWrite(pin, strength) Read a digital signal digitalRead(pin) Output a digital signal digitalWrite(pin, HIGH)
34
Output & Actuation Video displays, Projectors Speakers Lights Motors Haptic feedback devices
35
Actuators & Output Devices
36
Max/MSP Allows sophisticated audio and video manipulation and feedback Puredata for an OpenSource alternative with little graphics Many objects exist to interface with almost anything. Either direct or from 3 rd party developers.
37
Experiential Media System
38
Lab Class Kit Arduino Uno LEDs (4) RGB LEDs (3) Stepper motor Stepper driver FSR Piezzo CDS light sensor Mini breadboard USB cable Push button switch IR ranger IR ranger connector 10K potentiometer
39
AME Digital Culture Kit
41
Collect Checkout Forms and Regulation Sheet Tool checkout form Electronic Kit checkout form Lab and equipment maintenance regulations
42
Safety Considerations Avoid cobweb wiring Monitor current consumptionwhen using power supplies Use solid wires on breadboards
43
LED Demo Power from Arduino Use push button switch to turn LED on
44
Resources http://www.arduino.cc/ http://www.sparkfun.com/ http://www.digikey.com/ Books Physical Computing, O'Sullivan and Igoe The Art of Electronics, Horowitz and Hill
45
Web and Contact Info http://bdps-f12.wikispaces.asu.edu assegid@asu.edu 480 309 2686 (cell)
46
Questions?? Thank you
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.