2015年4月29日星期三

Project 3: Audio

Vital Capacitor

THEORY:
For this project, I created a program that tests a player's vital capacity. In able to proceed the game, a player must blowing to the microphone on the device NONSTOP. The device will track the data until the player stops and displays a score.

HOW IT WORKS:
The setup of the game is pretty simple. We have rows of LED's that attach to different digital pins on the arduino. Then we have a microphone that also attaches to the arduino on the analog side. Whenever the player blows to the microphone, arduino will start calculate the threshold and add up the player score. As the game score increases, more blocks of LED's will light up. The game ends when all the LED's light up meaning that the player has passed the current stage. The game will also end when the player pauses or stops blowing to the microphone.

MATERIALS:
  • Arduino
  • LED's
  • Microphone
  • Associate resistors

2015年4月9日星期四

Game Interface Proposal.

This is a blog post that is about the design of a alternative game interface for an Arduino using one of the following list of items:
  • spandex
  • dried bean/s
  • plushy bat doll/s
  • yarn
  • cabbage/s
  • lab chair/s
  • padlock/s
  • magnifying glass/es
  • paper clip/s
My idea is to use a magnifying glass to play a brightness "match up" game. The setup will consist an arduino, a LED light, a photo sensor, magnifying glass and resistors that goes with the setup. The LED lights will have 4 different brightness mode. When the LED lights, the player will turn the magnifying glass so that the focal point of the light is on the photo sensor.

In the beginning of the game, the player will go through a "tutorial" by walking through the player on calibrating four brightness modes. When the game starts, the player must adjust the magnifying glass as fast as possible to match the brightness of the LED light.

The game will also support multi-player by having multiple rows of LED's installed. Each player will pick a spot (row of LED's) and take turn on playing the game. The higher score a player gets, the more LED's will light up on his/her row.