“Microduino-LM4863”的版本间的差异

来自Microduino Wikipedia
跳转至: 导航搜索
第3行: 第3行:
 
|
 
|
 
[[file:Microduino-LM4863-rect1.jpg|400px|thumb|right|Microduino-LM4863]]
 
[[file:Microduino-LM4863-rect1.jpg|400px|thumb|right|Microduino-LM4863]]
Microduino-LM4863是双声道音频功率放大模块。
+
Microduino-LM4863 is a D-Class Amplifier Module. Widely used in music embedded system.
  
 
|-
 
|-
 
|
 
|
==特色==
+
==Feature==
*2.54接插件兼容性好;
+
*2.54 Connector with good compatibility;
*抑制开机噪声,增益稳定;
+
*Suppress power noise, gain stability;
*小巧、便宜、堆叠、开放;
+
*Small, cheap, stackable, opened platform
*开源的硬件电路设计,与 Arduino 兼容的编程开发环境程;
+
*Open source hardware circuit design, compatible with the Arduino IDE development environment for programming;
*统一的 Microduino 接口规范,和丰富的外围模块,可方便、灵活的与其他符合 Microduino 接口规范的模块、传感器进行快速的连接和扩展;
+
*Define unified interface Microduino specification and contain rich peripheral modules. Set up the quick connection with other Microduino modules and sensors easily and flexibly;
*2.54间距的排母接口方便集成到洞洞板。
+
*2.54 pitch row female connector for easy integration into breadboard.
  
  
第19行: 第19行:
 
|
 
|
 
==Specifications==
 
==Specifications==
*为4Ω的负载提供2.2W的输出
+
*Provide 2.2W output for 4Ω load;
*工作电压:2.0-5.5V;
+
*Operating Voltage:2.0-5.5V;
*外部控制的低功耗关断模式,关断电流典型值0.7uA。
+
*Externally controlled, low-power shutdown mode, typical shutdown current of 0.7uA.
  
 
[[File:LM4863-Pinout-2.jpg|800px|thumb|center|Microduino-LM4863-Pinout]]
 
[[File:LM4863-Pinout-2.jpg|800px|thumb|center|Microduino-LM4863-Pinout]]
 
[[File:LM4863-Pinout-1.jpg|800px|thumb|center|Microduino-LM4863-Pinout]]
 
[[File:LM4863-Pinout-1.jpg|800px|thumb|center|Microduino-LM4863-Pinout]]
  
==文档==
+
==Document==
 
Eagle PCB '''[[File:Microduino-LM4863.zip]]'''
 
Eagle PCB '''[[File:Microduino-LM4863.zip]]'''
  
===主要元件===
+
===Main Component===
*功放芯片:LM4863 '''[[File:LM4863.pdf]]'''
+
*Amplifier chip:LM4863 '''[[File:LM4863.pdf]]'''
  
==开发==
+
==Development==
*请先确定5V电源的电流能达到500ma,不推荐直接采用FT232R调试,因为FT232R输出的电流较小。
+
*Make sure the 5V power supply current can reach 500ma, not recommended use FT232R debugging directly, becasue FT232R's output current is small.
  
===Arduino库及支持包===
+
===Arduino library and supported package===
*【SimpleSDAudio库'''[[http://www.hackerspace-ffm.de/wiki/index.php?title=SimpleSDAudio 下载 ]''' 】
+
*【SimpleSDAudio library'''[[http://www.hackerspace-ffm.de/wiki/index.php?title=SimpleSDAudio download ]''' 】
*【SimpleSDAudio修改库 '''[[File:Lib SimpleSDAudio.zip]]''' 】
+
*【SimpleSDAudio updated library '''[[File:Lib SimpleSDAudio.zip]]''' 】
  
  
===库的使用事项===
+
===How to use the library===
*原库的SD模块CS管脚为D4,需要改成D7;
+
*Original library SD module CS pin is D4, need change to D7;
*原库不能直接支持Microduino Core+,我们已经对此库作了修改,解决了这个问题;
+
*Original library can not directly support Microduino Core +, we have modified this library to solve this problem;
  
*推荐使用2GB以下(含2GB)FAT格式的TF卡
+
*Recommend 2GB or less (including 2GB) FAT format TF card.
  
  
===外部控制的低功耗关断功能===
+
===Externally controlled low-power shutdown===
*在很多应用场合,关断端口的电平转换都是由处理器来完成的,但是也可以用单向闸刀开关来实现:
+
*In many applications, the shutdown port's level conversion is finished by the controller, but it can also be used to implement by a one-way blade switch;
**靠近D13引脚的第二排短母座的第三个引脚外接一个上拉电阻,断开开关,因为此管脚拉低运放即开始工作;
+
**Connect a pull-up resistor on the third pin of Second row pin female which near the D13 pin, then disconnect switch, this pin will be pulled low, so the Amplifier begin to work;
**打开开关,外接上拉电阻将电平拉高使LM4863不工作。
+
**Turn on the switch,pull-up resistor will pull up the voltage, then LM4863 stop work.
  
==应用==
+
==Application==
  
===程序下载===
+
===Program Download===
*音频文件转换工具:'''[[File:Tools_lm4863.zip]]'''
+
*Audio file conversion tool:'''[[File:Tools_lm4863.zip]]'''
  
===结合Core与SD的音频实验===
+
===The Audio experiment using Core and SD===
*所需要准备的硬件有:Microduino FT232R、Microduino Core、Microduino SD、Microduino LM4863;
+
*Prepared Hardware:Microduino FT232R、Microduino Core、Microduino SD、Microduino LM4863;
*所需要准备的软件有:Arduino IDE(1.0版本以上)、Microduino提供的测试程序(Arduino端)、SimpleSDAudio库、音源文件制作工具;
+
*Prepared Software:Arduino IDE(1.0 release upper)、Microduino provides test program(Arduino part)、SimpleSDAudio library、Audio file creation tools;
 
*将下载好的库文件夹放入Arduino IDE安装文件夹内的libraries中;
 
*将下载好的库文件夹放入Arduino IDE安装文件夹内的libraries中;
 
*将examples文件夹的EXAMPLE.AFM复制到存储卡内
 
*将examples文件夹的EXAMPLE.AFM复制到存储卡内

2014年1月28日 (二) 08:49的版本

Microduino-LM4863 is a D-Class Amplifier Module. Widely used in music embedded system.

Feature

  • 2.54 Connector with good compatibility;
  • Suppress power noise, gain stability;
  • Small, cheap, stackable, opened platform
  • Open source hardware circuit design, compatible with the Arduino IDE development environment for programming;
  • Define unified interface Microduino specification and contain rich peripheral modules. Set up the quick connection with other Microduino modules and sensors easily and flexibly;
  • 2.54 pitch row female connector for easy integration into breadboard.


Specifications

  • Provide 2.2W output for 4Ω load;
  • Operating Voltage:2.0-5.5V;
  • Externally controlled, low-power shutdown mode, typical shutdown current of 0.7uA.
文件:LM4863-Pinout-2.jpg
Microduino-LM4863-Pinout
文件:LM4863-Pinout-1.jpg
Microduino-LM4863-Pinout

Document

Eagle PCB 文件:Microduino-LM4863.zip

Main Component

Development

  • Make sure the 5V power supply current can reach 500ma, not recommended use FT232R debugging directly, becasue FT232R's output current is small.

Arduino library and supported package


How to use the library

  • Original library SD module CS pin is D4, need change to D7;
  • Original library can not directly support Microduino Core +, we have modified this library to solve this problem;
  • Recommend 2GB or less (including 2GB) FAT format TF card.


Externally controlled low-power shutdown

  • In many applications, the shutdown port's level conversion is finished by the controller, but it can also be used to implement by a one-way blade switch;
    • Connect a pull-up resistor on the third pin of Second row pin female which near the D13 pin, then disconnect switch, this pin will be pulled low, so the Amplifier begin to work;
    • Turn on the switch,pull-up resistor will pull up the voltage, then LM4863 stop work.

Application

Program Download

The Audio experiment using Core and SD

  • Prepared Hardware:Microduino FT232R、Microduino Core、Microduino SD、Microduino LM4863;
  • Prepared Software:Arduino IDE(1.0 release upper)、Microduino provides test program(Arduino part)、SimpleSDAudio library、Audio file creation tools;
  • 将下载好的库文件夹放入Arduino IDE安装文件夹内的libraries中;
  • 将examples文件夹的EXAMPLE.AFM复制到存储卡内
  • 启动Arduino IED,打开BareMinimum示例程序,板卡选择Microduino Core (Atmega328P@16M,5V),直接下载即可;
  • 就可以听到声音了!
    • 如果要播放自己的音频,需要把“EXAMPLE.AFM”改成生成的音频文件名即可;

音频文件制作过程

  • 把任意音频文件转换成.wav格式,这里用到格式工厂;
  • 生成音频文件:
    • 我们需要用到一款基于SoX的工具,然后根据你的Microduino的工作频率选择合适的转换程序;
    • 解压工具,进入“Arduino with 16 MHz”文件夹,把音频文件放入到该文件夹中,并拖动到“FullRate@16MHz_Stereo.bat”(16M全速立体声)批处理上;
    • 即可转换程序,会弹出一对话框,出现“请按任意键继续...”;
    • 结束后你会发现新建了一个文件夹,转换好的文件就在里面。


Pictures

Microduino LM4863 Front


Microduino LM4863 Back