Difference between revisions of "MCookie-Audio"
From Microduino Wiki
m (correct the name of the file) |
(→Dial Wheel Button Control) |
||
Line 42: | Line 42: | ||
*Copy songs to the disk. | *Copy songs to the disk. | ||
− | === | + | ===Thumbwheel Button Control=== |
*Hardware needed: [[mCookie-CoreUSB]], [[mCookie-OLED]], [[mCookie-Amplifier]], mCookie-Audio, Audio shield, [[mCookie-BM]], [[mCookie-BM shield]], two loudspeakers and two cells of battery; | *Hardware needed: [[mCookie-CoreUSB]], [[mCookie-OLED]], [[mCookie-Amplifier]], mCookie-Audio, Audio shield, [[mCookie-BM]], [[mCookie-BM shield]], two loudspeakers and two cells of battery; | ||
*Code example download: [[File:Music Text.zip|Music Text]] | *Code example download: [[File:Music Text.zip|Music Text]] | ||
Line 74: | Line 74: | ||
*Operation Description: | *Operation Description: | ||
− | + | **Press down the thumbwheel to play or pause. | |
+ | **Toggle right or left to change songs. | ||
+ | **Keep toggling to the right or left to adjust the volume. | ||
==Projects== | ==Projects== |
Revision as of 08:05, 11 March 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
Thumbwheel 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 |