Difference between revisions of "Microduino LM4863 Music player -301KIT"

From Microduino Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
{{Language|Microduino_LM4863音乐播放器-301KIT}}
 
{| style="width: 800px;"
 
{| style="width: 800px;"
 
|-
 
|-

Revision as of 15:22, 2 March 2014

Language: English  • 中文

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
301KIT module

Document

Debugging

Step 1:Set up circuit

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

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.
Audio
  • After drag, will start the conversion program, it will pop up a dialog box that appears "press any key to continue...".
Audio
  • 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.
Audio
  • 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