Summary of MP3 Player using ATMega128 microcontroller
This DIY MP3 player project enables high-quality audio playback from a 30GB hard drive in the living room. Built around an ATMega128 microcontroller and VS1001k decoder, it features a single-sided PCB, USB connectivity via FT232MB, and a bi-directional infrared remote with a graphic LCD. The system supports FAT32 with long filenames and includes a bootloader for firmware upgrades.
Parts used in the DIY MP3 Player:
- Atmel ATMega128 microcontroller (16Mhz)
- VS1001k MP3 decoder
- FT232MB USB interface chip
- IDE ATA interface
- On board power supply (7v to 20v DC)
- Infrared communication devices GP1UD26xk
- Back light graphic LCD
- 5 navigation buttons
- 2x AA batteries for remote
History
I decided to do this project for several reasons: Frst I like music, second I have a huge collection of MP3, and third I wanted to be able to play them anytime 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 realized this project was in fact ‘feasible’! One major characteristic of this player was the bi-directional remote control. I had to give several information, folders and songs on a small graphic LCD.
In the comfort of your living room you can browse and listen to 30 gig of MP3. The MP3 player is nicely built around the Atmel ATMega128 running at 16Mhz. The MP3 decoder is a VS1001k which gives a crystal clear sound. The USB interface is done via FT232MB, which by the way, makes USB development 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 like GP1UD26xk (infrared sensor) need to have a density of 1’s lower then 45% so the Manchester encoding MUST be used with a speed of 2400bps maximum and 2 stop bits.
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)
For moe detail: MP3 Player using ATMega128 microcontroller
- What is the main restriction for the printed circuit board?
The printed circuit board of the MP3 player must be single side. - How much storage capacity does the player support?
The player can browse and listen to 30 gigabytes of MP3 files. - Which microcontroller runs the MP3 player?
The player is built around the Atmel ATMega128 running at 16Mhz. - Can the firmware be upgraded easily?
Yes, the bootloader firmware is upgradeable via the USB port. - Does the remote control require many batteries?
The remote works with only 2x AA batteries. - What encoding method is required for Infrared communication?
Manchester encoding MUST be used because the sensor needs a density of 1s lower than 45%. - What is the maximum speed for the Infrared transmission?
The speed must be 2400bps maximum with 2 stop bits. - How far can the remote control operate?
The remote has a long range of more than 20 feet.