Difference between revisions of "MCookie-Audio"
From Microduino Wiki
(→Development) |
(→Dial Wheel Button Control) |
||
Line 66: | Line 66: | ||
*Stack AudioSheild and Audio, connect the Audio to your computer, and then you can save songs to TF card. Here we can save nine songs. | *Stack AudioSheild and Audio, connect the Audio to your computer, and then you can save songs to TF card. Here we can save nine songs. | ||
*Connect loudspeaker to the interface of Amplifier. | *Connect loudspeaker to the interface of Amplifier. | ||
− | [[file: | + | [[file: MusicBox_Joystick _song_speak.JPG|600px|center]] |
*Stack Amplifier, Audio and AudioSheild. (Only these three modules need to be connected together. Not for the other modules.) | *Stack Amplifier, Audio and AudioSheild. (Only these three modules need to be connected together. Not for the other modules.) | ||
− | [[file: | + | [[file: MusicBox_Joystick _3_speak.JPG|600px|center]] |
*Connect the battery pack to the BM module. | *Connect the battery pack to the BM module. | ||
− | [[ | + | [[File:CoreUSB_Ble_steup2.jpg|600px|center]] |
*Stack the other modules and connect them to BM shield. Then you can system power supply. | *Stack the other modules and connect them to BM shield. Then you can system power supply. | ||
**'''Audio must be powered through BM and it cannot powered by computer via CoreUSB, otherwise, it may cause system breakdown. | **'''Audio must be powered through BM and it cannot powered by computer via CoreUSB, otherwise, it may cause system breakdown. | ||
− | + | ||
*Operation Description: | *Operation Description: | ||
[[file:mCookie-Audio-steup3.JPG|thumb|400px|center]] | [[file:mCookie-Audio-steup3.JPG|thumb|400px|center]] |
Revision as of 11:18, 26 October 2015
Language: | English • 中文 |
---|
mCookie-Audio is an audio play module with serial communication. It uses memory card to save songs to Audio Shield and amplifies sound together with mCookie-Amplifier. Audio and Audio shield stacked can be stacked to computer and serves as a card reader, which can be used for file transmission.
ContentsFeatures
Specification
DocumentJQ6500 audio chip description: File:JQ6500.pdf
DevelopmentCopy music to Audio shield
Dial Wheel Button Control
Program description: " arduino.h " is audio file control, responsible for sending control instruction to Audio module. 1. Under default serial port, you can select communication serial port from " arduino.h " based on the core modules you use. //#define AUDIO_PORT Serial1
#define AUDIO_PORT mySerial 2. Initialize Audio module and select play mode. #define MODE_loopAll 0 //Loop all the time
#define MODE_loopOne 1 //Loop once
#define MODE_One_STOP 2 //Single cycle
#define MODE_One_END 4 //Play once
ProjectsIt can be widely used in all kinds of voice broadcast:
PurchaseHistoryPicturesVideo |