Input / Output Coincidence Lab Assignment

Posted by Erich

Erich's picture

"Slide Whistle"

Using an FSR, a light sensitive resistor, a piezo speaker and a homemade slide "whistle", I relearned how frustrating it is to get the right notes to come out when you want.

Video: http://www.youtube.com/watch?v=RNeqS4zIRB4

The code breaks each section of the "whistle" into notes, ranging from low c to C. You then press on the button when you want the note to come out. The Serial monitor outputs what note you're playing.

 

Whistle
0
Your rating: None
Posted by yoon

yoon's picture
  • Components Used: LEDs, photocell, piezo speaker

 

  • Description:

Photocell detects the light density so that it tells that whether the card is open or not. When the card is open, it plays birthdaysong and blinks candles in a card. This birthdaycard can be for either 3-year-old kid or 30-year-old guy!

 

0
Your rating: None
Posted by melissa

melissa's picture

Description:
I used a small candy tin as the object that would receive input and give output. The input was through light which was sensed by the photocell, and output was given by sound from the piezo speaker. The box would set off an alarm sound when opened.
You can see the video here.

Materials Used:

  • Piezo speaker
  • Photocell
  • 10kohm resistor
  • Tin box

Code:

IMG_1266.JPG
0
Your rating: None
Posted by arielhaney

arielhaney's picture

Video: http://www.youtube.com/watch?v=N64cGSj56rs

 

0
Your rating: None
Posted by Avery

Avery's picture

0
Your rating: None
Posted by sgeiger

sgeiger's picture

Description:

A box that detects when it is knocked and responds back, using piezo sensors for input and output.

Video:

http://www.youtube.com/watch?v=WSD6PbzcTnE (turn up the sound!)

Materials:

  • Metal peppermint creams box, found in the abandoned TUI box
  • One bare peizo element
  • One housed piezo element 

Arduino code:

Box1
0
Your rating: None
Posted by jlzych

jlzych's picture

Description

For this assignment I created a hat that plays a tune when when its user taps his or her head. This video describes it better (bonus points to anyone who can name that tune!): http://www.youtube.com/watch?v=FTP_JV2pjXw

0
Your rating: None
Posted by raghavchandra

raghavchandra's picture
Objective:
In this lab, we used a Piezo Speaker as an output device. We coupled the sensors from the previous labs and the speaker from this lab to further explore the domain.

In Lab, we used the speaker to play notes. This was done in three ways: pre-fed notes, taking input from the user using the serial monitor, and taking input from the user using our sensors.

0
Your rating: None
Posted by apoorvas

apoorvas's picture

 

 

Description:

The objective of this lab was to integrate the various sensors we have used over the past few labs and create an interactive object where the input and output are on the same objective, i.e. there is an input output coincidence.

 

Materials

0
Your rating: None