Post on 28-Sep-2020
Thursday Week 5: Piezo Buzzers
1
Theory and Practice of Tangible User Interfaces
Output 1: Making SoundPiezo
buzzers
week 05
Thursday Week 5: Piezo Buzzers
2
Theory and Practice of Tangible User Interfaces
Piezo
Buzzer
Thursday Week 5: Piezo Buzzers
3
Theory and Practice of Tangible User Interfaces
Piezo
Buzzer
Thursday Week 5: Piezo Buzzers
4
Theory and Practice of Tangible User Interfaces
Piezo
Buzzer
Thursday Week 5: Piezo Buzzers
5
Theory and Practice of Tangible User Interfaces
period
PW
PW
period
Thursday Week 5: Piezo Buzzers
6
Theory and Practice of Tangible User Interfaces
Frequency (Hz) = Period (sec)
1
period
PW
* note frequency period PW (timeHigh)
* c 261 Hz 3830 1915 * d 294 Hz 3400 1700 * e 329 Hz 3038 1519 * f 349 Hz 2864 1432 * g 392 Hz 2550 1275 * a 440 Hz 2272 1136 * b 493 Hz 2028
1014* C
523 Hz 1912 956
PW
period(microseconds)
Thursday Week 5: Piezo Buzzers
7
Theory and Practice of Tangible User Interfaces
period
PW
PW
period
Thursday Week 5: Piezo Buzzers
8
Theory and Practice of Tangible User Interfaces
1. Connect your piezo
buzzer 2. Play sound
3. Make a Theremin 4. Solder wires to a motor (for next Thursday)
In Class Exercise
Thursday Week 5: Piezo Buzzers
9
Theory and Practice of Tangible User Interfaces
1. Connect your piezo
buzzer
Polarity matters!
black = ground
Thursday Week 5: Piezo Buzzers
10
Theory and Practice of Tangible User Interfaces
1. Connect your piezo
buzzer 2. Play sound
3. Make a Theremin 4. Solder wires to a motor (for next Thursday)
In Class Exercise
Thursday Week 5: Piezo Buzzers
11
Theory and Practice of Tangible User Interfaces
2. Play Soundsound_serial
Thursday Week 5: Piezo Buzzers
12
Theory and Practice of Tangible User Interfaces
c d e f g a b C
Thursday Week 5: Piezo Buzzers
13
Theory and Practice of Tangible User Interfaces
2. Play Soundplay_melody
If you want to make it quieter, add a resistor.
10k
Thursday Week 5: Piezo Buzzers
14
Theory and Practice of Tangible User Interfaces
c d e f g a b C
Thursday Week 5: Piezo Buzzers
15
Theory and Practice of Tangible User Interfaces
1. Connect your piezo
buzzer 2. Play sound
3. Make a Theremin 4. Solder wires to a motor
(for next Thursday)
In Class Exercise
Thursday Week 5: Piezo Buzzers
16
Theory and Practice of Tangible User Interfaces
Theremin (by Leon Theremin)
Measures the body’s electric field.
Thursday Week 5: Piezo Buzzers
17
Theory and Practice of Tangible User Interfaces
Your Theremin
theremin
Thursday Week 5: Piezo Buzzers
18
Theory and Practice of Tangible User Interfaces
1. Connect your piezo
buzzer 2. Play sound
3. Make a Theremin 4. Solder wires to a motor
(for next Thursday)
In Class Exercise
Thursday Week 5: Piezo Buzzers
19
Theory and Practice of Tangible User Interfaces
Thursday Week 5: Piezo Buzzers
20
Theory and Practice of Tangible User Interfaces
c d e f g a b C
Let’s try to make beautiful music!
Thursday Week 5: Piezo Buzzers
21
Theory and Practice of Tangible User Interfaces
HomeworkInput output coincidence exercise. Design an artifact where both
input and output occur at the same place. Use any combination of your input transducers and output transducers (pot, photocell, FSR, LEDs, piezo, screen). E.g., a ball that changes colors and/or plays different
sound/melody depending on the pressure being applied. A stick you can twist to color or sound differently…
These are just examples to spark your imagination. Be creative!
Thursday Week 5: Piezo Buzzers
22
Theory and Practice of Tangible User Interfaces
AnnouncementProgramming course by Dave and Ryan TODAY
Thursday, Sept 27, 2007 6:00PM in 110 South Hall
Thursday Week 5: Piezo Buzzers
23
Theory and Practice of Tangible User Interfaces
Thanks!
Thursday Week 5: Piezo Buzzers
24
Theory and Practice of Tangible User Interfaces
Show and Tell!
Thursday Week 5: Piezo Buzzers
25
Theory and Practice of Tangible User Interfaces
Map as an Indexical Sign?
Thursday Week 5: Piezo Buzzers
26
Theory and Practice of Tangible User Interfaces
Signs
in Context of Use
to represent “cold weather”
== Indexical
to represent “snow flake”
== Iconic
to represent “GO for ski”
== Symbolic
Thursday Week 5: Piezo Buzzers
27
Theory and Practice of Tangible User Interfaces
Signs
in Context of Use
Indexical
Pointing to the location of things
IconicRepresenting directional relations and distances between landmarks
Symbolic
Conventional symbols that must be learned