220 likes | 236 Views
Dance Tutorial Design Review. Steve Amoroso Lauren Bouchard Marcy Dutcher. CE Design Projects II December 1, 2005 Professor Czernikowski. Project Description.
E N D
Dance TutorialDesign Review Steve Amoroso Lauren Bouchard Marcy Dutcher CE Design Projects II December 1, 2005 Professor Czernikowski
Project Description • This project will be a computer tutorial for individuals that would like to learn to dance. The tutorial will be created as a combination of a controller and a dance mat that will teach the individuals how to dance the waltz. The objective of the tutorial is to teach the individuals how to both the follow and lead roles. • In order to complete the objectives there are multiple components that will be integrated to in order to create the whole product. • VB.net Program • Mat • Digital I/O (DAQ) Board • Audio/Video
Programming • The programming for the tutorial will be implemented using VB.net. This was chosen for a few reasons. • The user interface will be used to gather the input from the user. It will obtain their preferences to run the tutorial and display pertinent information to them. The user interface will also be the source of the music that the users will hear. • The program will gather the information from the data acquisition board in the background, while the tutorial is running. The information will be stored for further processing after the tutorial is completed. • The user interface will interact with an Access database in order to store the information gathered throughout the tutorial.
Programming cont… • The first set of screens for the user interface is that of the user log-in and registration. The user is required to register if not already and to log-in if so.
Programming cont… • The user has multiple options to chose from in order to use the tutorial. The options will be taken and stored for later use. • Options • Music • Beat or Music • Tempo • Role • Lead • Follow • Scoring • On or Off • Video • Play or Not
Programming cont… • This is the general idea of what the user will see while they are using the tutorial. The left portion shows the mat that the user is stepping on. The green steps indicate the next step the user will take. The red colored steps indicate the current steps. The options that were chosen in the previous screen are included (Music Type, Role, Music Tempo, and Score Kept).
Scoring Algorithm • The tutorial scores the user as the go through the tutorial. The breakdown of the scoring algorithm is as follows: • Total Completely Correct Step Points • (#Correct Step&Time * 2) • Correct Step with Wrong Timing Points • (#Correct Step * 1) • Missed Steps Points (a negative) • (# Missed Step * -2) • The final score is determined through a summation of all of the points calculated above. This information is stored in the database for future reference.
Programming cont… • When the user is finished with the tutorial, if they selected the scoring option then they will see something similar to this. This screen will show the scoring of the current tutorial. The area where the points were obtained from are displayed and the final score is displayed. The user can also see at what time did they miss a step in the tutorial. The right most box displays the previous dates that the user ran the tutorial. When a date is chosen the user can see the score that was obtained at that point.
Programming cont… • This a sample layout of what a previous/current dance score report would look like if the user had chosen a date in the previous screen.
Top *Picture is that of the bottom layer because the wiring of the top layer was sewn into the foam for better support, not allowing for a clear picture. The appearance of the top layer is very similar to that of bottom.
Middle The foam layer acts as a pressure switch, when location is stepped on the switch closes, the two conductive layers touch, and grounds the connection
Mat Circuit Diagram The 47k Resistors are an internal portion of the USB Board
Data Acquisition (DAQ) Board • USB-1024LS • USB 1.1 • 24 bits digital I/O • Plug and Play • Can monitor the state of switches, fans, valves, etc.
DAQ Board Cont . . . • Each of the 3 digital I/O port has 8 terminals • Each port can be configured independently as either input or output
DAQ Board Cont . . . • Digital I/O is represented by A0-A7, B0-B7, and C0-C7 • All pins pulled up to Vs through 47K resistors • Input High Voltage: 2.0V min, 5.5V max • Input Low Voltage: .8V max, -.5V min
Audio EditingTo solve timing issue Original Song Picked a portion of the song that had a steady constant tempo Edited song Repeated highlighted portion to create a song with a steady tempo
Importance Of Audio • Controls • Scoring • Timing/Rhythm of user is used to create the score • Display • The next step is displayed at the correct time according to the beat
Video • There is a simple video that will be constructed by the team to show the dance and how it is performed. • The video will be approximately minute long. • There will be a video for each of the roles and for each of the tempos.