AVR MP3 Player
出處:王曉明 發(fā)布于: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"
來(lái)自:from https://www.microsyl.com/
上一篇:Bootloader存在的必要性
下一篇:TI推出的1394b 器件
版權(quán)與免責(zé)聲明
凡本網(wǎng)注明“出處:維庫(kù)電子市場(chǎng)網(wǎng)”的所有作品,版權(quán)均屬于維庫(kù)電子市場(chǎng)網(wǎng),轉(zhuǎn)載請(qǐng)必須注明維庫(kù)電子市場(chǎng)網(wǎng),http://m.58mhw.cn,違反者本網(wǎng)將追究相關(guān)法律責(zé)任。
本網(wǎng)轉(zhuǎn)載并注明自其它出處的作品,目的在于傳遞更多信息,并不代表本網(wǎng)贊同其觀點(diǎn)或證實(shí)其內(nèi)容的真實(shí)性,不承擔(dān)此類作品侵權(quán)行為的直接責(zé)任及連帶責(zé)任。其他媒體、網(wǎng)站或個(gè)人從本網(wǎng)轉(zhuǎn)載時(shí),必須保留本網(wǎng)注明的作品出處,并自負(fù)版權(quán)等法律責(zé)任。
如涉及作品內(nèi)容、版權(quán)等問(wèn)題,請(qǐng)?jiān)谧髌钒l(fā)表之日起一周內(nèi)與本網(wǎng)聯(lián)系,否則視為放棄相關(guān)權(quán)利。
- 工業(yè)5G技術(shù)在智能制造中的應(yīng)用與實(shí)踐解析2025/12/31 10:57:21
- 工業(yè)以太網(wǎng)交換機(jī)選型與現(xiàn)場(chǎng)應(yīng)用技術(shù)指南2025/12/18 10:48:14
- 無(wú)線傳輸電路基礎(chǔ),射頻前端設(shè)計(jì)、天線匹配與鏈路預(yù)算計(jì)算2025/10/27 13:55:50
- ASK 解調(diào)的核心要點(diǎn)與實(shí)現(xiàn)方式2025/9/5 16:46:17
- 雙偶極子天線:結(jié)構(gòu)、特性與應(yīng)用全解析2025/9/3 10:29:21









