Difference between revisions of "MCookie-Audio"
From Microduino Wiki
(→Pictures) |
m (correct the name of the file) |
||
Line 47: | Line 47: | ||
*Connect CoreUSB to your computer, start Arduino IDE and open example program. | *Connect CoreUSB to your computer, start Arduino IDE and open example program. | ||
*Click and upload program. When you see "Uploaded", it means the program has been uploaded to CoreUSB successfully. | *Click and upload program. When you see "Uploaded", it means the program has been uploaded to CoreUSB successfully. | ||
− | Program description: " | + | Program description: " audio.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 " | + | 1. Under default serial port, you can select communication serial port from " audio.h " based on the core modules you use. |
<source lang="cpp"> | <source lang="cpp"> | ||
//#define AUDIO_PORT Serial1 | //#define AUDIO_PORT Serial1 |
Revision as of 06:33, 18 February 2016
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: " audio.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 " audio.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 |