1 / 28

Musical Carpet

Musical Carpet. ENSC 440 project. Team. Danny Jiang Anthony Tsang Payam Norouzi Anton Ayzikovsky. Software Division :. Hardware Department:. Agenda. Project Description Motivation Roles System Overview Project Details Future Work Lessons Learned Questions. Project Description.

chandler
Télécharger la présentation

Musical Carpet

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Musical Carpet ENSC 440 project

  2. Team Danny Jiang Anthony Tsang Payam Norouzi Anton Ayzikovsky Software Division: Hardware Department:

  3. Agenda • Project Description • Motivation • Roles • System Overview • Project Details • Future Work • Lessons Learned • Questions

  4. Project Description Musical CARPET Step-sensitive Sound-emitting Visually appealing With pitch detection capability

  5. Motivation • Fun • Educational • Aesthetically pleasing • Awesome! • Employs many principles learned

  6. Roles • Danny – sound engineer, software guru, time-management wizard, documentation master • Anthony – voice recognition specialist, components researcher, relaxation supervisor • Payam – wood cruncher, LED solderer, design maniac • Anton – head carpetenter, sensor investigator, chief wiring officer

  7. System Overview • Main Control • Audio Processing • Sensors • Display Module

  8. Sensor Unit • Main part of the sensor unit is the carpet Drawing: Carpet in production:

  9. Sensor construction • Each sensor consists of five contacts for best step detection Sensor structure: Sensors in production:

  10. Sensor - Possible Solutions Sensor • Piezoelectric • Capacitive • Proximity • Strain Gauge • Contact Switch Carpet • Hand-made • Purchased

  11. Main Unit • Sample sensor switches using polling method • Sample voice data from microphone to perform FFT for pitch detection • Communicate with Audio Processing Unit • Interaction with display unit • Record/playback feature

  12. Main Unit - Microcontroller • 32 general purpose I/Os • 2KB of internal SRAM • 4 external Interrupts Atmega32 Atmega64 • 53 general purpose I/Os • 4KB of internal SRAM • 8 external Interrupt

  13. Main Unit • Atmega64

  14. Audio Unit • Play sound samples from SD card • Able to generate multiple tones at the same time • Able to drive an 8 ohms speaker without external power

  15. Audio Unit - High Level Diagram External SD Card SPI Speaker MCU High Current OpAmp DAC

  16. Audio Unit – Current state and Limitation Current State: • Two channels Limitation: • Small capacity of internal SRAM • Access speed to SD card • When many channels are playing at the same time, adding all samples together will lead to saturation

  17. Audio Unit • Arduino + Wave shield

  18. Possible Solutions Main Unit • PIC controller • FPGA • Audio Unit • DSP Processor

  19. Pitch Detection • Sampling rate of 4KHz • Conversion to frequency domain with FFT • Compares fundamental frequencies • Component frequency ratio algorithm

  20. Possible Solutions • Time domain analysis • Cepstrum • Peak detection

  21. Display Unit

  22. Business Case • Just a piano shaped carpet • Cost for a 3 by 4? $33 • With similar functionality • Starts from $120 • Pitch Detection Capability? • Mass Produced • Carpet $0.8 per square foot • Atmega64 6001+ $7.6400 • Control Board approximately $10 • Other $20

  23. Cost Breakdown

  24. Development Milestones

  25. Further Improvements Software • Combine the circuitry into one board • Improve the pitch detection algorithm • Use external RAM for better quality sound and playing more channels simultaneously • Use full-swing amplifier for microphone circuitry Hardware • Add LCD to the display unit for more functionality • Use pressure sensors to vary the sound intensity • Use single power supply with possible battery operation

  26. Lessons Learned • Technical • Audio/Signal processing • Communication protocols • Hardware design • Non-Technical • Teamwork • Conflict Resolution • Project Management

  27. References • http://www.aliexpress.com/product-gs/237703985-Piano-shape-handmade-carpet-120-85cm-wholesalers.html • http://www.globalconvention.ca/ • http://avnetexpress.avnet.com/store/em/EMController?langId=-1&storeId=500201&catalogId=500201&term=atmega64&x=0&y=0&N=0&action=products • http://www.digsdigs.com/cool-music-carpet-human-antenna-by-florian-krautli/

  28. Questions

More Related