Microduino LM4863 Music player -301KIT

来自Microduino Wikipedia
Pkj讨论 | 贡献2014年2月23日 (日) 12:57的版本 (Created page with "{| style="width: 800px;" |- | ==Outline== Project:Microduino LM4863 music player Objective:Use Microduino LM4863 play the music, use the button to achive the "start","sto...")
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索

Outline

Project:Microduino LM4863 music player

Objective:Use Microduino LM4863 play the music, use the button to achive the "start","stop" function.

Difficulty:Elementary

Time-consuming:Half an hour

Maker:Microduino Studio-YLB

Bill of Materials

  • Microduino equipment
Module Number Function
Microduino-Core 1 Core module
Microduino-FT232R 1 Download program
Microduino-SD 1 Store music file
Microduino-LM4863 1 Audio play
Microduino Duo-V 1 Easy to debug
  • Other equipment
Horn one
Bread board one
Breadboard Jumper one box
Button one
memory card one
micro usb data calbe one
文件:301-KIT.jpg
301KIT图片

Document

Debugging

Step 1:Set up circuit

  • Insert the memory card into Microduino SD card slot.
  • Connect the horm
  • Connect the button
301KIT
  • Install all modules

Step 2:Make the audio file.

  • Need a tool based the SoX. Choose the convert program according the working frequence of Microduino.
  • Decompres the file, enter into "Microduino with 16 MHz" folder, put the audio file into this folder, and drag to the "FullRate@16MHz_Mono.bat" for batch.
  • After drag, will start the conversion program, it will pop up a dialog box that appears "press any key to continue...".
  • After finished, you can find a new folder where store the new file. If this failed, please convert the original audio file into .wav format, then try again.
  • Copy the audio file to memory card, then Insert the memory card into Microduino SD card slot.
  • Use the IED to open Microduino example program, board type choose "Microduino Core (Atmega328P@16M,5V)",before download, need to do following update:
    • Some library has different pin defination, so please download the latest library.
    • Need change the existing audino name in program to generated audio file name.

Result

After download, press the button to play the music, and press again, stop the music.

Video

http://v.youku.com/v_show/id_XNjY1Njg5ODQw.html