1
Touch Screen, Audio Visual, and Gaming (TAG) Table Team Members: Michael Perez, Michael McManus, Nicholas Nazarenko, Andreas Wigger Advisor: Dr. Richard Messner Design Objectives Project Purpose Background Testing Table Features References and Acknowledgements Table Components Table Design Inside Each Cube Underneath the Hood IR Touch Response Audio Amplifier Audio-Visual Effects Wireless Control The purpose of our project is to create a table that can play games, produce audio-visual effects in real time that coincide with content of an audio signal, and have touch screen capabilities. To complete this goal an Arduino Uno, LED matrix, and raw materials for the table will be used. Electrical circuit design and computer programming will be used to implement all design components. Create a 10 x 15 array of RGB LEDs which will be controlled by an Arduino (Uno/Mega) Final array will be built into a table Table will have built in speakers powered by audio amplifiers used to play audio inputs Array will have several programs LEDs will respond to touch via IR emitters and detectors Array will display an audio visualizer in response to an audio input Display will be programmed to run several games (tic tac toe, pong, etc.) Xbox 360 controller(s) can be used to switch between display modes as well as to play games LCD screen will display which mode the display is running at any given time Using an infrared emitter LED and an infrared detector LED touch response was implemented. IR light reflecting off a finger touching the table is registered by the detector LED that lets current to pass. This current goes through a resistor that creates a voltage difference which can be picked up by the Arduino. To give the table audio output capabilities, a four stage audio amplifier was designed to power two 4” car speakers, both with a 4Ω impedance. The circuit consists of a JFET input stage, two operational amplifier gain stages, and a class A-B amplifier output stage. The circuit was designed to obtain a maximum gain of 300 over a frequency range of 20-20kHz. A second copy of the amplifier was built to provide stereo output. An Arduino Uno microcontroller and Fast Fourier Transform (FFT) code library was used to create the audiovisuals. The 10x15 LED array was constructed using RGB LED strands that are driven by the LPD6803 constant-current driver chip. A feature of our table is the implementation of a wireless Xbox 360 controller. This allows the user to wirelessly navigate through the subprograms in our code to run the desired program. Since there were many components to this project it was important we stayed on task through out the year. Every team member was successful in researching and developing their part of the TAG table. At the end we were able to integrate our components together to create a functional piece of furniture that also serves as home entertainment. Sedra, Adel S., and Kenneth Carless. Smith. Microelectronic Circuits. New York: Oxford UP, 2010. Print. "Arduino FFT Library." Open Music Labs. N.p., 09 Feb. 2014. Web. <http://wiki.openmusiclabs.com/wiki/ArduinoFFT>. "LPD6803 Datasheet." Adafruit Industries, n.d. Web. <http://www.adafruit.com/datasheets/LPD6803.pdf>. "74HC595 Datasheet." Sparkfun.com. Texas Instruments, Feb. 2004. Web. <https://www.sparkfun.com/datasheets/IC/SN74HC595.pdf>. "Revision 2.0 of USB Host Library for Arduino." GitHub Inc., n.d. Web. <https://github.com/felis/USB_Host_Shield_2.0>. A special thanks to Kevin Roe for helping with the construction of the table. Arduino Uno SainSmart USB Host Android ADK Shield Mini USB Bluetooth Wireless Adapter XBOX 360 Wireless Controller Power Supply Solderless Breadboard Infrared LED Emitter and Detectors (15 each) Strip of 50 RGB-LEDs (3) 4” Speakers (2) Audio jack J201 JFET 2N741 Op-amp ICs (2) TIP104 and TIP106 Transistor Arrays Dual Potentiometer Resistors and Capacitors 74HC595 Shift Register ICs (2) Wood, Screws, and Hinges 15 Gardening Trays with 2” Squares White Plexiglass The first component tested was the RGB LEDs. This was done using the Arduino library for our LEDs by turning each one on and switching between the red, green, and blue colors to ensure proper functionality. Simple Arduino programs were written separately to test the different features of our table. Lastly, we tested and troubleshooted the audio amplifier to ensure it was working correctly. The TAG table was designed for home entertainment and as a functional piece of furniture. The custom table was integrated with a touch screen, audiovisuals, Xbox controller, and games. Underneath the “hood” of the table is where all of the electronic components are stored. For ease of access hinges were built into the table so that the top can fold up. Underneath the plexiglass top there is an array of gardening trays which are separated into 150 two inch cubes. Inside every cube there is one RGB- LED. 15 of the cubes also included an IR emitter and detector. Project Discussion and Conclusion Introduction Schematic of two LEDs connected in a strand Diagram of infrared touch sensor Block diagram of audio visual design Testing assembly for Xbox 360 Controller implementation Testing assembly for Audio-Visuals System diagram for Xbox controller implementation Overall System Block Diagram Table after woodwork was completed Frequency (Hz) Maximum Gain 200 268.8 500 281.6 1,000 283.2 2,000 284.0 4,000 286.4 6,000 283.2 8,000 282.4 10,000 281.6 12,000 281.6 14,000 280.8 16,000 279.2 18,000 278.4 20,000 276.0 Frequency Response Circuit Schematic for One Channel Schematic of infrared touch sensor

Touch Screen, Audio Visual, and Gaming (TAG) Tableunh.edu/ece/Department/Senior Projects/ECE792_2014... · Team Members: Michael Perez, Michael McManus, Nicholas Nazarenko, Andreas

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Touch Screen, Audio Visual, and Gaming (TAG) Tableunh.edu/ece/Department/Senior Projects/ECE792_2014... · Team Members: Michael Perez, Michael McManus, Nicholas Nazarenko, Andreas

Touch Screen, Audio Visual, and Gaming (TAG) TableTeam Members: Michael Perez, Michael McManus, Nicholas Nazarenko, Andreas Wigger Advisor: Dr. Richard Messner

Design Objectives

Project Purpose

Background

Testing Table Features

References and Acknowledgements

Table Components

Table Design

Inside Each Cube

Underneath the Hood

IR Touch Response

Audio Amplifier

Audio-Visual Effects

Wireless Control

The purpose of our project is to create a table that can play games, produce audio-visual effects in real time that coincide with content of an audio signal, and have touch screen capabilities. To complete this goal an Arduino Uno, LED matrix, and raw materials for the table will be used. Electrical circuit design and computer programming will be used to implement all design components.

• Create a 10 x 15 array of RGB LEDs which will be controlled by an Arduino (Uno/Mega)

• Final array will be built into a table• Table will have built in speakers powered by audio

amplifiers used to play audio inputs • Array will have several programs• LEDs will respond to touch via IR emitters and

detectors• Array will display an audio visualizer in response to an

audio input• Display will be programmed to run several games (tic

tac toe, pong, etc.)• Xbox 360 controller(s) can be used to switch between

display modes as well as to play games• LCD screen will display which mode the display is

running at any given time

Using an infrared emitter LED and an infrared detector LED touch response was implemented. IR light reflecting off a finger touching the table is registered by the detector LED that lets current to pass. This current goes through a resistor that creates a voltage difference which can be picked up by the Arduino.

To give the table audio output capabilities, a four stage audio amplifier was designed to power two 4” car speakers, both with a 4Ω impedance. The circuit consists of a JFET input stage, two operational amplifier gain stages, and a class A-B amplifier output stage. The circuit was designed to obtain a maximum gain of 300 over a frequency range of 20-20kHz. A second copy of the amplifier was built to provide stereo output.

An Arduino Uno microcontroller and Fast Fourier Transform (FFT) code library was used to create the audiovisuals. The 10x15 LED array was constructed using RGB LED strands that are driven by the LPD6803 constant-current driver chip.

A feature of our table is the implementation of a wireless Xbox 360 controller. This allows the user to wirelessly navigate through the subprograms in our code to run the desired program.

Since there were many components to this project it was important we stayed on task through out the year. Every team member was successful in researching and developing their part of the TAG table. At the end we were able to integrate our components together to create a functional piece of furniture that also serves as home entertainment. • Sedra, Adel S., and Kenneth Carless. Smith. Microelectronic Circuits. New York: Oxford UP, 2010. Print.

• "Arduino FFT Library." Open Music Labs. N.p., 09 Feb. 2014. Web. <http://wiki.openmusiclabs.com/wiki/ArduinoFFT>.

• "LPD6803 Datasheet." Adafruit Industries, n.d. Web. <http://www.adafruit.com/datasheets/LPD6803.pdf>.

• "74HC595 Datasheet." Sparkfun.com. Texas Instruments, Feb. 2004. Web. <https://www.sparkfun.com/datasheets/IC/SN74HC595.pdf>.

• "Revision 2.0 of USB Host Library for Arduino." GitHub Inc., n.d. Web. <https://github.com/felis/USB_Host_Shield_2.0>.

• A special thanks to Kevin Roe for helping with the construction of the table.

• Arduino Uno• SainSmart USB Host Android ADK

Shield• Mini USB Bluetooth Wireless

Adapter• XBOX 360 Wireless Controller• Power Supply• Solderless Breadboard• Infrared LED Emitter and Detectors

(15 each)• Strip of 50 RGB-LEDs (3)

• 4” Speakers (2)• Audio jack• J201 JFET• 2N741 Op-amp ICs (2)• TIP104 and TIP106 Transistor

Arrays• Dual Potentiometer• Resistors and Capacitors• 74HC595 Shift Register ICs (2)• Wood, Screws, and Hinges• 15 Gardening Trays with 2” Squares• White Plexiglass

The first component tested was the RGB LEDs. This was done using the Arduino library for our LEDs by turning each one on and switching between the red, green, and blue colors to ensure proper functionality. Simple Arduino programs were written separately to test the different features of our table. Lastly, we tested and troubleshooted the audio amplifier to ensure it was working correctly.

The TAG table was designed for home entertainment and as a functional piece of furniture. The custom table was integrated with a touch screen, audiovisuals, Xbox controller, and games.

Underneath the “hood” of the table is where all of the electronic components are stored. For ease of access hinges were built into the table so that the top can fold up.

Underneath the plexiglass top there is an array of gardening trays which are separated into 150 two inch cubes. Inside every cube there is one RGB-LED. 15 of the cubes also included an IR emitter and detector.

Project Discussion and Conclusion

Introduction

Schematic of two LEDs connected in a strand

Diagram of infrared touch sensor

Block diagram of audio visual design

Testing assembly for Xbox 360 Controller implementationTesting assembly for Audio-Visuals

System diagram for Xbox controller implementation

Overall System Block Diagram

Table after woodwork was completed

Frequency (Hz) Maximum Gain

200 268.8

500 281.6

1,000 283.2

2,000 284.0

4,000 286.4

6,000 283.2

8,000 282.4

10,000 281.6

12,000 281.6

14,000 280.8

16,000 279.2

18,000 278.4

20,000 276.0

Frequency ResponseCircuit Schematic for One Channel

Schematic of infrared touch sensor