How to make mp3 player ' Sakura Open Source' Part 2

PCB Layout :
Source
Source code written in C. I use the PCM compiler for the average bit controller (PCM midrange compiler) from the CCS. It costs about a hundred dollars and produces very compact code, a complete set of built-in functions and data types. I am very pleased with them. Web site compiler developers - ccsinfo.com .


For people who do not need to modify the code is. hex files, ready for loading directly into the PIC controller. Do not forget to clear the check box ( fuses ) and Brownout WATCHDOG , it would mean - to prohibit ih.Esli you do not, the entire device will refuse to work. This is the most common mistake.

To date, all of 4 kilobytes of program memory is almost fully occupied. 256 bytes of flash ( EEPROM) memory is completely used to store tables of the function Shuffle. There are several non-critical functions that can be removed to free up some space in memory, such as buttons and sub-interface mode random playback. If the microchip company when neither be to release the 18-legged controller with 8 kilobytes of memory, I will definitely use it for this project. You can also make the code more efficient than the code I have made. If you do, let me know what you did.

Parts List
Number
Part number
Description
1
PIC 16 LF 88, SOIC package (in April 2006 at mouser they were the cheapest).
PIC microcontroller.
1
VS1011b, SOIC body . I think I use vs 1011 e is possible, but will require minor modifications.
Chip MP3 decoder.
1
SCDA 1 A 0901 (available from Mouser . com )
Slot for SD / MMC card
1
Low-current red LED, housing 1206
1
CP-3523SJCT-ND
Headphone jack.
1
ECS-129-18-4 12.96 MHZ or equivalent
crystal at 12.96 megahertz.
2.4
311-1154-1-ND
22pF capacitor, 1206 case.
1
MCP1700T3302ETTCT-ND
Stabilizer 3.3 volts, SOT23-3 package.
6
BC1300CT
0.1mkF capacitor, 0805 case.
3
PCE3093CT
Mini joystick (4 buttons and a "choice").
1
Not defined
5 pin plug 1 inch.
1
SBH-431A-ND
3 cell Ni - MH battery ( AAAworks well L ).
1
1M resistor 1206 chassis.
1
1K resistor 0805 chassis.
1
478-3026-1
from 10 to 15 uF tantalum capacitor.


Search here!