“Microduino LM4863 Music player -301KIT”的版本间的差异
(未显示同一用户的1个中间版本) | |||
第1行: | 第1行: | ||
+ | {{Language|Microduino_LM4863_Music_player_-301KIT}} | ||
{| style="width: 800px;" | {| style="width: 800px;" | ||
|- | |- | ||
| | | | ||
==Outline== | ==Outline== | ||
− | Project:Microduino | + | Project:Microduino-Amplifier Music Player |
− | + | Purpose:It adopts Microduino-Amplifier to play fixed music and controls the play or pause through a button. | |
− | Difficulty:Elementary | + | Difficulty:Elementary |
Time-consuming:Half an hour | Time-consuming:Half an hour | ||
第15行: | 第16行: | ||
| | | | ||
==Bill of Materials== | ==Bill of Materials== | ||
− | *Microduino | + | *Microduino Equipment |
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
|Module||Number||Function | |Module||Number||Function | ||
|- | |- | ||
− | |Microduino-Core||1||Core | + | |Microduino-Core||1||Core Board |
|- | |- | ||
− | |Microduino-FT232R ||1|| | + | |Microduino-FT232R ||1||For downloading the program |
|- | |- | ||
− | |Microduino-SD||1|| | + | |Microduino-SD||1||For storing the music file |
|- | |- | ||
− | |Microduino-LM4863||1|| | + | |Microduino-LM4863||1||For audio play |
|- | |- | ||
− | |Microduino Duo-V||1|| | + | |Microduino Duo-V||1||For ease of debugging |
|} | |} | ||
|- | |- | ||
| | | | ||
− | *Other | + | *Other Equipment |
{|class="wikitable" | {|class="wikitable" | ||
|- | |- | ||
− | | | + | |Loudspeaker||One |
|- | |- | ||
− | | | + | |Breadboard||One |
|- | |- | ||
− | |Breadboard | + | |Breadboard jumper||One box |
|- | |- | ||
− | |Button|| | + | |Button||One |
|- | |- | ||
− | | | + | |Memory card||One |
|- | |- | ||
− | |micro | + | |micro USB cable||One |
|} | |} | ||
|- | |- | ||
第52行: | 第53行: | ||
|- | |- | ||
| | | | ||
− | == | + | ==File== |
+ | |||
+ | |||
+ | Test Code: | ||
+ | https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_KIT/kit_LM4863_music | ||
− | |||
− | |||
==Debugging== | ==Debugging== | ||
− | Step | + | Step 1:Build the circuit |
− | *Insert the memory card into Microduino SD card slot | + | *Insert the memory card into Microduino-SD card slot |
|- | |- | ||
| | | | ||
第64行: | 第67行: | ||
|- | |- | ||
| | | | ||
− | *Connect the | + | *Connect the loudspeaker |
|- | |- | ||
| | | | ||
第70行: | 第73行: | ||
|- | |- | ||
| | | | ||
− | *Connect the button | + | *Connect the button |
|- | |- | ||
| | | | ||
第76行: | 第79行: | ||
|- | |- | ||
| | | | ||
− | * | + | *Stack all modules together to have an overall buildup. |
|- | |- | ||
| | | | ||
第82行: | 第85行: | ||
|- | |- | ||
| | | | ||
− | Step | + | Step 2:Maker audio |
− | * | + | *We’ll need a tool based Sto oX and choose the right conversion program according to the work frequence of your Microduino modules; |
− | * | + | |
+ | *Uncompress the audio file, enter the folder “Microduino with 16 MHz”, store the file into the folder and drag it to “FullRate@16MHz_Mono.bat” for batch processing; | ||
|- | |- | ||
| | | | ||
第90行: | 第94行: | ||
|- | |- | ||
| | | | ||
− | * | + | *The program can be converted after the drag. A dialog box will pop up, showing “Enter Any Key to Continue..."; |
+ | |||
|- | |- | ||
| | | | ||
第96行: | 第101行: | ||
|- | |- | ||
| | | | ||
− | *After finished, you | + | *After it is finished, you will find a newly-created folder and the converted file is just inside it. If not, you can convert the original audio file to “wav format” and try again. |
|- | |- | ||
| | | | ||
第102行: | 第107行: | ||
|- | |- | ||
| | | | ||
− | * | + | *Cope the converted audio file to the memory card and insert the card into Microduino-SD card slot. |
− | *Use | + | *Use IED to open the test program offered by Microduino, choose the board “Microduino Core (Atmega328P@16M,5V)” and download the program. Before the download, you should know: |
− | ** | + | **Since some libraries may have different pin definition, please download the latest libraries to replace the former ones; |
− | ** | + | **In the program, you need to change the name of the audio file to that of the generated audio file. |
==Result== | ==Result== | ||
− | After download, press the button to play | + | After the download, just press the button to play music and one more press to pause the music. |
|- | |- | ||
| | | | ||
− | == | + | ==Vedio== |
http://v.youku.com/v_show/id_XNjY1Njg5ODQw.html | http://v.youku.com/v_show/id_XNjY1Njg5ODQw.html | ||
|} | |} |
2014年8月21日 (四) 02:38的最新版本
Language | English |
---|
OutlineProject:Microduino-Amplifier Music Player Purpose:It adopts Microduino-Amplifier to play fixed music and controls the play or pause through a button. Difficulty:Elementary Time-consuming:Half an hour Maker:Microduino Studio-YLB | ||||||||||||||||||
Bill of Materials
| ||||||||||||||||||
| ||||||||||||||||||
FileTest Code: https://github.com/Microduino/Microduino_Tutorials/tree/master/Microduino_KIT/kit_LM4863_music DebuggingStep 1:Build the circuit
| ||||||||||||||||||
| ||||||||||||||||||
| ||||||||||||||||||
| ||||||||||||||||||
Step 2:Maker audio
| ||||||||||||||||||
| ||||||||||||||||||
| ||||||||||||||||||
ResultAfter the download, just press the button to play music and one more press to pause the music. | ||||||||||||||||||
Vedio |