thursday week 5: piezo buzzers theory and practice of...
TRANSCRIPT
![Page 1: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/1.jpg)
Thursday Week 5: Piezo Buzzers
1
Theory and Practice of Tangible User Interfaces
Output 1: Making SoundPiezo
buzzers
week 05
![Page 2: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/2.jpg)
Thursday Week 5: Piezo Buzzers
2
Theory and Practice of Tangible User Interfaces
Piezo
Buzzer
![Page 3: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/3.jpg)
Thursday Week 5: Piezo Buzzers
3
Theory and Practice of Tangible User Interfaces
Piezo
Buzzer
![Page 4: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/4.jpg)
Thursday Week 5: Piezo Buzzers
4
Theory and Practice of Tangible User Interfaces
Piezo
Buzzer
![Page 5: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/5.jpg)
Thursday Week 5: Piezo Buzzers
5
Theory and Practice of Tangible User Interfaces
period
PW
PW
period
![Page 6: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/6.jpg)
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)
![Page 7: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/7.jpg)
Thursday Week 5: Piezo Buzzers
7
Theory and Practice of Tangible User Interfaces
period
PW
PW
period
![Page 8: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/8.jpg)
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
![Page 9: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/9.jpg)
Thursday Week 5: Piezo Buzzers
9
Theory and Practice of Tangible User Interfaces
1. Connect your piezo
buzzer
Polarity matters!
black = ground
![Page 10: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/10.jpg)
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
![Page 11: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/11.jpg)
Thursday Week 5: Piezo Buzzers
11
Theory and Practice of Tangible User Interfaces
2. Play Soundsound_serial
![Page 12: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/12.jpg)
Thursday Week 5: Piezo Buzzers
12
Theory and Practice of Tangible User Interfaces
c d e f g a b C
![Page 13: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/13.jpg)
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
![Page 14: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/14.jpg)
Thursday Week 5: Piezo Buzzers
14
Theory and Practice of Tangible User Interfaces
c d e f g a b C
![Page 15: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/15.jpg)
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
![Page 16: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/16.jpg)
Thursday Week 5: Piezo Buzzers
16
Theory and Practice of Tangible User Interfaces
Theremin (by Leon Theremin)
Measures the body’s electric field.
![Page 17: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/17.jpg)
Thursday Week 5: Piezo Buzzers
17
Theory and Practice of Tangible User Interfaces
Your Theremin
theremin
![Page 18: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/18.jpg)
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
![Page 19: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/19.jpg)
Thursday Week 5: Piezo Buzzers
19
Theory and Practice of Tangible User Interfaces
![Page 20: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/20.jpg)
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!
![Page 21: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/21.jpg)
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!
![Page 22: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/22.jpg)
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
![Page 23: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/23.jpg)
Thursday Week 5: Piezo Buzzers
23
Theory and Practice of Tangible User Interfaces
Thanks!
![Page 24: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/24.jpg)
Thursday Week 5: Piezo Buzzers
24
Theory and Practice of Tangible User Interfaces
Show and Tell!
![Page 25: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/25.jpg)
Thursday Week 5: Piezo Buzzers
25
Theory and Practice of Tangible User Interfaces
Map as an Indexical Sign?
![Page 26: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/26.jpg)
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
![Page 27: Thursday Week 5: Piezo Buzzers Theory and Practice of ...courses.ischool.berkeley.edu/i290-13/f07/system/... · Theory and Practice of Tangible User Interfaces. Frequency (Hz) = Period](https://reader033.vdocuments.us/reader033/viewer/2022053015/5f158b61f74a9f786a0d2a28/html5/thumbnails/27.jpg)
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