Paja

Icon

Rapid prototyping for music, art and design work

Syllabus for Designing Interaction with Electronics 2007

November 12th – 16th


12rd Monday

Introduction: 9.00-9.30 – PDF Slides

  1. Physical Computing example using Director
  2. What do we do in this workshop?
  3. Assignment
  4. A good example of a intuitive interaction

Media Lab Paja Blog: 9.30-10.30

  1. Paja Blog Registration
  2. Writing posts (FireFox, Categories, Post Status, Links, Uploading Image, Youtube video)
  3. Templates for example codes and schematics

Forming Groups: 10.30-11.00

  1. 2 persons in a team
  2. A non-technical person collaborates with a technical person.
  3. Software preference (Max/MSP, PD, Director, Flash, Processing, s60py etc.)

Idea Creation: 11.00-13.00

  1. Walk around Taik and observe objects and people
  2. Create several interaction ideas
  3. Document ideas on this blog

Hardware (Assembling electronics): 13.00-16.00 – PDF Slides

  1. Introduction
  2. Tools
  3. Breadboards
  4. 9V(VIN), 5V (VDD) and GND (VSS)
  5. The most popular components
  6. Resistors – example image
  7. Capacitors – example image
  8. Vdd – resistor – LED – Vss – example image
  9. Schematic plans
  10. Multimeter
  11. IC (Blackbox) – 10 x Touch sensor

13rd TuesdayIntroduction to BASIC Stamp: 9.00-10.00 – Slides

  1. Introduction
  2. Download BASIC Stamp Syntax and Reference Manual – pdf
  3. Program Debugging (DEBUG, CR, TAB) – PBASIC code
  4. ASCII (American Standard Code for Information Interchange) – PBASIC code
  5. Type of Numbers (Binary, Hexadecimal, Decimal, Signed Decimal) – PBASIC code
  6. Executing a example code and circuit – example image, PBASIC code

Architecture: 10.00-11.00

  1. SKIP! Constants (CON) – PBASIC code
  2. Variables type definitions (VAR, BIT, NIB, BYTE, WORD) – PBASIC code
  3. Arrays/Strings (BYTE(n)) – PBASIC code
  4. SKIP! Operators (+, -, *, /, abs, //) – PBASIC code
  5. BS2 Memory size – PBASIC code
  6. Binary Digit (Bit shift, Signed Decimal etc.) – PBASIC code

Controls: 11.00-12.00

  1. Functions (Label, GOTO, GOSUB, RETURN) -PBASIC code
  2. Looping structure (DO LOOP) – PBASIC code
  3. Looping structure 2 (FOR NEXT) – PBASIC code
  4. Branching (IF THEN) – PBASIC code
  5. Data controls (RANDOM) – PBASIC code
  6. Time/Power Control (PAUSE, SLEEP) – PBASIC code

IO Commands: 13.00-16.00 & Friday 9.00-12.00

  1. Digital IO (HIGH/LOW, TOGGLE, PULSOUT)
    1. Exercise! 31 x LED – HIGH/LOW, TOGGLE: PBASIC code, Schematic, PULSOUT: PBASIC code, Schematic
    2. x Servo motors – Product Info
  2. Digital IO (INPUT)
    1. Exercise! 16 x Button switch – PBASIC code, Schematic
    2. 1 x Reed switch
    3. 2 x PIR sensor – Schematic
    4. 9 x Tilt switch
    5. 1 x IR object detector
  3. SKIP! Digital IO (COUNT)
    1. Exercise! 6 x TSL230 light sensor – PBASIC code, Schematic
    2. Exercise! 3 x TCS230 color light-frequency converter – PBASIC code, Schematic
  4. Digital IO (PULSIN)
    1. Exercise! 2 x Memsic 2125 Accelerometer – PBASIC, Schematic
    2. Exercise! 6 x Ping)))Ultrasonic Sensor – PBASIC, Schematic
    3. 6 x Piezo Vibra Tab
  5. Analog IO (PWM)
    1. Exercise! LED – PBASIC, Schematic
  6. Analog IO (RCTIME)
    1. Exercise! 17 x Photoresistor – PBASIC, Schematic
    2. 20 x Potentimeter
    3. 4 x Flexiforce Sensor Demo Kit – Demo
    4. 1 x AD592 Temperature Probe
    5. 2 x QTI sensor – PDF
  7. Synchronous Serial IO (SHIFTOUT/SHIFTIN)
    1. Exercise! 1 x Hitachi HM55B Compass Module – Product Info
    2. Exercise! 3 x AD0831 (i-Cube sensors) with SHIFTIN – PBASIC, Schematic
    3. Exercise! 1 x Hitachi H48C Tri-Axis Accelerometer Module – Product Info
    4. Exercise! 1 x Sensirion Temperature/Humidity Sensor – Product Info
    5. Exercise! 1 x Sharp GP2D02 Distance sensor – PBASIC, Product Info
  8. Frequency (FREQOUT)
    1. Exercise! 9 x Piezo Speaker (Understanding Signals.pdf p44) – PBASIC code, Schematic

14th WednesdayBASIC Stamp IO Commands continues 9.00-11.00Basic Serial connection: 11.00-12.00

  1. RS-232
    1. Baud rate — One baud is one electronic state change per second.
    2. Parity — odd, even, or none
    3. Data bits — 5, 6, 7, or 8bits
    4. Stop bits — 1, 1.5, or 2 (often says true = 1 stop bits)
  2. Asynchronous Serial IO (SEROUT/SERIN, DEBUG/DEBUGIN)
    1. DEBUG / SEROUT (16pin) command (Asynchronous, 9600 Baud rate, None parity, 8 data bits, 1 Stop bits)
      1. Exercise! Photoresistor – PBASIC code, Schematic
    2. DEBUGIN / SERIN (16pin)
      1. Exercise! LED (HIGH/LOW) – PBASIC code, Schematic

Connecting BASIC Stamp to computer: 11.00-12.00, 13.00-16.00

  1. Exercise! Director + BASIC Stamp – zip requires SerialXtra
  2. Flash + BASIC Stamp – (Similar to Flash + Arduino, requires a XML Socket Server)
  3. Processing + BASIC Stamp – url
  4. Max/MSP + BASIC Stamp – url by Jukka Ylitalo
  5. Pure Data + BASIC Stamp – (similar to Pure Data + Arduino)
  6. S60Python +Bluetooth module + BASIC Stamp – url, url2 by Jurgen Scheible
  7. Max/MSP, Pure Data + Arduino (only functions equivalent to HIGH/LOW, PWM, RCTIME)
    1. Max/MSP + Arduino – url by Marius Schebella
    2. Pure Data + Arduino – url by Hans-Christoph Steiner

15th ThursdayGroup work: 9.00-16.00Other components

  1. XPort – Product Info, Video, Access to a XPort (Mlab Internal only)
  2. S60 Python + BASIC Stamp – video1, video2
  3. Velleman DC dimmer – Product Info, Video1, Video2
  4. Parallax RFID Reader Module – Product Info, Video

16th FridayGroup work: 9.00-12.00Presentation: 14.00-16.00ReferencesNuts & Volts Columms (BASIC Stamp Application Examples)eg)

  1. Column #94: Gettin’ MIDI With It – PDF
Facebook Twitter Email

Category: Media Lab Helsinki

Tagged:

One Response

  1. […] Course : 1st day Required reading: Electronics Basic STAMP Microcontroller […]

Social links powered by Ecreative Internet Marketing