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

From Microduino Wiki
Jump to: navigation, search
(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...")
 
Line 49: Line 49:
 
|-
 
|-
 
|
 
|
[[File:301-KIT.jpg|600px|center|thumb|301KIT图片]]
+
[[File:301-module.jpg|600px|center|thumb|301KIT module]]
 
|-
 
|-
 
|
 
|
Line 61: Line 61:
 
|-
 
|-
 
|
 
|
[[File:301KIT-sd.jpg|600px|center|thumb|301KIT-SD]]
+
[[File:301KIT-SD.jpg|600px|center|thumb|301KIT-SD]]
 
|-
 
|-
 
|
 
|
Line 67: Line 67:
 
|-
 
|-
 
|
 
|
[[File:301KIT-speak.jpg|600px|center|thumb|301KIT-Speak]]
+
[[File:301KIT-speaker.jpg|600px|center|thumb|301KIT-Speak]]
 
|-
 
|-
 
|
 
|
Line 73: Line 73:
 
|-
 
|-
 
|
 
|
[[File:201KIT-button.jpg|600px|center|thumb|301KIT]]
+
[[File:201KIT-button.jpg|600px|center|thumb|301KIT-Button]]
 
|-
 
|-
 
|
 
|
Line 79: Line 79:
 
|-
 
|-
 
|
 
|
[[File:301KIT-Ok.jpg|600px|center|thumb|301KIT-ok]]
+
[[File:301KIT-system.jpg|600px|center|thumb|301KIT-system]]
 
|-
 
|-
 
|
 
|
Line 87: Line 87:
 
|-
 
|-
 
|
 
|
[[File:music-1.jpg|600px|center|thumb|music]]
+
[[File:audio-1.jpg|600px|center|thumb|Audio]]
 
|-
 
|-
 
|
 
|
Line 93: Line 93:
 
|-
 
|-
 
|
 
|
[[File:music-2.jpg|600px|center|thumb|music]]
+
[[File:audio-2.jpg|600px|center|thumb|Audio]]
 
|-
 
|-
 
|
 
|
Line 99: Line 99:
 
|-
 
|-
 
|
 
|
[[File:music-3.jpg|600px|center|thumb|music]]
+
[[File:audio-3.jpg|600px|center|thumb|Audio]]
 
|-
 
|-
 
|
 
|

Revision as of 06:15, 24 February 2014

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