24
Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 1 Show and Tell!

Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

1

Show and Tell!

Page 2: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

2

Output 1: Making SoundPiezo buzzers

week

06

Page 3: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

3

Piezo Buzzer

Page 4: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

4

Piezo Buzzer

Page 5: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

5

Piezo Buzzer

Page 6: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

6

period

PW

PW

period

Page 7: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

7

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 8: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

8

period

PW

PW

period

Page 9: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

9

1. Connect your piezo buzzer 2. Play sound3. Make a Theremin 4. Solder wires to a motor (for next Thursday)

In Class Exercise

Page 10: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

10

1. Connect your piezo buzzer

Polarity matters!

black = ground

Page 11: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

11

1. Connect your piezo buzzer 2. Play sound3. Make a Theremin 4. Solder wires to a motor (for next Thursday)

In Class Exercise

Page 12: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

12

2. Play Sound

sound_serial

Page 13: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

13

c d e f g a b C

Page 14: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

14

2. Play Sound

play_melody

If you want to make it quieter, add a resistor.

10k

Page 15: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

15

c d e f g a b C

Page 16: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

16

1. Connect your piezo buzzer 2. Play sound3. Make a Theremin 4. Solder wires to a motor (for next Thursday)

In Class Exercise

Page 17: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

17

Theremin (by Leon Theremin)

Measures the body’s electric field.

Page 18: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

18

Your Theremin

theremin

Page 19: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

19

1. Connect your piezo buzzer 2. Play sound3. Make a Theremin 4. Solder wires to a motor (for next Thursday)

In Class Exercise

Page 20: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

20

Page 21: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

21

c d e f g a b C

Let’s try to make beautiful music!

Page 22: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

22

Homework

Input 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 23: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

23

Announcement

Programming course by PatrickThursday, October 27, 2008 6:00PM in 110 South Hall

Page 24: Show and Tell!courses.ischool.berkeley.edu/i290-4/f08/slides/Thursday_Week6_Piezo_buzzer.pdfThursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces 22 Homework

Thursday Week 6: Piezo Buzzers Theory and Practice of Tangible User Interfaces

24

Thanks!