0
  • 聊天消息
  • 系统消息
  • 评论与回复
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心

完善资料让更多小伙伴认识你,还能领取20积分哦,立即完善>

3天内不再提示

自制MP3播放器,mp3 player

454398 2018-09-20 19:47 次阅读

自制MP3播放器,mp3 player

关键字:MP3电路图

简述:此款名为yampp-7型MP3播放器,用了一片Nokia3310手机的LCD显示屏来显示操作,使用一片FT8U245USB芯片!能使用多种小型Flash卡和多媒体卡作为歌曲文件存储器!

yampp7 is a new portable MP3 player that uses ComPACt Flash or MultiMedia cards for storage of songs. You'll get about 1 minute of playing time per MB on the memory card, if your songs are 128 kbps.
The player is pretty small and the PCB has been designed to fit into a Teko "Soap" box.
It features a 84*48 pixel graphICal LCD display, similar to the displays used on Nokia 3310 cell phones.
It's designed to operate from rechargable battery cells, either from a single 3.6V Li-Ion cell (recommended), or from 3*1.2V Ni-Mh cells. With a 600 mA Li-Ion cell, the playing time is about 12 hours, but you CAN find Li-Ion cells up to 1200 mAh that will fit in the player, extending the playing time to about 24 hours
It's intended to be used with replacement Li-Ion cells for Mobile Phones, making it easy (and relatively cheap) to find a suitable cell. (I use mine with a cell for a Motorola V3688 Phone).
It also features a USB interface for fast downloading of songs to the memory card, and for firmware updates
The player uses a special filesystem calLED YADL (Yampp Advanced Disk Layout), which maximizes the capacoty of the memory card.
It is playlist based and give the player a powerful but easy to use user interface
Processor
The central part of the yampp-7 player is the Atmel mega161 CPU. It's like a big-brother to the classic 8515 CPU that was used on the original yampp-3.
It has 16 kB Flash and 1024 bytes internal SRAM, both double as much as on the 8515.
It also features a bootloader option. This is been used in yampp-7, where it is now possible to download new firmware over the USB link
USB
The USB link is controlled by a FT8U245BM Chip from FTDI. This is a VERY easy to use USB chip, which basically looks like a simple 8-bit buffer (hence the name). There's no need for implementing any specific USB code in the player, to communicate over the USB link, you just read and write data directly to the chip.
Two status PINs inDICate if there's any data in the receive buffer, and if the transmitter queue is empty.
The USB chip is memorymapped and oCCupies a single address in the CPU address space.
Some discrete circuitry is added to the USB chip to enable it to startup in the correct mode, and to handle the power on reset and SOFt-Connect feature.
Li-Ion charger
A Maxim MAX1811 chip is added for handling the charging of the Li-Ion cell.(Ni-Mh cells can also be used in the player, in this case, the MAX1811 is replaced by a diode and a resistor).
The MAX chip is a special USB to Li-Ion charger, and it controls the relatively complicated charge sequence to the Li-Ion cell.
The Li-Ion cell (or Ni-Mh cells), supply 3.6V to the other components.
Memory Card Interface
The player can be used with either a Compact Flash card or a MultiMedia Card.
The Compact Flash (CF) interface is pretty similar to a standard ATA interface. The nice thing about it, is that it can run in 8-bit mode, making it very simple to interface to a microprocessor.
In the yampp-7, the CF interface is mapped directly into the memorymap of the processor. To control the CF card and to read/write data, the standard ATA register bank of is used, and address bits A8-A11 is used to select the register.
The MultiMedia Interface is a serial interface with an SPI bus. As the mega161 already has such a bus, the MultiMedia card is simply hooked onto this bus, with a single address line used as chip select.
Address decoding
To simplify the addressing of the CF card and USB interface, a 74HC00 is used to gate the RD and WR signals to the USB chip depending on the state of address line A15. With this, the USB chip will be LOCated at address 0x8000, and the CF card's registers are located at 0x1000 to 0x1F00.
MP3 Decoder
The MP3 decoder is, as on other yampp's the VS1001K chip from VLSI. It's an easy to use decoder with a built in DAC. It's clocked from a 12.288 MHz Crystal, enabling bitrates up to 256k bps.
It also has a built in headphone amplifier.
Player control
The player is controlled with 4 pushbuttons. One of these is connected to the ICP input of the CPU, which can generate an interrupt to the CPU. When the player is stopped, it enters power-down mode after 1 minute. The interrupt from the button can then be used to wakeup the CPU from the low-power sleep mode.
All buttons have two functions, one is reached by a short press on the button, and the other by holding down the button. Depending on player state, the buttons control various functio
Partslist
PartvaluePackage
--------------------- -----------------
R1,R610k R0805
R2,R3100RR0805 *
R4 1MR0805
R5,R8,R114k7 R0805
R71k5R0805
R102k2R0805
R12470R0805
R1333kR0805
R14,R1527 R0805
R1651kR0805
C1,C6,C7 100nFC0805
C9-C11 100nFC0805
C2-C533pFC0805
C8 10uF/16ELNA_RV2_4
C14 10uF/16 Tantal ! C6032
C15 1uF/16 Tantal C3528
C12,C13100uF/10ELNA_RV2_63
D1 BAS32 SOD80 *
T2 BC817 SOT23
IC1ATmega161LTQFP44
IC2VS1001K SOIC-28
IC474HC00D SO14
IC5MAX1811 SO8 **
IC6FT8U245BM QFP32
Q1 4.000MHzHC49U-V Crystal
Q2 12.288MHz HC49U-V Crystal
Q3 6.00MHz Ceramic Resonator
J1 Compact Flash Connector
J2 LCD/Programming Angled Connector 2*5 2mm
SH1 MultiMedia Card Connector
X1 Headphones3.5mm Jack
X2 USB Connector Type787780
SW1-SW4ALPS Type SKHHLQ pushbutton
* = only used with Ni-Mh cells
** = only used with Li-Ion cells
点击图片可放大
相关下载
自制MP3播放器制作资料
chengxu.rar
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
收藏 人收藏

    评论

    相关推荐

    用STM32F105的USB做了一个读U盘MP3播放器,为什么听到的音乐播放速度很快?

    最近用STM32F105的USB做了一个读U盘MP3播放器,使用I2S2_DMA输出音频数据,再使用TAS5711数字功放进行输出声音。读出文件的采样为44.1khz, I2S也设置为此采样率。不知为何,听到的音乐播放速度很快
    发表于 04-02 06:52

    基于Mega16的SD卡MP3播放器设计

    电子发烧友网站提供《基于Mega16的SD卡MP3播放器设计.zip》资料免费下载
    发表于 11-17 14:33 0次下载
    基于Mega16的SD卡<b class='flag-5'>MP3</b><b class='flag-5'>播放器</b>设计

    MP3播放器详细设计方案

    简介:开发工具:keil7 主要IC:at89c51sdnd1(atmel) 说明:mp3播放器详细设计方案,包括电路原理图,物料,源码,开发文档,芯片datasheet等。 用途:单芯片mp3的设计实现。
    发表于 11-15 14:36 6次下载
    <b class='flag-5'>MP3</b><b class='flag-5'>播放器</b>详细设计方案

    硬盘MP3 player的原理图

    电子发烧友网站提供《硬盘MP3 player的原理图.rar》资料免费下载
    发表于 11-10 09:41 2次下载
    硬盘<b class='flag-5'>MP3</b> <b class='flag-5'>player</b>的原理图

    请问51单片机能做MP3播放器吗?

    51单片机能做MP3播放器吗?用最新的STC8,有没有什么思路,或者参考
    发表于 11-03 08:03

    MP3播放器解码功能的实现

    电子发烧友网站提供《MP3播放器解码功能的实现.pdf》资料免费下载
    发表于 10-25 11:01 0次下载
    <b class='flag-5'>MP3</b><b class='flag-5'>播放器</b>解码功能的实现

    基于Linux下mp3播放器的研究实现

    电子发烧友网站提供《基于Linux下mp3播放器的研究实现.doc》资料免费下载
    发表于 10-25 10:13 0次下载
    基于Linux下<b class='flag-5'>mp3</b><b class='flag-5'>播放器</b>的研究实现

    如何将开源Helix MP3解码算法移植到AT32F4xx单片机方法

    本应用笔记介绍了如何将开源Helix MP3解码算法移植到AT32F4xx单片机方法。本文档提供的源代码演示了使用Helix MP3解码算法的MP3播放器应用程序。该
    发表于 10-24 07:20

    EFSL嵌入式MP3播放器设计原理

    电子发烧友网站提供《EFSL嵌入式MP3播放器设计原理.pdf》资料免费下载
    发表于 10-11 10:44 0次下载
    EFSL嵌入式<b class='flag-5'>MP3</b><b class='flag-5'>播放器</b>设计原理

    基于STC89C58单片机的MP3播放器设计

    电子发烧友网站提供《基于STC89C58单片机的MP3播放器设计.pdf》资料免费下载
    发表于 10-10 10:56 3次下载
    基于STC89C58单片机的<b class='flag-5'>MP3</b><b class='flag-5'>播放器</b>设计

    手工制作MP3播放器的电路图与资料

    电子发烧友网站提供《手工制作MP3播放器的电路图与资料.pdf》资料免费下载
    发表于 10-10 10:13 0次下载
    手工制作<b class='flag-5'>MP3</b><b class='flag-5'>播放器</b>的电路图与资料

    使用MC34063设计的mp3播放器充电器

    mp3播放器充电器电子项目电路图是使用MC34063电路设计的,该电路是提供直流直流电压转换主要功能的单片控制电路。
    的头像 发表于 10-06 10:29 517次阅读
    使用MC34063设计的<b class='flag-5'>mp3</b><b class='flag-5'>播放器</b>充电器

    使用NAU88L25作为MP3播放器播放MP3存储在SD卡中的MP3文件

    : NuMaker-PFM-M487 v3.0 此样本代码使用外部代码 NAU88L25 来作为 MP3 播放器播放 MP3 存储在 SD 卡中的
    发表于 08-29 08:29

    如何使用NUC505内部代码来播放MP3文件储存在内部SPI闪光中

    应用程序: 一个 MP3 播放器演示, 使用内部编码播放 MP3 文件, 存储在内部 SPI 闪光中 BSP 版本: NUC505系列
    发表于 08-23 07:00

    RaspiPlayer-网络收音机和MP3文件夹播放器

    电子发烧友网站提供《RaspiPlayer-网络收音机和MP3文件夹播放器.zip》资料免费下载
    发表于 06-28 10:56 0次下载
    RaspiPlayer-网络收音机和<b class='flag-5'>MP3</b>文件夹<b class='flag-5'>播放器</b>