1 / 20

Group 4 Craig Bellamy Jeremy Ruple Frank Swehosky Ryan VanAlstine

Group 4 Craig Bellamy Jeremy Ruple Frank Swehosky Ryan VanAlstine. Introduction. The Internet is capable of wide-scale multimedia streaming Current analog streaming are limited to range, ex. t.v., FM radio We propose to create an Internet Radio player. Original Objectives and Deliverables.

lewis-olsen
Download Presentation

Group 4 Craig Bellamy Jeremy Ruple Frank Swehosky Ryan VanAlstine

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. Group 4Craig BellamyJeremy RupleFrank SwehoskyRyan VanAlstine

  2. Introduction • The Internet is capable of wide-scale multimedia streaming • Current analog streaming are limited to range, ex. t.v., FM radio • We propose to create an Internet Radio player

  3. Original Objectives and Deliverables • Connect to a remote server via TCP/IP • Receive streaming audio • Decode the streaming audio • Convert a digital signal into an analog signal • Output the analog signal to a line out • Scanning functionality • Preset and programmable buttons • Final product: a functional web radio player

  4. Background • Multimedia Technology • Multimedia Streaming • TCP/IP • Embedded System

  5. Approaching the Problem • Research • uClinux • Software • Scanning functionality • Downloading mp3 data • Decoding mp3 data

  6. Approaching the Problem cont. • Hardware • DAC/Speakers • LCD • Button interface • Integration • Software integration • Device drivers

  7. Coldfire Board • What it provides: • 8 MB RAM • 1 MB Flash ROM • NE2000 compatible Ethernet interface • 2 serial connections, 1 for Terminal • 1 16 bit general purpose parallel I/O port

  8. uClinux • The Linux/Microcontroller project is a port of the Linux 2.0 to systems without a Memory Management Unit • At present, only Motorola MC68000 derivatives are supported • NFS and SMB file-systems can be mounted

  9. uClinux-negative cont. • no fork() - use vfork(), check semantics still OK. • limited libc - either add more to libc, or remove some functionality. • binary size - currently exec() loader can't handle things bigger than 128k. This can be extended by hacking the linux/mmnommu code, grep for BIGALLOCS.

  10. Software Design

  11. Scanning Broadcasting Sites • Use a packet sniffer? • Security risks • Difficult implementation • Use Shoutcast’s web page! • Contains mp3 broadcasting sites • Download contents of page • Parse page • Store into an array

  12. Downloading MP3 Data • Connect to the site (tcp connection) • Issue command to send • Receive data into buffers • Store buffers into a file

  13. Decoding the MP3 Data • Input the MP3 file that was downloaded • Use Huffman’s Algorithm to decode it • minimal variable-length encoding based on the frequency of each character • Output the decoded data to the DAC

  14. DAC Driver • purpose of the DAC driver is to allow data in memory to be sent to the physical DAC via a programmable port • accepts a buffer of data and a given frequency, and will output one 16 bit value at each period to the physical DAC • data has to be sent to the physical DAC one bit at a time

  15. Original Timeline

  16. Modified Timeline

  17. Accomplishments • Connect to a remote server via TCP/IP  • Receive streaming audio  • Decode the streaming audio  • Convert a digital signal to an analog signal  • Output the analog signal to a line out  • Scanning functionality  • Preset and programmable buttons X • Final product: a functional web radio player X

  18. Current Problems • Limited commands with uClinux • Integration of software and hardware • DAC device driver • Passing data between programs • Size of the ROM • 1 MB ROM vs. 3.6 MB kernel • Unreliable Coldfire board

  19. QUESTIONS ?

More Related