Радиолюбительские схемы Пятница, 26 Апреля 24, 08:22
Меню сайта
Категории раздела
Audio [11]
microcontrollers [12]
Test and Measurement [1]
Статистика

Онлайн всего: 1
Гостей: 1
Пользователей: 0
Главная » Статьи » Electronic Circuit » microcontrollers

The World’s Simplest Open Source DIY MP3 player!

 
 
 

This player features a shuffle mode, basic track navigation, volume control, FAT32 support, fragmented file support, an unlimited number of files on the root directory, and high quality playback. Files at 256Kbps can be played without a hitch. Variable bitrate files are supported with peaks up to 320Kbps.
WAV files are also supported, but they have to be less than CD quality unless you put a faster oscillator in the pic. It works on my test device, but running the pic at over ~8MHz with only a 3.3 volt supply can be problematic. So I hear. I’m still working on the WAV stuff, so if you have some funny results playing WAV files, let me know.

To load the memory card, you will need some sort of card reader/writer. Many computers have them built in. External USB models are available for ~$10. Make sure to format the card FAT32, not FAT16.
For normal playback, load a card up with MP3 files (make sure they all have a ".mp3” file extension) and insert it into the player. Turn on the power and it should immediately start playing the first track. Tracks are played in the order that they are put onto the memory card.
To get into shuffle mode, hold the "next track” button down while you power on the device. It will remain in shufle mode until the next power cycle. Once all the songs have played once (and only once) it will go to sleep until the next power cycle.
 
Schematic

 
Source Code

 
 
 
 

 
 
Parts Layout

 
 
Parts List
 
 
quantity
part number
description
1
PIC16LF88, SOIC package (as of april ‘06 mouser has them cheapest)
pic microcontroller
1
VS1011b, SOIC package I think  the vs1011e is fine too, but it might need some minor modifications
MP3 decoder chip
1
 Alps #  SCDA1A0901 (available at Mouser.com)
SD/MMC card socket
1
 
red low current LED, 1206 package
1
digikey# CP-3523SJCT-ND
stereo headphone jack
1
ECS inc.#  ECS-129-18-4 12.96 MHZ or equivalent
12.96 MHz crystal
2-4
digikey# 311-1154-1-ND
22pF capacitor, 1206 package
1
 digikey# MCP1700T3302ETTCT-ND
3.3 volt regulator, SOT23-3 package
6
digikey# BC1300CT
0.1uF capacitor, 0805 package
3
digikey# PCE3093CT
100 uF capacitor, surface mount
9
 
10K resistor, 0805 package
5
digikey# 401-1131-1-ND
mini joystick (4 way plus select)
1
NOT DEFINED
5 pin .1 inch spacing header
1
digikey# SBH-431A-ND
3 cell Ni-MH battery pack (AAA works well)
1
 
1M resistor 1206 package
1
 
1K resistor 0805 package
1
digikey# 478-3026-1
10 to 15 uF tantalum cap
 
 
 
 
 
 

Категория: microcontrollers | Добавил: cxema (05 Января 10)
Просмотров: 2386
Вход на сайт
Поиск
Друзья сайта
  • Официальный блог
  • Сообщество uCoz
  • FAQ по системе
  • База знаний uCoz
  • Copyright MyCorp © 2024
    Используются технологии uCoz