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

From Embedded Systems Learning Academy
Jump to: navigation, search
Line 113: Line 113:
 
=== Hardware Design ===
 
=== Hardware Design ===
 
Discuss your hardware design here.  Show detailed schematics, and the interface here.
 
Discuss your hardware design here.  Show detailed schematics, and the interface here.
 +
 +
==== MP3 Audio Decoder ====
 +
 +
==== Graphic Equalizer ====
 +
 +
==== RGB LED Matrix ====
  
 
=== Hardware Interface ===
 
=== 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.
 
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 ====
 +
 +
==== Graphic Equalizer ====
 +
 +
==== RGB LED Matrix ====
  
 
=== Software Design ===
 
=== 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.   
 
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 ====
 +
 +
==== Graphic Equalizer ====
 +
 +
==== RGB LED Matrix ====
  
 
=== Implementation ===
 
=== Implementation ===
Line 128: Line 146:
  
 
Include sub-sections that list out a problem and solution, such as:
 
Include sub-sections that list out a problem and solution, such as:
 +
=== MP3 Audio Decoder ===
 +
==== Pin Connections ====
 +
Discuss the issue and resolution.
  
=== <Bug/issue name> ===
+
=== RGB LED Matrix ===
 +
==== <Bug/issue name> ====
 
Discuss the issue and resolution.
 
Discuss the issue and resolution.
 +
  
 
== Conclusion ==
 
== Conclusion ==
Line 147: Line 170:
 
=== References Used ===
 
=== References Used ===
 
List any references used in project.
 
List any references used in project.
 +
* [https://www.sparkfun.com/datasheets/Components/SMD/vs1053.pdf VS1053 Datasheet]
 +
* [https://www.sparkfun.com/datasheets/Components/General/MSGEQ7.pdf MSGEQ7 Datasheet]
 +
* [https://learn.adafruit.com/32x16-32x32-rgb-led-matrix/overview RGB LED Matrix Tutorial]
  
 
=== Appendix ===
 
=== Appendix ===
 
You can list the references you used.
 
You can list the references you used.

Revision as of 20:57, 18 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

Abstract

This sound box is going to use an RGB LED-matrix to display graphics base on the MP3 audio frequencies and an MP3 decoder chip will be used to connected to 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, see the playlist and status of the music on another LCD display, and have some control buttons to control the sound box.

Objectives & Introduction

Show list of your objectives. This section includes the high level details of your project. You can write about the various sensors or peripherals you used to get your project completed.

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 (Graphic Equalizer Driver)
    • RGB LED Matrix Interfacing w/ SJOne Board (RGB LED Driver)
  • Bohan Liu
    • PCB Design

Schedule

Show a simple table or figures that show your scheduled as planned before you started working on the project. Then in another table column, write down the actual schedule so that readers can see the planned vs. actual goals. The point of the schedule is for readers to assess how to pace themselves if they are doing a similar project.

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

In Progress
4 5/7 MP3 driver decodes MP3/Audio file and sends it to 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.

Not started
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.

Not started
6 5/21 Final testing and debugging.

Finish project report & Demo on 5/23.

Not started

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 1 $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

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

Graphic Equalizer

RGB LED Matrix

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

Graphic Equalizer

RGB LED Matrix

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

Graphic Equalizer

RGB LED Matrix

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

Upload a video of your project and post the link here.

Project Source Code

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.