AVR  MP3 Player

出处:王晓明 发布于:2007-04-29 11:09:28

MP3 Player

History

I decided to do this project for several reasons: fIRst I like music, second I have a ton of MP3 and third I wanted to be able to listen those in my living room.

I began the project with one major restriction, the printed circuit board of MP3 player MUST be single side in order to do it myself. After 2 months of drawing, I saw that it was a possible project.

One major characteristic of this player was the bi-directional remote control had to give these informations: directories and songs on a small graphic LCD. In the comfort of your chesterfield you can browse and listen to 30 gig of MP3.

The MP3 player is built around an Atmel ATMega128 running at 16Mhz. The MP3 decoder is a VS1001k who gives a crystal clear sound. The USB interface is done via FT232MB who makes USB very simple.

In this project I found two big difficulties: understanding FAT32 and transmitting a large quantity of information via InfraRed.

In order to understand FAT32 I used these tools:

- Windows software for checking the hard drive data on sector like WinHex.

- Microsoft FAT32 white paper's reading (not so easy to understand)

- Other source code of FAT32's analyzing could be useful

Infra Red Communication

Devices liked GP1UD26xk (infrared sensor) needed to have a density of 1's lower then 45% so the Manchester encoding MUST be used combined with a speed of 2400bps maximum and 2 stop bits.

Manchester encoding gives you 50% of 1's. Each time you send "1" you will send "10" and for "0" you send "01". The utilization of 2 stop bit by bytes will gives you approximately 45% of 1's. The fact is that you loose 50% of the original speed but that's the only way to do it.

ATA Interface

The ATA interface in PIO mode is very simple, if you know how to interface any MCU peripherals this is the same method. You have address bus who controls the register you wanted to write to or read from with a 16 bits data bus.

Features

MP3 Player

IDE ATA interface
FAT 32 with long file name support
USB interface
On board power supply (input from 7v to 20v DC)
Bootloader firmware upgradeable via USB port
Infrared bi-directional interface

Remote Control

Back light graphic LCD
worked with only 2x AA batteries
In sleep mode sink less than 1uA (2.5mA in active mode)
5 buttons for easy navigation
Long range (more than 20 feets)

Pictures

Click on the pictures to enlarge

MP3 Player

Remote Control

PCB with Hard Drive

Inside the Remote Control

Sources codes & Schematics

-MP3 Player Schematic in PDF format

-Remote Control Schematic in PDF format

-IR Transceiver Schematic in PDF format

-MP3 Player Source Code in ICCAVR format

-Remote Control Source Code in ICCAVR format

-MP3 Player Bootloader source code for MegaLoad in ICCAVR format "via usb"

来自:from https://www.microsyl.com/


  
关键词:AVR  MP3 PlayerATMEGA128GP1UD26XK

版权与免责声明

凡本网注明“出处:维库电子市场网”的所有作品,版权均属于维库电子市场网,转载请必须注明维库电子市场网,https://www.dzsc.com,违反者本网将追究相关法律责任。

本网转载并注明自其它出处的作品,目的在于传递更多信息,并不代表本网赞同其观点或证实其内容的真实性,不承担此类作品侵权行为的直接责任及连带责任。其他媒体、网站或个人从本网转载时,必须保留本网注明的作品出处,并自负版权等法律责任。

如涉及作品内容、版权等问题,请在作品发表之日起一周内与本网联系,否则视为放弃相关权利。

OEM清单文件: OEM清单文件
*公司名:
*联系人:
*手机号码:
QQ:
有效期:

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:
技术客服:

0571-85317607

网站技术支持

13606545031

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!