Nov 5, 2008
Syllabus for Designing Interaction with Electronics 2007
November 12th – 16th
12rd Monday
Introduction: 9.00-9.30 – PDF Slides
- Physical Computing example using Director
- What do we do in this workshop?
- Assignment
- A good example of a intuitive interaction
Media Lab Paja Blog: 9.30-10.30
- Paja Blog Registration
- Writing posts (FireFox, Categories, Post Status, Links, Uploading Image, Youtube video)
- Templates for example codes and schematics
Forming Groups: 10.30-11.00
- 2 persons in a team
- A non-technical person collaborates with a technical person.
- Software preference (Max/MSP, PD, Director, Flash, Processing, s60py etc.)
Idea Creation: 11.00-13.00
- Walk around Taik and observe objects and people
- Create several interaction ideas
- Document ideas on this blog
Hardware (Assembling electronics): 13.00-16.00 – PDF Slides
- Introduction
- Tools
- Breadboards
- 9V(VIN), 5V (VDD) and GND (VSS)
- The most popular components
- Resistors – example image
- Capacitors – example image
- Vdd – resistor – LED – Vss – example image
- Schematic plans
- Multimeter
- IC (Blackbox) – 10 x Touch sensor
13rd TuesdayIntroduction to BASIC Stamp: 9.00-10.00 – Slides
- Introduction
- Download BASIC Stamp Syntax and Reference Manual – pdf
- Program Debugging (DEBUG, CR, TAB) – PBASIC code
- ASCII (American Standard Code for Information Interchange) – PBASIC code
- Type of Numbers (Binary, Hexadecimal, Decimal, Signed Decimal) – PBASIC code
- Executing a example code and circuit – example image, PBASIC code
Architecture: 10.00-11.00
- SKIP! Constants (CON) – PBASIC code
- Variables type definitions (VAR, BIT, NIB, BYTE, WORD) – PBASIC code
- Arrays/Strings (BYTE(n)) – PBASIC code
- SKIP! Operators (+, -, *, /, abs, //) – PBASIC code
- BS2 Memory size – PBASIC code
- Binary Digit (Bit shift, Signed Decimal etc.) – PBASIC code
Controls: 11.00-12.00
- Functions (Label, GOTO, GOSUB, RETURN) -PBASIC code
- Looping structure (DO LOOP) – PBASIC code
- Looping structure 2 (FOR NEXT) – PBASIC code
- Branching (IF THEN) – PBASIC code
- Data controls (RANDOM) – PBASIC code
- Time/Power Control (PAUSE, SLEEP) – PBASIC code
IO Commands: 13.00-16.00 & Friday 9.00-12.00
- Digital IO (HIGH/LOW, TOGGLE, PULSOUT)
- Exercise! 31 x LED – HIGH/LOW, TOGGLE: PBASIC code, Schematic, PULSOUT: PBASIC code, Schematic
- x Servo motors – Product Info
- Digital IO (INPUT)
- Exercise! 16 x Button switch – PBASIC code, Schematic
- 1 x Reed switch
- 2 x PIR sensor – Schematic
- 9 x Tilt switch
- 1 x IR object detector
- SKIP! Digital IO (COUNT)
- Exercise! 6 x TSL230 light sensor – PBASIC code, Schematic
- Exercise! 3 x TCS230 color light-frequency converter – PBASIC code, Schematic
- Digital IO (PULSIN)
- Exercise! 2 x Memsic 2125 Accelerometer – PBASIC, Schematic
- Exercise! 6 x Ping)))Ultrasonic Sensor – PBASIC, Schematic
- 6 x Piezo Vibra Tab
- Analog IO (PWM)
- Analog IO (RCTIME)
- Synchronous Serial IO (SHIFTOUT/SHIFTIN)
- Exercise! 1 x Hitachi HM55B Compass Module – Product Info
- Exercise! 3 x AD0831 (i-Cube sensors) with SHIFTIN – PBASIC, Schematic
- Exercise! 1 x Hitachi H48C Tri-Axis Accelerometer Module – Product Info
- Exercise! 1 x Sensirion Temperature/Humidity Sensor – Product Info
- Exercise! 1 x Sharp GP2D02 Distance sensor – PBASIC, Product Info
- Frequency (FREQOUT)
- 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
- RS-232
- Baud rate — One baud is one electronic state change per second.
- Parity — odd, even, or none
- Data bits — 5, 6, 7, or 8bits
- Stop bits — 1, 1.5, or 2 (often says true = 1 stop bits)
- Asynchronous Serial IO (SEROUT/SERIN, DEBUG/DEBUGIN)
- DEBUG / SEROUT (16pin) command (Asynchronous, 9600 Baud rate, None parity, 8 data bits, 1 Stop bits)
- Exercise! Photoresistor – PBASIC code, Schematic
- DEBUGIN / SERIN (16pin)
- Exercise! LED (HIGH/LOW) – PBASIC code, Schematic
- DEBUG / SEROUT (16pin) command (Asynchronous, 9600 Baud rate, None parity, 8 data bits, 1 Stop bits)
Connecting BASIC Stamp to computer: 11.00-12.00, 13.00-16.00
- Exercise! Director + BASIC Stamp – zip requires SerialXtra
- Flash + BASIC Stamp – (Similar to Flash + Arduino, requires a XML Socket Server)
- Processing + BASIC Stamp – url
- Max/MSP + BASIC Stamp – url by Jukka Ylitalo
- Pure Data + BASIC Stamp – (similar to Pure Data + Arduino)
- S60Python +Bluetooth module + BASIC Stamp – url, url2 by Jurgen Scheible
- Max/MSP, Pure Data + Arduino (only functions equivalent to HIGH/LOW, PWM, RCTIME)
15th ThursdayGroup work: 9.00-16.00Other components
- XPort – Product Info, Video, Access to a XPort (Mlab Internal only)
- S60 Python + BASIC Stamp – video1, video2
- Velleman DC dimmer – Product Info, Video1, Video2
- 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)
- Column #94: Gettin’ MIDI With It – PDF
[…] Course : 1st day Required reading: Electronics Basic STAMP Microcontroller […]