Difference between revisions of "MP3 Player"

From Embedded Systems Learning Academy
Jump to: navigation, search
(Project Requirements)
(Project Requirements)
Line 9: Line 9:
  
 
== Project Requirements ==
 
== Project Requirements ==
* Use the sdcard slot on SJOne microcontroller for reading MP3 files from a preloaded SD Card
+
=== Non-Functional Requirements: ===
* Use audio encoder/decoder peripheral board to decode mp3 data sent from SJ One Board using serial(preferably SPI) bus
+
* Should be dynamic.
 +
** As in, you should be able to add more songs and play them
 +
* Should be accurate.
 +
** Audio should not sound distorted,
 +
** Audio should not sound slower or faster when running on your system.
 +
* Should be user friendly.
 +
** User should be able to figure out how to use the device without a user manual.
 +
 
 +
=== Functional Requirements ===
 +
# System must use the SJOne on board SD card to read MP3 audio files.
 +
# System must communicate to an external MP3 decoder
 +
# System must allow users to control the MP3 player (You may use the onboard buttons for this)
 +
## User must be able to play and pause of song
 +
## user must be able to select a song
 +
# System must use an external display to show a menu providing the following information:
 +
## Current playing song
 +
## Information about current playing song
 +
## Menu showing how to select a different song
 +
## (Not all of the above need to be shown on the same display)
 +
# System software must separated into tasks. EX: Display task, MP3 Read Task, Controller Task etc...
 +
# System software must be thread safe always.
 +
# System software must use OS structures and primitives where applicable.
 +
 
 +
=== Prohibited Actions: ===
 +
# System MAY NOT use an external SD card reader embedded into MP3 device. YOU MAY use an external SD card reader if your SD card reader is broken
 +
# ''Will add more things as they pop up ...''
 +
 
 +
=== Permitted Action: ===
 +
# You may use the internal buttons for controlling the MP3 player.
 +
# You may use the 7-segment display and buttons for debugging but not as the main menu.

Revision as of 23:12, 12 November 2017

Project Summary

The goal of this project is to create a fully functional MP3 music player using SJOne Microcontroller board as the source for music and control. MP3 files will be present on an SD card. SJOne board reads these files and transfers data to a audio decoding peripheral for generating music. User would be able to use player controls (start/stop/pause) for playing MP3 songs and view the track information on a display.

Block Diagram

Mp3 player block diagram.png

Project Requirements

Non-Functional Requirements:

  • Should be dynamic.
    • As in, you should be able to add more songs and play them
  • Should be accurate.
    • Audio should not sound distorted,
    • Audio should not sound slower or faster when running on your system.
  • Should be user friendly.
    • User should be able to figure out how to use the device without a user manual.

Functional Requirements

  1. System must use the SJOne on board SD card to read MP3 audio files.
  2. System must communicate to an external MP3 decoder
  3. System must allow users to control the MP3 player (You may use the onboard buttons for this)
    1. User must be able to play and pause of song
    2. user must be able to select a song
  4. System must use an external display to show a menu providing the following information:
    1. Current playing song
    2. Information about current playing song
    3. Menu showing how to select a different song
    4. (Not all of the above need to be shown on the same display)
  5. System software must separated into tasks. EX: Display task, MP3 Read Task, Controller Task etc...
  6. System software must be thread safe always.
  7. System software must use OS structures and primitives where applicable.

Prohibited Actions:

  1. System MAY NOT use an external SD card reader embedded into MP3 device. YOU MAY use an external SD card reader if your SD card reader is broken
  2. Will add more things as they pop up ...

Permitted Action:

  1. You may use the internal buttons for controlling the MP3 player.
  2. You may use the 7-segment display and buttons for debugging but not as the main menu.