Difference between revisions of "Vybz"

From ESE205 Wiki
Jump to navigation Jump to search
Line 60: Line 60:
 
* Incorporated an alert system that sent an SMS message to the Vybz user when the volume threshold had been exceeded for a specific duration of time
 
* Incorporated an alert system that sent an SMS message to the Vybz user when the volume threshold had been exceeded for a specific duration of time
  
 
+
While we met all of the goals that we set for the Vybz detection system, with additional time to enhance the device, we would add settings so that the user could calibrate the threshold of the program depending on how far away from their neighbor or whoever else they are concerned about disrupting in a simple way. This would take Vybz to a wider market than just WashU campus dorms which is where we currently have the threshold based on. In the future, Vybz could be a sound detection system that log the volume levels in any space to reduce noise complaints and serve as additional information for people investing in residential spaces while still holding its original purpose of maintaining the ambience of a party or social event.
 
<br />
 
<br />
  

Revision as of 17:17, 1 May 2018

Overview

Our goal is to create a sound detection system that alerts its users in response to the amount of noise in the room. This is an efficient way for people to gauge the volume level of their environment and maintain the desired vibe or atmosphere in the room. A practical application for this system is for students in dorm rooms hosting social gatherings and parties, the system will alert the user when the sound level of the room has gotten too loud. This device will hopefully reduce the amount of noise complaints from neighbors and visits from RAs. This application will consist of three main components: A microphone to gauge the level of noise in the room, a Raspberry Pi to analyze data and send signals to the speaker, and a website to easily download the python file which runs the program. In addition, the Raspberry Pi will be primed with code gathered from our own knowledge and coding libraries which include an audio spectrum analyzer that works in real time. With music being a vital part of today's culture, the Vybz detection system would be useful for keeping the social atmosphere of social gatherings, uninterrupted by the need to check if the volume level is too loud.

Link to log: https://classes.engineering.wustl.edu/ese205/core/index.php?title=Vybz_Log

Link to Project Proposal: https://docs.google.com/presentation/d/1-aceL_Ulm3FMN4_c8DnqJogrqBLV7KN6ToSFz62DLEk/edit?usp=sharing

Proposal PDF: Media:Vybz_Project_Proposal.pdf

Link to Poster: https://docs.google.com/presentation/d/1XbHT7HDg9GSyXPq9Pz4P7c1x6OASOrVdHth8_D2qg-Q/edit?usp=sharing

Team Members

  • Daniel Li
  • Isaac Thomas-Markarian
  • Benjamin van der Sman
  • TA: Sam Chai
  • Instructor: Dennis Mell

Objectives

  • Gather resources (speaker, microphone(s), A/D converter, etc...)
  • Configure the microphone with an A/D converter so the microphone's analog signal is transformed into a digital one
    • The Raspberry Pi needs a digital signal to read
  • Prime the Raspberry Pi to receive and analyze the digital signal using:
    • Our own coding knowledge
    • Newfound Python skills
    • Libraries of code for the Fast Fourier Transform
    • Use the Raspberry Pi internet capabilities to access music/songs to be played
  • Code a running set of integers in real time to represent the volume level
  • Connect the Raspberry Pi to the speaker in order to adjust the volume as a result of the input signal
  • Create a visually appealing website that will print out notifications of the sound level
  • Develop a plan for a demonstration that does not impede on other's project but effectively displays our project

Challenges

  • Learn how to program the Raspberry Pi using Python and skills from the tutorial videos
  • Access and dissect coding libraries that may hold code that is useful but lies outside of our skill level
  • Find and apply the audio spectrum analyzer to create sound profiles of the ambient noise and the speaker's music
  • Establish a communication between the Raspberry Pi and the microphone
  • Develop website that will show notification
  • Have a real time running set of integers displaying the sound level
  • Work to develop an effective demo given the location, Lopata Gallery

Gantt Chart

Vybz Gantt Chart

Budget

  • Raspberry Pi (Provided)
  • Microphone ($9.99)

Total: $~10

Design and Solutions

Results

The final results of the Vybz Detection was a device that:

  • Incorporated an audio spectral analyzer
  • Transformed individual sound bytes into a string of running integers that could easily be analyzed
  • Used algorithm that alerted the Vybz user when the volume threshold was passed
  • Was accompanied by a website we built with information about the company and a link to download the Python file with our code
  • Incorporated an alert system that sent an SMS message to the Vybz user when the volume threshold had been exceeded for a specific duration of time

While we met all of the goals that we set for the Vybz detection system, with additional time to enhance the device, we would add settings so that the user could calibrate the threshold of the program depending on how far away from their neighbor or whoever else they are concerned about disrupting in a simple way. This would take Vybz to a wider market than just WashU campus dorms which is where we currently have the threshold based on. In the future, Vybz could be a sound detection system that log the volume levels in any space to reduce noise complaints and serve as additional information for people investing in residential spaces while still holding its original purpose of maintaining the ambience of a party or social event.