Difference between revisions of "S18: Audio Spectrum Analyzer with Graphics Display"

From Embedded Systems Learning Academy
Jump to: navigation, search
(Schedule)
(Parts List & Cost)
Line 135: Line 135:
 
| 7 || 5V 2.4A Portable Battery || [https://www.amazon.com/10000mah-TONV-Portable-External-Li-polymer/dp/B078TFHXVY/ Amazon] || Portable Power Supply (5V 2.4A) || 1 || $10.99
 
| 7 || 5V 2.4A Portable Battery || [https://www.amazon.com/10000mah-TONV-Portable-External-Li-polymer/dp/B078TFHXVY/ Amazon] || Portable Power Supply (5V 2.4A) || 1 || $10.99
 
|-
 
|-
| 8 || Audio Jack|| [https://www.digikey.com/product-detail/en/cui-inc/SJ1-3543N/CP1-3543N-ND/738707?WT.srch=1&gclid=EAIaIQobChMIloHLi5OU2wIVjIbACh2rtQjiEAQYASABEgLD8fD_BwE Digi-Key] || 3.5mm Audio Jack || 1 || $1.29
+
| 8 || Portable Speaker|| [https://www.amazon.com/Bose-SoundLink-Bluetooth-Speaker-III/dp/B00HWSXVDG/ref=sr_1_9?s=electronics&ie=UTF8&qid=1526817616&sr=1-9&keywords=bose+portable+speaker Amazon] || Bose Portable Speakerk || 1 || $199.99
|-
 
| 9 || Portable Speaker|| [https://www.amazon.com/Bose-SoundLink-Bluetooth-Speaker-III/dp/B00HWSXVDG/ref=sr_1_9?s=electronics&ie=UTF8&qid=1526817616&sr=1-9&keywords=bose+portable+speaker Amazon] || Bose Portable Speakerk || 1 || $199.99
 
 
|-
 
|-
 
|}
 
|}

Revision as of 10:55, 22 May 2018

Grading Criteria

  • How well is Software & Hardware Design described?
  • How well can this report be used to reproduce this project?
  • Code Quality
  • Overall Report Quality:
    • Software Block Diagrams
    • Hardware Block Diagrams
      Schematic Quality
    • Quality of technical challenges and solutions adopted.

Project Title

Audio Spectrum Analyzer with Graphics Display

CmpE244 S18 FRITOS Display.gif
CmpE244 S18 FRITOS Display2.gif

Abstract

This porject is going to use an RGB LED-matrix to display graphics base on the MP3 audio frequencies, and with an MP3 decoder chip which will be used to connected to one of the SJOne board with MP3 files in its SD card to decode audio and send to DAC which is connected to our speakers. The user will be able to see graphics on the RGB LED matrix instantly while playing MP3 files, and have some control buttons to control the music like pause, resume, skip, and control matrix's display screen, modes, and rotation with different orientation.

Objectives & Introduction

Introduction

Our team split the project into four different parts: The audio decoder, the audio analyzer, the RGB LED Matrix, and the PCB design. Thus, two of our team members split the hardware and the software parts, some they worked together, some they worked individually. The other team member wanted to work on the PCB design and software and hardware of the LED matrix, he provided essential contribution to make audio analyzer working and try to work on other parts. The Equalizer part focuses on the conversion of audio input into an ADC output that can be parsed and create a data representation for the RGB LED Matrix. The RGB LED Matrix part is mainly focus on parsing the converted data and drive the RGB LEDs to display the dynamic frequencies of the signals.

Objectives

Follow proper engineering and testing practices to design and implement the following:

  • Design equalizer PCB
  • Interfacing audio decoder pin layout and system design
  • Interfacing audio equalizer pin layout and system design
  • Interfacing RGB LED matrix pin layout and system design
  • Implement audio decoder driver
  • Implement audio equalizer driver
  • Implement RGB LED matrix driver
  • Integrate equalizer and RGB LED matrix
  • Test overall system and program
  • Preparing whole project hardware design as a demo ready package

Team Members & Responsibilities

  • Lorenzo Javier
    • Audio Decoder Interfacing w/ SJOne Board (MP3 Driver)
    • Graphic Equalizer Interfacing w/ Audio Decoder (Pin Layout/System Design)
  • Jason Lin
    • Graphic Equalizer Interfacing w/ SJOne Board (Audio Analyzer Driver)
    • RGB LED Matrix Interfacing w/ SJOne Board (RGB LED Driver)
    • All the nice to have functions (MP3 pause, resume, and skip / display modes, rotation, splash/pause/skip screen, and entertainment bar/dot and spinning)
    • Made project container with cardboard box
  • Bohan Liu
    • PCB Design
    • Design the basic schema for the Audio Decode Chip
    • Adding surrounding component to MSGEQ7 chip and make it connectable to other components
    • Tested the connections of the basic schema
    • Generate the connected PCB board layout
    • Wired the PCB board layout

Schedule

Week# Ending date Task Actual
1 4/15 Order all Components. Completed
2 4/22 Interface Audio Analyzer with 3.5mm audio cable as input and splits it into seven bands.

Implementing a testing program to test if can correctly get correct frequencies from the audio analyzer.

Initialize RGB LED Matrix with different colors.

Completed
3 4/30 Read MP3/Audio file from SD card through SPI.

Control every LED on RGB LED Matrix with giving them specify color.

Design the basic board layout

Completed
4 5/7 MP3 driver decodes MP3/Audio file and sends it to the Audio Analyzer.

Read MP3/Audio file from SD card and play sample song with output speakers connected.

Finalize PCB Design & modify board layout & Print PCB.

Completed
5 5/14 Interface RGB LED Matrix's as a graphic equalizer.

Get audio spectrum values from audio analyzer and display on the RGB LED Matrix. Develop RGB LED Matrix display layout, styles, and modes like color and sound wave behavior.

Implementing music player control functions for sound box control.

Completed
6 5/21 Final testing and debugging.

Finish project report & Demo on 5/23.

In progress

Parts List & Cost

Give a simple list of the cost of your project broken down by components. Do not write long stories here.

# Name Purchase Location Description Quantity Cost
1 Audio Analyzer Amazon DFROBOT Graphic Equalizer Display Filter ‑ MSGEQ7 Breakout Board 1 $21.55
2 Audio Decoder Adafruit VS1053 Audio Decoder Breakout Board w/ Breadboard-Friendly 3.5mm Stereo Headphone Jack 1 $24.95
3 RGB LED Matrix (16x32) Adafruit RGB LED Matrix Panel (16x32) 1 $24.95
4 Jumper Wires Amazon Variety of Male/Male, Male/Female, & Female/Female Breadboard Jumper Wires 120 $7.49
5 Breadboard Amazon Breadboard - Small 1 $8.21
6 SJOne Board Social Ledge LPC1758 Chipset 2 $160.00
7 5V 2.4A Portable Battery Amazon Portable Power Supply (5V 2.4A) 1 $10.99
8 Portable Speaker Amazon Bose Portable Speakerk 1 $199.99

Design & Implementation

This section will provide an overview of our design methodology for the MP3 audio decoder, graphic equalizer, and RGB LED matrix independently, and then will describe the integration of all components.

Hardware Design

Discuss your hardware design here. Show detailed schematics, and the interface here.

MP3 Audio Decoder

text

Graphic Equalizer

text

RGB LED Matrix

text

PCB Design

Study PCB layout Design PCB layout

Hardware Interface

In this section, you can describe how your hardware communicates, such as which BUSes used. You can discuss your driver implementation here, such that the Software Design section is isolated to talk about high level workings rather than inner working of your project.

MP3 Audio Decoder

text

Graphic Equalizer

text

RGB LED Matrix

text

PCB Design

Study PCB board Design PCB board

Software Design

Show your software design. For example, if you are designing an MP3 Player, show the tasks that you are using, and what they are doing at a high level. Do not show the details of the code. For example, do not show exact code, but you may show psuedocode and fragments of code. Keep in mind that you are showing DESIGN of your software, not the inner workings of it.

MP3 Audio Decoder

text

Graphic Equalizer

text

RGB LED Matrix

text

Implementation

This section includes implementation, but again, not the details, just the high level. For example, you can list the steps it takes to communicate over a sensor, or the steps needed to write a page of memory onto SPI Flash. You can include sub-sections for each of your component implementation.

Testing & Technical Challenges

Describe the challenges of your project. What advise would you give yourself or someone else if your project can be started from scratch again? Make a smooth transition to testing section and described what it took to test your project.

Include sub-sections that list out a problem and solution, such as:

MP3 Audio Decoder

Pin Connections

Discuss the issue and resolution.

RGB LED Matrix

<Bug/issue name>

Discuss the issue and resolution.


Conclusion

Conclude your project here. You can recap your testing and problems. You should address the "so what" part here to indicate what you ultimately learnt from this project. How has this project increased your knowledge?

Project Video

Project Source Code

  • [Audio Spectrum Analyzer with Graphics Display Source Code Link]

References

Acknowledgement

Any acknowledgement that you may wish to provide can be included here.

References Used

List any references used in project.

Appendix

You can list the references you used.