Kristina Makarova Yoko Ishioka Burt Carter Carlos Rios team.

Post on 01-Jan-2016

228 views 5 download

Tags:

transcript

Kristina Makarova

Yoko Ishioka

Burt Carter

Carlos Rios

team

Progress and Arduino Boards

 

• Cemented game play• Ordered materials• Composing songs• Working on display/board

designs• http://www.prism.gatech.edu/

~yishioka3/final/presentation2.swf

 

Progress...

• Game Perspective

• What makes Twister fun?

• How to incorporate it into AudioPile?

Twister Game Research

• Display screen demo and explain

• Describe new board design and construction

 

Modified Game Play...

Arduino Boards

 It's time to learn...

Arduino is a physical computing platform based on a simple I/O board and a development environment that implements the Processing/Wiring language. Arduino can be used to develop stand-alone interactive objects or can be connected to software running on a computer (e.g., Adobe Flash, Processing, Max/MSP, Pure Data, SuperCollider).                                      (Wikipedia)

 What is Arduino?

 

 

Hardware Components

• Atmel AVR microcontroller

• 5-volt linear regulator

• 16MHz crystal oscillator or ceramic resonator

Wave Shield      •Add music to Arduino

 http://ladyada.net/make/waveshield/index.html

• onboard DAC, filter and op-amp• uses SD/MMC cards• Can play .wav files • up to 22KHz, 12bit 

Hardware Components

 

 

What can it do?

Ping Ultrasonic Range Finder

• ultrasonic range finder from Parallax

• detects distance of the closest object in front of the sensor (up to 3m).

• works by sending out a burst of ultrasound and listening for the echo when it bounces off of an object.

 

 

How does it really work?

• The Arduino board sends a short pulse to trigger the detection, then listens for a pulse on the same pin. The duration of this second pulse is equal to the time taken by the ultrasound to travel to the object and back to the sensor. Using the speed of sound, this time can be converted to distance.

 

 

What else?

• It reads input from piezo speakers to play melodies by sending a square wave of the appropriate frequency to the piezo which generates the corresponding tone.

• The calculation of the tones is made following the mathematical operation:

• timeHigh = period / 2 = 1 / (2 * toneFrequency)

 

 

Different Tones

Note Frequency Period 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

 

 

Memory

• Flash 16k bytes (of which 2k is used for the bootloader)

• SRAM 1024 bytes

• EEPROM 512 bytes

http://www.youtube.com/watch?v=wJZVMu78T9g&feature=related

http://www.youtube.com/watch?v=nY1eQk3ezjM

Uses