Transcript display

Dance Tutorial
Design 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…
User Name
Date Performed
Tempo and Song Chosen
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)
Timing of Missed Steps
Points Received out of Points Possible
 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.
Sensor Wires
Top View Of Mat
Lead
Follow
1
4
5
2
START
3
6
6
3
4
1
NO SHOES
START
2
5
Mat Layers
Cross Section View of Mat
Top Clear Plastic ProtectiveLayer
White Plastic Design Layer
Clear Plastic Layer for Adhesive
Conductive Tape
Foam
Conductive Tape
Clear Plastic Layer for Adhesive
Bottom WhitePlastic Layer
Top
Top Conductive
Layer Of Mat
Terminal Board Connections
Internal 47k Pull Up Resistors
to +5V
0
1
USB-1024LS Port C0-C7
Pin Number
2
3
4
5
6
7
Red
Blue
Purple
White
Gray
Orange
Green
Yellow
Blue blocks represent flat conductive
material
*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
Foam Layer Of Mat
Circles Represent hole in the foam
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
Bottom
GND
Bottom Conductive
Layer Of Mat
Brown
And Black
Blue lines represent conductive tape
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 Editing
To 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.
Questions???