Skip to content

Kalva014/WannaDance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WannaDance

Contributors:

  • Kenneth Alvarez
  • Trevor Morcott

Big idea:

Imagine you are at a social event and you bump into someone, how do you prevent any conflict? To settle any issues between the two of you, we can start a dancing game! The game would resemble the famous Dance Dance Revolution Game where users have a dance pad on the ground and start breaking it down! To do this both users will step on the pads at the same time, music will begin to play, and a projector as well as LED lights will tell the two users what pad to dance on. Once they finish they both will be declared a winner.

Demo Video:

https://drive.google.com/file/d/1a5BjfniB0WJinnXDSP1-J19pE2uYzRqN/view

User Test:

https://drive.google.com/file/d/1MZ_m2w_3HE83bu4nLB7K-AD5JYx3Pc-o/view?usp=sharing

Parts Needed:

  • SparkFun Qwiic OLED Display x 1
  • Canvas(10x10ft) x 1
  • Adafruit MPR121 Capacitive Touch Sensor QT x 1
  • Led lights x 3
  • Speaker x 1
  • Smart plug x 3
  • Alligator Clips x 12
  • Duck Tape * 1
  • Scissors * 1
  • Tin Foil Roll * 1

Setup:

  1. Grab the canvas and separate using duck tape the canvas into 3 columns
  2. With two copper tape strips, apply in between each column
  3. Find the middle of the canvas and place two rows of duck tape to indicate the separation of the dance pad(Don't forget to cut the copper tape in the middle of the canvas)
  4. Grab the 12 alligator clips and clip them to the ends of the canvas where the copper tape stops
  5. At the other end of the alligator clips, connect them to the to the capacitive sensor
  6. To put together the raspberry pi, connect the capcitive sensor and the lcd screen using qwiic connectors
  7. Clone the repo to the raspberry pi and run 'python wanna_dance'

Timeline:

  • Week 12: Gathered the necessary materials and programmed the skeleton code
  • Week 13: Polished the code and start putting together physical product
  • Week 14: Debug any leftover issues in the code and complete physical product
  • Week 15: Final product ready for demo and has been tested with users

Verplank Diagram of the System:

IMG_0486

State Diagram:

Screenshot 2022-12-06 at 2 33 18 PM

Progression Pictures(In Order of Evolution):

IMG_0418 69143610260__8E92C3EF-3FF3-4E60-ACC6-7F870D9DF4C8 IMG_0419 69145903669__958712EB-D8CC-4B20-9E49-166AE9653600 69144620194__46881899-DD6E-4C79-B8E1-6B5475B1D535 69197682019__35E0287C-9D6F-4BBA-A420-52519FCEC644 IMG_0428 IMG_0478

Challenges:

Some of the major obstacles that we came across when constructing our final project was specifically with the smart plugs. There were several network issues due to the security layer so we had to switch to a private network. Specifically "Device_Farm" which is maintained by a lab at Cornell Tech. In addition, we also faced some trouble when constructing the physical device. There were some design challenges when considering conductive sensing using the capcitive sensor. To solve this, sensing was significantly better using tin foil that was applied to the bottom of the user's shoes.

Potential Improvements;

  1. Since we have a small LCD screen showing the user's scores, we could add code to have it vocally output through a speaker
  2. Find a conductive material that is more durable than copper tape since the tape easily rips with greater force
  3. Figure out a way to make the tin foil shoes reusable

Group Work Distribution:

  • Trevor:
    • Smart Plug Configuration(MQTT/Network Compatibility)
    • Mat Setup
    • Game Refactoring
    • Single and Multiplayer Functionality
  • Kenneth:
    • Created game skeleton(Working LCD and Capacitive Sensors)
    • Mat Setup
    • Added music functionality
    • Game Refactoring
    • Single and Multiplayer Functionality

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages