Name | NetID | Section |
Eric Lee | elee248 | ECE 120 AB2 |
Kevin Huang | kuanwei2 | ECE 120 AL2 |
David Thomas | davidvt2 | ECE 120 AL |
Po-Jen Ko | pojenko2 | ECE 120 ABA |
Focus on python on raspberry pi
Computer’s Speaker that uses relative position to determine volume
Speaker can also detect if nobody is around, it will turn off
Motion sensor. No motion, no music
Distance sensor
Connects to laptop to change its volume
Introduction
Statement of Purpose
This project aims to adjust the volume of either a computer or an output depending on the position of the person in the room. Many students listen to music on a speaker, however, sometimes the volume is not adjusted properly and it either become too loud for the listener, or too quiet. While the volume is relatively easy to change, many students such as myself are lazy and do not want to physically do it. To combat this problem, we are creating a speaker that can detect a person’s motion, and a distance sensor to figure out the relative distance between the speaker and the person, and adjust the volume accordingly.Background Research
As the global pandemic is going on, people might have more chances to listen to music with their speakers while staying home. However, as they are moving around the house, sometimes, it might be hard for them to listen to music clearly. Thus, the speaker is designed to automatically adjust the volume of the speaker according to the position of the user and turn off when there’s no one around.Design Details
Block Diagram / Flow Chart
Provide a simple block diagram of your hardware design. A block diagram is a schematic graphic that shows the interactions between different components in a hardware or software system. If appropriate, please also include a flow chart showing the steps your design needs to go through to function. The online program draw.io is a great tool to create polished block diagrams and flow charts. Likewise Microsoft's visio is also a great program to create block diagrams and flow charts.
System Overview
First of all, the program will detect the user with the motion sensor. Then, the speaker will determine the noises around. Afterward, the program inside the speaker will calculate the appropriate volume in order to let the user listen to the music clearly. These steps will then repeat again and again until it detects no one around, which it will then turn off the music to save some power.
Parts
Provide a list of parts that you may need for your project. You should include details such as the quantity, model number, purpose, vendor, and price (excluding taxes and shipping) for each part. This list may change as you work on your project.
Item Name | Quantity | Purpose | Vendor | Price | Model number |
KY038 microphone breakout | 2 | Sound sensor | HobbyKing | $0.37 | KY038 |
Arduino Uno R3 SMD Edition | 1 | Code | Adafruit | $18.66 | |
Breadboard | 1 | Connecting components | NA | Already owned | |
Wires | 10 | Connecting components | NA | Already owned | |
Ultrasonic Sensor | 1 | Distance measuring | NA | Already owned | |
PIR Motion Sensor | 5 | Motion sensor | Walmart | $3.48/pc | |
SC0252G | 1 | SD card | Digikey | $9.28 | SC0252G |
Possible Challenges
Detecting the user
Be able to ignore other moving objects, such as pets
Adjustment to the volume according to the distance of the user
References
N.A.
List all references you used in your proposal. This is important, you do not want to be blamed for plagiarism. IEEE citation format is highly recommended. You can use citethisforme.com's IEEE citation generator to painlessly generate your references in this style.