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

来自Microduino Wikipedia
跳转至: 导航搜索
Arduino library and supported package
Pkj讨论 | 贡献
第4行: 第4行:
 
|
 
|
 
[[file:Microduino-LM4863-rect1.jpg|400px|thumb|right|Microduino-LM4863]]
 
[[file:Microduino-LM4863-rect1.jpg|400px|thumb|right|Microduino-LM4863]]
Microduino-Amplifier is a D-Class Amplifier Module. Widely used in music embedded system.
+
Microduino-Amplifier is the double-channel audio power amplifier module.  
  
 
|-
 
|-
 
|
 
|
 
==Feature==
 
==Feature==
*2.54 Connector with good compatibility;
+
*2.54 connector with good compatibility;
*Suppress power noise, gain stability;
+
*Power-on noise offset and uni-gain stable;
*Small, cheap, stackable, opened platform
+
*Small, cheap, stackable and open
*Open source hardware circuit design, compatible with the Arduino IDE development environment for programming;  
+
*Open hardware circuit design and Arduino compatible programming development environment;
*Define unified interface Microduino specification and contain rich peripheral modules. Set up the quick connection with other Microduino modules and sensors easily and flexibly;
+
*Uniformed Microduino interface standard and rich peripheral modules, capable of having a fast and flexible connection and extension with other modules and sensors in accord with Microduino interface standard;
*2.54 pitch row female connector for easy integration into breadboard.
+
*Easy to be integrated to pegboards with a 2.45-pitch female header connector interface.  
  
  
第20行: 第20行:
 
|
 
|
 
==Specifications==
 
==Specifications==
*Provide 2.2W output for 4Ω load;
+
*Offer 2.2W output for 4Ω load;
 
*Operating Voltage:2.0-5.5V;
 
*Operating Voltage:2.0-5.5V;
*Externally controlled, low-power shutdown mode, typical shutdown current of 0.7uA.
+
*Externally controlled low-power shutdown mode with the 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]]
第34行: 第34行:
  
 
==Development==
 
==Development==
*Make sure the 5V power supply current can reach 500ma, not recommended use FT232R debugging directly, becasue FT232R's output current is small.
+
*Make sure the 5V power supply current can reach 500ma and the FT232R debugging is not recommended since FT232R's output current is small.
  
 
===Arduino library and supported package===
 
===Arduino library and supported package===
第40行: 第40行:
  
 
===How to use the library===
 
===How to use the library===
*Original library SD module CS pin is D4, need change to D7;
+
*The CS pin of Microduino-SD module is D4 in the original library, needed to be changed to D7;
*Original library can not directly support Microduino Core +, we have modified this library to solve this problem;
+
*Since the 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.
+
*TF card(2GB of memory and lower) in FAT format is recommended.
  
  
 
===Externally controlled low-power shutdown===
 
===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;
+
*In many applications, the shutdown port's level conversion is finished by the controller, but it can also be achieved 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;
+
**Connect a pull-up resistor on the third pin of the second row pin female near the D13 pin, then disconnect the 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.
+
**Turn on the switch,pthe ull-up resistor will pull up the voltage,making Microduino-LM4863 stop work.
  
 
==Application==
 
==Application==
第57行: 第57行:
  
 
===The Audio experiment using Core and SD===
 
===The Audio experiment using Core and SD===
*Prepared Hardware:Microduino FT232R、Microduino Core、Microduino SD、Microduino LM4863;
+
*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;
+
*Software:Arduino IDE(1.0 release upper)、Microduino provides test program(Arduino part)、SimpleSDAudio library、Audio file creation tools;
 
*Put the downloaded library to the libraries folder of Arduino IDE installation;  
 
*Put the downloaded library to the libraries folder of Arduino IDE installation;  
*Copy the "EXAMPLE.AFAM" in examples folder to memory card;
+
*Copy the "EXAMPLE.AFAM" in "examples" folder to memory card;
*Start Arduino IDE,open the "BareMinimum" program,card type chosse "Microduino Core (Atmega328P@16M,5V)",download directly;
+
*Start Arduino IDE,open the "BareMinimum" program, choose "Microduino Core (Atmega328P@16M,5V)"and download directly;
 
*Then you can listen it!
 
*Then you can listen it!
**If you want to play your own audio, just need replace the "EXAMPLE.AFM" by you made audio file.
+
**If you want to play your own audio, just need to change the "EXAMPLE.AFM" to the name of the generated audio file.
  
===The process to make an audio file===
+
===The process of making an audio file===
 
*Convert any audio file into a. Wav format using a software "Format Factory";
 
*Convert any audio file into a. Wav format using a software "Format Factory";
 
*Generate an audio file:
 
*Generate an audio file:
**We need to use a SoX-based tool, and then choose the appropriate conversion process based on the operating frequency that your Microduino selected;   
+
**We need to use a SoX-based tool, and then choose the appropriate conversion process according to the operating frequency of the modules;   
**Decompression the tool,then enter into“Arduino with 16 MHz”folder,put the audio file into this folder,and drag to "FullRate@16MHz_Stereo.bat" (16M full stereo) batch on;
+
**Decompress the tool,then enter“Arduino with 16 MHz”folder,put the audio file into this folder,and drag to "FullRate@16MHz_Stereo.bat" (16M full stereo) batch on;
**then you can convert the file, will pop up a dialog box appears "Press any key to continue ...";
+
**then you can convert the file. A dialog box will pop up "Press any key to continue ...";
**After completed, you will find a new folder, the converted file is there.
+
**After that, you will find a new folder and the converted file is there.
  
 
==Pictures==
 
==Pictures==

2014年7月28日 (一) 09:47的版本

Language English

Microduino-Amplifier is the double-channel audio power amplifier module.

Feature

  • 2.54 connector with good compatibility;
  • Power-on noise offset and uni-gain stable;
  • Small, cheap, stackable and open
  • Open hardware circuit design and Arduino compatible programming development environment;
  • Uniformed Microduino interface standard and rich peripheral modules, capable of having a fast and flexible connection and extension with other modules and sensors in accord with Microduino interface standard;
  • Easy to be integrated to pegboards with a 2.45-pitch female header connector interface.


Specifications

  • Offer 2.2W output for 4Ω load;
  • Operating Voltage:2.0-5.5V;
  • Externally controlled low-power shutdown mode with the 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 and the FT232R debugging is not recommended since FT232R's output current is small.

Arduino library and supported package

How to use the library

  • The CS pin of Microduino-SD module is D4 in the original library, needed to be changed to D7;
  • Since the original library can not directly support Microduino Core +, we have modified this library to solve this problem;
  • TF card(2GB of memory and lower) in FAT format is recommended.


Externally controlled low-power shutdown

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

Application

Program Download

The Audio experiment using Core and SD

  • Hardware:Microduino FT232R、Microduino Core、Microduino SD、Microduino LM4863;
  • Software:Arduino IDE(1.0 release upper)、Microduino provides test program(Arduino part)、SimpleSDAudio library、Audio file creation tools;
  • Put the downloaded library to the libraries folder of Arduino IDE installation;
  • Copy the "EXAMPLE.AFAM" in "examples" folder to memory card;
  • Start Arduino IDE,open the "BareMinimum" program, choose "Microduino Core (Atmega328P@16M,5V)"and download directly;
  • Then you can listen it!
    • If you want to play your own audio, just need to change the "EXAMPLE.AFM" to the name of the generated audio file.

The process of making an audio file

  • Convert any audio file into a. Wav format using a software "Format Factory";
  • Generate an audio file:
    • We need to use a SoX-based tool, and then choose the appropriate conversion process according to the operating frequency of the modules;
    • Decompress the tool,then enter“Arduino with 16 MHz”folder,put the audio file into this folder,and drag to "FullRate@16MHz_Stereo.bat" (16M full stereo) batch on;
    • then you can convert the file. A dialog box will pop up "Press any key to continue ...";
    • After that, you will find a new folder and the converted file is there.

Pictures

Microduino LM4863 Front


Microduino LM4863 Back